/linux/fs/kernfs/ |
A D | dir.c | 577 struct kernfs_node *kn; in __kernfs_new_node() local 645 struct kernfs_node *kn; in kernfs_new_node() local 670 struct kernfs_node *kn; in kernfs_find_and_get_node_by_id() local 861 struct kernfs_node *kn; in kernfs_find_and_get_ns() local 885 struct kernfs_node *kn; in kernfs_walk_and_get_ns() local 908 struct kernfs_node *kn; in kernfs_create_root() local 980 struct kernfs_node *kn; in kernfs_create_dir_ns() local 1012 struct kernfs_node *kn; in kernfs_create_empty_dir() local 1037 struct kernfs_node *kn; in kernfs_dop_revalidate() local 1104 struct kernfs_node *kn; in kernfs_iop_lookup() local [all …]
|
A D | inode.c | 58 static struct kernfs_iattrs *kernfs_iattrs(struct kernfs_node *kn) in kernfs_iattrs() 113 struct kernfs_node *kn = inode->i_private; in kernfs_iop_setattr() local 138 struct kernfs_node *kn = kernfs_dentry_node(dentry); in kernfs_iop_listxattr() local 186 struct kernfs_node *kn = inode->i_private; in kernfs_iop_getattr() local 266 struct kernfs_node *kn = inode->i_private; in kernfs_evict_inode() local 276 struct kernfs_node *kn; in kernfs_iop_permission() local 319 struct kernfs_node *kn = inode->i_private; in kernfs_vfs_xattr_get() local 331 struct kernfs_node *kn = inode->i_private; in kernfs_vfs_xattr_set() local 336 static int kernfs_vfs_user_xattr_add(struct kernfs_node *kn, in kernfs_vfs_user_xattr_add() 370 static int kernfs_vfs_user_xattr_rm(struct kernfs_node *kn, in kernfs_vfs_user_xattr_rm() [all …]
|
A D | file.c | 64 static const struct kernfs_ops *kernfs_ops(struct kernfs_node *kn) in kernfs_ops() 523 static int kernfs_get_open_node(struct kernfs_node *kn, in kernfs_get_open_node() 574 static void kernfs_put_open_node(struct kernfs_node *kn, in kernfs_put_open_node() 599 struct kernfs_node *kn = inode->i_private; in kernfs_fop_open() local 726 static void kernfs_release_file(struct kernfs_node *kn, in kernfs_release_file() 751 struct kernfs_node *kn = inode->i_private; in kernfs_fop_release() local 768 void kernfs_drain_open_files(struct kernfs_node *kn) in kernfs_drain_open_files() 831 struct kernfs_node *kn = kernfs_dentry_node(filp->f_path.dentry); in kernfs_fop_poll() local 848 struct kernfs_node *kn; in kernfs_notify_workfn() local 913 void kernfs_notify(struct kernfs_node *kn) in kernfs_notify() [all …]
|
A D | symlink.c | 29 struct kernfs_node *kn; in kernfs_create_link() local 59 struct kernfs_node *base, *kn; in kernfs_get_target_path() local 113 struct kernfs_node *kn = inode->i_private; in kernfs_getlink() local
|
A D | mount.c | 59 struct kernfs_node *kn = inode->i_private; in kernfs_encode_fh() local 76 struct kernfs_node *kn; in __kernfs_fh_to_dentry() local 139 struct kernfs_node *kn = kernfs_dentry_node(child); in kernfs_get_parent_dentry() local 195 struct dentry *kernfs_node_dentry(struct kernfs_node *kn, in kernfs_node_dentry()
|
A D | kernfs-internal.h | 45 static inline struct kernfs_root *kernfs_root(struct kernfs_node *kn) in kernfs_root()
|
/linux/include/linux/ |
A D | kernfs.h | 187 struct kernfs_node *kn; member 204 struct kernfs_node *kn; member 311 static inline ino_t kernfs_ino(struct kernfs_node *kn) in kernfs_ino() 316 static inline ino_t kernfs_gen(struct kernfs_node *kn) in kernfs_gen() 329 static inline void kernfs_enable_ns(struct kernfs_node *kn) in kernfs_enable_ns() 428 struct kernfs_node *kn, in kernfs_path_from_node() 447 static inline void kernfs_get(struct kernfs_node *kn) { } in kernfs_get() 448 static inline void kernfs_put(struct kernfs_node *kn) { } in kernfs_put() 496 static inline int kernfs_rename_ns(struct kernfs_node *kn, in kernfs_rename_ns() 501 static inline int kernfs_setattr(struct kernfs_node *kn, in kernfs_setattr() [all …]
|
A D | sysfs.h | 324 static inline void sysfs_enable_ns(struct kernfs_node *kn) in sysfs_enable_ns() 406 static inline void sysfs_unbreak_active_protection(struct kernfs_node *kn) in sysfs_unbreak_active_protection() 553 static inline void sysfs_enable_ns(struct kernfs_node *kn) in sysfs_enable_ns() 622 static inline void sysfs_notify_dirent(struct kernfs_node *kn) in sysfs_notify_dirent() 633 static inline struct kernfs_node *sysfs_get(struct kernfs_node *kn) in sysfs_get() 639 static inline void sysfs_put(struct kernfs_node *kn) in sysfs_put()
|
A D | cgroup-defs.h | 130 struct kernfs_node *kn; member 409 struct kernfs_node *kn; /* cgroup kernfs entry */ member
|
A D | security.h | 936 static inline int security_kernfs_init_security(struct kernfs_node *kn_dir, in security_kernfs_init_security()
|
/linux/fs/sysfs/ |
A D | file.c | 26 static const struct sysfs_ops *sysfs_file_ops(struct kernfs_node *kn) in sysfs_file_ops() 182 struct kernfs_node *kn = kobj->sd, *tmp; in sysfs_notify() local 262 struct kernfs_node *kn; in sysfs_add_file_mode_ns() local 311 struct kernfs_node *kn; in sysfs_add_bin_file_mode_ns() local 416 struct kernfs_node *kn; in sysfs_chmod_file() local 447 struct kernfs_node *kn; in sysfs_break_active_protection() local 468 void sysfs_unbreak_active_protection(struct kernfs_node *kn) in sysfs_unbreak_active_protection() 505 struct kernfs_node *kn; in sysfs_remove_file_self() local 585 static int internal_change_owner(struct kernfs_node *kn, kuid_t kuid, in internal_change_owner() 613 struct kernfs_node *kn = NULL; in sysfs_link_change_owner() local [all …]
|
A D | dir.c | 42 struct kernfs_node *parent, *kn; in sysfs_create_dir_ns() local 81 struct kernfs_node *kn = kobj->sd; in sysfs_remove_dir() local 120 struct kernfs_node *kn = kobj->sd; in sysfs_move_dir_ns() local 136 struct kernfs_node *kn, *parent = parent_kobj->sd; in sysfs_create_mount_point() local
|
A D | symlink.c | 24 struct kernfs_node *kn, *target = NULL; in sysfs_do_create_link_sd() local 61 int sysfs_create_link_sd(struct kernfs_node *kn, struct kobject *target, in sysfs_create_link_sd() 169 struct kernfs_node *parent, *kn = NULL; in sysfs_rename_link_ns() local
|
A D | group.c | 110 struct kernfs_node *kn; in internal_create_group() local 273 struct kernfs_node *kn; in sysfs_remove_group() local 471 struct kernfs_node *kn; in sysfs_group_attrs_change_owner() local
|
/linux/arch/x86/kernel/cpu/resctrl/ |
A D | rdtgroup.c | 207 struct kernfs_node *kn; in rdtgroup_add_file() local 1643 struct kernfs_node *kn; in rdtgroup_kn_mode_restrict() local 1682 struct kernfs_node *kn, *parent; in rdtgroup_kn_mode_restore() local 1793 struct kernfs_node *kn; in mongroup_create_dir() local 2010 void rdtgroup_kn_unlock(struct kernfs_node *kn) in rdtgroup_kn_unlock() 2480 struct kernfs_node *kn; in mon_addfile() local 2524 struct kernfs_node *kn; in mkdir_mondata_subdir() local 2628 struct kernfs_node *kn; in mkdir_mondata_all() local 2836 struct kernfs_node *kn; in mkdir_rdt_prepare() local 2972 struct kernfs_node *kn; in rdtgroup_mkdir_ctrl_mon() local [all …]
|
A D | internal.h | 217 struct kernfs_node *kn; member
|
/linux/drivers/net/ethernet/apm/xgene/ |
A D | xgene_enet_cle.c | 50 static void xgene_cle_kn_to_hw(struct xgene_cle_ptree_kn *kn, u32 *buf) in xgene_cle_kn_to_hw() 569 struct xgene_cle_ptree_kn *kn = ptree->kn; in xgene_cle_setup_node() local 767 struct xgene_cle_ptree_kn kn; in xgene_enet_cle_init() local
|
A D | xgene_enet_cle.h | 269 struct xgene_cle_ptree_kn *kn; member
|
/linux/drivers/of/ |
A D | kobj.c | 43 struct kernfs_node *kn; in safe_name() local
|
/linux/kernel/cgroup/ |
A D | cgroup.c | 1582 void cgroup_kn_unlock(struct kernfs_node *kn) in cgroup_kn_unlock() 1614 struct cgroup *cgroup_kn_lock_live(struct kernfs_node *kn, bool drain_offline) in cgroup_kn_lock_live() 3970 static int cgroup_kn_set_ugid(struct kernfs_node *kn) in cgroup_kn_set_ugid() 3993 struct kernfs_node *kn; in cgroup_add_file() local 5344 struct kernfs_node *kn; in cgroup_create() local 5708 int cgroup_rmdir(struct kernfs_node *kn) in cgroup_rmdir() 5949 struct kernfs_node *kn; in cgroup_path_from_kernfs_id() local 5965 struct kernfs_node *kn; in cgroup_get_from_id() local 6487 struct kernfs_node *kn = kernfs_node_from_dentry(dentry); in css_tryget_online_from_dir() local 6540 struct kernfs_node *kn; in cgroup_get_from_path() local
|
A D | cgroup-v1.c | 691 struct kernfs_node *kn = kernfs_node_from_dentry(dentry); in cgroupstats_build() local 817 static int cgroup1_rename(struct kernfs_node *kn, struct kernfs_node *new_parent, in cgroup1_rename()
|
/linux/arch/s390/pci/ |
A D | pci_sysfs.c | 55 struct kernfs_node *kn; in recover_store() local
|
/linux/net/mac802154/ |
A D | llsec.c | 45 struct ieee802154_llsec_key_entry *key, *kn; in mac802154_llsec_destroy() local
|
/linux/drivers/cpufreq/ |
A D | powernv-cpufreq.c | 831 struct kernfs_node *kn; in powernv_cpufreq_cpu_init() local
|
/linux/drivers/scsi/ |
A D | scsi_sysfs.c | 757 struct kernfs_node *kn; in sdev_store_delete() local
|