Home
last modified time | relevance | path

Searched refs:kn (Results 1 – 6 of 6) sorted by relevance

/include/linux/
Dkernfs.h245 int (*rmdir)(struct kernfs_node *kn);
246 int (*rename)(struct kernfs_node *kn, struct kernfs_node *new_parent,
248 int (*show_path)(struct seq_file *sf, struct kernfs_node *kn,
261 struct kernfs_node *kn; member
350 static inline enum kernfs_node_type kernfs_type(struct kernfs_node *kn) in kernfs_type() argument
352 return kn->flags & KERNFS_TYPE_MASK; in kernfs_type()
373 static inline ino_t kernfs_ino(struct kernfs_node *kn) in kernfs_ino() argument
375 return kernfs_id_ino(kn->id); in kernfs_ino()
378 static inline ino_t kernfs_gen(struct kernfs_node *kn) in kernfs_gen() argument
380 return kernfs_id_gen(kn->id); in kernfs_gen()
[all …]
Dsysfs.h282 void sysfs_unbreak_active_protection(struct kernfs_node *kn);
340 static inline void sysfs_enable_ns(struct kernfs_node *kn) in sysfs_enable_ns() argument
342 return kernfs_enable_ns(kn); in sysfs_enable_ns()
422 static inline void sysfs_unbreak_active_protection(struct kernfs_node *kn) in sysfs_unbreak_active_protection() argument
569 static inline void sysfs_enable_ns(struct kernfs_node *kn) in sysfs_enable_ns() argument
638 static inline void sysfs_notify_dirent(struct kernfs_node *kn) in sysfs_notify_dirent() argument
640 kernfs_notify(kn); in sysfs_notify_dirent()
649 static inline struct kernfs_node *sysfs_get(struct kernfs_node *kn) in sysfs_get() argument
651 kernfs_get(kn); in sysfs_get()
652 return kn; in sysfs_get()
[all …]
Dcgroup.h330 return cgrp->kn->id; in cgroup_id()
570 return kernfs_ino(cgrp->kn); in cgroup_ino()
576 return of->kn->priv; in of_cft()
599 return kernfs_name(cgrp->kn, buf, buflen); in cgroup_name()
604 return kernfs_path(cgrp->kn, buf, buflen); in cgroup_path()
609 pr_cont_kernfs_name(cgrp->kn); in pr_cont_cgroup_name()
614 pr_cont_kernfs_path(cgrp->kn); in pr_cont_cgroup_path()
Dcgroup-defs.h144 struct kernfs_node *kn; member
442 struct kernfs_node *kn; /* cgroup kernfs entry */ member
Dsecurity.h387 struct kernfs_node *kn);
963 struct kernfs_node *kn) in security_kernfs_init_security()
Dlsm_hook_defs.h168 struct kernfs_node *kn)