Lines Matching refs:child_path
910 void fuse_bpf_install(struct fuse* fuse, struct fuse_entry_param* e, const string& child_path, in fuse_bpf_install() argument
914 if (android::base::StartsWith(child_path, PRIMARY_VOLUME_PREFIX)) { in fuse_bpf_install()
915 if (is_bpf_backing_path(child_path)) { in fuse_bpf_install()
916 fuse_bpf_fill_entries(child_path, fuse->bpf_fd.get(), e, backing_fd); in fuse_bpf_install()
917 } else if (is_package_owned_path(child_path, fuse->path)) { in fuse_bpf_install()
918 fuse_bpf_fill_entries(child_path, static_cast<int>(BpfFd::REMOVE), e, backing_fd); in fuse_bpf_install()
963 const string child_path = parent_path + "/" + name; in do_lookup() local
965 if (validate_access && !is_user_accessible_path(req, fuse, child_path)) { in do_lookup()
970 auto node = make_node_entry(req, parent_node, name, parent_path, child_path, e, error_code, op); in do_lookup()
975 fuse_bpf_install(fuse, e, child_path, *backing_fd); in do_lookup()
976 } else if (is_bpf_backing_path(child_path) && op == FuseOp::readdir) { in do_lookup()
1241 const string child_path = parent_path + "/" + name; in pf_mknod() local
1244 if (mknod(child_path.c_str(), mode, rdev) < 0) { in pf_mknod()
1251 if (make_node_entry(req, parent_node, name, parent_path, child_path, &e, &error_code, in pf_mknod()
1280 const string child_path = parent_path + "/" + name; in pf_mkdir() local
1282 int status = fuse->mp->IsCreatingDirAllowed(child_path, ctx->uid); in pf_mkdir()
1289 if (mkdir(child_path.c_str(), mode) < 0) { in pf_mkdir()
1296 if (make_node_entry(req, parent_node, name, parent_path, child_path, &e, &error_code, in pf_mkdir()
1322 const string child_path = parent_path + "/" + name; in pf_unlink() local
1324 int status = fuse->mp->DeleteFile(child_path, ctx->uid); in pf_unlink()
1358 const string child_path = parent_path + "/" + name; in pf_rmdir() local
1360 int status = fuse->mp->IsDeletingDirAllowed(child_path, req->ctx.uid); in pf_rmdir()
1366 if (rmdir(child_path.c_str()) < 0) { in pf_rmdir()
2111 std::string child_path = path + "/" + child_name; in pf_readdir_postfilter() local
2114 err = stat(child_path.c_str(), &stats); in pf_readdir_postfilter()
2118 fuse->mp->isUidAllowedAccessToDataOrObbPath(req->ctx.uid, child_path) || in pf_readdir_postfilter()
2272 const string child_path = parent_path + "/" + name; in pf_create() local
2274 const OpenInfo open_info = parse_open_flags(child_path, fi->flags); in pf_create()
2276 int mp_return_code = fuse->mp->InsertFile(child_path.c_str(), req->ctx.uid); in pf_create()
2283 int fd = open(child_path.c_str(), open_info.flags, mode); in pf_create()
2288 fuse->mp->DeleteFile(child_path.c_str(), req->ctx.uid); in pf_create()
2295 node* node = make_node_entry(req, parent_node, name, parent_path, child_path, &e, &error_code, in pf_create()
2305 fuse->mp->OnFileCreated(child_path); in pf_create()
2313 fuse, child_path, fd, req->ctx.uid, 0 /* transforms_uid */, node, new RedactionInfo(), in pf_create()
2321 PLOG(ERROR) << "Passthrough CREATE failed for " << child_path; in pf_create()