Lines Matching refs:error_code
546 const std::string& path, const std::string& name, fuse_req_t req, int* error_code, in validate_node_path() argument
554 *error_code = errno; in validate_node_path()
564 *error_code = ENONET; in validate_node_path()
570 *error_code = ENOENT; in validate_node_path()
593 *error_code = EFAULT; in validate_node_path()
600 *error_code = errno; in validate_node_path()
609 struct fuse_entry_param* e, int* error_code, const FuseOp op) { in make_node_entry() argument
617 validate_node_path(path, name, req, error_code, e, op); in make_node_entry()
906 struct fuse_entry_param* e, int* error_code, const FuseOp op, in do_lookup() argument
911 *error_code = ENOENT; in do_lookup()
920 *error_code = ENOENT; in do_lookup()
929 *error_code = EACCES; in do_lookup()
933 auto node = make_node_entry(req, parent_node, name, parent_path, child_path, e, error_code, op); in do_lookup()
956 int error_code = 0; in pf_lookup() local
957 if (do_lookup(req, parent, name, &e, &error_code, FuseOp::lookup, true, &backing_fd)) { in pf_lookup()
960 CHECK(error_code != 0); in pf_lookup()
961 fuse_reply_err(req, error_code); in pf_lookup()
1209 int error_code = 0; in pf_mknod() local
1211 if (make_node_entry(req, parent_node, name, parent_path, child_path, &e, &error_code, in pf_mknod()
1215 CHECK(error_code != 0); in pf_mknod()
1216 fuse_reply_err(req, error_code); in pf_mknod()
1254 int error_code = 0; in pf_mkdir() local
1256 if (make_node_entry(req, parent_node, name, parent_path, child_path, &e, &error_code, in pf_mkdir()
1260 CHECK(error_code != 0); in pf_mkdir()
1261 fuse_reply_err(req, error_code); in pf_mkdir()
1966 int error_code = 0; in do_readdir_common() local
1968 if (do_lookup(req, ino, de->d_name.c_str(), &e, &error_code, FuseOp::readdir, false)) { in do_readdir_common()
1975 if (error_code == ENOENT || error_code == EPERM || error_code == EACCES in do_readdir_common()
1976 || error_code == EIO) continue; in do_readdir_common()
1977 fuse_reply_err(req, error_code); in do_readdir_common()
2221 int error_code = errno; in pf_create() local
2225 fuse_reply_err(req, error_code); in pf_create()
2229 int error_code = 0; in pf_create() local
2231 node* node = make_node_entry(req, parent_node, name, parent_path, child_path, &e, &error_code, in pf_create()
2235 CHECK(error_code != 0); in pf_create()
2236 fuse_reply_err(req, error_code); in pf_create()