| /fs/xfs/ |
| A D | xfs_sysfs.c | 42 struct kobject *kobject, in xfs_sysfs_object_show() argument 53 struct kobject *kobject, in xfs_sysfs_object_store() argument 84 struct kobject *kobject, in bug_on_assert_store() argument 107 struct kobject *kobject, in bug_on_assert_show() argument 116 struct kobject *kobject, in log_recovery_delay_store() argument 137 struct kobject *kobject, in log_recovery_delay_show() argument 146 struct kobject *kobject, in mount_delay_store() argument 167 struct kobject *kobject, in mount_delay_show() argument 176 struct kobject *kobject, in always_cow_store() argument 190 struct kobject *kobject, in always_cow_show() argument [all …]
|
| A D | xfs_sysfs.h | 15 to_kobj(struct kobject *kobject) in to_kobj() argument 17 return container_of(kobject, struct xfs_kobj, kobject); in to_kobj() 21 xfs_sysfs_release(struct kobject *kobject) in xfs_sysfs_release() argument 23 struct xfs_kobj *kobj = to_kobj(kobject); in xfs_sysfs_release() 34 struct kobject *parent; in xfs_sysfs_init() 37 parent = parent_kobj ? &parent_kobj->kobject : NULL; in xfs_sysfs_init() 39 err = kobject_init_and_add(&kobj->kobject, ktype, parent, "%s", name); in xfs_sysfs_init() 41 kobject_put(&kobj->kobject); in xfs_sysfs_init() 50 kobject_del(&kobj->kobject); in xfs_sysfs_del() 51 kobject_put(&kobj->kobject); in xfs_sysfs_del()
|
| A D | xfs_error.c | 81 to_mp(struct kobject *kobject) in to_mp() argument 83 struct xfs_kobj *kobj = to_kobj(kobject); in to_mp() 90 struct kobject *kobject, in xfs_errortag_attr_store() argument 95 struct xfs_mount *mp = to_mp(kobject); in xfs_errortag_attr_store() 116 struct kobject *kobject, in xfs_errortag_attr_show() argument 120 struct xfs_mount *mp = to_mp(kobject); in xfs_errortag_attr_show()
|
| /fs/nfs/ |
| A D | sysfs.c | 24 static void nfs_kset_release(struct kobject *kobj) in nfs_kset_release() 31 const struct kobject *kobj) in nfs_netns_object_child_ns_type() 79 kobject); in nfs_netns_identifier_show() 102 kobject); in nfs_netns_identifier_store() 125 kobject); in nfs_netns_client_release() 178 p->kobject.kset = nfs_kset; in nfs_netns_client_alloc() 191 kobject_put(&p->kobject); in nfs_netns_client_alloc() 203 kobject_uevent(&clp->kobject, KOBJ_ADD); in nfs_netns_sysfs_setup() 213 kobject_del(&clp->kobject); in nfs_netns_sysfs_destroy() 214 kobject_put(&clp->kobject); in nfs_netns_sysfs_destroy() [all …]
|
| A D | sysfs.h | 12 struct kobject kobject; member 13 struct kobject nfs_net_kobj; 18 extern struct kobject *nfs_net_kobj;
|
| /fs/sysfs/ |
| A D | symlink.c | 21 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()
|
| A D | file.c | 34 struct kobject *kobj = sysfs_file_kobj(kn); in sysfs_file_ops() 49 struct kobject *kobj = sysfs_file_kobj(of->kn); in sysfs_kf_seq_show() 87 struct kobject *kobj = sysfs_file_kobj(of->kn); in sysfs_kf_bin_read() 114 struct kobject *kobj = sysfs_file_kobj(of->kn); in sysfs_kf_read() 140 struct kobject *kobj = sysfs_file_kobj(of->kn); in sysfs_kf_write() 153 struct kobject *kobj = sysfs_file_kobj(of->kn); in sysfs_kf_bin_write() 177 struct kobject *kobj = sysfs_file_kobj(of->kn); in sysfs_kf_bin_mmap() 186 struct kobject *kobj = sysfs_file_kobj(of->kn); in sysfs_kf_bin_llseek() 283 struct kobject *kobj = parent->priv; in sysfs_add_file_mode_ns() 503 struct kobject *kobj = sysfs_file_kobj(kn); in sysfs_unbreak_active_protection() [all …]
|
| A D | group.c | 206 int sysfs_create_group(struct kobject *kobj, in sysfs_create_group() 246 int sysfs_create_groups(struct kobject *kobj, in sysfs_create_groups() 264 int sysfs_update_groups(struct kobject *kobj, in sysfs_update_groups() 289 int sysfs_update_group(struct kobject *kobj, in sysfs_update_group() 304 void sysfs_remove_group(struct kobject *kobj, in sysfs_remove_group() 338 void sysfs_remove_groups(struct kobject *kobj, in sysfs_remove_groups() 359 int sysfs_merge_group(struct kobject *kobj, in sysfs_merge_group() 393 void sysfs_unmerge_group(struct kobject *kobj, in sysfs_unmerge_group() 461 struct kobject *target_kobj, in compat_only_sysfs_link_entry_to_kobj() 550 int sysfs_group_change_owner(struct kobject *kobj, in sysfs_group_change_owner() [all …]
|
| A D | dir.c | 40 int sysfs_create_dir_ns(struct kobject *kobj, const void *ns) in sysfs_create_dir_ns() 79 void sysfs_remove_dir(struct kobject *kobj) in sysfs_remove_dir() 105 int sysfs_rename_dir_ns(struct kobject *kobj, const char *new_name, in sysfs_rename_dir_ns() 117 int sysfs_move_dir_ns(struct kobject *kobj, struct kobject *new_parent_kobj, in sysfs_move_dir_ns() 134 int sysfs_create_mount_point(struct kobject *parent_kobj, const char *name) in sysfs_create_mount_point() 155 void sysfs_remove_mount_point(struct kobject *parent_kobj, const char *name) in sysfs_remove_mount_point()
|
| /fs/btrfs/ |
| A D | sysfs.c | 58 struct kobject kobj; 103 static struct kobject *get_btrfs_kobj(struct kobject *kobj); 1631 static struct kobject *get_btrfs_kobj(struct kobject *kobj) in get_btrfs_kobj() 1927 struct kobject *kobj; in btrfs_sysfs_remove_space_info() 1998 struct kobject *devices_kobj; in btrfs_sysfs_remove_device() 2175 struct kobject *devices_kobj; in btrfs_sysfs_add_device() 2176 struct kobject *devinfo_kobj; in btrfs_sysfs_add_device() 2328 struct kobject *fsid_kobj = &fs_devs->fsid_kobj; in btrfs_sysfs_add_mounted() 2501 static void qgroups_release(struct kobject *kobj) in qgroups_release() 2569 static void qgroup_release(struct kobject *kobj) in qgroup_release() [all …]
|
| A D | fs.h | 35 struct kobject; 646 struct kobject *space_info_kobj; 647 struct kobject *qgroups_kobj; 648 struct kobject *discard_kobj; 887 struct kobject *debug_kobj;
|
| /fs/nilfs2/ |
| A D | sysfs.h | 33 struct kobject sg_superblock_kobj; 37 struct kobject sg_segctor_kobj; 41 struct kobject sg_mounted_snapshots_kobj; 45 struct kobject sg_checkpoints_kobj; 49 struct kobject sg_segments_kobj; 56 ssize_t (*show)(struct kobject *, struct attribute *, \ 58 ssize_t (*store)(struct kobject *, struct attribute *, \
|
| A D | sysfs.c | 23 static ssize_t nilfs_##name##_attr_show(struct kobject *kobj, \ 34 static ssize_t nilfs_##name##_attr_store(struct kobject *kobj, \ 52 static void nilfs_##name##_attr_release(struct kobject *kobj) \ 68 struct kobject *parent; \ 69 struct kobject *kobj; \ 134 static ssize_t nilfs_snapshot_attr_show(struct kobject *kobj, in nilfs_snapshot_attr_show() 157 static void nilfs_snapshot_attr_release(struct kobject *kobj) in nilfs_snapshot_attr_release() 178 struct kobject *parent; in nilfs_sysfs_create_snapshot_group() 958 static ssize_t nilfs_dev_attr_show(struct kobject *kobj, in nilfs_dev_attr_show() 969 static ssize_t nilfs_dev_attr_store(struct kobject *kobj, in nilfs_dev_attr_store() [all …]
|
| /fs/orangefs/ |
| A D | orangefs-sysfs.c | 167 ssize_t (*show)(struct kobject *kobj, 170 ssize_t (*store)(struct kobject *kobj, 210 static ssize_t sysfs_int_show(struct kobject *kobj, in sysfs_int_show() 273 static ssize_t sysfs_int_store(struct kobject *kobj, in sysfs_int_store() 891 static struct kobject *orangefs_obj; 938 static struct kobject *acache_orangefs_obj; 985 static struct kobject *capcache_orangefs_obj; 1032 static struct kobject *ccache_orangefs_obj; 1079 static struct kobject *ncache_orangefs_obj; 1119 static struct kobject *pc_orangefs_obj; [all …]
|
| /fs/ |
| A D | char_dev.c | 348 static struct kobject *cdev_get(struct cdev *p) in cdev_get() 351 struct kobject *kobj; in cdev_get() 383 struct kobject *kobj; in chrdev_open() 457 static struct kobject *exact_match(dev_t dev, int *part, void *data) in exact_match() 515 void cdev_set_parent(struct cdev *p, struct kobject *kobj) in cdev_set_parent() 608 static void cdev_default_release(struct kobject *kobj) in cdev_default_release() 611 struct kobject *parent = kobj->parent; in cdev_default_release() 617 static void cdev_dynamic_release(struct kobject *kobj) in cdev_dynamic_release() 620 struct kobject *parent = kobj->parent; in cdev_dynamic_release() 666 static struct kobject *base_probe(dev_t dev, int *part, void *data) in base_probe()
|
| /fs/ocfs2/ |
| A D | filecheck.c | 73 static ssize_t ocfs2_filecheck_attr_show(struct kobject *kobj, 76 static ssize_t ocfs2_filecheck_attr_store(struct kobject *kobj, 99 static void ocfs2_filecheck_release(struct kobject *kobj) in ocfs2_filecheck_release() 108 ocfs2_filecheck_show(struct kobject *kobj, struct attribute *attr, char *buf) in ocfs2_filecheck_show() 122 ocfs2_filecheck_store(struct kobject *kobj, struct attribute *attr, in ocfs2_filecheck_store() 298 static ssize_t ocfs2_filecheck_attr_show(struct kobject *kobj, in ocfs2_filecheck_attr_show() 446 static ssize_t ocfs2_filecheck_attr_store(struct kobject *kobj, in ocfs2_filecheck_attr_store()
|
| A D | stackglue.c | 472 static ssize_t ocfs2_max_locking_protocol_show(struct kobject *kobj, in ocfs2_max_locking_protocol_show() 492 static ssize_t ocfs2_loaded_cluster_plugins_show(struct kobject *kobj, in ocfs2_loaded_cluster_plugins_show() 520 static ssize_t ocfs2_active_cluster_plugin_show(struct kobject *kobj, in ocfs2_active_cluster_plugin_show() 542 static ssize_t ocfs2_cluster_stack_show(struct kobject *kobj, in ocfs2_cluster_stack_show() 554 static ssize_t ocfs2_cluster_stack_store(struct kobject *kobj, in ocfs2_cluster_stack_store() 594 static ssize_t ocfs2_dlm_recover_show(struct kobject *kobj, in ocfs2_dlm_recover_show()
|
| /fs/zonefs/ |
| A D | sysfs.c | 23 static ssize_t zonefs_sysfs_attr_show(struct kobject *kobj, in zonefs_sysfs_attr_show() 70 static void zonefs_sysfs_sb_release(struct kobject *kobj) in zonefs_sysfs_sb_release() 88 static struct kobject *zonefs_sysfs_root;
|
| /fs/bcachefs/ |
| A D | sysfs.h | 26 int bch2_opts_create_sysfs_files(struct kobject *, unsigned); 44 static inline int bch2_opts_create_sysfs_files(struct kobject *kobj, unsigned type) in bch2_opts_create_sysfs_files()
|
| A D | sysfs.c | 59 struct kobject *, struct attribute *); \ 61 static ssize_t fn ## _show(struct kobject *kobj, struct attribute *attr,\ 81 static ssize_t fn ## _to_text(struct printbuf *out, struct kobject *kobj,\ 85 static ssize_t fn ## _store_inner(struct kobject *, struct attribute *,\ 88 static ssize_t fn ## _store(struct kobject *kobj, struct attribute *attr,\ 94 static ssize_t fn ## _store_inner(struct kobject *kobj, struct attribute *attr,\ 723 int bch2_opts_create_sysfs_files(struct kobject *kobj, unsigned type) in bch2_opts_create_sysfs_files()
|
| A D | bcachefs.h | 595 struct kobject kobj; 786 struct kobject kobj; 787 struct kobject counters_kobj; 788 struct kobject internal; 789 struct kobject opts_dir; 790 struct kobject time_stats;
|
| /fs/erofs/ |
| A D | sysfs.c | 129 static ssize_t erofs_attr_show(struct kobject *kobj, in erofs_attr_show() 154 static ssize_t erofs_attr_store(struct kobject *kobj, struct attribute *attr, in erofs_attr_store() 221 static void erofs_sb_release(struct kobject *kobj) in erofs_sb_release() 253 static struct kobject erofs_feat = {
|
| /fs/ext4/ |
| A D | sysfs.c | 414 static ssize_t ext4_attr_show(struct kobject *kobj, in ext4_attr_show() 507 static ssize_t ext4_attr_store(struct kobject *kobj, in ext4_attr_store() 527 static void ext4_sb_release(struct kobject *kobj) in ext4_sb_release() 534 static void ext4_feat_release(struct kobject *kobj) in ext4_feat_release() 561 static struct kobject *ext4_root; 563 static struct kobject *ext4_feat;
|
| /fs/ubifs/ |
| A D | sysfs.c | 47 static ssize_t ubifs_attr_show(struct kobject *kobj, in ubifs_attr_show() 66 static void ubifs_sb_release(struct kobject *kobj) in ubifs_sb_release()
|
| /fs/f2fs/ |
| A D | sysfs.c | 893 static ssize_t f2fs_attr_show(struct kobject *kobj, in f2fs_attr_show() 903 static ssize_t f2fs_attr_store(struct kobject *kobj, struct attribute *attr, in f2fs_attr_store() 913 static void f2fs_sb_release(struct kobject *kobj) in f2fs_sb_release() 920 static ssize_t f2fs_base_attr_show(struct kobject *kobj, in f2fs_base_attr_show() 929 static ssize_t f2fs_base_attr_store(struct kobject *kobj, in f2fs_base_attr_store() 1506 static struct kobject f2fs_feat = { 1520 static struct kobject f2fs_tune = { 1524 static ssize_t f2fs_stat_attr_show(struct kobject *kobj, in f2fs_stat_attr_show() 1544 static void f2fs_stat_kobj_release(struct kobject *kobj) in f2fs_stat_kobj_release() 1562 static ssize_t f2fs_sb_feat_attr_show(struct kobject *kobj, in f2fs_sb_feat_attr_show() [all …]
|