Home
last modified time | relevance | path

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

/fs/sysfs/
Dfile.c27 struct kobject *kobj = kn->parent->priv; in sysfs_file_ops() local
42 struct kobject *kobj = of->kn->parent->priv; in sysfs_kf_seq_show() local
83 struct kobject *kobj = of->kn->parent->priv; in sysfs_kf_bin_read() local
107 struct kobject *kobj = of->kn->parent->priv; in sysfs_kf_read() local
133 struct kobject *kobj = of->kn->parent->priv; in sysfs_kf_write() local
146 struct kobject *kobj = of->kn->parent->priv; in sysfs_kf_bin_write() local
167 struct kobject *kobj = of->kn->parent->priv; in sysfs_kf_bin_mmap() local
172 void sysfs_notify(struct kobject *kobj, const char *dir, const char *attr) in sysfs_notify()
255 struct kobject *kobj = parent->priv; in sysfs_add_file_mode_ns() local
321 int sysfs_create_file_ns(struct kobject *kobj, const struct attribute *attr, in sysfs_create_file_ns()
[all …]
Dgroup.c33 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()
171 int sysfs_create_group(struct kobject *kobj, in sysfs_create_group()
178 static int internal_create_groups(struct kobject *kobj, int update, in internal_create_groups()
211 int sysfs_create_groups(struct kobject *kobj, in sysfs_create_groups()
229 int sysfs_update_groups(struct kobject *kobj, in sysfs_update_groups()
254 int sysfs_update_group(struct kobject *kobj, in sysfs_update_group()
269 void sysfs_remove_group(struct kobject *kobj, in sysfs_remove_group()
304 void sysfs_remove_groups(struct kobject *kobj, in sysfs_remove_groups()
325 int sysfs_merge_group(struct kobject *kobj, in sysfs_merge_group()
[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()
80 void sysfs_remove_dir(struct kobject *kobj) in sysfs_remove_dir()
106 int sysfs_rename_dir_ns(struct kobject *kobj, const char *new_name, in sysfs_rename_dir_ns()
118 int sysfs_move_dir_ns(struct kobject *kobj, struct kobject *new_parent_kobj, in sysfs_move_dir_ns()
/fs/nfs/
Dsysfs.c23 static void nfs_netns_object_release(struct kobject *kobj) in nfs_netns_object_release()
29 struct kobject *kobj) in nfs_netns_object_child_ns_type()
43 struct kobject *kobj; in nfs_netns_object_alloc() local
76 static ssize_t nfs_netns_identifier_show(struct kobject *kobj, in nfs_netns_identifier_show()
93 static ssize_t nfs_netns_identifier_store(struct kobject *kobj, in nfs_netns_identifier_store()
118 static void nfs_netns_client_release(struct kobject *kobj) in nfs_netns_client_release()
129 static const void *nfs_netns_client_namespace(struct kobject *kobj) in nfs_netns_client_namespace()
/fs/btrfs/
Dsysfs.c30 struct kobject kobj; member
143 static ssize_t btrfs_feature_attr_show(struct kobject *kobj, in btrfs_feature_attr_show()
159 static ssize_t btrfs_feature_attr_store(struct kobject *kobj, in btrfs_feature_attr_store()
227 static umode_t btrfs_feature_visible(struct kobject *kobj, in btrfs_feature_visible()
291 static ssize_t rmdir_subvol_show(struct kobject *kobj, in rmdir_subvol_show()
344 static ssize_t global_rsv_size_show(struct kobject *kobj, in global_rsv_size_show()
353 static ssize_t global_rsv_reserved_show(struct kobject *kobj, in global_rsv_reserved_show()
370 static ssize_t raid_bytes_show(struct kobject *kobj, in raid_bytes_show()
397 static void release_raid_kobj(struct kobject *kobj) in release_raid_kobj()
418 static ssize_t btrfs_space_info_show_total_bytes_pinned(struct kobject *kobj, in btrfs_space_info_show_total_bytes_pinned()
[all …]
Dspace-info.h68 struct kobject kobj; member
Dblock-group.c870 struct kobject *kobj = NULL; in btrfs_remove_block_group() local
/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()
42 struct xfs_kobj *kobj) in xfs_sysfs_del()
Dxfs_sysfs.c255 struct xfs_kobj *kobj = to_kobj(kobject); in to_xstats() local
310 struct xfs_kobj *kobj = to_kobj(kobject); in to_xlog() local
403 struct xfs_kobj *kobj = to_kobj(kobject); in to_error_cfg() local
410 struct xfs_kobj *kobj = to_kobj(kobject); in err_to_mp() local
Dxfs_error.c72 struct xfs_kobj *kobj = to_kobj(kobject); in to_mp() local
Dxfs_mount.h55 struct xfs_kobj kobj; member
/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()
/fs/ocfs2/
Dfilecheck.c100 static void ocfs2_filecheck_release(struct kobject *kobj) in ocfs2_filecheck_release()
109 ocfs2_filecheck_show(struct kobject *kobj, struct attribute *attr, char *buf) in ocfs2_filecheck_show()
123 ocfs2_filecheck_store(struct kobject *kobj, struct attribute *attr, in ocfs2_filecheck_store()
299 static ssize_t ocfs2_filecheck_attr_show(struct kobject *kobj, in ocfs2_filecheck_attr_show()
451 static ssize_t ocfs2_filecheck_attr_store(struct kobject *kobj, in ocfs2_filecheck_attr_store()
Dstackglue.c474 static ssize_t ocfs2_max_locking_protocol_show(struct kobject *kobj, in ocfs2_max_locking_protocol_show()
494 static ssize_t ocfs2_loaded_cluster_plugins_show(struct kobject *kobj, in ocfs2_loaded_cluster_plugins_show()
526 static ssize_t ocfs2_active_cluster_plugin_show(struct kobject *kobj, in ocfs2_active_cluster_plugin_show()
548 static ssize_t ocfs2_cluster_stack_show(struct kobject *kobj, in ocfs2_cluster_stack_show()
560 static ssize_t ocfs2_cluster_stack_store(struct kobject *kobj, in ocfs2_cluster_stack_store()
600 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
505 void cdev_set_parent(struct cdev *p, struct kobject *kobj) in cdev_set_parent()
598 static void cdev_default_release(struct kobject *kobj) in cdev_default_release()
607 static void cdev_dynamic_release(struct kobject *kobj) in cdev_dynamic_release()
/fs/nilfs2/
Dsysfs.c148 static ssize_t nilfs_snapshot_attr_show(struct kobject *kobj, in nilfs_snapshot_attr_show()
159 static ssize_t nilfs_snapshot_attr_store(struct kobject *kobj, in nilfs_snapshot_attr_store()
171 static void nilfs_snapshot_attr_release(struct kobject *kobj) in nilfs_snapshot_attr_release()
943 static ssize_t nilfs_dev_attr_show(struct kobject *kobj, in nilfs_dev_attr_show()
954 static ssize_t nilfs_dev_attr_store(struct kobject *kobj, in nilfs_dev_attr_store()
966 static void nilfs_dev_attr_release(struct kobject *kobj) in nilfs_dev_attr_release()
1064 static ssize_t nilfs_feature_revision_show(struct kobject *kobj, in nilfs_feature_revision_show()
1076 static ssize_t nilfs_feature_README_show(struct kobject *kobj, in nilfs_feature_README_show()
/fs/ocfs2/cluster/
Dsys.c23 static ssize_t version_show(struct kobject *kobj, struct kobj_attribute *attr, in version_show()
/fs/ext4/
Dsysfs.c290 static ssize_t ext4_attr_show(struct kobject *kobj, in ext4_attr_show()
339 static ssize_t ext4_attr_store(struct kobject *kobj, in ext4_attr_store()
372 static void ext4_sb_release(struct kobject *kobj) in ext4_sb_release()
/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()
301 static void gfs2_sbd_release(struct kobject *kobj) in gfs2_sbd_release()
697 static int gfs2_uevent(struct kset *kset, struct kobject *kobj, in gfs2_uevent()
/fs/incfs/
Dmain.c25 static ssize_t corefs_show(struct kobject *kobj, in corefs_show()
/fs/dlm/
Dlockspace.c163 static ssize_t dlm_attr_show(struct kobject *kobj, struct attribute *attr, in dlm_attr_show()
171 static ssize_t dlm_attr_store(struct kobject *kobj, struct attribute *attr, in dlm_attr_store()
228 static int dlm_uevent(struct kset *kset, struct kobject *kobj, in dlm_uevent()
/fs/f2fs/
Dsysfs.c351 static ssize_t f2fs_attr_show(struct kobject *kobj, in f2fs_attr_show()
361 static ssize_t f2fs_attr_store(struct kobject *kobj, struct attribute *attr, in f2fs_attr_store()
371 static void f2fs_sb_release(struct kobject *kobj) in f2fs_sb_release()
/fs/9p/
Dv9fs.c552 static ssize_t caches_show(struct kobject *kobj, in caches_show()
/fs/ecryptfs/
Dmain.c757 static ssize_t version_show(struct kobject *kobj, in version_show()