Searched refs:subdir (Results 1 – 8 of 8) sorted by relevance
/fs/afs/ |
D | dynroot.c | 282 struct dentry *root, *subdir; in afs_dynroot_mkdir() local 291 subdir = lookup_one_len(cell->name, root, cell->name_len); in afs_dynroot_mkdir() 292 if (IS_ERR(subdir)) { in afs_dynroot_mkdir() 293 ret = PTR_ERR(subdir); in afs_dynroot_mkdir() 298 subdir->d_fsdata = (void *)1UL; in afs_dynroot_mkdir() 312 struct dentry *root, *subdir; in afs_dynroot_rmdir() local 321 subdir = try_lookup_one_len(cell->name, root, cell->name_len); in afs_dynroot_rmdir() 322 if (IS_ERR_OR_NULL(subdir)) { in afs_dynroot_rmdir() 323 _debug("lookup %ld", PTR_ERR(subdir)); in afs_dynroot_rmdir() 327 _debug("rmdir %pd %u", subdir, d_count(subdir)); in afs_dynroot_rmdir() [all …]
|
/fs/cachefiles/ |
D | namei.c | 758 struct dentry *subdir; in cachefiles_get_directory() local 770 subdir = lookup_one_len(dirname, dir, strlen(dirname)); in cachefiles_get_directory() 772 if (IS_ERR(subdir)) { in cachefiles_get_directory() 773 if (PTR_ERR(subdir) == -ENOMEM) in cachefiles_get_directory() 779 subdir, d_backing_inode(subdir) ? "positive" : "negative"); in cachefiles_get_directory() 782 if (d_is_negative(subdir)) { in cachefiles_get_directory() 791 ret = security_path_mkdir(&path, subdir, 0700); in cachefiles_get_directory() 794 ret = vfs_mkdir(d_inode(dir), subdir, 0700); in cachefiles_get_directory() 798 if (unlikely(d_unhashed(subdir))) { in cachefiles_get_directory() 799 dput(subdir); in cachefiles_get_directory() [all …]
|
/fs/proc/ |
D | proc_sysctl.c | 992 struct ctl_dir *subdir, *new = NULL; in get_subdir() local 996 subdir = find_subdir(dir, name, namelen); in get_subdir() 997 if (!IS_ERR(subdir)) in get_subdir() 999 if (PTR_ERR(subdir) != -ENOENT) in get_subdir() 1005 subdir = ERR_PTR(-ENOMEM); in get_subdir() 1010 subdir = find_subdir(dir, name, namelen); in get_subdir() 1011 if (!IS_ERR(subdir)) in get_subdir() 1013 if (PTR_ERR(subdir) != -ENOENT) in get_subdir() 1018 subdir = ERR_PTR(err); in get_subdir() 1021 subdir = new; in get_subdir() [all …]
|
D | generic.c | 58 return rb_entry_safe(rb_first(&dir->subdir), struct proc_dir_entry, in pde_subdir_first() 72 struct rb_node *node = dir->subdir.rb_node; in pde_subdir_find() 93 struct rb_root *root = &dir->subdir; in pde_subdir_insert() 449 ent->subdir = RB_ROOT; in __proc_create() 710 rb_erase(&de->subdir_node, &parent->subdir); in remove_proc_entry() 754 rb_erase(&root->subdir_node, &parent->subdir); in remove_proc_subtree() 766 rb_erase(&next->subdir_node, &de->subdir); in remove_proc_subtree()
|
D | internal.h | 60 struct rb_root subdir; member
|
D | root.c | 370 .subdir = RB_ROOT,
|
D | proc_net.c | 347 netd->subdir = RB_ROOT; in proc_net_ns_init()
|
/fs/ |
D | Makefile | 9 subdir-ccflags-y += -DANDROID_GKI_VFS_EXPORT_ONLY=VFS_internal_I_am_really_a_filesystem_and_am_NOT_…
|