Searched defs:kn (Results 1 - 16 of 16) sorted by relevance

/linux-4.1.27/fs/kernfs/
H A Dkernfs-internal.h40 static inline struct kernfs_root *kernfs_root(struct kernfs_node *kn) kernfs_root() argument
H A Dsymlink.c29 struct kernfs_node *kn; kernfs_create_link() local
52 struct kernfs_node *base, *kn; kernfs_get_target_path() local
103 struct kernfs_node *kn = dentry->d_fsdata; kernfs_getlink() local
H A Dinode.c37 static struct kernfs_iattrs *kernfs_iattrs(struct kernfs_node *kn) kernfs_iattrs() argument
66 static int __kernfs_setattr(struct kernfs_node *kn, const struct iattr *iattr) __kernfs_setattr() argument
102 int kernfs_setattr(struct kernfs_node *kn, const struct iattr *iattr) kernfs_setattr() argument
115 struct kernfs_node *kn = dentry->d_fsdata; kernfs_iop_setattr() local
138 static int kernfs_node_setsecdata(struct kernfs_node *kn, void **secdata, kernfs_node_setsecdata() argument
163 struct kernfs_node *kn = dentry->d_fsdata; kernfs_iop_setxattr() local
201 struct kernfs_node *kn = dentry->d_fsdata; kernfs_iop_removexattr() local
214 struct kernfs_node *kn = dentry->d_fsdata; kernfs_iop_getxattr() local
226 struct kernfs_node *kn = dentry->d_fsdata; kernfs_iop_listxattr() local
251 static void kernfs_refresh_inode(struct kernfs_node *kn, struct inode *inode) kernfs_refresh_inode() argument
273 struct kernfs_node *kn = dentry->d_fsdata; kernfs_iop_getattr() local
284 static void kernfs_init_inode(struct kernfs_node *kn, struct inode *inode) kernfs_init_inode() argument
331 struct inode *kernfs_get_inode(struct super_block *sb, struct kernfs_node *kn) kernfs_get_inode() argument
351 struct kernfs_node *kn = inode->i_private; kernfs_evict_inode() local
360 struct kernfs_node *kn; kernfs_iop_permission() local
H A Dfile.c64 static const struct kernfs_ops *kernfs_ops(struct kernfs_node *kn) kernfs_ops() argument
538 static int kernfs_get_open_node(struct kernfs_node *kn, kernfs_get_open_node() argument
589 static void kernfs_put_open_node(struct kernfs_node *kn, kernfs_put_open_node() argument
614 struct kernfs_node *kn = file->f_path.dentry->d_fsdata; kernfs_fop_open() local
731 struct kernfs_node *kn = filp->f_path.dentry->d_fsdata; kernfs_fop_release() local
742 void kernfs_unmap_bin_file(struct kernfs_node *kn) kernfs_unmap_bin_file() argument
785 struct kernfs_node *kn = filp->f_path.dentry->d_fsdata; kernfs_fop_poll() local
807 struct kernfs_node *kn; kernfs_notify_workfn() local
867 void kernfs_notify(struct kernfs_node *kn) kernfs_notify() argument
916 struct kernfs_node *kn; __kernfs_create_file() local
H A Ddir.c27 static bool kernfs_active(struct kernfs_node *kn) kernfs_active() argument
33 static bool kernfs_lockdep(struct kernfs_node *kn) kernfs_lockdep() argument
42 static int kernfs_name_locked(struct kernfs_node *kn, char *buf, size_t buflen) kernfs_name_locked() argument
47 static char * __must_check kernfs_path_locked(struct kernfs_node *kn, char *buf, kernfs_path_locked() argument
83 int kernfs_name(struct kernfs_node *kn, char *buf, size_t buflen) kernfs_name() argument
105 char *kernfs_path(struct kernfs_node *kn, char *buf, size_t buflen) kernfs_path() argument
123 void pr_cont_kernfs_name(struct kernfs_node *kn) pr_cont_kernfs_name() argument
141 void pr_cont_kernfs_path(struct kernfs_node *kn) pr_cont_kernfs_path() argument
165 struct kernfs_node *kernfs_get_parent(struct kernfs_node *kn) kernfs_get_parent() argument
234 static int kernfs_link_sibling(struct kernfs_node *kn) kernfs_link_sibling() argument
276 static bool kernfs_unlink_sibling(struct kernfs_node *kn) kernfs_unlink_sibling() argument
299 struct kernfs_node *kernfs_get_active(struct kernfs_node *kn) kernfs_get_active() argument
319 void kernfs_put_active(struct kernfs_node *kn) kernfs_put_active() argument
369 kernfs_unmap_bin_file(kn); variable
378 void kernfs_get(struct kernfs_node *kn) kernfs_get() argument
393 void kernfs_put(struct kernfs_node *kn) kernfs_put() argument
441 struct kernfs_node *kn; kernfs_dop_revalidate() local
510 struct kernfs_node *kn; __kernfs_new_node() local
554 struct kernfs_node *kn; kernfs_new_node() local
576 int kernfs_add_one(struct kernfs_node *kn) kernfs_add_one() argument
659 struct kernfs_node *kn; kernfs_find_ns() local
687 struct kernfs_node *kn; kernfs_find_and_get_ns() local
711 struct kernfs_node *kn; kernfs_create_root() local
768 struct kernfs_node *kn; kernfs_create_dir_ns() local
799 struct kernfs_node *kn; kernfs_create_empty_dir() local
827 struct kernfs_node *kn; kernfs_iop_lookup() local
881 struct kernfs_node *kn = dentry->d_fsdata; kernfs_iop_rmdir() local
900 struct kernfs_node *kn = old_dentry->d_fsdata; kernfs_iop_rename() local
1006 void kernfs_activate(struct kernfs_node *kn) kernfs_activate() argument
1027 static void __kernfs_remove(struct kernfs_node *kn) __kernfs_remove() argument
1099 void kernfs_remove(struct kernfs_node *kn) kernfs_remove() argument
1120 void kernfs_break_active_protection(struct kernfs_node *kn) kernfs_break_active_protection() argument
1144 void kernfs_unbreak_active_protection(struct kernfs_node *kn) kernfs_unbreak_active_protection() argument
1186 bool kernfs_remove_self(struct kernfs_node *kn) kernfs_remove_self() argument
1249 struct kernfs_node *kn; kernfs_remove_by_name_ns() local
1278 int kernfs_rename_ns(struct kernfs_node *kn, struct kernfs_node *new_parent, kernfs_rename_ns() argument
1348 static inline unsigned char dt_type(struct kernfs_node *kn) dt_type() argument
201 kernfs_name_compare(unsigned int hash, const char *name, const void *ns, const struct kernfs_node *kn) kernfs_name_compare() argument
/linux-4.1.27/fs/sysfs/
H A Ddir.c43 struct kernfs_node *parent, *kn; sysfs_create_dir_ns() local
77 struct kernfs_node *kn = kobj->sd; sysfs_remove_dir() local
116 struct kernfs_node *kn = kobj->sd; sysfs_move_dir_ns() local
132 struct kernfs_node *kn, *parent = parent_kobj->sd; sysfs_create_mount_point() local
H A Dgroup.c97 struct kernfs_node *kn; internal_create_group() local
217 struct kernfs_node *kn; sysfs_remove_group() local
H A Dsymlink.c25 struct kernfs_node *kn, *target = NULL; sysfs_do_create_link_sd() local
61 int sysfs_create_link_sd(struct kernfs_node *kn, struct kobject *target, sysfs_create_link_sd() argument
168 struct kernfs_node *parent, *kn = NULL; sysfs_rename_link_ns() local
H A Dfile.c28 static const struct sysfs_ops *sysfs_file_ops(struct kernfs_node *kn) sysfs_file_ops() argument
167 struct kernfs_node *kn = kobj->sd, *tmp; sysfs_notify() local
244 struct kernfs_node *kn; sysfs_add_file_mode_ns() local
382 struct kernfs_node *kn; sysfs_chmod_file() local
427 struct kernfs_node *kn; sysfs_remove_file_self() local
/linux-4.1.27/include/linux/
H A Dsysfs.h276 static inline void sysfs_enable_ns(struct kernfs_node *kn) sysfs_enable_ns() argument
464 static inline void sysfs_enable_ns(struct kernfs_node *kn) sysfs_enable_ns() argument
488 static inline void sysfs_notify_dirent(struct kernfs_node *kn) sysfs_notify_dirent() argument
499 static inline struct kernfs_node *sysfs_get(struct kernfs_node *kn) sysfs_get() argument
505 static inline void sysfs_put(struct kernfs_node *kn) sysfs_put() argument
H A Dcgroup-defs.h226 struct kernfs_node *kn; /* cgroup kernfs entry */ member in struct:cgroup
H A Dkernfs.h159 struct kernfs_node *kn; member in struct:kernfs_root
174 struct kernfs_node *kn; member in struct:kernfs_open_file
237 static inline enum kernfs_node_type kernfs_type(struct kernfs_node *kn) kernfs_type() argument
250 static inline void kernfs_enable_ns(struct kernfs_node *kn) kernfs_enable_ns() argument
263 static inline bool kernfs_ns_enabled(struct kernfs_node *kn) kernfs_ns_enabled() argument
323 static inline enum kernfs_node_type kernfs_type(struct kernfs_node *kn) kernfs_type() argument
326 static inline void kernfs_enable_ns(struct kernfs_node *kn) { } kernfs_enable_ns() argument
328 static inline bool kernfs_ns_enabled(struct kernfs_node *kn) kernfs_ns_enabled() argument
331 static inline int kernfs_name(struct kernfs_node *kn, char *buf, size_t buflen) kernfs_name() argument
334 static inline char * __must_check kernfs_path(struct kernfs_node *kn, char *buf, kernfs_path() argument
338 static inline void pr_cont_kernfs_name(struct kernfs_node *kn) { } pr_cont_kernfs_path() argument
339 static inline void pr_cont_kernfs_path(struct kernfs_node *kn) { } pr_cont_kernfs_path() argument
341 static inline struct kernfs_node *kernfs_get_parent(struct kernfs_node *kn) kernfs_get_parent() argument
349 static inline void kernfs_get(struct kernfs_node *kn) { } kernfs_put() argument
350 static inline void kernfs_put(struct kernfs_node *kn) { } kernfs_put() argument
381 static inline void kernfs_activate(struct kernfs_node *kn) { } kernfs_activate() argument
383 static inline void kernfs_remove(struct kernfs_node *kn) { } kernfs_remove() argument
385 static inline bool kernfs_remove_self(struct kernfs_node *kn) kernfs_remove_self() argument
388 static inline int kernfs_remove_by_name_ns(struct kernfs_node *kn, kernfs_remove_by_name_ns() argument
392 static inline int kernfs_rename_ns(struct kernfs_node *kn, kernfs_rename_ns() argument
397 static inline int kernfs_setattr(struct kernfs_node *kn, kernfs_setattr() argument
401 static inline void kernfs_notify(struct kernfs_node *kn) { } kernfs_notify() argument
419 kernfs_find_and_get(struct kernfs_node *kn, const char *name) kernfs_find_and_get() argument
458 static inline int kernfs_rename(struct kernfs_node *kn, kernfs_rename() argument
/linux-4.1.27/net/mac802154/
H A Dllsec.c50 struct ieee802154_llsec_key_entry *key, *kn; mac802154_llsec_destroy() local
/linux-4.1.27/drivers/of/
H A Dbase.c118 struct kernfs_node *kn; safe_name() local
/linux-4.1.27/drivers/s390/block/
H A Ddasd_eckd.c173 int dn, kn; recs_per_track() local
/linux-4.1.27/kernel/
H A Dcgroup.c1132 static void cgroup_kn_unlock(struct kernfs_node *kn) cgroup_kn_unlock() argument
1162 static struct cgroup *cgroup_kn_lock_live(struct kernfs_node *kn) cgroup_kn_lock_live() argument
3016 static int cgroup_rename(struct kernfs_node *kn, struct kernfs_node *new_parent, cgroup_rename() argument
3054 static int cgroup_kn_set_ugid(struct kernfs_node *kn) cgroup_kn_set_ugid() argument
3070 struct kernfs_node *kn; cgroup_add_file() local
4045 struct kernfs_node *kn = kernfs_node_from_dentry(dentry); cgroupstats_build() local
4612 struct kernfs_node *kn; cgroup_mkdir() local
4884 static int cgroup_rmdir(struct kernfs_node *kn) cgroup_rmdir() argument
5429 struct kernfs_node *kn = kernfs_node_from_dentry(dentry); css_tryget_online_from_dir() local

Completed in 277 milliseconds