Home
last modified time | relevance | path

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

/fs/sysfs/
Dfile.c30 struct kobject *kobj = kn->parent->priv; in sysfs_file_ops() local
45 struct kobject *kobj = of->kn->parent->priv; in sysfs_kf_seq_show() local
86 struct kobject *kobj = of->kn->parent->priv; in sysfs_kf_bin_read() local
110 struct kobject *kobj = of->kn->parent->priv; in sysfs_kf_read() local
136 struct kobject *kobj = of->kn->parent->priv; in sysfs_kf_write() local
149 struct kobject *kobj = of->kn->parent->priv; in sysfs_kf_bin_write() local
170 struct kobject *kobj = of->kn->parent->priv; in sysfs_kf_bin_mmap() local
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() local
329 int sysfs_create_file_ns(struct kobject *kobj, const struct attribute *attr, in sysfs_create_file_ns()
[all …]
Dgroup.c35 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 …]
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.c41 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()
/fs/btrfs/
Dsysfs.c93 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()
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()
316 static ssize_t btrfs_space_info_show_total_bytes_pinned(struct kobject *kobj, in btrfs_space_info_show_total_bytes_pinned()
350 static void space_info_release(struct kobject *kobj) in space_info_release()
369 static ssize_t btrfs_label_show(struct kobject *kobj, in btrfs_label_show()
[all …]
Dctree.h385 struct kobject kobj; member
450 struct kobject kobj; member
Dextent-tree.c10036 struct kobject *kobj; in btrfs_free_block_groups() local
10513 struct kobject *kobj = NULL; in btrfs_remove_block_group() local
/fs/xfs/
Dxfs_sysfs.h36 struct xfs_kobj *kobj = to_kobj(kobject); in xfs_sysfs_release() local
42 struct xfs_kobj *kobj, in xfs_sysfs_init()
54 struct xfs_kobj *kobj) in xfs_sysfs_del()
Dxfs_sysfs.c88 struct xfs_kobj *kobj = to_kobj(kobject); in to_mp() local
187 struct xfs_kobj *kobj = to_kobj(kobject); in to_xstats() local
242 struct xfs_kobj *kobj = to_kobj(kobject); in to_xlog() local
335 struct xfs_kobj *kobj = to_kobj(kobject); in to_error_cfg() local
342 struct xfs_kobj *kobj = to_kobj(kobject); in err_to_mp() local
Dxfs_error.c77 struct xfs_kobj *kobj = to_kobj(kobject); in to_mp() local
Dxfs_mount.h67 struct xfs_kobj kobj; member
/fs/orangefs/
Dorangefs-sysfs.c168 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()
/fs/ocfs2/
Dstackglue.c482 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()
Dfilecheck.c395 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/
Dchar_dev.c360 struct kobject *kobj; in cdev_get() local
392 struct kobject *kobj; in chrdev_open() local
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()
616 static void cdev_dynamic_release(struct kobject *kobj) in cdev_dynamic_release()
/fs/nilfs2/
Dsysfs.c157 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()
953 static ssize_t nilfs_dev_attr_show(struct kobject *kobj, in nilfs_dev_attr_show()
964 static ssize_t nilfs_dev_attr_store(struct kobject *kobj, in nilfs_dev_attr_store()
976 static void nilfs_dev_attr_release(struct kobject *kobj) in nilfs_dev_attr_release()
1074 static ssize_t nilfs_feature_revision_show(struct kobject *kobj, in nilfs_feature_revision_show()
1086 static ssize_t nilfs_feature_README_show(struct kobject *kobj, in nilfs_feature_README_show()
/fs/ocfs2/cluster/
Dsys.c38 static ssize_t version_show(struct kobject *kobj, struct kobj_attribute *attr, in version_show()
/fs/exofs/
Dsys.c33 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()
/fs/ext4/
Dsysfs.c256 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()
/fs/gfs2/
Dsys.c39 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/f2fs/
Dsysfs.c315 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()
/fs/dlm/
Dlockspace.c164 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()
229 static int dlm_uevent(struct kset *kset, struct kobject *kobj, in dlm_uevent()
/fs/9p/
Dv9fs.c565 static ssize_t caches_show(struct kobject *kobj, in caches_show()
/fs/ecryptfs/
Dmain.c771 static ssize_t version_show(struct kobject *kobj, in version_show()