Home
last modified time | relevance | path

Searched defs:kn (Results 1 – 25 of 27) sorted by relevance

12

/Linux-v5.4/fs/kernfs/
Dinode.c33 static struct kernfs_iattrs *__kernfs_iattrs(struct kernfs_node *kn, int alloc) in __kernfs_iattrs()
62 static struct kernfs_iattrs *kernfs_iattrs(struct kernfs_node *kn) in kernfs_iattrs()
67 static struct kernfs_iattrs *kernfs_iattrs_noalloc(struct kernfs_node *kn) in kernfs_iattrs_noalloc()
72 int __kernfs_setattr(struct kernfs_node *kn, const struct iattr *iattr) in __kernfs_setattr()
103 int kernfs_setattr(struct kernfs_node *kn, const struct iattr *iattr) in kernfs_setattr()
116 struct kernfs_node *kn = inode->i_private; in kernfs_iop_setattr() local
141 struct kernfs_node *kn = kernfs_dentry_node(dentry); in kernfs_iop_listxattr() local
168 static void kernfs_refresh_inode(struct kernfs_node *kn, struct inode *inode) in kernfs_refresh_inode()
188 struct kernfs_node *kn = inode->i_private; in kernfs_iop_getattr() local
198 static void kernfs_init_inode(struct kernfs_node *kn, struct inode *inode) in kernfs_init_inode()
[all …]
Ddir.c27 static bool kernfs_active(struct kernfs_node *kn) in kernfs_active()
33 static bool kernfs_lockdep(struct kernfs_node *kn) in kernfs_lockdep()
42 static int kernfs_name_locked(struct kernfs_node *kn, char *buf, size_t buflen) in kernfs_name_locked()
126 struct kernfs_node *kn, *common; in kernfs_path_from_node_locked() local
183 int kernfs_name(struct kernfs_node *kn, char *buf, size_t buflen) in kernfs_name()
229 void pr_cont_kernfs_name(struct kernfs_node *kn) in pr_cont_kernfs_name()
247 void pr_cont_kernfs_path(struct kernfs_node *kn) in pr_cont_kernfs_path()
279 struct kernfs_node *kernfs_get_parent(struct kernfs_node *kn) in kernfs_get_parent()
316 const void *ns, const struct kernfs_node *kn) in kernfs_name_compare()
348 static int kernfs_link_sibling(struct kernfs_node *kn) in kernfs_link_sibling()
[all …]
Dfile.c63 static const struct kernfs_ops *kernfs_ops(struct kernfs_node *kn) in kernfs_ops()
542 static int kernfs_get_open_node(struct kernfs_node *kn, in kernfs_get_open_node()
593 static void kernfs_put_open_node(struct kernfs_node *kn, in kernfs_put_open_node()
618 struct kernfs_node *kn = inode->i_private; in kernfs_fop_open() local
745 static void kernfs_release_file(struct kernfs_node *kn, in kernfs_release_file()
770 struct kernfs_node *kn = inode->i_private; in kernfs_fop_release() local
787 void kernfs_drain_open_files(struct kernfs_node *kn) in kernfs_drain_open_files()
836 struct kernfs_node *kn = kernfs_dentry_node(of->file->f_path.dentry); in kernfs_generic_poll() local
850 struct kernfs_node *kn = kernfs_dentry_node(filp->f_path.dentry); in kernfs_fop_poll() local
867 struct kernfs_node *kn; in kernfs_notify_workfn() local
[all …]
Dsymlink.c29 struct kernfs_node *kn; in kernfs_create_link() local
60 struct kernfs_node *base, *kn; in kernfs_get_target_path() local
114 struct kernfs_node *kn = inode->i_private; in kernfs_getlink() local
Dmount.c63 struct kernfs_node *kn; in kernfs_get_node_by_id() local
80 struct kernfs_node *kn; in kernfs_fh_get_inode() local
117 struct kernfs_node *kn = kernfs_dentry_node(child); in kernfs_get_parent_dentry() local
172 struct dentry *kernfs_node_dentry(struct kernfs_node *kn, in kernfs_node_dentry()
Dkernfs-internal.h42 static inline struct kernfs_root *kernfs_root(struct kernfs_node *kn) in kernfs_root()
/Linux-v5.4/include/linux/
Dkernfs.h185 struct kernfs_node *kn; member
201 struct kernfs_node *kn; member
289 static inline enum kernfs_node_type kernfs_type(struct kernfs_node *kn) in kernfs_type()
302 static inline void kernfs_enable_ns(struct kernfs_node *kn) in kernfs_enable_ns()
315 static inline bool kernfs_ns_enabled(struct kernfs_node *kn) in kernfs_ns_enabled()
389 static inline enum kernfs_node_type kernfs_type(struct kernfs_node *kn) in kernfs_type()
392 static inline void kernfs_enable_ns(struct kernfs_node *kn) { } in kernfs_enable_ns()
394 static inline bool kernfs_ns_enabled(struct kernfs_node *kn) in kernfs_ns_enabled()
397 static inline int kernfs_name(struct kernfs_node *kn, char *buf, size_t buflen) in kernfs_name()
401 struct kernfs_node *kn, in kernfs_path_from_node()
[all …]
Dsysfs.h308 static inline void sysfs_enable_ns(struct kernfs_node *kn) in sysfs_enable_ns()
374 static inline void sysfs_unbreak_active_protection(struct kernfs_node *kn) in sysfs_unbreak_active_protection()
521 static inline void sysfs_enable_ns(struct kernfs_node *kn) in sysfs_enable_ns()
545 static inline void sysfs_notify_dirent(struct kernfs_node *kn) in sysfs_notify_dirent()
556 static inline struct kernfs_node *sysfs_get(struct kernfs_node *kn) in sysfs_get()
562 static inline void sysfs_put(struct kernfs_node *kn) in sysfs_put()
Dcgroup-defs.h121 struct kernfs_node *kn; member
410 struct kernfs_node *kn; /* cgroup kernfs entry */ member
Dsecurity.h876 static inline int security_kernfs_init_security(struct kernfs_node *kn_dir, in security_kernfs_init_security()
/Linux-v5.4/fs/sysfs/
Ddir.c42 struct kernfs_node *parent, *kn; in sysfs_create_dir_ns() local
82 struct kernfs_node *kn = kobj->sd; in sysfs_remove_dir() local
121 struct kernfs_node *kn = kobj->sd; in sysfs_move_dir_ns() local
137 struct kernfs_node *kn, *parent = parent_kobj->sd; in sysfs_create_mount_point() local
Dfile.c25 static const struct sysfs_ops *sysfs_file_ops(struct kernfs_node *kn) in sysfs_file_ops()
174 struct kernfs_node *kn = kobj->sd, *tmp; in sysfs_notify() local
251 struct kernfs_node *kn; in sysfs_add_file_mode_ns() local
394 struct kernfs_node *kn; in sysfs_chmod_file() local
425 struct kernfs_node *kn; in sysfs_break_active_protection() local
446 void sysfs_unbreak_active_protection(struct kernfs_node *kn) in sysfs_unbreak_active_protection()
483 struct kernfs_node *kn; in sysfs_remove_file_self() local
Dsymlink.c24 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
Dgroup.c110 struct kernfs_node *kn; in internal_create_group() local
273 struct kernfs_node *kn; in sysfs_remove_group() local
/Linux-v5.4/arch/x86/kernel/cpu/resctrl/
Drdtgroup.c189 static int rdtgroup_kn_set_ugid(struct kernfs_node *kn) in rdtgroup_kn_set_ugid()
204 struct kernfs_node *kn; in rdtgroup_add_file() local
1484 static int rdtgroup_add_files(struct kernfs_node *kn, unsigned long fflags) in rdtgroup_add_files()
1532 struct kernfs_node *kn; in rdtgroup_kn_mode_restrict() local
1571 struct kernfs_node *kn, *parent; in rdtgroup_kn_mode_restore() local
1687 struct kernfs_node *kn; in mongroup_create_dir() local
1865 static struct rdtgroup *kernfs_to_rdtgroup(struct kernfs_node *kn) in kernfs_to_rdtgroup()
1883 struct rdtgroup *rdtgroup_kn_lock_live(struct kernfs_node *kn) in rdtgroup_kn_lock_live()
1902 void rdtgroup_kn_unlock(struct kernfs_node *kn) in rdtgroup_kn_unlock()
2290 struct kernfs_node *kn; in mon_addfile() local
[all …]
Dinternal.h201 struct kernfs_node *kn; member
/Linux-v5.4/drivers/net/ethernet/apm/xgene/
Dxgene_enet_cle.c50 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
Dxgene_enet_cle.h269 struct xgene_cle_ptree_kn *kn; member
/Linux-v5.4/drivers/of/
Dkobj.c43 struct kernfs_node *kn; in safe_name() local
/Linux-v5.4/kernel/cgroup/
Dcgroup.c1563 void cgroup_kn_unlock(struct kernfs_node *kn) in cgroup_kn_unlock()
1595 struct cgroup *cgroup_kn_lock_live(struct kernfs_node *kn, bool drain_offline) in cgroup_kn_lock_live()
3849 static int cgroup_kn_set_ugid(struct kernfs_node *kn) in cgroup_kn_set_ugid()
3872 struct kernfs_node *kn; in cgroup_add_file() local
5358 struct kernfs_node *kn; in cgroup_mkdir() local
5594 int cgroup_rmdir(struct kernfs_node *kn) in cgroup_rmdir()
5842 struct kernfs_node *kn; in cgroup_path_from_kernfs_id() local
6189 struct kernfs_node *kn = kernfs_node_from_dentry(dentry); in css_tryget_online_from_dir() local
6242 struct kernfs_node *kn; in cgroup_get_from_path() local
Dcgroup-v1.c691 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-v5.4/net/mac802154/
Dllsec.c45 struct ieee802154_llsec_key_entry *key, *kn; in mac802154_llsec_destroy() local
/Linux-v5.4/drivers/cpufreq/
Dpowernv-cpufreq.c829 struct kernfs_node *kn; in powernv_cpufreq_cpu_init() local
/Linux-v5.4/drivers/scsi/
Dscsi_sysfs.c732 struct kernfs_node *kn; in sdev_store_delete() local
/Linux-v5.4/security/
Dsecurity.c1365 int security_kernfs_init_security(struct kernfs_node *kn_dir, in security_kernfs_init_security()

12