Home
last modified time | relevance | path

Searched refs:KERNFS_DIR (Results 1 – 7 of 7) sorted by relevance

/Linux-v4.19/fs/kernfs/
Ddir.c372 if (kernfs_type(kn) == KERNFS_DIR) in kernfs_link_sibling()
394 if (kernfs_type(kn) == KERNFS_DIR) in kernfs_unlink_sibling()
779 if (kernfs_type(parent) != KERNFS_DIR) in kernfs_add_one()
967 KERNFS_DIR); in kernfs_create_root()
1022 uid, gid, KERNFS_DIR); in kernfs_create_dir_ns()
1054 GLOBAL_ROOT_UID, GLOBAL_ROOT_GID, KERNFS_DIR); in kernfs_create_empty_dir()
1197 if (kernfs_type(pos) != KERNFS_DIR) in kernfs_leftmost_descendant()
Dinode.c199 if (kernfs_type(kn) == KERNFS_DIR) in kernfs_refresh_inode()
230 case KERNFS_DIR: in kernfs_init_inode()
/Linux-v4.19/fs/sysfs/
Ddir.c100 WARN_ON_ONCE(kernfs_type(kn) != KERNFS_DIR); in sysfs_remove_dir()
/Linux-v4.19/include/linux/
Dkernfs.h33 KERNFS_DIR = 0x0001, enumerator
288 WARN_ON_ONCE(kernfs_type(kn) != KERNFS_DIR); in kernfs_enable_ns()
/Linux-v4.19/kernel/cgroup/
Dcgroup-v1.c726 kernfs_type(kn) != KERNFS_DIR) in cgroupstats_build()
851 if (kernfs_type(kn) != KERNFS_DIR) in cgroup1_rename()
Dcgroup.c1491 if (kernfs_type(kn) == KERNFS_DIR) in cgroup_kn_unlock()
1523 if (kernfs_type(kn) == KERNFS_DIR) in cgroup_kn_lock_live()
5724 !kn || kernfs_type(kn) != KERNFS_DIR) in css_tryget_online_from_dir()
5777 if (kernfs_type(kn) == KERNFS_DIR) { in cgroup_get_from_path()
/Linux-v4.19/arch/x86/kernel/cpu/
Dintel_rdt_rdtgroup.c1420 case KERNFS_DIR: in rdtgroup_kn_mode_restrict()
1468 case KERNFS_DIR: in rdtgroup_kn_mode_restore()
1784 if (kernfs_type(kn) == KERNFS_DIR) { in kernfs_to_rdtgroup()