/fs/xfs/ |
D | xfs_sysfs.c | 32 ssize_t (*show)(struct kobject *kobject, char *buf); 33 ssize_t (*store)(struct kobject *kobject, const char *buf, 54 struct kobject *kobject, in xfs_sysfs_object_show() argument 60 return xfs_attr->show ? xfs_attr->show(kobject, buf) : 0; in xfs_sysfs_object_show() 65 struct kobject *kobject, in xfs_sysfs_object_store() argument 72 return xfs_attr->store ? xfs_attr->store(kobject, buf, count) : 0; in xfs_sysfs_object_store() 86 to_mp(struct kobject *kobject) in to_mp() argument 88 struct xfs_kobj *kobj = to_kobj(kobject); in to_mp() 108 struct kobject *kobject, in bug_on_assert_store() argument 131 struct kobject *kobject, in bug_on_assert_show() argument [all …]
|
D | xfs_sysfs.h | 28 to_kobj(struct kobject *kobject) in to_kobj() argument 30 return container_of(kobject, struct xfs_kobj, kobject); in to_kobj() 34 xfs_sysfs_release(struct kobject *kobject) in xfs_sysfs_release() argument 36 struct xfs_kobj *kobj = to_kobj(kobject); in xfs_sysfs_release() 48 return kobject_init_and_add(&kobj->kobject, ktype, in xfs_sysfs_init() 49 &parent_kobj->kobject, "%s", name); in xfs_sysfs_init() 56 kobject_del(&kobj->kobject); in xfs_sysfs_del() 57 kobject_put(&kobj->kobject); in xfs_sysfs_del()
|
D | xfs_error.c | 75 to_mp(struct kobject *kobject) in to_mp() argument 77 struct xfs_kobj *kobj = to_kobj(kobject); in to_mp() 84 struct kobject *kobject, in xfs_errortag_attr_store() argument 89 struct xfs_mount *mp = to_mp(kobject); in xfs_errortag_attr_store() 110 struct kobject *kobject, in xfs_errortag_attr_show() argument 114 struct xfs_mount *mp = to_mp(kobject); in xfs_errortag_attr_show()
|
D | xfs_linux.h | 163 struct kobject kobject; member
|
/fs/sysfs/ |
D | symlink.c | 22 struct kobject *target_kobj, in sysfs_do_create_link_sd() 61 int sysfs_create_link_sd(struct kernfs_node *kn, struct kobject *target, in sysfs_create_link_sd() 67 static int sysfs_do_create_link(struct kobject *kobj, struct kobject *target, in sysfs_do_create_link() 89 int sysfs_create_link(struct kobject *kobj, struct kobject *target, in sysfs_create_link() 105 int sysfs_create_link_nowarn(struct kobject *kobj, struct kobject *target, in sysfs_create_link_nowarn() 121 void sysfs_delete_link(struct kobject *kobj, struct kobject *targ, in sysfs_delete_link() 143 void sysfs_remove_link(struct kobject *kobj, const char *name) in sysfs_remove_link() 166 int sysfs_rename_link_ns(struct kobject *kobj, struct kobject *targ, in sysfs_rename_link_ns()
|
D | file.c | 30 struct kobject *kobj = kn->parent->priv; in sysfs_file_ops() 45 struct kobject *kobj = of->kn->parent->priv; in sysfs_kf_seq_show() 86 struct kobject *kobj = of->kn->parent->priv; in sysfs_kf_bin_read() 110 struct kobject *kobj = of->kn->parent->priv; in sysfs_kf_read() 136 struct kobject *kobj = of->kn->parent->priv; in sysfs_kf_write() 149 struct kobject *kobj = of->kn->parent->priv; in sysfs_kf_bin_write() 170 struct kobject *kobj = of->kn->parent->priv; in sysfs_kf_bin_mmap() 175 void sysfs_notify(struct kobject *kobj, const char *dir, const char *attr) in sysfs_notify() 258 struct kobject *kobj = parent->priv; in sysfs_add_file_mode_ns() 329 int sysfs_create_file_ns(struct kobject *kobj, const struct attribute *attr, in sysfs_create_file_ns() [all …]
|
D | group.c | 35 static int create_files(struct kernfs_node *parent, struct kobject *kobj, in create_files() 107 static int internal_create_group(struct kobject *kobj, int update, in internal_create_group() 153 int sysfs_create_group(struct kobject *kobj, in sysfs_create_group() 173 int sysfs_create_groups(struct kobject *kobj, in sysfs_create_groups() 211 int sysfs_update_group(struct kobject *kobj, in sysfs_update_group() 226 void sysfs_remove_group(struct kobject *kobj, in sysfs_remove_group() 261 void sysfs_remove_groups(struct kobject *kobj, in sysfs_remove_groups() 282 int sysfs_merge_group(struct kobject *kobj, in sysfs_merge_group() 311 void sysfs_unmerge_group(struct kobject *kobj, in sysfs_unmerge_group() 333 int sysfs_add_link_to_group(struct kobject *kobj, const char *group_name, in sysfs_add_link_to_group() [all …]
|
D | dir.c | 41 int sysfs_create_dir_ns(struct kobject *kobj, const void *ns) in sysfs_create_dir_ns() 75 void sysfs_remove_dir(struct kobject *kobj) in sysfs_remove_dir() 101 int sysfs_rename_dir_ns(struct kobject *kobj, const char *new_name, in sysfs_rename_dir_ns() 113 int sysfs_move_dir_ns(struct kobject *kobj, struct kobject *new_parent_kobj, in sysfs_move_dir_ns() 130 int sysfs_create_mount_point(struct kobject *parent_kobj, const char *name) in sysfs_create_mount_point() 151 void sysfs_remove_mount_point(struct kobject *parent_kobj, const char *name) in sysfs_remove_mount_point()
|
D | sysfs.h | 40 int sysfs_create_link_sd(struct kernfs_node *kn, struct kobject *target,
|
/fs/btrfs/ |
D | sysfs.c | 35 static inline struct btrfs_fs_info *to_fs_info(struct kobject *kobj); 36 static inline struct btrfs_fs_devices *to_fs_devs(struct kobject *kobj); 93 static ssize_t btrfs_feature_attr_show(struct kobject *kobj, in btrfs_feature_attr_show() 109 static ssize_t btrfs_feature_attr_store(struct kobject *kobj, in btrfs_feature_attr_store() 177 static umode_t btrfs_feature_visible(struct kobject *kobj, in btrfs_feature_visible() 243 static ssize_t global_rsv_size_show(struct kobject *kobj, in global_rsv_size_show() 252 static ssize_t global_rsv_reserved_show(struct kobject *kobj, in global_rsv_reserved_show() 264 static ssize_t raid_bytes_show(struct kobject *kobj, 269 static ssize_t raid_bytes_show(struct kobject *kobj, in raid_bytes_show() 295 static void release_raid_kobj(struct kobject *kobj) in release_raid_kobj() [all …]
|
/fs/nilfs2/ |
D | sysfs.h | 42 struct kobject sg_superblock_kobj; 46 struct kobject sg_segctor_kobj; 50 struct kobject sg_mounted_snapshots_kobj; 54 struct kobject sg_checkpoints_kobj; 58 struct kobject sg_segments_kobj; 65 ssize_t (*show)(struct kobject *, struct attribute *, \ 67 ssize_t (*store)(struct kobject *, struct attribute *, \
|
D | sysfs.c | 45 static ssize_t nilfs_##name##_attr_show(struct kobject *kobj, \ 56 static ssize_t nilfs_##name##_attr_store(struct kobject *kobj, \ 74 static void nilfs_##name##_attr_release(struct kobject *kobj) \ 92 struct kobject *parent; \ 93 struct kobject *kobj; \ 157 static ssize_t nilfs_snapshot_attr_show(struct kobject *kobj, in nilfs_snapshot_attr_show() 168 static ssize_t nilfs_snapshot_attr_store(struct kobject *kobj, in nilfs_snapshot_attr_store() 180 static void nilfs_snapshot_attr_release(struct kobject *kobj) in nilfs_snapshot_attr_release() 201 struct kobject *parent; in nilfs_sysfs_create_snapshot_group() 953 static ssize_t nilfs_dev_attr_show(struct kobject *kobj, in nilfs_dev_attr_show() [all …]
|
D | the_nilfs.h | 196 struct kobject ns_dev_kobj; 257 struct kobject snapshot_kobj;
|
/fs/exofs/ |
D | sys.c | 33 static ssize_t odev_attr_show(struct kobject *kobj, struct attribute *attr, in odev_attr_show() 42 static ssize_t odev_attr_store(struct kobject *kobj, struct attribute *attr, in odev_attr_store() 120 struct kobject *k_name, *k_tmp; in exofs_sysfs_dbg_print() 136 struct kobject *k_name, *k_tmp; in exofs_sysfs_sb_del() 137 struct kobject *s_kobj = &sbi->s_kobj; in exofs_sysfs_sb_del() 155 struct kobject *s_kobj; in exofs_sysfs_sb_add() 174 struct kobject *d_kobj; in exofs_sysfs_odev_add()
|
D | exofs.h | 61 struct kobject ed_kobj; 78 struct kobject s_kobj; /* holds per-sbi kobject */
|
/fs/ |
D | char_dev.c | 357 static struct kobject *cdev_get(struct cdev *p) in cdev_get() 360 struct kobject *kobj; in cdev_get() 392 struct kobject *kobj; in chrdev_open() 466 static struct kobject *exact_match(dev_t dev, int *part, void *data) in exact_match() 514 void cdev_set_parent(struct cdev *p, struct kobject *kobj) in cdev_set_parent() 607 static void cdev_default_release(struct kobject *kobj) in cdev_default_release() 610 struct kobject *parent = kobj->parent; in cdev_default_release() 616 static void cdev_dynamic_release(struct kobject *kobj) in cdev_dynamic_release() 619 struct kobject *parent = kobj->parent; in cdev_dynamic_release() 665 static struct kobject *base_probe(dev_t dev, int *part, void *data) in base_probe()
|
/fs/orangefs/ |
D | orangefs-sysfs.c | 159 ssize_t (*show)(struct kobject *kobj, 162 ssize_t (*store)(struct kobject *kobj, 168 static ssize_t orangefs_attr_show(struct kobject *kobj, in orangefs_attr_show() 180 static ssize_t orangefs_attr_store(struct kobject *kobj, in orangefs_attr_store() 202 static ssize_t sysfs_int_show(struct kobject *kobj, in sysfs_int_show() 265 static ssize_t sysfs_int_store(struct kobject *kobj, in sysfs_int_store() 302 static ssize_t sysfs_service_op_show(struct kobject *kobj, in sysfs_service_op_show() 517 static ssize_t sysfs_service_op_store(struct kobject *kobj, in sysfs_service_op_store() 1082 static struct kobject *orangefs_obj; 1083 static struct kobject *acache_orangefs_obj; [all …]
|
/fs/ocfs2/ |
D | stackglue.c | 482 static ssize_t ocfs2_max_locking_protocol_show(struct kobject *kobj, in ocfs2_max_locking_protocol_show() 502 static ssize_t ocfs2_loaded_cluster_plugins_show(struct kobject *kobj, in ocfs2_loaded_cluster_plugins_show() 534 static ssize_t ocfs2_active_cluster_plugin_show(struct kobject *kobj, in ocfs2_active_cluster_plugin_show() 556 static ssize_t ocfs2_cluster_stack_show(struct kobject *kobj, in ocfs2_cluster_stack_show() 568 static ssize_t ocfs2_cluster_stack_store(struct kobject *kobj, in ocfs2_cluster_stack_store() 608 static ssize_t ocfs2_dlm_recover_show(struct kobject *kobj, in ocfs2_dlm_recover_show()
|
D | filecheck.c | 113 static ssize_t ocfs2_filecheck_show(struct kobject *kobj, 116 static ssize_t ocfs2_filecheck_store(struct kobject *kobj, 395 static ssize_t ocfs2_filecheck_show(struct kobject *kobj, in ocfs2_filecheck_show() 536 static ssize_t ocfs2_filecheck_store(struct kobject *kobj, in ocfs2_filecheck_store()
|
/fs/ext4/ |
D | sysfs.c | 256 static ssize_t ext4_attr_show(struct kobject *kobj, in ext4_attr_show() 299 static ssize_t ext4_attr_store(struct kobject *kobj, in ext4_attr_store() 332 static void ext4_sb_release(struct kobject *kobj) in ext4_sb_release() 363 static struct kobject ext4_feat = {
|
/fs/ocfs2/cluster/ |
D | masklog.c | 141 static ssize_t mlog_show(struct kobject *obj, struct attribute *attr, in mlog_show() 149 static ssize_t mlog_store(struct kobject *obj, struct attribute *attr, in mlog_store()
|
D | sys.c | 38 static ssize_t version_show(struct kobject *kobj, struct kobj_attribute *attr, in version_show()
|
/fs/gfs2/ |
D | sys.c | 39 static ssize_t gfs2_attr_show(struct kobject *kobj, struct attribute *attr, in gfs2_attr_show() 47 static ssize_t gfs2_attr_store(struct kobject *kobj, struct attribute *attr, in gfs2_attr_store() 303 static void gfs2_sbd_release(struct kobject *kobj) in gfs2_sbd_release() 699 static int gfs2_uevent(struct kset *kset, struct kobject *kobj, in gfs2_uevent()
|
/fs/dlm/ |
D | lockspace.c | 164 static ssize_t dlm_attr_show(struct kobject *kobj, struct attribute *attr, in dlm_attr_show() 172 static ssize_t dlm_attr_store(struct kobject *kobj, struct attribute *attr, in dlm_attr_store() 180 static void lockspace_kobj_release(struct kobject *k) in lockspace_kobj_release() 229 static int dlm_uevent(struct kset *kset, struct kobject *kobj, in dlm_uevent()
|
/fs/f2fs/ |
D | sysfs.c | 315 static ssize_t f2fs_attr_show(struct kobject *kobj, in f2fs_attr_show() 325 static ssize_t f2fs_attr_store(struct kobject *kobj, struct attribute *attr, in f2fs_attr_store() 335 static void f2fs_sb_release(struct kobject *kobj) in f2fs_sb_release() 548 static struct kobject f2fs_feat = {
|