Home
last modified time | relevance | path

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

/fs/sysfs/
Dgroup.c19 static void remove_files(struct sysfs_dirent *dir_sd, struct kobject *kobj, in remove_files()
29 static int create_files(struct sysfs_dirent *dir_sd, struct kobject *kobj, in create_files()
59 static int internal_create_group(struct kobject *kobj, int update, in internal_create_group()
97 int sysfs_create_group(struct kobject *kobj, in sysfs_create_group()
120 int sysfs_update_group(struct kobject *kobj, in sysfs_update_group()
128 void sysfs_remove_group(struct kobject * kobj, in sysfs_remove_group()
Dfile.c77 struct kobject *kobj = attr_sd->s_parent->s_dir.kobj; in fill_read_buffer() local
201 struct kobject *kobj = attr_sd->s_parent->s_dir.kobj; in flush_write_buffer() local
335 struct kobject *kobj = attr_sd->s_parent->s_dir.kobj; in sysfs_open_file() local
535 int sysfs_create_file(struct kobject * kobj, const struct attribute * attr) in sysfs_create_file()
550 int sysfs_add_file_to_group(struct kobject *kobj, in sysfs_add_file_to_group()
578 int sysfs_chmod_file(struct kobject *kobj, struct attribute *attr, mode_t mode) in sysfs_chmod_file()
633 void sysfs_remove_file(struct kobject * kobj, const struct attribute * attr) in sysfs_remove_file()
645 void sysfs_remove_file_from_group(struct kobject *kobj, in sysfs_remove_file_from_group()
662 struct kobject *kobj; member
700 int sysfs_schedule_callback(struct kobject *kobj, void (*func)(void *), in sysfs_schedule_callback()
Dsymlink.c22 static int sysfs_do_create_link(struct kobject *kobj, struct kobject *target, in sysfs_do_create_link()
86 int sysfs_create_link(struct kobject *kobj, struct kobject *target, in sysfs_create_link()
101 int sysfs_create_link_nowarn(struct kobject *kobj, struct kobject *target, in sysfs_create_link_nowarn()
113 void sysfs_remove_link(struct kobject * kobj, const char * name) in sysfs_remove_link()
Dbin.c40 struct kobject *kobj = attr_sd->s_parent->s_dir.kobj; in fill_read() local
111 struct kobject *kobj = attr_sd->s_parent->s_dir.kobj; in flush_write() local
176 struct kobject *kobj = attr_sd->s_parent->s_dir.kobj; in mmap() local
265 int sysfs_create_bin_file(struct kobject * kobj, struct bin_attribute * attr) in sysfs_create_bin_file()
279 void sysfs_remove_bin_file(struct kobject * kobj, struct bin_attribute * attr) in sysfs_remove_bin_file()
Ddir.c640 static int create_dir(struct kobject *kobj, struct sysfs_dirent *parent_sd, in create_dir()
667 int sysfs_create_subdir(struct kobject *kobj, const char *name, in sysfs_create_subdir()
677 int sysfs_create_dir(struct kobject * kobj) in sysfs_create_dir()
784 void sysfs_remove_dir(struct kobject * kobj) in sysfs_remove_dir()
795 int sysfs_rename_dir(struct kobject * kobj, const char *new_name) in sysfs_rename_dir()
857 int sysfs_move_dir(struct kobject *kobj, struct kobject *new_parent_kobj) in sysfs_move_dir()
Dsysfs.h15 struct kobject *kobj; member
/fs/btrfs/
Dsysfs.c104 static ssize_t btrfs_super_attr_show(struct kobject *kobj, in btrfs_super_attr_show()
116 static ssize_t btrfs_super_attr_store(struct kobject *kobj, in btrfs_super_attr_store()
129 static ssize_t btrfs_root_attr_show(struct kobject *kobj, in btrfs_root_attr_show()
141 static ssize_t btrfs_root_attr_store(struct kobject *kobj, in btrfs_root_attr_store()
153 static void btrfs_super_release(struct kobject *kobj) in btrfs_super_release()
160 static void btrfs_root_release(struct kobject *kobj) in btrfs_root_release()
/fs/ocfs2/
Dstackglue.c448 static ssize_t ocfs2_max_locking_protocol_show(struct kobject *kobj, in ocfs2_max_locking_protocol_show()
468 static ssize_t ocfs2_loaded_cluster_plugins_show(struct kobject *kobj, in ocfs2_loaded_cluster_plugins_show()
500 static ssize_t ocfs2_active_cluster_plugin_show(struct kobject *kobj, in ocfs2_active_cluster_plugin_show()
522 static ssize_t ocfs2_cluster_stack_show(struct kobject *kobj, in ocfs2_cluster_stack_show()
534 static ssize_t ocfs2_cluster_stack_store(struct kobject *kobj, in ocfs2_cluster_stack_store()
/fs/
Dchar_dev.c334 struct kobject *kobj; in cdev_get() local
365 struct kobject *kobj; in chrdev_open() local
485 static void cdev_default_release(struct kobject *kobj) in cdev_default_release()
491 static void cdev_dynamic_release(struct kobject *kobj) in cdev_dynamic_release()
Dblock_dev.c623 static struct bd_holder *alloc_bd_holder(struct kobject *kobj) in alloc_bd_holder()
717 struct kobject *kobj) in del_bd_holder()
754 struct kobject *kobj) in bd_claim_by_kobject()
796 struct kobject *kobj) in bd_release_from_kobject()
/fs/gfs2/locking/dlm/
Dsysfs.c151 static ssize_t gdlm_attr_show(struct kobject *kobj, struct attribute *attr, in gdlm_attr_show()
159 static ssize_t gdlm_attr_store(struct kobject *kobj, struct attribute *attr, in gdlm_attr_store()
198 static int gdlm_uevent(struct kset *kset, struct kobject *kobj, in gdlm_uevent()
Dlock_dlm.h64 struct kobject kobj; member
/fs/ocfs2/cluster/
Dsys.c38 static ssize_t version_show(struct kobject *kobj, struct kobj_attribute *attr, in version_show()
/fs/gfs2/
Dsys.c181 static ssize_t gfs2_attr_show(struct kobject *kobj, struct attribute *attr, in gfs2_attr_show()
189 static ssize_t gfs2_attr_store(struct kobject *kobj, struct attribute *attr, in gfs2_attr_store()
461 static int gfs2_uevent(struct kset *kset, struct kobject *kobj, in gfs2_uevent()
/fs/dlm/
Dlockspace.c129 static ssize_t dlm_attr_show(struct kobject *kobj, struct attribute *attr, in dlm_attr_show()
137 static ssize_t dlm_attr_store(struct kobject *kobj, struct attribute *attr, in dlm_attr_store()
/fs/ecryptfs/
Dmain.c768 static ssize_t version_show(struct kobject *kobj, in version_show()