Home
last modified time | relevance | path

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

123456789

/linux-3.3/lib/
Dkobject.c30 static int populate_dir(struct kobject *kobj) in populate_dir()
47 static int create_dir(struct kobject *kobj) in create_dir()
61 static int get_kobj_path_length(struct kobject *kobj) in get_kobj_path_length()
79 static void fill_kobj_path(struct kobject *kobj, char *path, int length) in fill_kobj_path()
104 char *kobject_get_path(struct kobject *kobj, gfp_t gfp_mask) in kobject_get_path()
122 static void kobj_kset_join(struct kobject *kobj) in kobj_kset_join()
134 static void kobj_kset_leave(struct kobject *kobj) in kobj_kset_leave()
145 static void kobject_init_internal(struct kobject *kobj) in kobject_init_internal()
158 static int kobject_add_internal(struct kobject *kobj) in kobject_add_internal()
215 int kobject_set_name_vargs(struct kobject *kobj, const char *fmt, in kobject_set_name_vargs()
[all …]
Dkobject_uevent.c89 struct kobject *kobj = data; in kobj_bcast_filter() local
104 static int kobj_usermode_filter(struct kobject *kobj) in kobj_usermode_filter()
129 int kobject_uevent_env(struct kobject *kobj, enum kobject_action action, in kobject_uevent_env()
331 int kobject_uevent(struct kobject *kobj, enum kobject_action action) in kobject_uevent()
/linux-3.3/include/linux/
Dsysfs.h185 static inline int sysfs_schedule_callback(struct kobject *kobj, in sysfs_schedule_callback()
191 static inline int sysfs_create_dir(struct kobject *kobj) in sysfs_create_dir()
196 static inline void sysfs_remove_dir(struct kobject *kobj) in sysfs_remove_dir()
200 static inline int sysfs_rename_dir(struct kobject *kobj, const char *new_name) in sysfs_rename_dir()
205 static inline int sysfs_move_dir(struct kobject *kobj, in sysfs_move_dir()
211 static inline int sysfs_create_file(struct kobject *kobj, in sysfs_create_file()
217 static inline int sysfs_create_files(struct kobject *kobj, in sysfs_create_files()
223 static inline int sysfs_chmod_file(struct kobject *kobj, in sysfs_chmod_file()
229 static inline void sysfs_remove_file(struct kobject *kobj, in sysfs_remove_file()
234 static inline void sysfs_remove_files(struct kobject *kobj, in sysfs_remove_files()
[all …]
Dkobject.h80 static inline const char *kobject_name(const struct kobject *kobj) in kobject_name()
162 struct kobject kobj; member
173 static inline struct kset *to_kset(struct kobject *kobj) in to_kset()
188 static inline struct kobj_type *get_ktype(struct kobject *kobj) in get_ktype()
217 static inline int kobject_uevent(struct kobject *kobj, in kobject_uevent()
220 static inline int kobject_uevent_env(struct kobject *kobj, in kobject_uevent_env()
/linux-3.3/kernel/
Dksysfs.c31 static ssize_t uevent_seqnum_show(struct kobject *kobj, in uevent_seqnum_show()
39 static ssize_t uevent_helper_show(struct kobject *kobj, in uevent_helper_show()
44 static ssize_t uevent_helper_store(struct kobject *kobj, in uevent_helper_store()
60 static ssize_t profiling_show(struct kobject *kobj, in profiling_show()
65 static ssize_t profiling_store(struct kobject *kobj, in profiling_store()
91 static ssize_t kexec_loaded_show(struct kobject *kobj, in kexec_loaded_show()
98 static ssize_t kexec_crash_loaded_show(struct kobject *kobj, in kexec_crash_loaded_show()
105 static ssize_t kexec_crash_size_show(struct kobject *kobj, in kexec_crash_size_show()
110 static ssize_t kexec_crash_size_store(struct kobject *kobj, in kexec_crash_size_store()
125 static ssize_t vmcoreinfo_show(struct kobject *kobj, in vmcoreinfo_show()
[all …]
/linux-3.3/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()
160 int sysfs_merge_group(struct kobject *kobj, in sysfs_merge_group()
189 void sysfs_unmerge_group(struct kobject *kobj, in sysfs_unmerge_group()
Dfile.c70 struct kobject *kobj = attr_sd->s_parent->s_dir.kobj; in fill_read_buffer() local
194 struct kobject *kobj = attr_sd->s_parent->s_dir.kobj; in flush_write_buffer() local
329 struct kobject *kobj = attr_sd->s_parent->s_dir.kobj; in sysfs_open_file() local
488 int sysfs_attr_ns(struct kobject *kobj, const struct attribute *attr, in sysfs_attr_ns()
571 int sysfs_create_file(struct kobject * kobj, const struct attribute * attr) in sysfs_create_file()
579 int sysfs_create_files(struct kobject *kobj, const struct attribute **ptr) in sysfs_create_files()
598 int sysfs_add_file_to_group(struct kobject *kobj, in sysfs_add_file_to_group()
626 int sysfs_chmod_file(struct kobject *kobj, const struct attribute *attr, in sysfs_chmod_file()
664 void sysfs_remove_file(struct kobject * kobj, const struct attribute * attr) in sysfs_remove_file()
674 void sysfs_remove_files(struct kobject * kobj, const struct attribute **ptr) in sysfs_remove_files()
[all …]
Dsymlink.c24 static int sysfs_do_create_link(struct kobject *kobj, struct kobject *target, in sysfs_do_create_link()
104 int sysfs_create_link(struct kobject *kobj, struct kobject *target, in sysfs_create_link()
119 int sysfs_create_link_nowarn(struct kobject *kobj, struct kobject *target, in sysfs_create_link_nowarn()
134 void sysfs_delete_link(struct kobject *kobj, struct kobject *targ, in sysfs_delete_link()
151 void sysfs_remove_link(struct kobject * kobj, const char * name) in sysfs_remove_link()
172 int sysfs_rename_link(struct kobject *kobj, struct kobject *targ, in sysfs_rename_link()
/linux-3.3/kernel/power/
Dmain.c51 static ssize_t pm_async_show(struct kobject *kobj, struct kobj_attribute *attr, in pm_async_show()
57 static ssize_t pm_async_store(struct kobject *kobj, struct kobj_attribute *attr, in pm_async_store()
86 static ssize_t pm_test_show(struct kobject *kobj, struct kobj_attribute *attr, in pm_test_show()
107 static ssize_t pm_test_store(struct kobject *kobj, struct kobj_attribute *attr, in pm_test_store()
246 static ssize_t state_show(struct kobject *kobj, struct kobj_attribute *attr, in state_show()
268 static ssize_t state_store(struct kobject *kobj, struct kobj_attribute *attr, in state_store()
338 static ssize_t wakeup_count_show(struct kobject *kobj, in wakeup_count_show()
347 static ssize_t wakeup_count_store(struct kobject *kobj, in wakeup_count_store()
366 static ssize_t pm_trace_show(struct kobject *kobj, struct kobj_attribute *attr, in pm_trace_show()
373 pm_trace_store(struct kobject *kobj, struct kobj_attribute *attr, in pm_trace_store()
[all …]
Dhibernate.c856 static ssize_t disk_show(struct kobject *kobj, struct kobj_attribute *attr, in disk_show()
884 static ssize_t disk_store(struct kobject *kobj, struct kobj_attribute *attr, in disk_store()
928 static ssize_t resume_show(struct kobject *kobj, struct kobj_attribute *attr, in resume_show()
935 static ssize_t resume_store(struct kobject *kobj, struct kobj_attribute *attr, in resume_store()
962 static ssize_t image_size_show(struct kobject *kobj, struct kobj_attribute *attr, in image_size_show()
968 static ssize_t image_size_store(struct kobject *kobj, struct kobj_attribute *attr, in image_size_store()
983 static ssize_t reserved_size_show(struct kobject *kobj, in reserved_size_show()
989 static ssize_t reserved_size_store(struct kobject *kobj, in reserved_size_store()
/linux-3.3/drivers/parisc/
Dpdc_stable.c106 struct kobject kobj; member
448 pdcspath_attr_show(struct kobject *kobj, struct attribute *attr, char *buf) in pdcspath_attr_show()
468 pdcspath_attr_store(struct kobject *kobj, struct attribute *attr, in pdcspath_attr_store()
528 static ssize_t pdcs_size_read(struct kobject *kobj, in pdcs_size_read()
548 static ssize_t pdcs_auto_read(struct kobject *kobj, in pdcs_auto_read()
573 static ssize_t pdcs_autoboot_read(struct kobject *kobj, in pdcs_autoboot_read()
583 static ssize_t pdcs_autosearch_read(struct kobject *kobj, in pdcs_autosearch_read()
595 static ssize_t pdcs_timer_read(struct kobject *kobj, in pdcs_timer_read()
620 static ssize_t pdcs_osid_read(struct kobject *kobj, in pdcs_osid_read()
640 static ssize_t pdcs_osdep1_read(struct kobject *kobj, in pdcs_osdep1_read()
[all …]
/linux-3.3/drivers/w1/slaves/
Dw1_ds2408.c75 struct file *filp, struct kobject *kobj, in w1_f29_read_state()
88 struct file *filp, struct kobject *kobj, in w1_f29_read_output()
102 struct file *filp, struct kobject *kobj, in w1_f29_read_activity()
116 struct file *filp, struct kobject *kobj, in w1_f29_read_cond_search_mask()
130 struct file *filp, struct kobject *kobj, in w1_f29_read_cond_search_polarity()
141 struct file *filp, struct kobject *kobj, in w1_f29_read_status_control()
155 struct file *filp, struct kobject *kobj, in w1_f29_write_output()
221 struct file *filp, struct kobject *kobj, in w1_f29_write_activity()
253 struct kobject *kobj, in w1_f29_write_status_control()
/linux-3.3/arch/s390/kernel/
Dipl.c271 static ssize_t ipl_type_show(struct kobject *kobj, struct kobj_attribute *attr, in ipl_type_show()
324 static ssize_t ipl_vm_parm_show(struct kobject *kobj, in ipl_vm_parm_show()
391 static ssize_t sys_ipl_device_show(struct kobject *kobj, in sys_ipl_device_show()
410 static ssize_t ipl_parameter_read(struct file *filp, struct kobject *kobj, in ipl_parameter_read()
427 static ssize_t ipl_scp_data_read(struct file *filp, struct kobject *kobj, in ipl_scp_data_read()
473 static ssize_t ipl_ccw_loadparm_show(struct kobject *kobj, in ipl_ccw_loadparm_show()
667 static ssize_t reipl_nss_vmparm_show(struct kobject *kobj, in reipl_nss_vmparm_show()
673 static ssize_t reipl_nss_vmparm_store(struct kobject *kobj, in reipl_nss_vmparm_store()
681 static ssize_t reipl_ccw_vmparm_show(struct kobject *kobj, in reipl_ccw_vmparm_show()
687 static ssize_t reipl_ccw_vmparm_store(struct kobject *kobj, in reipl_ccw_vmparm_store()
[all …]
/linux-3.3/samples/kobject/
Dkobject-example.c30 static ssize_t foo_show(struct kobject *kobj, struct kobj_attribute *attr, in foo_show()
36 static ssize_t foo_store(struct kobject *kobj, struct kobj_attribute *attr, in foo_store()
50 static ssize_t b_show(struct kobject *kobj, struct kobj_attribute *attr, in b_show()
62 static ssize_t b_store(struct kobject *kobj, struct kobj_attribute *attr, in b_store()
/linux-3.3/drivers/staging/speakup/
Dkobjects.c27 static ssize_t chars_chartab_show(struct kobject *kobj, in chars_chartab_show()
107 static ssize_t chars_chartab_store(struct kobject *kobj, in chars_chartab_store()
223 static ssize_t keymap_show(struct kobject *kobj, struct kobj_attribute *attr, in keymap_show()
257 static ssize_t keymap_store(struct kobject *kobj, struct kobj_attribute *attr, in keymap_store()
324 static ssize_t silent_store(struct kobject *kobj, struct kobj_attribute *attr, in silent_store()
363 static ssize_t synth_show(struct kobject *kobj, struct kobj_attribute *attr, in synth_show()
378 static ssize_t synth_store(struct kobject *kobj, struct kobj_attribute *attr, in synth_store()
404 static ssize_t synth_direct_store(struct kobject *kobj, in synth_direct_store()
431 static ssize_t version_show(struct kobject *kobj, struct kobj_attribute *attr, in version_show()
447 static ssize_t punc_show(struct kobject *kobj, struct kobj_attribute *attr, in punc_show()
[all …]
/linux-3.3/drivers/pci/hotplug/
Drpadlpar_sysfs.c32 static ssize_t add_slot_store(struct kobject *kobj, struct kobj_attribute *attr, in add_slot_store()
56 static ssize_t add_slot_show(struct kobject *kobj, in add_slot_show()
62 static ssize_t remove_slot_store(struct kobject *kobj, in remove_slot_store()
87 static ssize_t remove_slot_show(struct kobject *kobj, in remove_slot_show()
Dfakephp.c26 struct kobject kobj; member
33 static ssize_t legacy_show(struct kobject *kobj, struct attribute *attr, in legacy_show()
46 static ssize_t legacy_store(struct kobject *kobj, struct attribute *attr, in legacy_store()
68 static void legacy_release(struct kobject *kobj) in legacy_release()
/linux-3.3/drivers/s390/char/
Dsclp_cpi_sys.c222 static ssize_t system_name_show(struct kobject *kobj, in system_name_show()
233 static ssize_t system_name_store(struct kobject *kobj, in system_name_store()
254 static ssize_t sysplex_name_show(struct kobject *kobj, in sysplex_name_show()
265 static ssize_t sysplex_name_store(struct kobject *kobj, in sysplex_name_store()
286 static ssize_t system_type_show(struct kobject *kobj, in system_type_show()
297 static ssize_t system_type_store(struct kobject *kobj, in system_type_store()
318 static ssize_t system_level_show(struct kobject *kobj, in system_level_show()
329 static ssize_t system_level_store(struct kobject *kobj, in system_level_store()
355 static ssize_t set_store(struct kobject *kobj, in set_store()
/linux-3.3/drivers/edac/
Dedac_device_sysfs.c117 static ssize_t edac_dev_ctl_info_show(struct kobject *kobj, in edac_dev_ctl_info_show()
129 static ssize_t edac_dev_ctl_info_store(struct kobject *kobj, in edac_dev_ctl_info_store()
201 static void edac_device_ctrl_master_release(struct kobject *kobj) in edac_device_ctrl_master_release()
335 static void edac_device_ctrl_instance_release(struct kobject *kobj) in edac_device_ctrl_instance_release()
356 static ssize_t edac_dev_instance_show(struct kobject *kobj, in edac_dev_instance_show()
368 static ssize_t edac_dev_instance_store(struct kobject *kobj, in edac_dev_instance_store()
424 static ssize_t block_ue_count_show(struct kobject *kobj, in block_ue_count_show()
432 static ssize_t block_ce_count_show(struct kobject *kobj, in block_ce_count_show()
441 static void edac_device_ctrl_block_release(struct kobject *kobj) in edac_device_ctrl_block_release()
458 static ssize_t edac_dev_block_show(struct kobject *kobj, in edac_dev_block_show()
[all …]
Dedac_mc_sysfs.c212 static ssize_t csrowdev_show(struct kobject *kobj, in csrowdev_show()
224 static ssize_t csrowdev_store(struct kobject *kobj, struct attribute *attr, in csrowdev_store()
314 static int edac_create_channel_files(struct kobject *kobj, int chan) in edac_create_channel_files()
340 static void edac_csrow_instance_release(struct kobject *kobj) in edac_csrow_instance_release()
365 struct kobject *kobj; in edac_create_csrow_object() local
541 static ssize_t mcidev_show(struct kobject *kobj, struct attribute *attr, in mcidev_show()
555 static ssize_t mcidev_store(struct kobject *kobj, struct attribute *attr, in mcidev_store()
622 static void edac_mci_control_release(struct kobject *kobj) in edac_mci_control_release()
722 static ssize_t inst_grp_show(struct kobject *kobj, struct attribute *attr, in inst_grp_show()
736 static ssize_t inst_grp_store(struct kobject *kobj, struct attribute *attr, in inst_grp_store()
[all …]
/linux-3.3/drivers/hid/
Dhid-roccat-koneplus.c194 static ssize_t koneplus_sysfs_read(struct file *fp, struct kobject *kobj, in koneplus_sysfs_read()
220 static ssize_t koneplus_sysfs_write(struct file *fp, struct kobject *kobj, in koneplus_sysfs_write()
244 struct kobject *kobj, struct bin_attribute *attr, char *buf, in koneplus_sysfs_write_talk()
252 struct kobject *kobj, struct bin_attribute *attr, char *buf, in koneplus_sysfs_write_macro()
260 struct kobject *kobj, struct bin_attribute *attr, char *buf, in koneplus_sysfs_read_sensor()
268 struct kobject *kobj, struct bin_attribute *attr, char *buf, in koneplus_sysfs_write_sensor()
276 struct kobject *kobj, struct bin_attribute *attr, char *buf, in koneplus_sysfs_write_tcu()
284 struct kobject *kobj, struct bin_attribute *attr, char *buf, in koneplus_sysfs_read_tcu_image()
292 struct kobject *kobj, struct bin_attribute *attr, char *buf, in koneplus_sysfs_read_profilex_settings()
314 struct kobject *kobj, struct bin_attribute *attr, char *buf, in koneplus_sysfs_write_profile_settings()
[all …]
/linux-3.3/drivers/pci/
Dpci-sysfs.c425 pci_read_config(struct file *filp, struct kobject *kobj, in pci_read_config()
499 pci_write_config(struct file* filp, struct kobject *kobj, in pci_write_config()
557 read_vpd_attr(struct file *filp, struct kobject *kobj, in read_vpd_attr()
573 write_vpd_attr(struct file *filp, struct kobject *kobj, in write_vpd_attr()
602 pci_read_legacy_io(struct file *filp, struct kobject *kobj, in pci_read_legacy_io()
630 pci_write_legacy_io(struct file *filp, struct kobject *kobj, in pci_write_legacy_io()
656 pci_mmap_legacy_mem(struct file *filp, struct kobject *kobj, in pci_mmap_legacy_mem()
679 pci_mmap_legacy_io(struct file *filp, struct kobject *kobj, in pci_mmap_legacy_io()
800 pci_mmap_resource(struct kobject *kobj, struct bin_attribute *attr, in pci_mmap_resource()
841 pci_mmap_resource_uc(struct file *filp, struct kobject *kobj, in pci_mmap_resource_uc()
[all …]
/linux-3.3/net/batman-adv/
Dbat_sysfs.c223 static ssize_t show_vis_mode(struct kobject *kobj, struct attribute *attr, in show_vis_mode()
234 static ssize_t store_vis_mode(struct kobject *kobj, struct attribute *attr, in store_vis_mode()
281 static ssize_t show_gw_mode(struct kobject *kobj, struct attribute *attr, in show_gw_mode()
302 static ssize_t store_gw_mode(struct kobject *kobj, struct attribute *attr, in store_gw_mode()
354 static ssize_t show_gw_bwidth(struct kobject *kobj, struct attribute *attr, in show_gw_bwidth()
369 static ssize_t store_gw_bwidth(struct kobject *kobj, struct attribute *attr, in store_gw_bwidth()
463 static ssize_t show_mesh_iface(struct kobject *kobj, struct attribute *attr, in show_mesh_iface()
481 static ssize_t store_mesh_iface(struct kobject *kobj, struct attribute *attr, in store_mesh_iface()
537 static ssize_t show_iface_status(struct kobject *kobj, struct attribute *attr, in show_iface_status()
/linux-3.3/mm/
Dhuge_memory.c172 static ssize_t double_flag_show(struct kobject *kobj, in double_flag_show()
185 static ssize_t double_flag_store(struct kobject *kobj, in double_flag_store()
209 static ssize_t enabled_show(struct kobject *kobj, in enabled_show()
216 static ssize_t enabled_store(struct kobject *kobj, in enabled_store()
244 static ssize_t single_flag_show(struct kobject *kobj, in single_flag_show()
252 static ssize_t single_flag_store(struct kobject *kobj, in single_flag_store()
279 static ssize_t defrag_show(struct kobject *kobj, in defrag_show()
286 static ssize_t defrag_store(struct kobject *kobj, in defrag_store()
298 static ssize_t debug_cow_show(struct kobject *kobj, in debug_cow_show()
304 static ssize_t debug_cow_store(struct kobject *kobj, in debug_cow_store()
[all …]
/linux-3.3/arch/x86/platform/uv/
Duv_sysfs.c28 static ssize_t partition_id_show(struct kobject *kobj, in partition_id_show()
34 static ssize_t coherence_id_show(struct kobject *kobj, in coherence_id_show()

123456789