Home
last modified time | relevance | path

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

/linux-6.1.9/fs/kernfs/
Ddir.c385 if (kernfs_type(kn) == KERNFS_DIR) in kernfs_link_sibling()
408 if (kernfs_type(kn) == KERNFS_DIR) in kernfs_unlink_sibling()
756 if (kernfs_type(parent) != KERNFS_DIR) in kernfs_add_one()
952 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()
1272 if (kernfs_type(pos) != KERNFS_DIR) in kernfs_leftmost_descendant()
1376 if (WARN_ON_ONCE(kernfs_type(kn) == KERNFS_DIR)) in kernfs_show()
Dinode.c180 if (kernfs_type(kn) == KERNFS_DIR) in kernfs_refresh_inode()
215 case KERNFS_DIR: in kernfs_init_inode()
/linux-6.1.9/fs/sysfs/
Ddir.c100 WARN_ON_ONCE(kernfs_type(kn) != KERNFS_DIR); in sysfs_remove_dir()
/linux-6.1.9/include/linux/
Dkernfs.h95 KERNFS_DIR = 0x0001, enumerator
378 WARN_ON_ONCE(kernfs_type(kn) != KERNFS_DIR); in kernfs_enable_ns()
/linux-6.1.9/kernel/cgroup/
Dcgroup-v1.c708 kernfs_type(kn) != KERNFS_DIR) in cgroupstats_build()
837 if (kernfs_type(kn) != KERNFS_DIR) in cgroup1_rename()
Dcgroup.c1617 if (kernfs_type(kn) == KERNFS_DIR) in cgroup_kn_unlock()
1649 if (kernfs_type(kn) == KERNFS_DIR) in cgroup_kn_lock_live()
6195 if (kernfs_type(kn) != KERNFS_DIR) { in cgroup_get_from_id()
6767 !kn || kernfs_type(kn) != KERNFS_DIR) in css_tryget_online_from_dir()
6822 if (kernfs_type(kn) != KERNFS_DIR) { in cgroup_get_from_path()
/linux-6.1.9/arch/x86/kernel/cpu/resctrl/
Drdtgroup.c1656 case KERNFS_DIR: in rdtgroup_kn_mode_restrict()
1704 case KERNFS_DIR: in rdtgroup_kn_mode_restore()
2015 if (kernfs_type(kn) == KERNFS_DIR) { in kernfs_to_rdtgroup()