Home
last modified time | relevance | path

Searched defs:kobj (Results 1 – 25 of 37) sorted by relevance

12

/fs/sysfs/
Dgroup.c34 static umode_t __first_visible(const struct attribute_group *grp, struct kobject *kobj) in __first_visible()
45 static int create_files(struct kernfs_node *parent, struct kobject *kobj, in create_files()
120 static int internal_create_group(struct kobject *kobj, int update, in internal_create_group()
203 int sysfs_create_group(struct kobject *kobj, in sysfs_create_group()
210 static int internal_create_groups(struct kobject *kobj, int update, in internal_create_groups()
243 int sysfs_create_groups(struct kobject *kobj, in sysfs_create_groups()
261 int sysfs_update_groups(struct kobject *kobj, in sysfs_update_groups()
286 int sysfs_update_group(struct kobject *kobj, in sysfs_update_group()
301 void sysfs_remove_group(struct kobject *kobj, in sysfs_remove_group()
335 void sysfs_remove_groups(struct kobject *kobj, in sysfs_remove_groups()
[all …]
Dfile.c28 struct kobject *kobj = kn->parent->priv; in sysfs_file_ops() local
43 struct kobject *kobj = of->kn->parent->priv; in sysfs_kf_seq_show() local
81 struct kobject *kobj = of->kn->parent->priv; in sysfs_kf_bin_read() local
105 struct kobject *kobj = of->kn->parent->priv; in sysfs_kf_read() local
131 struct kobject *kobj = of->kn->parent->priv; in sysfs_kf_write() local
144 struct kobject *kobj = of->kn->parent->priv; in sysfs_kf_bin_write() local
165 struct kobject *kobj = of->kn->parent->priv; in sysfs_kf_bin_mmap() local
174 struct kobject *kobj = of->kn->parent->priv; in sysfs_kf_bin_llseek() local
192 void sysfs_notify(struct kobject *kobj, const char *dir, const char *attr) in sysfs_notify()
271 struct kobject *kobj = parent->priv; in sysfs_add_file_mode_ns() local
[all …]
Dsymlink.c67 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()
Ddir.c40 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()
/fs/btrfs/
Dsysfs.c58 struct kobject kobj; member
176 static ssize_t btrfs_feature_attr_show(struct kobject *kobj, in btrfs_feature_attr_show()
192 static ssize_t btrfs_feature_attr_store(struct kobject *kobj, in btrfs_feature_attr_store()
260 static umode_t btrfs_feature_visible(struct kobject *kobj, in btrfs_feature_visible()
348 static ssize_t rmdir_subvol_show(struct kobject *kobj, in rmdir_subvol_show()
355 static ssize_t supported_checksums_show(struct kobject *kobj, in supported_checksums_show()
376 static ssize_t send_stream_version_show(struct kobject *kobj, in send_stream_version_show()
393 static ssize_t supported_rescue_options_show(struct kobject *kobj, in supported_rescue_options_show()
408 static ssize_t supported_sectorsizes_show(struct kobject *kobj, in supported_sectorsizes_show()
424 static ssize_t acl_show(struct kobject *kobj, struct kobj_attribute *a, char *buf) in acl_show()
[all …]
/fs/nfs/
Dsysfs.c24 static void nfs_kset_release(struct kobject *kobj) in nfs_kset_release()
31 const struct kobject *kobj) in nfs_netns_object_child_ns_type()
74 static ssize_t nfs_netns_identifier_show(struct kobject *kobj, in nfs_netns_identifier_show()
96 static ssize_t nfs_netns_identifier_store(struct kobject *kobj, in nfs_netns_identifier_store()
121 static void nfs_netns_client_release(struct kobject *kobj) in nfs_netns_client_release()
130 static const void *nfs_netns_client_namespace(const struct kobject *kobj) in nfs_netns_client_namespace()
151 static void nfs_netns_object_release(struct kobject *kobj) in nfs_netns_object_release()
159 static const void *nfs_netns_namespace(const struct kobject *kobj) in nfs_netns_namespace()
252 shutdown_show(struct kobject *kobj, struct kobj_attribute *attr, in shutdown_show()
261 shutdown_store(struct kobject *kobj, struct kobj_attribute *attr, in shutdown_store()
[all …]
/fs/orangefs/
Dorangefs-sysfs.c176 static ssize_t orangefs_attr_show(struct kobject *kobj, in orangefs_attr_show()
188 static ssize_t orangefs_attr_store(struct kobject *kobj, in orangefs_attr_store()
210 static ssize_t sysfs_int_show(struct kobject *kobj, in sysfs_int_show()
280 static ssize_t sysfs_int_store(struct kobject *kobj, in sysfs_int_store()
320 static ssize_t sysfs_service_op_show(struct kobject *kobj, in sysfs_service_op_show()
535 static ssize_t sysfs_service_op_store(struct kobject *kobj, in sysfs_service_op_store()
901 static void orangefs_obj_release(struct kobject *kobj) in orangefs_obj_release()
948 static void acache_orangefs_obj_release(struct kobject *kobj) in acache_orangefs_obj_release()
995 static void capcache_orangefs_obj_release(struct kobject *kobj) in capcache_orangefs_obj_release()
1042 static void ccache_orangefs_obj_release(struct kobject *kobj) in ccache_orangefs_obj_release()
[all …]
/fs/xfs/
Dxfs_sysfs.h24 struct xfs_kobj *kobj = to_kobj(kobject); in xfs_sysfs_release() local
30 struct xfs_kobj *kobj, in xfs_sysfs_init()
49 struct xfs_kobj *kobj) in xfs_sysfs_del()
Dxfs_sysfs.c341 struct xfs_kobj *kobj = to_kobj(kobject); in to_xstats() local
397 struct xfs_kobj *kobj = to_kobj(kobject); in to_xlog() local
482 struct xfs_kobj *kobj = to_kobj(kobject); in to_error_cfg() local
489 struct xfs_kobj *kobj = to_kobj(kobject); in err_to_mp() local
/fs/ocfs2/
Dfilecheck.c99 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()
Dstackglue.c472 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/
Dchar_dev.c351 struct kobject *kobj; in cdev_get() local
383 struct kobject *kobj; in chrdev_open() local
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()
617 static void cdev_dynamic_release(struct kobject *kobj) in cdev_dynamic_release()
/fs/nilfs2/
Dsysfs.c134 static ssize_t nilfs_snapshot_attr_show(struct kobject *kobj, in nilfs_snapshot_attr_show()
145 static ssize_t nilfs_snapshot_attr_store(struct kobject *kobj, in nilfs_snapshot_attr_store()
157 static void nilfs_snapshot_attr_release(struct kobject *kobj) in nilfs_snapshot_attr_release()
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()
981 static void nilfs_dev_attr_release(struct kobject *kobj) in nilfs_dev_attr_release()
1077 static ssize_t nilfs_feature_revision_show(struct kobject *kobj, in nilfs_feature_revision_show()
1089 static ssize_t nilfs_feature_README_show(struct kobject *kobj, in nilfs_feature_README_show()
/fs/f2fs/
Dsysfs.c895 static ssize_t f2fs_attr_show(struct kobject *kobj, in f2fs_attr_show()
905 static ssize_t f2fs_attr_store(struct kobject *kobj, struct attribute *attr, in f2fs_attr_store()
915 static void f2fs_sb_release(struct kobject *kobj) in f2fs_sb_release()
922 static ssize_t f2fs_base_attr_show(struct kobject *kobj, in f2fs_base_attr_show()
931 static ssize_t f2fs_base_attr_store(struct kobject *kobj, in f2fs_base_attr_store()
1524 static ssize_t f2fs_stat_attr_show(struct kobject *kobj, in f2fs_stat_attr_show()
1534 static ssize_t f2fs_stat_attr_store(struct kobject *kobj, struct attribute *attr, in f2fs_stat_attr_store()
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()
1572 static void f2fs_feature_list_kobj_release(struct kobject *kobj) in f2fs_feature_list_kobj_release()
/fs/erofs/
Dsysfs.c107 static ssize_t erofs_attr_show(struct kobject *kobj, in erofs_attr_show()
130 static ssize_t erofs_attr_store(struct kobject *kobj, struct attribute *attr, in erofs_attr_store()
170 static void erofs_sb_release(struct kobject *kobj) in erofs_sb_release()
/fs/zonefs/
Dsysfs.c23 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()
/fs/ubifs/
Dsysfs.c47 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/fuse/
Dvirtio_fs.c59 struct kobject *kobj; member
65 struct kobject kobj; member
174 static ssize_t tag_show(struct kobject *kobj, in tag_show()
190 static void virtio_fs_ktype_release(struct kobject *kobj) in virtio_fs_ktype_release()
206 struct kobject *kobj) in virtio_fs_kobj_to_vq()
217 static ssize_t name_show(struct kobject *kobj, in name_show()
230 static ssize_t cpu_list_show(struct kobject *kobj, in cpu_list_show()
1759 static int virtio_fs_uevent(const struct kobject *kobj, struct kobj_uevent_env *env) in virtio_fs_uevent()
/fs/ext4/
Dsysfs.c410 static ssize_t ext4_attr_show(struct kobject *kobj, in ext4_attr_show()
503 static ssize_t ext4_attr_store(struct kobject *kobj, in ext4_attr_store()
523 static void ext4_sb_release(struct kobject *kobj) in ext4_sb_release()
530 static void ext4_feat_release(struct kobject *kobj) in ext4_feat_release()
/fs/ocfs2/cluster/
Dsys.c21 static ssize_t version_show(struct kobject *kobj, struct kobj_attribute *attr, in version_show()
/fs/bcachefs/
Dsysfs.h44 static inline int bch2_opts_create_sysfs_files(struct kobject *kobj) { return 0; } in bch2_opts_create_sysfs_files()
/fs/gfs2/
Dsys.c36 static ssize_t gfs2_attr_show(struct kobject *kobj, struct attribute *attr, in gfs2_attr_show()
44 static ssize_t gfs2_attr_store(struct kobject *kobj, struct attribute *attr, in gfs2_attr_store()
379 static void gfs2_sbd_release(struct kobject *kobj) in gfs2_sbd_release()
779 static int gfs2_uevent(const struct kobject *kobj, struct kobj_uevent_env *env) in gfs2_uevent()
/fs/dlm/
Dlockspace.c161 static ssize_t dlm_attr_show(struct kobject *kobj, struct attribute *attr, in dlm_attr_show()
169 static ssize_t dlm_attr_store(struct kobject *kobj, struct attribute *attr, in dlm_attr_store()
209 static int dlm_uevent(const struct kobject *kobj, struct kobj_uevent_env *env) in dlm_uevent()
/fs/efivarfs/
Dinternal.h33 struct kobject kobj; member
/fs/incfs/
Dsysfs.c143 static void incfs_sysfs_release(struct kobject *kobj) in incfs_sysfs_release()

12