Home
last modified time | relevance | path

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

/Linux-v5.10/fs/kernfs/
Ddir.c373 if (kernfs_type(kn) == KERNFS_DIR) in kernfs_link_sibling()
395 if (kernfs_type(kn) == KERNFS_DIR) in kernfs_unlink_sibling()
775 if (kernfs_type(parent) != KERNFS_DIR) in kernfs_add_one()
972 KERNFS_DIR); in kernfs_create_root()
1027 uid, gid, KERNFS_DIR); in kernfs_create_dir_ns()
1059 GLOBAL_ROOT_UID, GLOBAL_ROOT_GID, KERNFS_DIR); in kernfs_create_empty_dir()
1202 if (kernfs_type(pos) != KERNFS_DIR) in kernfs_leftmost_descendant()
Dinode.c182 if (kernfs_type(kn) == KERNFS_DIR) in kernfs_refresh_inode()
213 case KERNFS_DIR: in kernfs_init_inode()
/Linux-v5.10/fs/sysfs/
Ddir.c101 WARN_ON_ONCE(kernfs_type(kn) != KERNFS_DIR); in sysfs_remove_dir()
/Linux-v5.10/include/linux/
Dkernfs.h35 KERNFS_DIR = 0x0001, enumerator
330 WARN_ON_ONCE(kernfs_type(kn) != KERNFS_DIR); in kernfs_enable_ns()
/Linux-v5.10/kernel/cgroup/
Dcgroup-v1.c695 kernfs_type(kn) != KERNFS_DIR) in cgroupstats_build()
823 if (kernfs_type(kn) != KERNFS_DIR) in cgroup1_rename()
Dcgroup.c1557 if (kernfs_type(kn) == KERNFS_DIR) in cgroup_kn_unlock()
1589 if (kernfs_type(kn) == KERNFS_DIR) in cgroup_kn_lock_live()
6282 !kn || kernfs_type(kn) != KERNFS_DIR) in css_tryget_online_from_dir()
6335 if (kernfs_type(kn) == KERNFS_DIR) { in cgroup_get_from_path()
/Linux-v5.10/arch/x86/kernel/cpu/resctrl/
Drdtgroup.c1710 case KERNFS_DIR: in rdtgroup_kn_mode_restrict()
1758 case KERNFS_DIR: in rdtgroup_kn_mode_restore()
2041 if (kernfs_type(kn) == KERNFS_DIR) { in kernfs_to_rdtgroup()