kernfs_node        54 arch/s390/pci/pci_sysfs.c 	struct kernfs_node *kn;
kernfs_node       143 arch/x86/kernel/cpu/resctrl/internal.h 	struct kernfs_node	*mon_data_kn;
kernfs_node       202 arch/x86/kernel/cpu/resctrl/internal.h 	struct kernfs_node		*kn;
kernfs_node       552 arch/x86/kernel/cpu/resctrl/internal.h struct rdtgroup *rdtgroup_kn_lock_live(struct kernfs_node *kn);
kernfs_node       553 arch/x86/kernel/cpu/resctrl/internal.h void rdtgroup_kn_unlock(struct kernfs_node *kn);
kernfs_node        43 arch/x86/kernel/cpu/resctrl/rdtgroup.c static struct kernfs_node *kn_info;
kernfs_node        46 arch/x86/kernel/cpu/resctrl/rdtgroup.c static struct kernfs_node *kn_mongrp;
kernfs_node        49 arch/x86/kernel/cpu/resctrl/rdtgroup.c static struct kernfs_node *kn_mondata;
kernfs_node       189 arch/x86/kernel/cpu/resctrl/rdtgroup.c static int rdtgroup_kn_set_ugid(struct kernfs_node *kn)
kernfs_node       202 arch/x86/kernel/cpu/resctrl/rdtgroup.c static int rdtgroup_add_file(struct kernfs_node *parent_kn, struct rftype *rft)
kernfs_node       204 arch/x86/kernel/cpu/resctrl/rdtgroup.c 	struct kernfs_node *kn;
kernfs_node      1484 arch/x86/kernel/cpu/resctrl/rdtgroup.c static int rdtgroup_add_files(struct kernfs_node *kn, unsigned long fflags)
kernfs_node      1532 arch/x86/kernel/cpu/resctrl/rdtgroup.c 	struct kernfs_node *kn;
kernfs_node      1571 arch/x86/kernel/cpu/resctrl/rdtgroup.c 	struct kernfs_node *kn, *parent;
kernfs_node      1612 arch/x86/kernel/cpu/resctrl/rdtgroup.c 	struct kernfs_node *kn_subdir;
kernfs_node      1632 arch/x86/kernel/cpu/resctrl/rdtgroup.c static int rdtgroup_create_info_dir(struct kernfs_node *parent_kn)
kernfs_node      1684 arch/x86/kernel/cpu/resctrl/rdtgroup.c mongroup_create_dir(struct kernfs_node *parent_kn, struct rdtgroup *prgrp,
kernfs_node      1685 arch/x86/kernel/cpu/resctrl/rdtgroup.c 		    char *name, struct kernfs_node **dest_kn)
kernfs_node      1687 arch/x86/kernel/cpu/resctrl/rdtgroup.c 	struct kernfs_node *kn;
kernfs_node      1878 arch/x86/kernel/cpu/resctrl/rdtgroup.c static struct rdtgroup *kernfs_to_rdtgroup(struct kernfs_node *kn)
kernfs_node      1896 arch/x86/kernel/cpu/resctrl/rdtgroup.c struct rdtgroup *rdtgroup_kn_lock_live(struct kernfs_node *kn)
kernfs_node      1915 arch/x86/kernel/cpu/resctrl/rdtgroup.c void rdtgroup_kn_unlock(struct kernfs_node *kn)
kernfs_node      1937 arch/x86/kernel/cpu/resctrl/rdtgroup.c static int mkdir_mondata_all(struct kernfs_node *parent_kn,
kernfs_node      1939 arch/x86/kernel/cpu/resctrl/rdtgroup.c 			     struct kernfs_node **mon_data_kn);
kernfs_node      2308 arch/x86/kernel/cpu/resctrl/rdtgroup.c static int mon_addfile(struct kernfs_node *parent_kn, const char *name,
kernfs_node      2311 arch/x86/kernel/cpu/resctrl/rdtgroup.c 	struct kernfs_node *kn;
kernfs_node      2350 arch/x86/kernel/cpu/resctrl/rdtgroup.c static int mkdir_mondata_subdir(struct kernfs_node *parent_kn,
kernfs_node      2355 arch/x86/kernel/cpu/resctrl/rdtgroup.c 	struct kernfs_node *kn;
kernfs_node      2407 arch/x86/kernel/cpu/resctrl/rdtgroup.c 	struct kernfs_node *parent_kn;
kernfs_node      2426 arch/x86/kernel/cpu/resctrl/rdtgroup.c static int mkdir_mondata_subdir_alldom(struct kernfs_node *parent_kn,
kernfs_node      2459 arch/x86/kernel/cpu/resctrl/rdtgroup.c static int mkdir_mondata_all(struct kernfs_node *parent_kn,
kernfs_node      2461 arch/x86/kernel/cpu/resctrl/rdtgroup.c 			     struct kernfs_node **dest_kn)
kernfs_node      2464 arch/x86/kernel/cpu/resctrl/rdtgroup.c 	struct kernfs_node *kn;
kernfs_node      2659 arch/x86/kernel/cpu/resctrl/rdtgroup.c static int mkdir_rdt_prepare(struct kernfs_node *parent_kn,
kernfs_node      2660 arch/x86/kernel/cpu/resctrl/rdtgroup.c 			     struct kernfs_node *prgrp_kn,
kernfs_node      2665 arch/x86/kernel/cpu/resctrl/rdtgroup.c 	struct kernfs_node *kn;
kernfs_node      2769 arch/x86/kernel/cpu/resctrl/rdtgroup.c static int rdtgroup_mkdir_mon(struct kernfs_node *parent_kn,
kernfs_node      2770 arch/x86/kernel/cpu/resctrl/rdtgroup.c 			      struct kernfs_node *prgrp_kn,
kernfs_node      2799 arch/x86/kernel/cpu/resctrl/rdtgroup.c static int rdtgroup_mkdir_ctrl_mon(struct kernfs_node *parent_kn,
kernfs_node      2800 arch/x86/kernel/cpu/resctrl/rdtgroup.c 				   struct kernfs_node *prgrp_kn,
kernfs_node      2804 arch/x86/kernel/cpu/resctrl/rdtgroup.c 	struct kernfs_node *kn;
kernfs_node      2864 arch/x86/kernel/cpu/resctrl/rdtgroup.c static bool is_mon_groups(struct kernfs_node *kn, const char *name)
kernfs_node      2870 arch/x86/kernel/cpu/resctrl/rdtgroup.c static int rdtgroup_mkdir(struct kernfs_node *parent_kn, const char *name,
kernfs_node      2895 arch/x86/kernel/cpu/resctrl/rdtgroup.c static int rdtgroup_rmdir_mon(struct kernfs_node *kn, struct rdtgroup *rdtgrp,
kernfs_node      2933 arch/x86/kernel/cpu/resctrl/rdtgroup.c static int rdtgroup_ctrl_remove(struct kernfs_node *kn,
kernfs_node      2948 arch/x86/kernel/cpu/resctrl/rdtgroup.c static int rdtgroup_rmdir_ctrl(struct kernfs_node *kn, struct rdtgroup *rdtgrp,
kernfs_node      2986 arch/x86/kernel/cpu/resctrl/rdtgroup.c static int rdtgroup_rmdir(struct kernfs_node *kn)
kernfs_node      2988 arch/x86/kernel/cpu/resctrl/rdtgroup.c 	struct kernfs_node *parent_kn = kn->parent;
kernfs_node      2116 drivers/acpi/nfit/core.c 		struct kernfs_node *nfit_kernfs;
kernfs_node      3344 drivers/acpi/nfit/core.c 	struct kernfs_node *nfit;
kernfs_node       197 drivers/acpi/nfit/nfit.h 	struct kernfs_node *flags_attr;
kernfs_node       234 drivers/acpi/nfit/nfit.h 	struct kernfs_node *scrub_count_state;
kernfs_node       829 drivers/cpufreq/powernv-cpufreq.c 	struct kernfs_node *kn;
kernfs_node        24 drivers/gpio/gpiolib-sysfs.c 	struct kernfs_node *value_kn;
kernfs_node      1818 drivers/md/md-bitmap.c 	struct kernfs_node *bm = NULL;
kernfs_node       232 drivers/md/md-bitmap.h 	struct kernfs_node *sysfs_can_clear;
kernfs_node       122 drivers/md/md.h 	struct kernfs_node *sysfs_state; /* handle for 'state'
kernfs_node       413 drivers/md/md.h 	struct kernfs_node		*sysfs_state;	/* handle for 'array_state'
kernfs_node       416 drivers/md/md.h 	struct kernfs_node		*sysfs_action;  /* handle for 'sync_action' */
kernfs_node       606 drivers/md/md.h static inline struct kernfs_node *sysfs_get_dirent_safe(struct kernfs_node *sd, char *name)
kernfs_node       612 drivers/md/md.h static inline void sysfs_notify_dirent_safe(struct kernfs_node *sd)
kernfs_node        60 drivers/misc/mic/bus/cosm_bus.h 	struct kernfs_node *state_sysfs;
kernfs_node        45 drivers/nvdimm/nd-core.h 		struct kernfs_node *overwrite_state;
kernfs_node       154 drivers/nvdimm/nd.h 	struct kernfs_node *bb_state;
kernfs_node       570 drivers/nvdimm/pmem.c 	struct kernfs_node *bb_state;
kernfs_node        22 drivers/nvdimm/pmem.h 	struct kernfs_node	*bb_state;
kernfs_node        43 drivers/of/kobj.c 	struct kernfs_node *kn;
kernfs_node       732 drivers/scsi/scsi_sysfs.c 	struct kernfs_node *kn;
kernfs_node       252 drivers/siox/siox-core.c 				struct kernfs_node *wd_errs =
kernfs_node        25 fs/kernfs/dir.c #define rb_to_kn(X) rb_entry((X), struct kernfs_node, rb)
kernfs_node        27 fs/kernfs/dir.c static bool kernfs_active(struct kernfs_node *kn)
kernfs_node        33 fs/kernfs/dir.c static bool kernfs_lockdep(struct kernfs_node *kn)
kernfs_node        42 fs/kernfs/dir.c static int kernfs_name_locked(struct kernfs_node *kn, char *buf, size_t buflen)
kernfs_node        51 fs/kernfs/dir.c static size_t kernfs_depth(struct kernfs_node *from, struct kernfs_node *to)
kernfs_node        62 fs/kernfs/dir.c static struct kernfs_node *kernfs_common_ancestor(struct kernfs_node *a,
kernfs_node        63 fs/kernfs/dir.c 						  struct kernfs_node *b)
kernfs_node       122 fs/kernfs/dir.c static int kernfs_path_from_node_locked(struct kernfs_node *kn_to,
kernfs_node       123 fs/kernfs/dir.c 					struct kernfs_node *kn_from,
kernfs_node       126 fs/kernfs/dir.c 	struct kernfs_node *kn, *common;
kernfs_node       183 fs/kernfs/dir.c int kernfs_name(struct kernfs_node *kn, char *buf, size_t buflen)
kernfs_node       210 fs/kernfs/dir.c int kernfs_path_from_node(struct kernfs_node *to, struct kernfs_node *from,
kernfs_node       229 fs/kernfs/dir.c void pr_cont_kernfs_name(struct kernfs_node *kn)
kernfs_node       247 fs/kernfs/dir.c void pr_cont_kernfs_path(struct kernfs_node *kn)
kernfs_node       279 fs/kernfs/dir.c struct kernfs_node *kernfs_get_parent(struct kernfs_node *kn)
kernfs_node       281 fs/kernfs/dir.c 	struct kernfs_node *parent;
kernfs_node       316 fs/kernfs/dir.c 			       const void *ns, const struct kernfs_node *kn)
kernfs_node       329 fs/kernfs/dir.c static int kernfs_sd_compare(const struct kernfs_node *left,
kernfs_node       330 fs/kernfs/dir.c 			     const struct kernfs_node *right)
kernfs_node       348 fs/kernfs/dir.c static int kernfs_link_sibling(struct kernfs_node *kn)
kernfs_node       354 fs/kernfs/dir.c 		struct kernfs_node *pos;
kernfs_node       390 fs/kernfs/dir.c static bool kernfs_unlink_sibling(struct kernfs_node *kn)
kernfs_node       413 fs/kernfs/dir.c struct kernfs_node *kernfs_get_active(struct kernfs_node *kn)
kernfs_node       433 fs/kernfs/dir.c void kernfs_put_active(struct kernfs_node *kn)
kernfs_node       457 fs/kernfs/dir.c static void kernfs_drain(struct kernfs_node *kn)
kernfs_node       491 fs/kernfs/dir.c void kernfs_get(struct kernfs_node *kn)
kernfs_node       506 fs/kernfs/dir.c void kernfs_put(struct kernfs_node *kn)
kernfs_node       508 fs/kernfs/dir.c 	struct kernfs_node *parent;
kernfs_node       557 fs/kernfs/dir.c 	struct kernfs_node *kn;
kernfs_node       609 fs/kernfs/dir.c struct kernfs_node *kernfs_node_from_dentry(struct dentry *dentry)
kernfs_node       617 fs/kernfs/dir.c static struct kernfs_node *__kernfs_new_node(struct kernfs_root *root,
kernfs_node       618 fs/kernfs/dir.c 					     struct kernfs_node *parent,
kernfs_node       623 fs/kernfs/dir.c 	struct kernfs_node *kn;
kernfs_node       690 fs/kernfs/dir.c struct kernfs_node *kernfs_new_node(struct kernfs_node *parent,
kernfs_node       695 fs/kernfs/dir.c 	struct kernfs_node *kn;
kernfs_node       714 fs/kernfs/dir.c struct kernfs_node *kernfs_find_and_get_node_by_ino(struct kernfs_root *root,
kernfs_node       717 fs/kernfs/dir.c 	struct kernfs_node *kn;
kernfs_node       766 fs/kernfs/dir.c int kernfs_add_one(struct kernfs_node *kn)
kernfs_node       768 fs/kernfs/dir.c 	struct kernfs_node *parent = kn->parent;
kernfs_node       831 fs/kernfs/dir.c static struct kernfs_node *kernfs_find_ns(struct kernfs_node *parent,
kernfs_node       849 fs/kernfs/dir.c 		struct kernfs_node *kn;
kernfs_node       864 fs/kernfs/dir.c static struct kernfs_node *kernfs_walk_ns(struct kernfs_node *parent,
kernfs_node       906 fs/kernfs/dir.c struct kernfs_node *kernfs_find_and_get_ns(struct kernfs_node *parent,
kernfs_node       909 fs/kernfs/dir.c 	struct kernfs_node *kn;
kernfs_node       930 fs/kernfs/dir.c struct kernfs_node *kernfs_walk_and_get_ns(struct kernfs_node *parent,
kernfs_node       933 fs/kernfs/dir.c 	struct kernfs_node *kn;
kernfs_node       956 fs/kernfs/dir.c 	struct kernfs_node *kn;
kernfs_node      1013 fs/kernfs/dir.c struct kernfs_node *kernfs_create_dir_ns(struct kernfs_node *parent,
kernfs_node      1018 fs/kernfs/dir.c 	struct kernfs_node *kn;
kernfs_node      1047 fs/kernfs/dir.c struct kernfs_node *kernfs_create_empty_dir(struct kernfs_node *parent,
kernfs_node      1050 fs/kernfs/dir.c 	struct kernfs_node *kn;
kernfs_node      1078 fs/kernfs/dir.c 	struct kernfs_node *parent = dir->i_private;
kernfs_node      1079 fs/kernfs/dir.c 	struct kernfs_node *kn;
kernfs_node      1113 fs/kernfs/dir.c 	struct kernfs_node *parent = dir->i_private;
kernfs_node      1131 fs/kernfs/dir.c 	struct kernfs_node *kn  = kernfs_dentry_node(dentry);
kernfs_node      1151 fs/kernfs/dir.c 	struct kernfs_node *kn = kernfs_dentry_node(old_dentry);
kernfs_node      1152 fs/kernfs/dir.c 	struct kernfs_node *new_parent = new_dir->i_private;
kernfs_node      1189 fs/kernfs/dir.c static struct kernfs_node *kernfs_leftmost_descendant(struct kernfs_node *pos)
kernfs_node      1191 fs/kernfs/dir.c 	struct kernfs_node *last;
kernfs_node      1220 fs/kernfs/dir.c static struct kernfs_node *kernfs_next_descendant_post(struct kernfs_node *pos,
kernfs_node      1221 fs/kernfs/dir.c 						       struct kernfs_node *root)
kernfs_node      1257 fs/kernfs/dir.c void kernfs_activate(struct kernfs_node *kn)
kernfs_node      1259 fs/kernfs/dir.c 	struct kernfs_node *pos;
kernfs_node      1278 fs/kernfs/dir.c static void __kernfs_remove(struct kernfs_node *kn)
kernfs_node      1280 fs/kernfs/dir.c 	struct kernfs_node *pos;
kernfs_node      1350 fs/kernfs/dir.c void kernfs_remove(struct kernfs_node *kn)
kernfs_node      1371 fs/kernfs/dir.c void kernfs_break_active_protection(struct kernfs_node *kn)
kernfs_node      1395 fs/kernfs/dir.c void kernfs_unbreak_active_protection(struct kernfs_node *kn)
kernfs_node      1437 fs/kernfs/dir.c bool kernfs_remove_self(struct kernfs_node *kn)
kernfs_node      1497 fs/kernfs/dir.c int kernfs_remove_by_name_ns(struct kernfs_node *parent, const char *name,
kernfs_node      1500 fs/kernfs/dir.c 	struct kernfs_node *kn;
kernfs_node      1529 fs/kernfs/dir.c int kernfs_rename_ns(struct kernfs_node *kn, struct kernfs_node *new_parent,
kernfs_node      1532 fs/kernfs/dir.c 	struct kernfs_node *old_parent;
kernfs_node      1599 fs/kernfs/dir.c static inline unsigned char dt_type(struct kernfs_node *kn)
kernfs_node      1610 fs/kernfs/dir.c static struct kernfs_node *kernfs_dir_pos(const void *ns,
kernfs_node      1611 fs/kernfs/dir.c 	struct kernfs_node *parent, loff_t hash, struct kernfs_node *pos)
kernfs_node      1644 fs/kernfs/dir.c static struct kernfs_node *kernfs_dir_next_pos(const void *ns,
kernfs_node      1645 fs/kernfs/dir.c 	struct kernfs_node *parent, ino_t ino, struct kernfs_node *pos)
kernfs_node      1663 fs/kernfs/dir.c 	struct kernfs_node *parent = kernfs_dentry_node(dentry);
kernfs_node      1664 fs/kernfs/dir.c 	struct kernfs_node *pos = file->private_data;
kernfs_node        52 fs/kernfs/file.c static struct kernfs_node *kernfs_notify_list = KERNFS_NOTIFY_EOL;
kernfs_node        63 fs/kernfs/file.c static const struct kernfs_ops *kernfs_ops(struct kernfs_node *kn)
kernfs_node       542 fs/kernfs/file.c static int kernfs_get_open_node(struct kernfs_node *kn,
kernfs_node       593 fs/kernfs/file.c static void kernfs_put_open_node(struct kernfs_node *kn,
kernfs_node       618 fs/kernfs/file.c 	struct kernfs_node *kn = inode->i_private;
kernfs_node       745 fs/kernfs/file.c static void kernfs_release_file(struct kernfs_node *kn,
kernfs_node       770 fs/kernfs/file.c 	struct kernfs_node *kn = inode->i_private;
kernfs_node       787 fs/kernfs/file.c void kernfs_drain_open_files(struct kernfs_node *kn)
kernfs_node       836 fs/kernfs/file.c 	struct kernfs_node *kn = kernfs_dentry_node(of->file->f_path.dentry);
kernfs_node       850 fs/kernfs/file.c 	struct kernfs_node *kn = kernfs_dentry_node(filp->f_path.dentry);
kernfs_node       867 fs/kernfs/file.c 	struct kernfs_node *kn;
kernfs_node       885 fs/kernfs/file.c 		struct kernfs_node *parent;
kernfs_node       931 fs/kernfs/file.c void kernfs_notify(struct kernfs_node *kn)
kernfs_node       987 fs/kernfs/file.c struct kernfs_node *__kernfs_create_file(struct kernfs_node *parent,
kernfs_node       995 fs/kernfs/file.c 	struct kernfs_node *kn;
kernfs_node        33 fs/kernfs/inode.c static struct kernfs_iattrs *__kernfs_iattrs(struct kernfs_node *kn, int alloc)
kernfs_node        62 fs/kernfs/inode.c static struct kernfs_iattrs *kernfs_iattrs(struct kernfs_node *kn)
kernfs_node        67 fs/kernfs/inode.c static struct kernfs_iattrs *kernfs_iattrs_noalloc(struct kernfs_node *kn)
kernfs_node        72 fs/kernfs/inode.c int __kernfs_setattr(struct kernfs_node *kn, const struct iattr *iattr)
kernfs_node       103 fs/kernfs/inode.c int kernfs_setattr(struct kernfs_node *kn, const struct iattr *iattr)
kernfs_node       116 fs/kernfs/inode.c 	struct kernfs_node *kn = inode->i_private;
kernfs_node       141 fs/kernfs/inode.c 	struct kernfs_node *kn = kernfs_dentry_node(dentry);
kernfs_node       168 fs/kernfs/inode.c static void kernfs_refresh_inode(struct kernfs_node *kn, struct inode *inode)
kernfs_node       188 fs/kernfs/inode.c 	struct kernfs_node *kn = inode->i_private;
kernfs_node       198 fs/kernfs/inode.c static void kernfs_init_inode(struct kernfs_node *kn, struct inode *inode)
kernfs_node       246 fs/kernfs/inode.c struct inode *kernfs_get_inode(struct super_block *sb, struct kernfs_node *kn)
kernfs_node       266 fs/kernfs/inode.c 	struct kernfs_node *kn = inode->i_private;
kernfs_node       275 fs/kernfs/inode.c 	struct kernfs_node *kn;
kernfs_node       289 fs/kernfs/inode.c int kernfs_xattr_get(struct kernfs_node *kn, const char *name,
kernfs_node       299 fs/kernfs/inode.c int kernfs_xattr_set(struct kernfs_node *kn, const char *name,
kernfs_node       314 fs/kernfs/inode.c 	struct kernfs_node *kn = inode->i_private;
kernfs_node       325 fs/kernfs/inode.c 	struct kernfs_node *kn = inode->i_private;
kernfs_node        42 fs/kernfs/kernfs-internal.h static inline struct kernfs_root *kernfs_root(struct kernfs_node *kn)
kernfs_node        75 fs/kernfs/kernfs-internal.h static inline struct kernfs_node *kernfs_dentry_node(struct dentry *dentry)
kernfs_node        95 fs/kernfs/kernfs-internal.h int __kernfs_setattr(struct kernfs_node *kn, const struct iattr *iattr);
kernfs_node       105 fs/kernfs/kernfs-internal.h struct kernfs_node *kernfs_get_active(struct kernfs_node *kn);
kernfs_node       106 fs/kernfs/kernfs-internal.h void kernfs_put_active(struct kernfs_node *kn);
kernfs_node       107 fs/kernfs/kernfs-internal.h int kernfs_add_one(struct kernfs_node *kn);
kernfs_node       108 fs/kernfs/kernfs-internal.h struct kernfs_node *kernfs_new_node(struct kernfs_node *parent,
kernfs_node       112 fs/kernfs/kernfs-internal.h struct kernfs_node *kernfs_find_and_get_node_by_ino(struct kernfs_root *root,
kernfs_node       120 fs/kernfs/kernfs-internal.h void kernfs_drain_open_files(struct kernfs_node *kn);
kernfs_node        36 fs/kernfs/mount.c 	struct kernfs_node *node = kernfs_dentry_node(dentry);
kernfs_node        60 fs/kernfs/mount.c struct kernfs_node *kernfs_get_node_by_id(struct kernfs_root *root,
kernfs_node        63 fs/kernfs/mount.c 	struct kernfs_node *kn;
kernfs_node        80 fs/kernfs/mount.c 	struct kernfs_node *kn;
kernfs_node       117 fs/kernfs/mount.c 	struct kernfs_node *kn = kernfs_dentry_node(child);
kernfs_node       150 fs/kernfs/mount.c static struct kernfs_node *find_next_ancestor(struct kernfs_node *child,
kernfs_node       151 fs/kernfs/mount.c 					      struct kernfs_node *parent)
kernfs_node       172 fs/kernfs/mount.c struct dentry *kernfs_node_dentry(struct kernfs_node *kn,
kernfs_node       176 fs/kernfs/mount.c 	struct kernfs_node *knparent = NULL;
kernfs_node       194 fs/kernfs/mount.c 		struct kernfs_node *kntmp;
kernfs_node       374 fs/kernfs/mount.c 					      sizeof(struct kernfs_node),
kernfs_node        25 fs/kernfs/symlink.c struct kernfs_node *kernfs_create_link(struct kernfs_node *parent,
kernfs_node        27 fs/kernfs/symlink.c 				       struct kernfs_node *target)
kernfs_node        29 fs/kernfs/symlink.c 	struct kernfs_node *kn;
kernfs_node        57 fs/kernfs/symlink.c static int kernfs_get_target_path(struct kernfs_node *parent,
kernfs_node        58 fs/kernfs/symlink.c 				  struct kernfs_node *target, char *path)
kernfs_node        60 fs/kernfs/symlink.c 	struct kernfs_node *base, *kn;
kernfs_node       114 fs/kernfs/symlink.c 	struct kernfs_node *kn = inode->i_private;
kernfs_node       115 fs/kernfs/symlink.c 	struct kernfs_node *parent = kn->parent;
kernfs_node       116 fs/kernfs/symlink.c 	struct kernfs_node *target = kn->symlink.target_kn;
kernfs_node        21 fs/sysfs/dir.c void sysfs_warn_dup(struct kernfs_node *parent, const char *name)
kernfs_node        42 fs/sysfs/dir.c 	struct kernfs_node *parent, *kn;
kernfs_node        82 fs/sysfs/dir.c 	struct kernfs_node *kn = kobj->sd;
kernfs_node       109 fs/sysfs/dir.c 	struct kernfs_node *parent;
kernfs_node       121 fs/sysfs/dir.c 	struct kernfs_node *kn = kobj->sd;
kernfs_node       122 fs/sysfs/dir.c 	struct kernfs_node *new_parent;
kernfs_node       137 fs/sysfs/dir.c 	struct kernfs_node *kn, *parent = parent_kobj->sd;
kernfs_node       158 fs/sysfs/dir.c 	struct kernfs_node *parent = parent_kobj->sd;
kernfs_node        25 fs/sysfs/file.c static const struct sysfs_ops *sysfs_file_ops(struct kernfs_node *kn)
kernfs_node       174 fs/sysfs/file.c 	struct kernfs_node *kn = kobj->sd, *tmp;
kernfs_node       245 fs/sysfs/file.c int sysfs_add_file_mode_ns(struct kernfs_node *parent,
kernfs_node       251 fs/sysfs/file.c 	struct kernfs_node *kn;
kernfs_node       360 fs/sysfs/file.c 	struct kernfs_node *parent;
kernfs_node       394 fs/sysfs/file.c 	struct kernfs_node *kn;
kernfs_node       422 fs/sysfs/file.c struct kernfs_node *sysfs_break_active_protection(struct kobject *kobj,
kernfs_node       425 fs/sysfs/file.c 	struct kernfs_node *kn;
kernfs_node       446 fs/sysfs/file.c void sysfs_unbreak_active_protection(struct kernfs_node *kn)
kernfs_node       467 fs/sysfs/file.c 	struct kernfs_node *parent = kobj->sd;
kernfs_node       482 fs/sysfs/file.c 	struct kernfs_node *parent = kobj->sd;
kernfs_node       483 fs/sysfs/file.c 	struct kernfs_node *kn;
kernfs_node       514 fs/sysfs/file.c 	struct kernfs_node *parent;
kernfs_node        19 fs/sysfs/group.c static void remove_files(struct kernfs_node *parent,
kernfs_node        33 fs/sysfs/group.c static int create_files(struct kernfs_node *parent, struct kobject *kobj,
kernfs_node       110 fs/sysfs/group.c 	struct kernfs_node *kn;
kernfs_node       272 fs/sysfs/group.c 	struct kernfs_node *parent = kobj->sd;
kernfs_node       273 fs/sysfs/group.c 	struct kernfs_node *kn;
kernfs_node       328 fs/sysfs/group.c 	struct kernfs_node *parent;
kernfs_node       362 fs/sysfs/group.c 	struct kernfs_node *parent;
kernfs_node       384 fs/sysfs/group.c 	struct kernfs_node *parent;
kernfs_node       407 fs/sysfs/group.c 	struct kernfs_node *parent;
kernfs_node       428 fs/sysfs/group.c 	struct kernfs_node *target;
kernfs_node       429 fs/sysfs/group.c 	struct kernfs_node *entry;
kernfs_node       430 fs/sysfs/group.c 	struct kernfs_node *link;
kernfs_node        24 fs/sysfs/mount.c struct kernfs_node *sysfs_root_kn;
kernfs_node        20 fs/sysfs/symlink.c static int sysfs_do_create_link_sd(struct kernfs_node *parent,
kernfs_node        24 fs/sysfs/symlink.c 	struct kernfs_node *kn, *target = NULL;
kernfs_node        61 fs/sysfs/symlink.c int sysfs_create_link_sd(struct kernfs_node *kn, struct kobject *target,
kernfs_node        70 fs/sysfs/symlink.c 	struct kernfs_node *parent = NULL;
kernfs_node       145 fs/sysfs/symlink.c 	struct kernfs_node *parent = NULL;
kernfs_node       169 fs/sysfs/symlink.c 	struct kernfs_node *parent, *kn = NULL;
kernfs_node        18 fs/sysfs/sysfs.h extern struct kernfs_node *sysfs_root_kn;
kernfs_node        25 fs/sysfs/sysfs.h void sysfs_warn_dup(struct kernfs_node *parent, const char *name);
kernfs_node        30 fs/sysfs/sysfs.h int sysfs_add_file_mode_ns(struct kernfs_node *parent,
kernfs_node        38 fs/sysfs/sysfs.h int sysfs_create_link_sd(struct kernfs_node *kn, struct kobject *target,
kernfs_node        31 include/linux/cgroup-defs.h struct kernfs_node;
kernfs_node       121 include/linux/cgroup-defs.h 	struct kernfs_node *kn;
kernfs_node       410 include/linux/cgroup-defs.h 	struct kernfs_node *kn;		/* cgroup kernfs entry */
kernfs_node        97 include/linux/kernfs.h 	struct kernfs_node	*target_kn;
kernfs_node       104 include/linux/kernfs.h 	struct kernfs_node	*notify_next;	/* for kernfs_notify() */
kernfs_node       143 include/linux/kernfs.h 	struct kernfs_node	*parent;
kernfs_node       174 include/linux/kernfs.h 	int (*mkdir)(struct kernfs_node *parent, const char *name,
kernfs_node       176 include/linux/kernfs.h 	int (*rmdir)(struct kernfs_node *kn);
kernfs_node       177 include/linux/kernfs.h 	int (*rename)(struct kernfs_node *kn, struct kernfs_node *new_parent,
kernfs_node       179 include/linux/kernfs.h 	int (*show_path)(struct seq_file *sf, struct kernfs_node *kn,
kernfs_node       185 include/linux/kernfs.h 	struct kernfs_node	*kn;
kernfs_node       202 include/linux/kernfs.h 	struct kernfs_node	*kn;
kernfs_node       290 include/linux/kernfs.h static inline enum kernfs_node_type kernfs_type(struct kernfs_node *kn)
kernfs_node       303 include/linux/kernfs.h static inline void kernfs_enable_ns(struct kernfs_node *kn)
kernfs_node       316 include/linux/kernfs.h static inline bool kernfs_ns_enabled(struct kernfs_node *kn)
kernfs_node       321 include/linux/kernfs.h int kernfs_name(struct kernfs_node *kn, char *buf, size_t buflen);
kernfs_node       322 include/linux/kernfs.h int kernfs_path_from_node(struct kernfs_node *root_kn, struct kernfs_node *kn,
kernfs_node       324 include/linux/kernfs.h void pr_cont_kernfs_name(struct kernfs_node *kn);
kernfs_node       325 include/linux/kernfs.h void pr_cont_kernfs_path(struct kernfs_node *kn);
kernfs_node       326 include/linux/kernfs.h struct kernfs_node *kernfs_get_parent(struct kernfs_node *kn);
kernfs_node       327 include/linux/kernfs.h struct kernfs_node *kernfs_find_and_get_ns(struct kernfs_node *parent,
kernfs_node       329 include/linux/kernfs.h struct kernfs_node *kernfs_walk_and_get_ns(struct kernfs_node *parent,
kernfs_node       331 include/linux/kernfs.h void kernfs_get(struct kernfs_node *kn);
kernfs_node       332 include/linux/kernfs.h void kernfs_put(struct kernfs_node *kn);
kernfs_node       334 include/linux/kernfs.h struct kernfs_node *kernfs_node_from_dentry(struct dentry *dentry);
kernfs_node       336 include/linux/kernfs.h struct inode *kernfs_get_inode(struct super_block *sb, struct kernfs_node *kn);
kernfs_node       338 include/linux/kernfs.h struct dentry *kernfs_node_dentry(struct kernfs_node *kn,
kernfs_node       344 include/linux/kernfs.h struct kernfs_node *kernfs_create_dir_ns(struct kernfs_node *parent,
kernfs_node       348 include/linux/kernfs.h struct kernfs_node *kernfs_create_empty_dir(struct kernfs_node *parent,
kernfs_node       350 include/linux/kernfs.h struct kernfs_node *__kernfs_create_file(struct kernfs_node *parent,
kernfs_node       357 include/linux/kernfs.h struct kernfs_node *kernfs_create_link(struct kernfs_node *parent,
kernfs_node       359 include/linux/kernfs.h 				       struct kernfs_node *target);
kernfs_node       360 include/linux/kernfs.h void kernfs_activate(struct kernfs_node *kn);
kernfs_node       361 include/linux/kernfs.h void kernfs_remove(struct kernfs_node *kn);
kernfs_node       362 include/linux/kernfs.h void kernfs_break_active_protection(struct kernfs_node *kn);
kernfs_node       363 include/linux/kernfs.h void kernfs_unbreak_active_protection(struct kernfs_node *kn);
kernfs_node       364 include/linux/kernfs.h bool kernfs_remove_self(struct kernfs_node *kn);
kernfs_node       365 include/linux/kernfs.h int kernfs_remove_by_name_ns(struct kernfs_node *parent, const char *name,
kernfs_node       367 include/linux/kernfs.h int kernfs_rename_ns(struct kernfs_node *kn, struct kernfs_node *new_parent,
kernfs_node       369 include/linux/kernfs.h int kernfs_setattr(struct kernfs_node *kn, const struct iattr *iattr);
kernfs_node       372 include/linux/kernfs.h void kernfs_notify(struct kernfs_node *kn);
kernfs_node       374 include/linux/kernfs.h int kernfs_xattr_get(struct kernfs_node *kn, const char *name,
kernfs_node       376 include/linux/kernfs.h int kernfs_xattr_set(struct kernfs_node *kn, const char *name,
kernfs_node       386 include/linux/kernfs.h struct kernfs_node *kernfs_get_node_by_id(struct kernfs_root *root,
kernfs_node       390 include/linux/kernfs.h static inline enum kernfs_node_type kernfs_type(struct kernfs_node *kn)
kernfs_node       393 include/linux/kernfs.h static inline void kernfs_enable_ns(struct kernfs_node *kn) { }
kernfs_node       395 include/linux/kernfs.h static inline bool kernfs_ns_enabled(struct kernfs_node *kn)
kernfs_node       398 include/linux/kernfs.h static inline int kernfs_name(struct kernfs_node *kn, char *buf, size_t buflen)
kernfs_node       401 include/linux/kernfs.h static inline int kernfs_path_from_node(struct kernfs_node *root_kn,
kernfs_node       402 include/linux/kernfs.h 					struct kernfs_node *kn,
kernfs_node       406 include/linux/kernfs.h static inline void pr_cont_kernfs_name(struct kernfs_node *kn) { }
kernfs_node       407 include/linux/kernfs.h static inline void pr_cont_kernfs_path(struct kernfs_node *kn) { }
kernfs_node       409 include/linux/kernfs.h static inline struct kernfs_node *kernfs_get_parent(struct kernfs_node *kn)
kernfs_node       412 include/linux/kernfs.h static inline struct kernfs_node *
kernfs_node       413 include/linux/kernfs.h kernfs_find_and_get_ns(struct kernfs_node *parent, const char *name,
kernfs_node       416 include/linux/kernfs.h static inline struct kernfs_node *
kernfs_node       417 include/linux/kernfs.h kernfs_walk_and_get_ns(struct kernfs_node *parent, const char *path,
kernfs_node       421 include/linux/kernfs.h static inline void kernfs_get(struct kernfs_node *kn) { }
kernfs_node       422 include/linux/kernfs.h static inline void kernfs_put(struct kernfs_node *kn) { }
kernfs_node       424 include/linux/kernfs.h static inline struct kernfs_node *kernfs_node_from_dentry(struct dentry *dentry)
kernfs_node       431 include/linux/kernfs.h kernfs_get_inode(struct super_block *sb, struct kernfs_node *kn)
kernfs_node       441 include/linux/kernfs.h static inline struct kernfs_node *
kernfs_node       442 include/linux/kernfs.h kernfs_create_dir_ns(struct kernfs_node *parent, const char *name,
kernfs_node       447 include/linux/kernfs.h static inline struct kernfs_node *
kernfs_node       448 include/linux/kernfs.h __kernfs_create_file(struct kernfs_node *parent, const char *name,
kernfs_node       454 include/linux/kernfs.h static inline struct kernfs_node *
kernfs_node       455 include/linux/kernfs.h kernfs_create_link(struct kernfs_node *parent, const char *name,
kernfs_node       456 include/linux/kernfs.h 		   struct kernfs_node *target)
kernfs_node       459 include/linux/kernfs.h static inline void kernfs_activate(struct kernfs_node *kn) { }
kernfs_node       461 include/linux/kernfs.h static inline void kernfs_remove(struct kernfs_node *kn) { }
kernfs_node       463 include/linux/kernfs.h static inline bool kernfs_remove_self(struct kernfs_node *kn)
kernfs_node       466 include/linux/kernfs.h static inline int kernfs_remove_by_name_ns(struct kernfs_node *kn,
kernfs_node       470 include/linux/kernfs.h static inline int kernfs_rename_ns(struct kernfs_node *kn,
kernfs_node       471 include/linux/kernfs.h 				   struct kernfs_node *new_parent,
kernfs_node       475 include/linux/kernfs.h static inline int kernfs_setattr(struct kernfs_node *kn,
kernfs_node       479 include/linux/kernfs.h static inline void kernfs_notify(struct kernfs_node *kn) { }
kernfs_node       481 include/linux/kernfs.h static inline int kernfs_xattr_get(struct kernfs_node *kn, const char *name,
kernfs_node       485 include/linux/kernfs.h static inline int kernfs_xattr_set(struct kernfs_node *kn, const char *name,
kernfs_node       515 include/linux/kernfs.h static inline int kernfs_path(struct kernfs_node *kn, char *buf, size_t buflen)
kernfs_node       520 include/linux/kernfs.h static inline struct kernfs_node *
kernfs_node       521 include/linux/kernfs.h kernfs_find_and_get(struct kernfs_node *kn, const char *name)
kernfs_node       526 include/linux/kernfs.h static inline struct kernfs_node *
kernfs_node       527 include/linux/kernfs.h kernfs_walk_and_get(struct kernfs_node *kn, const char *path)
kernfs_node       532 include/linux/kernfs.h static inline struct kernfs_node *
kernfs_node       533 include/linux/kernfs.h kernfs_create_dir(struct kernfs_node *parent, const char *name, umode_t mode,
kernfs_node       541 include/linux/kernfs.h static inline struct kernfs_node *
kernfs_node       542 include/linux/kernfs.h kernfs_create_file_ns(struct kernfs_node *parent, const char *name,
kernfs_node       556 include/linux/kernfs.h static inline struct kernfs_node *
kernfs_node       557 include/linux/kernfs.h kernfs_create_file(struct kernfs_node *parent, const char *name, umode_t mode,
kernfs_node       565 include/linux/kernfs.h static inline int kernfs_remove_by_name(struct kernfs_node *parent,
kernfs_node       571 include/linux/kernfs.h static inline int kernfs_rename(struct kernfs_node *kn,
kernfs_node       572 include/linux/kernfs.h 				struct kernfs_node *new_parent,
kernfs_node        71 include/linux/kobject.h 	struct kernfs_node	*sd; /* sysfs directory entry */
kernfs_node       146 include/linux/leds.h 	struct kernfs_node	*brightness_hw_changed_kn;
kernfs_node      1597 include/linux/lsm_hooks.h 	int (*kernfs_init_security)(struct kernfs_node *kn_dir,
kernfs_node      1598 include/linux/lsm_hooks.h 				    struct kernfs_node *kn);
kernfs_node        54 include/linux/security.h struct kernfs_node;
kernfs_node       357 include/linux/security.h int security_kernfs_init_security(struct kernfs_node *kn_dir,
kernfs_node       358 include/linux/security.h 				  struct kernfs_node *kn);
kernfs_node       878 include/linux/security.h static inline int security_kernfs_init_security(struct kernfs_node *kn_dir,
kernfs_node       879 include/linux/security.h 						struct kernfs_node *kn)
kernfs_node        28 include/linux/siox.h 	struct kernfs_node *status_errors_kn;
kernfs_node        29 include/linux/siox.h 	struct kernfs_node *watchdog_kn;
kernfs_node        30 include/linux/siox.h 	struct kernfs_node *watchdog_errors_kn;
kernfs_node        31 include/linux/siox.h 	struct kernfs_node *connected_kn;
kernfs_node       249 include/linux/sysfs.h struct kernfs_node *sysfs_break_active_protection(struct kobject *kobj,
kernfs_node       251 include/linux/sysfs.h void sysfs_unbreak_active_protection(struct kernfs_node *kn);
kernfs_node       308 include/linux/sysfs.h static inline void sysfs_enable_ns(struct kernfs_node *kn)
kernfs_node       367 include/linux/sysfs.h static inline struct kernfs_node *
kernfs_node       374 include/linux/sysfs.h static inline void sysfs_unbreak_active_protection(struct kernfs_node *kn)
kernfs_node       521 include/linux/sysfs.h static inline void sysfs_enable_ns(struct kernfs_node *kn)
kernfs_node       545 include/linux/sysfs.h static inline void sysfs_notify_dirent(struct kernfs_node *kn)
kernfs_node       550 include/linux/sysfs.h static inline struct kernfs_node *sysfs_get_dirent(struct kernfs_node *parent,
kernfs_node       556 include/linux/sysfs.h static inline struct kernfs_node *sysfs_get(struct kernfs_node *kn)
kernfs_node       562 include/linux/sysfs.h static inline void sysfs_put(struct kernfs_node *kn)
kernfs_node       213 kernel/cgroup/cgroup-internal.h struct cgroup *cgroup_kn_lock_live(struct kernfs_node *kn, bool drain_offline);
kernfs_node       214 kernel/cgroup/cgroup-internal.h void cgroup_kn_unlock(struct kernfs_node *kn);
kernfs_node       241 kernel/cgroup/cgroup-internal.h int cgroup_mkdir(struct kernfs_node *parent_kn, const char *name, umode_t mode);
kernfs_node       242 kernel/cgroup/cgroup-internal.h int cgroup_rmdir(struct kernfs_node *kn);
kernfs_node       243 kernel/cgroup/cgroup-internal.h int cgroup_show_path(struct seq_file *sf, struct kernfs_node *kf_node,
kernfs_node       692 kernel/cgroup/cgroup-v1.c 	struct kernfs_node *kn = kernfs_node_from_dentry(dentry);
kernfs_node       818 kernel/cgroup/cgroup-v1.c static int cgroup1_rename(struct kernfs_node *kn, struct kernfs_node *new_parent,
kernfs_node      1563 kernel/cgroup/cgroup.c void cgroup_kn_unlock(struct kernfs_node *kn)
kernfs_node      1595 kernel/cgroup/cgroup.c struct cgroup *cgroup_kn_lock_live(struct kernfs_node *kn, bool drain_offline)
kernfs_node      1789 kernel/cgroup/cgroup.c int cgroup_show_path(struct seq_file *sf, struct kernfs_node *kf_node,
kernfs_node      3850 kernel/cgroup/cgroup.c static int cgroup_kn_set_ugid(struct kernfs_node *kn)
kernfs_node      3873 kernel/cgroup/cgroup.c 	struct kernfs_node *kn;
kernfs_node      5369 kernel/cgroup/cgroup.c int cgroup_mkdir(struct kernfs_node *parent_kn, const char *name, umode_t mode)
kernfs_node      5372 kernel/cgroup/cgroup.c 	struct kernfs_node *kn;
kernfs_node      5608 kernel/cgroup/cgroup.c int cgroup_rmdir(struct kernfs_node *kn)
kernfs_node      5856 kernel/cgroup/cgroup.c 	struct kernfs_node *kn;
kernfs_node      6203 kernel/cgroup/cgroup.c 	struct kernfs_node *kn = kernfs_node_from_dentry(dentry);
kernfs_node      6256 kernel/cgroup/cgroup.c 	struct kernfs_node *kn;
kernfs_node       611 lib/kobject.c  	struct kernfs_node *sd;
kernfs_node      1365 security/security.c int security_kernfs_init_security(struct kernfs_node *kn_dir,
kernfs_node      1366 security/security.c 				  struct kernfs_node *kn)
kernfs_node      3461 security/selinux/hooks.c static int selinux_kernfs_init_security(struct kernfs_node *kn_dir,
kernfs_node      3462 security/selinux/hooks.c 					struct kernfs_node *kn)