Home
last modified time | relevance | path

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

12

/linux-4.4.14/lib/
Dkobject.c30 const void *kobject_namespace(struct kobject *kobj) in kobject_namespace()
49 static int populate_dir(struct kobject *kobj) in populate_dir()
66 static int create_dir(struct kobject *kobj) in create_dir()
103 static int get_kobj_path_length(struct kobject *kobj) in get_kobj_path_length()
121 static void fill_kobj_path(struct kobject *kobj, char *path, int length) in fill_kobj_path()
146 char *kobject_get_path(struct kobject *kobj, gfp_t gfp_mask) in kobject_get_path()
164 static void kobj_kset_join(struct kobject *kobj) in kobj_kset_join()
176 static void kobj_kset_leave(struct kobject *kobj) in kobj_kset_leave()
187 static void kobject_init_internal(struct kobject *kobj) in kobject_init_internal()
200 static int kobject_add_internal(struct kobject *kobj) in kobject_add_internal()
[all …]
Dkobject_uevent.c92 struct kobject *kobj = data, *ksobj; in kobj_bcast_filter() local
114 static int kobj_usermode_filter(struct kobject *kobj) in kobj_usermode_filter()
164 int kobject_uevent_env(struct kobject *kobj, enum kobject_action action, in kobject_uevent_env()
372 int kobject_uevent(struct kobject *kobj, enum kobject_action action) in kobject_uevent()
/linux-4.4.14/kernel/
Dksysfs.c33 static ssize_t uevent_seqnum_show(struct kobject *kobj, in uevent_seqnum_show()
42 static ssize_t uevent_helper_show(struct kobject *kobj, in uevent_helper_show()
47 static ssize_t uevent_helper_store(struct kobject *kobj, in uevent_helper_store()
63 static ssize_t profiling_show(struct kobject *kobj, in profiling_show()
68 static ssize_t profiling_store(struct kobject *kobj, in profiling_store()
94 static ssize_t kexec_loaded_show(struct kobject *kobj, in kexec_loaded_show()
101 static ssize_t kexec_crash_loaded_show(struct kobject *kobj, in kexec_crash_loaded_show()
108 static ssize_t kexec_crash_size_show(struct kobject *kobj, in kexec_crash_size_show()
113 static ssize_t kexec_crash_size_store(struct kobject *kobj, in kexec_crash_size_store()
128 static ssize_t vmcoreinfo_show(struct kobject *kobj, in vmcoreinfo_show()
[all …]
Dparams.c801 struct kobject *kobj; in locate_module_kobject() local
925 static ssize_t module_attr_show(struct kobject *kobj, in module_attr_show()
944 static ssize_t module_attr_store(struct kobject *kobj, in module_attr_store()
968 static int uevent_filter(struct kset *kset, struct kobject *kobj) in uevent_filter()
984 static void module_kobj_release(struct kobject *kobj) in module_kobj_release()
Dpadata.c895 static void padata_sysfs_release(struct kobject *kobj) in padata_sysfs_release()
974 static ssize_t padata_sysfs_show(struct kobject *kobj, in padata_sysfs_show()
989 static ssize_t padata_sysfs_store(struct kobject *kobj, struct attribute *attr, in padata_sysfs_store()
/linux-4.4.14/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()
247 static ssize_t pm_print_times_show(struct kobject *kobj, in pm_print_times_show()
253 static ssize_t pm_print_times_store(struct kobject *kobj, in pm_print_times_store()
276 static ssize_t pm_wakeup_irq_show(struct kobject *kobj, in pm_wakeup_irq_show()
283 static ssize_t pm_wakeup_irq_store(struct kobject *kobj, in pm_wakeup_irq_store()
307 static ssize_t state_show(struct kobject *kobj, struct kobj_attribute *attr, in state_show()
354 static ssize_t state_store(struct kobject *kobj, struct kobj_attribute *attr, in state_store()
[all …]
Dhibernate.c909 static ssize_t disk_show(struct kobject *kobj, struct kobj_attribute *attr, in disk_show()
943 static ssize_t disk_store(struct kobject *kobj, struct kobj_attribute *attr, in disk_store()
993 static ssize_t resume_show(struct kobject *kobj, struct kobj_attribute *attr, in resume_show()
1000 static ssize_t resume_store(struct kobject *kobj, struct kobj_attribute *attr, in resume_store()
1029 static ssize_t image_size_show(struct kobject *kobj, struct kobj_attribute *attr, in image_size_show()
1035 static ssize_t image_size_store(struct kobject *kobj, struct kobj_attribute *attr, in image_size_store()
1050 static ssize_t reserved_size_show(struct kobject *kobj, in reserved_size_show()
1056 static ssize_t reserved_size_store(struct kobject *kobj, in reserved_size_store()
/linux-4.4.14/include/linux/
Dsysfs.h296 static inline int sysfs_create_dir_ns(struct kobject *kobj, const void *ns) in sysfs_create_dir_ns()
301 static inline void sysfs_remove_dir(struct kobject *kobj) in sysfs_remove_dir()
305 static inline int sysfs_rename_dir_ns(struct kobject *kobj, in sysfs_rename_dir_ns()
311 static inline int sysfs_move_dir_ns(struct kobject *kobj, in sysfs_move_dir_ns()
329 static inline int sysfs_create_file_ns(struct kobject *kobj, in sysfs_create_file_ns()
336 static inline int sysfs_create_files(struct kobject *kobj, in sysfs_create_files()
342 static inline int sysfs_chmod_file(struct kobject *kobj, in sysfs_chmod_file()
348 static inline void sysfs_remove_file_ns(struct kobject *kobj, in sysfs_remove_file_ns()
354 static inline bool sysfs_remove_file_self(struct kobject *kobj, in sysfs_remove_file_self()
360 static inline void sysfs_remove_files(struct kobject *kobj, in sysfs_remove_files()
[all …]
Dkobject.h87 static inline const char *kobject_name(const struct kobject *kobj) in kobject_name()
171 struct kobject kobj; member
182 static inline struct kset *to_kset(struct kobject *kobj) in to_kset()
197 static inline struct kobj_type *get_ktype(struct kobject *kobj) in get_ktype()
Dlivepatch.h61 struct kobject kobj; member
102 struct kobject kobj; member
122 struct kobject kobj; member
Dcdev.h13 struct kobject kobj; member
Discsi_boot_sysfs.h69 struct kobject kobj; member
/linux-4.4.14/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
128 struct kobject *kobj = of->kn->parent->priv; in sysfs_kf_write() local
141 struct kobject *kobj = of->kn->parent->priv; in sysfs_kf_bin_write() local
162 struct kobject *kobj = of->kn->parent->priv; in sysfs_kf_bin_mmap() local
167 void sysfs_notify(struct kobject *kobj, const char *dir, const char *attr) in sysfs_notify()
250 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.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()
120 void sysfs_delete_link(struct kobject *kobj, struct kobject *targ, in sysfs_delete_link()
142 void sysfs_remove_link(struct kobject *kobj, const char *name) in sysfs_remove_link()
165 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()
/linux-4.4.14/drivers/staging/lustre/lustre/llite/
Dlproc_llite.c51 static ssize_t blocksize_show(struct kobject *kobj, struct attribute *attr, in blocksize_show()
69 static ssize_t kbytestotal_show(struct kobject *kobj, struct attribute *attr, in kbytestotal_show()
94 static ssize_t kbytesfree_show(struct kobject *kobj, struct attribute *attr, in kbytesfree_show()
119 static ssize_t kbytesavail_show(struct kobject *kobj, struct attribute *attr, in kbytesavail_show()
144 static ssize_t filestotal_show(struct kobject *kobj, struct attribute *attr, in filestotal_show()
162 static ssize_t filesfree_show(struct kobject *kobj, struct attribute *attr, in filesfree_show()
180 static ssize_t client_type_show(struct kobject *kobj, struct attribute *attr, in client_type_show()
191 static ssize_t fstype_show(struct kobject *kobj, struct attribute *attr, in fstype_show()
201 static ssize_t uuid_show(struct kobject *kobj, struct attribute *attr, in uuid_show()
224 static ssize_t max_read_ahead_mb_show(struct kobject *kobj, in max_read_ahead_mb_show()
[all …]
/linux-4.4.14/drivers/staging/lustre/lustre/osc/
Dlproc_osc.c45 static ssize_t active_show(struct kobject *kobj, struct attribute *attr, in active_show()
54 static ssize_t active_store(struct kobject *kobj, struct attribute *attr, in active_store()
80 static ssize_t max_rpcs_in_flight_show(struct kobject *kobj, in max_rpcs_in_flight_show()
91 static ssize_t max_rpcs_in_flight_store(struct kobject *kobj, in max_rpcs_in_flight_store()
132 static ssize_t max_dirty_mb_show(struct kobject *kobj, in max_dirty_mb_show()
150 static ssize_t max_dirty_mb_store(struct kobject *kobj, in max_dirty_mb_store()
233 static ssize_t cur_dirty_bytes_show(struct kobject *kobj, in cur_dirty_bytes_show()
250 static ssize_t cur_grant_bytes_show(struct kobject *kobj, in cur_grant_bytes_show()
266 static ssize_t cur_grant_bytes_store(struct kobject *kobj, in cur_grant_bytes_store()
297 static ssize_t cur_lost_grant_bytes_show(struct kobject *kobj, in cur_lost_grant_bytes_show()
[all …]
/linux-4.4.14/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()
174 static umode_t btrfs_feature_visible(struct kobject *kobj, in btrfs_feature_visible()
236 static ssize_t global_rsv_size_show(struct kobject *kobj, in global_rsv_size_show()
245 static ssize_t global_rsv_reserved_show(struct kobject *kobj, in global_rsv_reserved_show()
262 static ssize_t raid_bytes_show(struct kobject *kobj, in raid_bytes_show()
288 static void release_raid_kobj(struct kobject *kobj) in release_raid_kobj()
309 static ssize_t btrfs_space_info_show_total_bytes_pinned(struct kobject *kobj, in btrfs_space_info_show_total_bytes_pinned()
341 static void space_info_release(struct kobject *kobj) in space_info_release()
360 static ssize_t btrfs_label_show(struct kobject *kobj, in btrfs_label_show()
[all …]
/linux-4.4.14/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-4.4.14/drivers/w1/slaves/
Dw1_ds2408.c75 static ssize_t state_read(struct file *filp, struct kobject *kobj, in state_read()
87 static ssize_t output_read(struct file *filp, struct kobject *kobj, in output_read()
100 static ssize_t activity_read(struct file *filp, struct kobject *kobj, in activity_read()
113 static ssize_t cond_search_mask_read(struct file *filp, struct kobject *kobj, in cond_search_mask_read()
127 struct kobject *kobj, in cond_search_polarity_read()
137 static ssize_t status_control_read(struct file *filp, struct kobject *kobj, in status_control_read()
147 static ssize_t output_write(struct file *filp, struct kobject *kobj, in output_write()
218 static ssize_t activity_write(struct file *filp, struct kobject *kobj, in activity_write()
248 static ssize_t status_control_write(struct file *filp, struct kobject *kobj, in status_control_write()
Dw1_ds2413.c33 static ssize_t state_read(struct file *filp, struct kobject *kobj, in state_read()
70 static ssize_t output_write(struct file *filp, struct kobject *kobj, in output_write()
Dw1_ds28e04.c121 static ssize_t eeprom_read(struct file *filp, struct kobject *kobj, in eeprom_read()
229 static ssize_t eeprom_write(struct file *filp, struct kobject *kobj, in eeprom_write()
285 static ssize_t pio_read(struct file *filp, struct kobject *kobj, in pio_read()
304 static ssize_t pio_write(struct file *filp, struct kobject *kobj, in pio_write()
Dw1_ds2406.c32 struct file *filp, struct kobject *kobj, in w1_f12_read_state()
69 struct file *filp, struct kobject *kobj, in w1_f12_write_output()
Dw1_ds2431.c99 static ssize_t eeprom_read(struct file *filp, struct kobject *kobj, in eeprom_read()
205 static ssize_t eeprom_write(struct file *filp, struct kobject *kobj, in eeprom_write()
Dw1_ds2433.c96 static ssize_t eeprom_read(struct file *filp, struct kobject *kobj, in eeprom_read()
210 static ssize_t eeprom_write(struct file *filp, struct kobject *kobj, in eeprom_write()
Dw1_ds2781.c90 static ssize_t w1_slave_read(struct file *filp, struct kobject *kobj, in w1_slave_read()
Dw1_ds2780.c92 static ssize_t w1_slave_read(struct file *filp, struct kobject *kobj, in w1_slave_read()
Dw1_ds2760.c100 static ssize_t w1_slave_read(struct file *filp, struct kobject *kobj, in w1_slave_read()
/linux-4.4.14/arch/s390/kernel/
Dipl.c299 static ssize_t ipl_type_show(struct kobject *kobj, struct kobj_attribute *attr, in ipl_type_show()
352 static ssize_t ipl_vm_parm_show(struct kobject *kobj, in ipl_vm_parm_show()
419 static ssize_t sys_ipl_device_show(struct kobject *kobj, in sys_ipl_device_show()
438 static ssize_t ipl_parameter_read(struct file *filp, struct kobject *kobj, in ipl_parameter_read()
449 static ssize_t ipl_scp_data_read(struct file *filp, struct kobject *kobj, in ipl_scp_data_read()
478 static ssize_t ipl_ccw_loadparm_show(struct kobject *kobj, in ipl_ccw_loadparm_show()
668 static ssize_t reipl_nss_vmparm_show(struct kobject *kobj, in reipl_nss_vmparm_show()
674 static ssize_t reipl_nss_vmparm_store(struct kobject *kobj, in reipl_nss_vmparm_store()
682 static ssize_t reipl_ccw_vmparm_show(struct kobject *kobj, in reipl_ccw_vmparm_show()
688 static ssize_t reipl_ccw_vmparm_store(struct kobject *kobj, in reipl_ccw_vmparm_store()
[all …]
/linux-4.4.14/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.c137 struct xfs_kobj *kobj = to_kobj(kobject); in to_xstats() local
192 struct xfs_kobj *kobj = to_kobj(kobject); in to_xlog() local
/linux-4.4.14/arch/x86/kernel/
Dksysfs.c23 static ssize_t version_show(struct kobject *kobj, in version_show()
31 static ssize_t boot_params_data_read(struct file *fp, struct kobject *kobj, in boot_params_data_read()
63 static int kobj_to_setup_data_nr(struct kobject *kobj, int *nr) in kobj_to_setup_data_nr()
116 static ssize_t type_show(struct kobject *kobj, in type_show()
140 struct kobject *kobj, in setup_data_data_read()
215 struct kobject *kobj; in create_setup_data_node() local
239 static void __init cleanup_setup_data_node(struct kobject *kobj) in cleanup_setup_data_node()
/linux-4.4.14/drivers/staging/speakup/
Dkobjects.c28 static ssize_t chars_chartab_show(struct kobject *kobj, in chars_chartab_show()
108 static ssize_t chars_chartab_store(struct kobject *kobj, in chars_chartab_store()
224 static ssize_t keymap_show(struct kobject *kobj, struct kobj_attribute *attr, in keymap_show()
260 static ssize_t keymap_store(struct kobject *kobj, struct kobj_attribute *attr, in keymap_store()
327 static ssize_t silent_store(struct kobject *kobj, struct kobj_attribute *attr, in silent_store()
366 static ssize_t synth_show(struct kobject *kobj, struct kobj_attribute *attr, in synth_show()
381 static ssize_t synth_store(struct kobject *kobj, struct kobj_attribute *attr, in synth_store()
407 static ssize_t synth_direct_store(struct kobject *kobj, in synth_direct_store()
434 static ssize_t version_show(struct kobject *kobj, struct kobj_attribute *attr, in version_show()
450 static ssize_t punc_show(struct kobject *kobj, struct kobj_attribute *attr, in punc_show()
[all …]
/linux-4.4.14/drivers/staging/lustre/lustre/obdclass/linux/
Dlinux-module.c216 static ssize_t version_show(struct kobject *kobj, struct attribute *attr, in version_show()
222 static ssize_t pinger_show(struct kobject *kobj, struct attribute *attr, in pinger_show()
228 static ssize_t health_show(struct kobject *kobj, struct attribute *attr, in health_show()
269 static ssize_t jobid_var_show(struct kobject *kobj, struct attribute *attr, in jobid_var_show()
275 static ssize_t jobid_var_store(struct kobject *kobj, struct attribute *attr, in jobid_var_store()
293 static ssize_t jobid_name_show(struct kobject *kobj, struct attribute *attr, in jobid_name_show()
299 static ssize_t jobid_name_store(struct kobject *kobj, struct attribute *attr, in jobid_name_store()
Dlinux-sysctl.c64 static ssize_t static_uintvalue_show(struct kobject *kobj, in static_uintvalue_show()
73 static ssize_t static_uintvalue_store(struct kobject *kobj, in static_uintvalue_store()
99 static ssize_t max_dirty_mb_show(struct kobject *kobj, struct attribute *attr, in max_dirty_mb_show()
106 static ssize_t max_dirty_mb_store(struct kobject *kobj, struct attribute *attr, in max_dirty_mb_store()
/linux-4.4.14/drivers/cpuidle/
Dsysfs.c178 struct kobject kobj; member
181 static inline struct cpuidle_device *to_cpuidle_device(struct kobject *kobj) in to_cpuidle_device()
189 static ssize_t cpuidle_show(struct kobject *kobj, struct attribute *attr, in cpuidle_show()
204 static ssize_t cpuidle_store(struct kobject *kobj, struct attribute *attr, in cpuidle_store()
224 static void cpuidle_sysfs_release(struct kobject *kobj) in cpuidle_sysfs_release()
330 struct kobject kobj; member
338 static ssize_t cpuidle_state_show(struct kobject *kobj, struct attribute *attr, in cpuidle_state_show()
352 static ssize_t cpuidle_state_store(struct kobject *kobj, struct attribute *attr, in cpuidle_state_store()
371 static void cpuidle_state_sysfs_release(struct kobject *kobj) in cpuidle_state_sysfs_release()
399 struct cpuidle_state_kobj *kobj; in cpuidle_add_state_sysfs() local
[all …]
/linux-4.4.14/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()
56 static ssize_t b_show(struct kobject *kobj, struct kobj_attribute *attr, in b_show()
68 static ssize_t b_store(struct kobject *kobj, struct kobj_attribute *attr, in b_store()
Dkset-example.c32 struct kobject kobj; member
54 static ssize_t foo_attr_show(struct kobject *kobj, in foo_attr_show()
74 static ssize_t foo_attr_store(struct kobject *kobj, in foo_attr_store()
103 static void foo_release(struct kobject *kobj) in foo_release()
/linux-4.4.14/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()
/linux-4.4.14/drivers/s390/char/
Dsclp_cpi_sys.c221 static ssize_t system_name_show(struct kobject *kobj, in system_name_show()
232 static ssize_t system_name_store(struct kobject *kobj, in system_name_store()
253 static ssize_t sysplex_name_show(struct kobject *kobj, in sysplex_name_show()
264 static ssize_t sysplex_name_store(struct kobject *kobj, in sysplex_name_store()
285 static ssize_t system_type_show(struct kobject *kobj, in system_type_show()
296 static ssize_t system_type_store(struct kobject *kobj, in system_type_store()
317 static ssize_t system_level_show(struct kobject *kobj, in system_level_show()
328 static ssize_t system_level_store(struct kobject *kobj, in system_level_store()
354 static ssize_t set_store(struct kobject *kobj, in set_store()
Dsclp_ocf.c88 static ssize_t cpc_name_show(struct kobject *kobj, in cpc_name_show()
102 static ssize_t hmc_network_show(struct kobject *kobj, in hmc_network_show()
/linux-4.4.14/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()
333 static void edac_device_ctrl_instance_release(struct kobject *kobj) in edac_device_ctrl_instance_release()
354 static ssize_t edac_dev_instance_show(struct kobject *kobj, in edac_dev_instance_show()
366 static ssize_t edac_dev_instance_store(struct kobject *kobj, in edac_dev_instance_store()
422 static ssize_t block_ue_count_show(struct kobject *kobj, in block_ue_count_show()
430 static ssize_t block_ce_count_show(struct kobject *kobj, in block_ce_count_show()
439 static void edac_device_ctrl_block_release(struct kobject *kobj) in edac_device_ctrl_block_release()
456 static ssize_t edac_dev_block_show(struct kobject *kobj, in edac_dev_block_show()
[all …]
Dedac_pci_sysfs.c74 static void edac_pci_instance_release(struct kobject *kobj) in edac_pci_instance_release()
97 static ssize_t edac_pci_instance_show(struct kobject *kobj, in edac_pci_instance_show()
109 static ssize_t edac_pci_instance_store(struct kobject *kobj, in edac_pci_instance_store()
238 static ssize_t edac_pci_dev_show(struct kobject *kobj, struct attribute *attr, in edac_pci_dev_show()
249 static ssize_t edac_pci_dev_store(struct kobject *kobj, in edac_pci_dev_store()
314 static void edac_pci_release_main_kobj(struct kobject *kobj) in edac_pci_release_main_kobj()
Dedac_core.h193 struct kobject kobj; member
207 struct kobject kobj; member
290 struct kobject kobj; member
382 struct kobject kobj; member
/linux-4.4.14/drivers/firmware/efi/
Druntime-map.c23 struct kobject kobj; /* kobject for each entry */ member
56 static inline struct efi_runtime_map_entry *to_map_entry(struct kobject *kobj) in to_map_entry()
61 static ssize_t map_attr_show(struct kobject *kobj, struct attribute *attr, in map_attr_show()
92 static void map_release(struct kobject *kobj) in map_release()
109 add_sysfs_runtime_map_entry(struct kobject *kobj, int nr) in add_sysfs_runtime_map_entry()
Desrt.c65 struct kobject kobj; member
80 static struct esre_entry *to_entry(struct kobject *kobj) in to_entry()
90 static ssize_t esre_attr_show(struct kobject *kobj, in esre_attr_show()
149 static void esre_release(struct kobject *kobj) in esre_release()
227 static umode_t esrt_attr_is_visible(struct kobject *kobj, in esrt_attr_is_visible()
Defivars.c350 static ssize_t efivar_attr_show(struct kobject *kobj, struct attribute *attr, in efivar_attr_show()
366 static ssize_t efivar_attr_store(struct kobject *kobj, struct attribute *attr, in efivar_attr_store()
387 static void efivar_release(struct kobject *kobj) in efivar_release()
414 static ssize_t efivar_create(struct file *filp, struct kobject *kobj, in efivar_create()
484 static ssize_t efivar_delete(struct file *filp, struct kobject *kobj, in efivar_delete()
Defi.c83 static ssize_t systab_show(struct kobject *kobj, in systab_show()
132 static ssize_t fw_platform_size_show(struct kobject *kobj, in fw_platform_size_show()
153 static umode_t efi_attr_is_visible(struct kobject *kobj, in efi_attr_is_visible()
/linux-4.4.14/drivers/pci/
Dpci-sysfs.c629 static ssize_t pci_read_config(struct file *filp, struct kobject *kobj, in pci_read_config()
706 static ssize_t pci_write_config(struct file *filp, struct kobject *kobj, in pci_write_config()
768 static ssize_t read_vpd_attr(struct file *filp, struct kobject *kobj, in read_vpd_attr()
783 static ssize_t write_vpd_attr(struct file *filp, struct kobject *kobj, in write_vpd_attr()
811 static ssize_t pci_read_legacy_io(struct file *filp, struct kobject *kobj, in pci_read_legacy_io()
837 static ssize_t pci_write_legacy_io(struct file *filp, struct kobject *kobj, in pci_write_legacy_io()
862 static int pci_mmap_legacy_mem(struct file *filp, struct kobject *kobj, in pci_mmap_legacy_mem()
883 static int pci_mmap_legacy_io(struct file *filp, struct kobject *kobj, in pci_mmap_legacy_io()
1000 static int pci_mmap_resource(struct kobject *kobj, struct bin_attribute *attr, in pci_mmap_resource()
1039 static int pci_mmap_resource_uc(struct file *filp, struct kobject *kobj, in pci_mmap_resource_uc()
[all …]
Dslot.c19 static ssize_t pci_slot_attr_show(struct kobject *kobj, in pci_slot_attr_show()
27 static ssize_t pci_slot_attr_store(struct kobject *kobj, in pci_slot_attr_store()
102 static void pci_slot_release(struct kobject *kobj) in pci_slot_release()
368 struct kobject *kobj = NULL; in pci_hp_create_module_link() local
Dpci-label.c74 static umode_t smbios_instance_string_exist(struct kobject *kobj, in smbios_instance_string_exist()
219 static umode_t acpi_index_string_exist(struct kobject *kobj, in acpi_index_string_exist()
/linux-4.4.14/net/batman-adv/
Dsysfs.c349 static ssize_t batadv_show_bat_algo(struct kobject *kobj, in batadv_show_bat_algo()
364 static ssize_t batadv_show_gw_mode(struct kobject *kobj, struct attribute *attr, in batadv_show_gw_mode()
388 static ssize_t batadv_store_gw_mode(struct kobject *kobj, in batadv_store_gw_mode()
456 static ssize_t batadv_show_gw_bwidth(struct kobject *kobj, in batadv_show_gw_bwidth()
469 static ssize_t batadv_store_gw_bwidth(struct kobject *kobj, in batadv_store_gw_bwidth()
490 static ssize_t batadv_show_isolation_mark(struct kobject *kobj, in batadv_show_isolation_mark()
509 static ssize_t batadv_store_isolation_mark(struct kobject *kobj, in batadv_store_isolation_mark()
747 static ssize_t batadv_show_mesh_iface(struct kobject *kobj, in batadv_show_mesh_iface()
771 static ssize_t batadv_store_mesh_iface(struct kobject *kobj, in batadv_store_mesh_iface()
828 static ssize_t batadv_show_iface_status(struct kobject *kobj, in batadv_show_iface_status()
/linux-4.4.14/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_sysfs.c268 static ssize_t qlcnic_sysfs_read_crb(struct file *filp, struct kobject *kobj, in qlcnic_sysfs_read_crb()
285 static ssize_t qlcnic_sysfs_write_crb(struct file *filp, struct kobject *kobj, in qlcnic_sysfs_write_crb()
314 static ssize_t qlcnic_sysfs_read_mem(struct file *filp, struct kobject *kobj, in qlcnic_sysfs_read_mem()
336 static ssize_t qlcnic_sysfs_write_mem(struct file *filp, struct kobject *kobj, in qlcnic_sysfs_write_mem()
400 struct kobject *kobj, in qlcnic_sysfs_write_pm_config()
450 struct kobject *kobj, in qlcnic_sysfs_read_pm_config()
543 struct kobject *kobj, in qlcnic_sysfs_write_esw_config()
627 struct kobject *kobj, in qlcnic_sysfs_read_esw_config()
679 struct kobject *kobj, in qlcnic_sysfs_write_npar_config()
726 struct kobject *kobj, in qlcnic_sysfs_read_npar_config()
[all …]
/linux-4.4.14/drivers/staging/rdma/hfi1/
Dsysfs.c64 static ssize_t read_cc_table_bin(struct file *filp, struct kobject *kobj, in read_cc_table_bin()
97 static void port_release(struct kobject *kobj) in port_release()
117 static ssize_t read_cc_setting_bin(struct file *filp, struct kobject *kobj, in read_cc_setting_bin()
236 static ssize_t sc2vl_attr_show(struct kobject *kobj, struct attribute *attr, in sc2vl_attr_show()
342 static ssize_t sl2sc_attr_show(struct kobject *kobj, struct attribute *attr, in sl2sc_attr_show()
416 static ssize_t vl2mtu_attr_show(struct kobject *kobj, struct attribute *attr, in vl2mtu_attr_show()
603 struct kobject *kobj) in hfi1_create_port_files()
/linux-4.4.14/arch/powerpc/platforms/powernv/
Dopal-flash.c154 static ssize_t validate_show(struct kobject *kobj, in validate_show()
194 static ssize_t validate_store(struct kobject *kobj, in validate_store()
239 static ssize_t manage_show(struct kobject *kobj, in manage_show()
256 static ssize_t manage_store(struct kobject *kobj, in manage_store()
350 static ssize_t update_show(struct kobject *kobj, in update_show()
362 static ssize_t update_store(struct kobject *kobj, in update_store()
464 static ssize_t image_data_write(struct file *filp, struct kobject *kobj, in image_data_write()
Dopal-elog.c25 struct kobject kobj; member
94 static ssize_t elog_attr_show(struct kobject *kobj, in elog_attr_show()
110 static ssize_t elog_attr_store(struct kobject *kobj, in elog_attr_store()
131 static void elog_release(struct kobject *kobj) in elog_release()
156 static ssize_t raw_attr_read(struct file *filep, struct kobject *kobj, in raw_attr_read()
Dopal-dump.c25 struct kobject kobj; member
158 static ssize_t dump_attr_show(struct kobject *kobj, in dump_attr_show()
174 static ssize_t dump_attr_store(struct kobject *kobj, in dump_attr_store()
195 static void dump_release(struct kobject *kobj) in dump_release()
283 static ssize_t dump_attr_read(struct file *filep, struct kobject *kobj, in dump_attr_read()
Dopal-sysparam.c114 static ssize_t sys_param_show(struct kobject *kobj, in sys_param_show()
135 static ssize_t sys_param_store(struct kobject *kobj, in sys_param_store()
Dopal-msglog.c34 static ssize_t opal_msglog_read(struct file *file, struct kobject *kobj, in opal_msglog_read()
/linux-4.4.14/drivers/staging/most/hdm-dim2/
Ddim2_sysfs.c46 static void bus_kobj_release(struct kobject *kobj) in bus_kobj_release()
50 static ssize_t bus_kobj_attr_show(struct kobject *kobj, struct attribute *attr, in bus_kobj_attr_show()
63 static ssize_t bus_kobj_attr_store(struct kobject *kobj, struct attribute *attr, in bus_kobj_attr_store()
/linux-4.4.14/drivers/platform/chrome/
Dcros_ec_vbc.c27 static ssize_t vboot_context_read(struct file *filp, struct kobject *kobj, in vboot_context_read()
68 static ssize_t vboot_context_write(struct file *filp, struct kobject *kobj, in vboot_context_write()
110 static umode_t cros_ec_vbc_is_visible(struct kobject *kobj, in cros_ec_vbc_is_visible()
/linux-4.4.14/drivers/infiniband/hw/qib/
Dqib_sysfs.c211 static ssize_t read_cc_table_bin(struct file *filp, struct kobject *kobj, in read_cc_table_bin()
241 static void qib_port_release(struct kobject *kobj) in qib_port_release()
261 static ssize_t read_cc_setting_bin(struct file *filp, struct kobject *kobj, in read_cc_setting_bin()
296 static ssize_t qib_portattr_show(struct kobject *kobj, in qib_portattr_show()
307 static ssize_t qib_portattr_store(struct kobject *kobj, in qib_portattr_store()
380 static ssize_t sl2vl_attr_show(struct kobject *kobj, struct attribute *attr, in sl2vl_attr_show()
452 static ssize_t diagc_attr_show(struct kobject *kobj, struct attribute *attr, in diagc_attr_show()
464 static ssize_t diagc_attr_store(struct kobject *kobj, struct attribute *attr, in diagc_attr_store()
679 struct kobject *kobj) in qib_create_port_files()
/linux-4.4.14/drivers/scsi/esas2r/
Desas2r_main.c60 static struct esas2r_adapter *esas2r_adapter_from_kobj(struct kobject *kobj) in esas2r_adapter_from_kobj()
68 static ssize_t read_fw(struct file *file, struct kobject *kobj, in read_fw()
77 static ssize_t write_fw(struct file *file, struct kobject *kobj, in write_fw()
86 static ssize_t read_fs(struct file *file, struct kobject *kobj, in read_fs()
95 static ssize_t write_fs(struct file *file, struct kobject *kobj, in write_fs()
111 static ssize_t read_vda(struct file *file, struct kobject *kobj, in read_vda()
120 static ssize_t write_vda(struct file *file, struct kobject *kobj, in write_vda()
129 static ssize_t read_live_nvram(struct file *file, struct kobject *kobj, in read_live_nvram()
140 static ssize_t write_live_nvram(struct file *file, struct kobject *kobj, in write_live_nvram()
160 static ssize_t read_default_nvram(struct file *file, struct kobject *kobj, in read_default_nvram()
[all …]
/linux-4.4.14/mm/
Dhuge_memory.c240 static ssize_t double_flag_show(struct kobject *kobj, in double_flag_show()
253 static ssize_t double_flag_store(struct kobject *kobj, in double_flag_store()
277 static ssize_t enabled_show(struct kobject *kobj, in enabled_show()
284 static ssize_t enabled_store(struct kobject *kobj, in enabled_store()
310 static ssize_t single_flag_show(struct kobject *kobj, in single_flag_show()
318 static ssize_t single_flag_store(struct kobject *kobj, in single_flag_store()
345 static ssize_t defrag_show(struct kobject *kobj, in defrag_show()
352 static ssize_t defrag_store(struct kobject *kobj, in defrag_store()
363 static ssize_t use_zero_page_show(struct kobject *kobj, in use_zero_page_show()
369 static ssize_t use_zero_page_store(struct kobject *kobj, in use_zero_page_store()
[all …]
Dksm.c2105 static ssize_t sleep_millisecs_show(struct kobject *kobj, in sleep_millisecs_show()
2111 static ssize_t sleep_millisecs_store(struct kobject *kobj, in sleep_millisecs_store()
2128 static ssize_t pages_to_scan_show(struct kobject *kobj, in pages_to_scan_show()
2134 static ssize_t pages_to_scan_store(struct kobject *kobj, in pages_to_scan_store()
2151 static ssize_t run_show(struct kobject *kobj, struct kobj_attribute *attr, in run_show()
2157 static ssize_t run_store(struct kobject *kobj, struct kobj_attribute *attr, in run_store()
2200 static ssize_t merge_across_nodes_show(struct kobject *kobj, in merge_across_nodes_show()
2206 static ssize_t merge_across_nodes_store(struct kobject *kobj, in merge_across_nodes_store()
2257 static ssize_t pages_shared_show(struct kobject *kobj, in pages_shared_show()
2264 static ssize_t pages_sharing_show(struct kobject *kobj, in pages_sharing_show()
[all …]
Dpage_idle.c115 static ssize_t page_idle_bitmap_read(struct file *file, struct kobject *kobj, in page_idle_bitmap_read()
160 static ssize_t page_idle_bitmap_write(struct file *file, struct kobject *kobj, in page_idle_bitmap_write()
Dhugetlb.c2231 static struct hstate *kobj_to_hstate(struct kobject *kobj, int *nidp) in kobj_to_hstate()
2245 static ssize_t nr_hugepages_show_common(struct kobject *kobj, in nr_hugepages_show_common()
2304 struct kobject *kobj, const char *buf, in nr_hugepages_store_common()
2320 static ssize_t nr_hugepages_show(struct kobject *kobj, in nr_hugepages_show()
2326 static ssize_t nr_hugepages_store(struct kobject *kobj, in nr_hugepages_store()
2339 static ssize_t nr_hugepages_mempolicy_show(struct kobject *kobj, in nr_hugepages_mempolicy_show()
2345 static ssize_t nr_hugepages_mempolicy_store(struct kobject *kobj, in nr_hugepages_mempolicy_store()
2354 static ssize_t nr_overcommit_hugepages_show(struct kobject *kobj, in nr_overcommit_hugepages_show()
2361 static ssize_t nr_overcommit_hugepages_store(struct kobject *kobj, in nr_overcommit_hugepages_store()
2383 static ssize_t free_hugepages_show(struct kobject *kobj, in free_hugepages_show()
[all …]
/linux-4.4.14/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()
/linux-4.4.14/drivers/staging/lustre/lustre/lmv/
Dlproc_lmv.c45 static ssize_t numobd_show(struct kobject *kobj, struct attribute *attr, in numobd_show()
80 static ssize_t placement_show(struct kobject *kobj, struct attribute *attr, in placement_show()
93 static ssize_t placement_store(struct kobject *kobj, struct attribute *attr, in placement_store()
124 static ssize_t activeobd_show(struct kobject *kobj, struct attribute *attr, in activeobd_show()
/linux-4.4.14/drivers/scsi/
Discsi_boot_sysfs.c40 static ssize_t iscsi_boot_show_attribute(struct kobject *kobj, in iscsi_boot_show_attribute()
62 static void iscsi_boot_kobj_release(struct kobject *kobj) in iscsi_boot_kobj_release()
115 static umode_t iscsi_boot_tgt_attr_is_visible(struct kobject *kobj, in iscsi_boot_tgt_attr_is_visible()
196 static umode_t iscsi_boot_eth_attr_is_visible(struct kobject *kobj, in iscsi_boot_eth_attr_is_visible()
268 static umode_t iscsi_boot_ini_attr_is_visible(struct kobject *kobj, in iscsi_boot_ini_attr_is_visible()
/linux-4.4.14/drivers/staging/lustre/lustre/mdc/
Dlproc_mdc.c43 static ssize_t max_rpcs_in_flight_show(struct kobject *kobj, in max_rpcs_in_flight_show()
59 static ssize_t max_rpcs_in_flight_store(struct kobject *kobj, in max_rpcs_in_flight_store()
175 static ssize_t max_pages_per_rpc_show(struct kobject *kobj, in max_pages_per_rpc_show()
/linux-4.4.14/drivers/md/
Ddm-sysfs.c21 static ssize_t dm_attr_show(struct kobject *kobj, struct attribute *attr, in dm_attr_show()
46 static ssize_t dm_attr_store(struct kobject *kobj, struct attribute *attr, in dm_attr_store()
141 struct kobject *kobj = dm_kobject(md); in dm_sysfs_exit() local
Ddm.h163 struct kobject kobj; member
167 static inline struct completion *dm_get_completion_from_kobject(struct kobject *kobj) in dm_get_completion_from_kobject()
Ddm-builtin.c43 void dm_kobject_release(struct kobject *kobj) in dm_kobject_release()
Ddm-uevent.h48 struct kobject *kobj) in dm_send_uevents()
Ddm-uevent.c134 void dm_send_uevents(struct list_head *events, struct kobject *kobj) in dm_send_uevents()
/linux-4.4.14/sound/hda/
Dhdac_sysfs.c95 static int get_codec_nid(struct kobject *kobj, struct hdac_device **codecp) in get_codec_nid()
108 static ssize_t widget_attr_show(struct kobject *kobj, struct attribute *attr, in widget_attr_show()
124 static ssize_t widget_attr_store(struct kobject *kobj, struct attribute *attr, in widget_attr_store()
145 static void widget_release(struct kobject *kobj) in widget_release()
310 static void free_widget_node(struct kobject *kobj, in free_widget_node()
341 struct kobject *kobj = kzalloc(sizeof(*kobj), GFP_KERNEL); in add_widget_node() local
/linux-4.4.14/arch/powerpc/platforms/pseries/
Dpower.c32 static ssize_t auto_poweron_show(struct kobject *kobj, in auto_poweron_show()
38 static ssize_t auto_poweron_store(struct kobject *kobj, in auto_poweron_store()
/linux-4.4.14/drivers/base/
Dcore.c113 static ssize_t dev_attr_show(struct kobject *kobj, struct attribute *attr, in dev_attr_show()
129 static ssize_t dev_attr_store(struct kobject *kobj, struct attribute *attr, in dev_attr_store()
226 static void device_release(struct kobject *kobj) in device_release()
255 static const void *device_namespace(struct kobject *kobj) in device_namespace()
273 static int dev_uevent_filter(struct kset *kset, struct kobject *kobj) in dev_uevent_filter()
287 static const char *dev_uevent_name(struct kset *kset, struct kobject *kobj) in dev_uevent_name()
298 static int dev_uevent(struct kset *kset, struct kobject *kobj, in dev_uevent()
729 struct kobject kobj; member
735 static void class_dir_release(struct kobject *kobj) in class_dir_release()
742 struct kobj_ns_type_operations *class_dir_child_ns_type(struct kobject *kobj) in class_dir_child_ns_type()
[all …]
Dclass.c26 static ssize_t class_attr_show(struct kobject *kobj, struct attribute *attr, in class_attr_show()
38 static ssize_t class_attr_store(struct kobject *kobj, struct attribute *attr, in class_attr_store()
50 static void class_release(struct kobject *kobj) in class_release()
66 static const struct kobj_ns_type_operations *class_child_ns_type(struct kobject *kobj) in class_child_ns_type()
500 struct kobject *kobj; member
Dbus.c55 static ssize_t drv_attr_show(struct kobject *kobj, struct attribute *attr, in drv_attr_show()
67 static ssize_t drv_attr_store(struct kobject *kobj, struct attribute *attr, in drv_attr_store()
84 static void driver_release(struct kobject *kobj) in driver_release()
100 static ssize_t bus_attr_show(struct kobject *kobj, struct attribute *attr, in bus_attr_show()
112 static ssize_t bus_attr_store(struct kobject *kobj, struct attribute *attr, in bus_attr_store()
150 static void bus_release(struct kobject *kobj) in bus_release()
165 static int bus_uevent_filter(struct kset *kset, struct kobject *kobj) in bus_uevent_filter()
Ddevcoredump.c88 static ssize_t devcd_data_read(struct file *filp, struct kobject *kobj, in devcd_data_read()
98 static ssize_t devcd_data_write(struct file *filp, struct kobject *kobj, in devcd_data_write()
Dsoc.c44 static umode_t soc_attribute_mode(struct kobject *kobj, in soc_attribute_mode()
Dmap.c97 struct kobject *kobj; in kobj_lookup() local
/linux-4.4.14/drivers/staging/lustre/lustre/ldlm/
Dldlm_resource.c155 static ssize_t resource_count_show(struct kobject *kobj, struct attribute *attr, in resource_count_show()
171 static ssize_t lock_count_show(struct kobject *kobj, struct attribute *attr, in lock_count_show()
184 static ssize_t lock_unused_count_show(struct kobject *kobj, in lock_unused_count_show()
195 static ssize_t lru_size_show(struct kobject *kobj, struct attribute *attr, in lru_size_show()
207 static ssize_t lru_size_store(struct kobject *kobj, struct attribute *attr, in lru_size_store()
292 static ssize_t lru_max_age_show(struct kobject *kobj, struct attribute *attr, in lru_max_age_show()
301 static ssize_t lru_max_age_store(struct kobject *kobj, struct attribute *attr, in lru_max_age_store()
319 static ssize_t early_lock_cancel_show(struct kobject *kobj, in early_lock_cancel_show()
329 static ssize_t early_lock_cancel_store(struct kobject *kobj, in early_lock_cancel_store()
362 static void ldlm_ns_release(struct kobject *kobj) in ldlm_ns_release()
/linux-4.4.14/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()
/linux-4.4.14/drivers/firmware/
Dmemmap.c44 struct kobject kobj; /* kobject for each entry */ member
101 to_memmap_entry(struct kobject *kobj) in to_memmap_entry()
106 static void __meminit release_firmware_map_entry(struct kobject *kobj) in release_firmware_map_entry()
399 static ssize_t memmap_attr_show(struct kobject *kobj, in memmap_attr_show()
Ddmi-sysfs.c34 struct kobject kobj; member
81 static void dmi_entry_free(struct kobject *kobj) in dmi_entry_free()
86 static struct dmi_sysfs_entry *to_entry(struct kobject *kobj) in to_entry()
96 static ssize_t dmi_sysfs_attr_show(struct kobject *kobj, in dmi_sysfs_attr_show()
213 static ssize_t dmi_entry_attr_show(struct kobject *kobj, in dmi_entry_attr_show()
428 static ssize_t dmi_sel_raw_read(struct file *filp, struct kobject *kobj, in dmi_sel_raw_read()
534 struct kobject *kobj, in dmi_entry_raw_read()
553 static void dmi_sysfs_entry_release(struct kobject *kobj) in dmi_sysfs_entry_release()
Ddell_rbu.c525 static ssize_t read_rbu_data(struct file *filp, struct kobject *kobj, in read_rbu_data()
579 static ssize_t read_rbu_image_type(struct file *filp, struct kobject *kobj, in read_rbu_image_type()
589 static ssize_t write_rbu_image_type(struct file *filp, struct kobject *kobj, in write_rbu_image_type()
650 static ssize_t read_rbu_packet_size(struct file *filp, struct kobject *kobj, in read_rbu_packet_size()
663 static ssize_t write_rbu_packet_size(struct file *filp, struct kobject *kobj, in write_rbu_packet_size()
Dedd.c60 struct kobject kobj; member
114 edd_attr_show(struct kobject * kobj, struct attribute *attr, char *buf) in edd_attr_show()
622 static void edd_release(struct kobject * kobj) in edd_release()
Ddcdbas.c152 static ssize_t smi_data_read(struct file *filp, struct kobject *kobj, in smi_data_read()
165 static ssize_t smi_data_write(struct file *filp, struct kobject *kobj, in smi_data_write()
/linux-4.4.14/drivers/acpi/
Dsysfs.c324 static ssize_t acpi_table_show(struct file *filp, struct kobject *kobj, in acpi_table_show()
578 static ssize_t counter_show(struct kobject *kobj, in counter_show()
622 static ssize_t counter_set(struct kobject *kobj, in counter_set()
789 static ssize_t hotplug_enabled_show(struct kobject *kobj, in hotplug_enabled_show()
797 static ssize_t hotplug_enabled_store(struct kobject *kobj, in hotplug_enabled_store()
845 static ssize_t force_remove_show(struct kobject *kobj, in force_remove_show()
851 static ssize_t force_remove_store(struct kobject *kobj, in force_remove_store()
Ddevice_sysfs.c68 static ssize_t acpi_data_node_attr_show(struct kobject *kobj, in acpi_data_node_attr_show()
81 static void acpi_data_node_release(struct kobject *kobj) in acpi_data_node_release()
93 static void acpi_expose_nondev_subnodes(struct kobject *kobj, in acpi_expose_nondev_subnodes()
Dbgrt.c54 static ssize_t image_read(struct file *file, struct kobject *kobj, in image_read()
/linux-4.4.14/arch/sh/kernel/cpu/sh4/
Dsq.c269 static ssize_t sq_sysfs_show(struct kobject *kobj, struct attribute *attr, in sq_sysfs_show()
280 static ssize_t sq_sysfs_store(struct kobject *kobj, struct attribute *attr, in sq_sysfs_store()
343 struct kobject *kobj; in sq_dev_add() local
361 struct kobject *kobj = sq_kobject[cpu]; in sq_dev_remove() local
/linux-4.4.14/drivers/gpu/drm/ttm/
Dttm_memory.c43 struct kobject kobj; member
74 static void ttm_mem_zone_kobj_release(struct kobject *kobj) in ttm_mem_zone_kobj_release()
84 static ssize_t ttm_mem_zone_show(struct kobject *kobj, in ttm_mem_zone_show()
111 static ssize_t ttm_mem_zone_store(struct kobject *kobj, in ttm_mem_zone_store()
169 static void ttm_mem_global_kobj_release(struct kobject *kobj) in ttm_mem_global_kobj_release()
Dttm_module.c60 struct kobject *kobj = &ttm_drm_class_device.kobj; in ttm_get_kobj() local
Dttm_page_alloc.c111 struct kobject kobj; member
146 static void ttm_pool_kobj_release(struct kobject *kobj) in ttm_pool_kobj_release()
153 static ssize_t ttm_pool_store(struct kobject *kobj, in ttm_pool_store()
187 static ssize_t ttm_pool_show(struct kobject *kobj, in ttm_pool_show()
Dttm_page_alloc_dma.c175 struct kobject kobj; member
200 static void ttm_pool_kobj_release(struct kobject *kobj) in ttm_pool_kobj_release()
207 static ssize_t ttm_pool_store(struct kobject *kobj, struct attribute *attr, in ttm_pool_store()
241 static ssize_t ttm_pool_show(struct kobject *kobj, struct attribute *attr, in ttm_pool_show()
/linux-4.4.14/drivers/scsi/qla2xxx/
Dqla_attr.c20 qla2x00_sysfs_read_fw_dump(struct file *filp, struct kobject *kobj, in qla2x00_sysfs_read_fw_dump()
53 qla2x00_sysfs_write_fw_dump(struct file *filp, struct kobject *kobj, in qla2x00_sysfs_write_fw_dump()
150 qla2x00_sysfs_read_fw_dump_template(struct file *filp, struct kobject *kobj, in qla2x00_sysfs_read_fw_dump_template()
168 qla2x00_sysfs_write_fw_dump_template(struct file *filp, struct kobject *kobj, in qla2x00_sysfs_write_fw_dump_template()
236 qla2x00_sysfs_read_nvram(struct file *filp, struct kobject *kobj, in qla2x00_sysfs_read_nvram()
255 qla2x00_sysfs_write_nvram(struct file *filp, struct kobject *kobj, in qla2x00_sysfs_write_nvram()
323 qla2x00_sysfs_read_optrom(struct file *filp, struct kobject *kobj, in qla2x00_sysfs_read_optrom()
344 qla2x00_sysfs_write_optrom(struct file *filp, struct kobject *kobj, in qla2x00_sysfs_write_optrom()
377 qla2x00_sysfs_write_optrom_ctl(struct file *filp, struct kobject *kobj, in qla2x00_sysfs_write_optrom_ctl()
558 qla2x00_sysfs_read_vpd(struct file *filp, struct kobject *kobj, in qla2x00_sysfs_read_vpd()
[all …]
/linux-4.4.14/drivers/gpu/drm/amd/amdkfd/
Dkfd_topology.c498 static ssize_t sysprops_show(struct kobject *kobj, struct attribute *attr, in sysprops_show()
530 static ssize_t iolink_show(struct kobject *kobj, struct attribute *attr, in iolink_show()
565 static ssize_t mem_show(struct kobject *kobj, struct attribute *attr, in mem_show()
592 static ssize_t kfd_cache_show(struct kobject *kobj, struct attribute *attr, in kfd_cache_show()
631 static ssize_t node_show(struct kobject *kobj, struct attribute *attr, in node_show()
753 static void kfd_remove_sysfs_file(struct kobject *kobj, struct attribute *attr) in kfd_remove_sysfs_file()
Dkfd_topology.h90 struct kobject *kobj; member
113 struct kobject *kobj; member
131 struct kobject *kobj; member
/linux-4.4.14/arch/mips/alchemy/devboards/
Dpm.c117 static ssize_t db1x_pmattr_show(struct kobject *kobj, in db1x_pmattr_show()
147 static ssize_t db1x_pmattr_store(struct kobject *kobj, in db1x_pmattr_store()
/linux-4.4.14/drivers/staging/lustre/lustre/ptlrpc/
Dlproc_ptlrpc.c329 static ssize_t threads_min_show(struct kobject *kobj, struct attribute *attr, in threads_min_show()
338 static ssize_t threads_min_store(struct kobject *kobj, struct attribute *attr, in threads_min_store()
366 static ssize_t threads_started_show(struct kobject *kobj, in threads_started_show()
383 static ssize_t threads_max_show(struct kobject *kobj, struct attribute *attr, in threads_max_show()
392 static ssize_t threads_max_store(struct kobject *kobj, struct attribute *attr, in threads_max_store()
996 static ssize_t high_priority_ratio_show(struct kobject *kobj, in high_priority_ratio_show()
1005 static ssize_t high_priority_ratio_store(struct kobject *kobj, in high_priority_ratio_store()
1038 static void ptlrpc_sysfs_svc_release(struct kobject *kobj) in ptlrpc_sysfs_svc_release()
/linux-4.4.14/block/
Dblk-mq-sysfs.c16 static void blk_mq_sysfs_release(struct kobject *kobj) in blk_mq_sysfs_release()
32 static ssize_t blk_mq_sysfs_show(struct kobject *kobj, struct attribute *attr, in blk_mq_sysfs_show()
55 static ssize_t blk_mq_sysfs_store(struct kobject *kobj, struct attribute *attr, in blk_mq_sysfs_store()
78 static ssize_t blk_mq_hw_sysfs_show(struct kobject *kobj, in blk_mq_hw_sysfs_show()
101 static ssize_t blk_mq_hw_sysfs_store(struct kobject *kobj, in blk_mq_hw_sysfs_store()
Dblk-sysfs.c513 queue_attr_show(struct kobject *kobj, struct attribute *attr, char *page) in queue_attr_show()
533 queue_attr_store(struct kobject *kobj, struct attribute *attr, in queue_attr_store()
576 static void blk_release_queue(struct kobject *kobj) in blk_release_queue()
Dblk-integrity.c245 static ssize_t integrity_attr_show(struct kobject *kobj, struct attribute *attr, in integrity_attr_show()
256 static ssize_t integrity_attr_store(struct kobject *kobj, in integrity_attr_store()
Delevator.c171 static void elevator_release(struct kobject *kobj) in elevator_release()
748 elv_attr_show(struct kobject *kobj, struct attribute *attr, char *page) in elv_attr_show()
765 elv_attr_store(struct kobject *kobj, struct attribute *attr, in elv_attr_store()
Dblk-mq.h25 struct kobject kobj; member
/linux-4.4.14/drivers/hid/
Dhid-roccat-pyra.c89 static ssize_t pyra_sysfs_read(struct file *fp, struct kobject *kobj, in pyra_sysfs_read()
115 static ssize_t pyra_sysfs_write(struct file *fp, struct kobject *kobj, in pyra_sysfs_write()
191 struct kobject *kobj, struct bin_attribute *attr, char *buf, in pyra_sysfs_read_profilex_settings()
210 struct kobject *kobj, struct bin_attribute *attr, char *buf, in pyra_sysfs_read_profilex_buttons()
248 struct kobject *kobj, struct bin_attribute *attr, char *buf, in pyra_sysfs_write_settings()
Dhid-roccat-arvo.c191 struct kobject *kobj, void const *buf, in arvo_sysfs_write()
211 struct kobject *kobj, void *buf, loff_t off, in arvo_sysfs_read()
234 struct kobject *kobj, struct bin_attribute *attr, char *buf, in arvo_sysfs_write_button()
244 struct kobject *kobj, struct bin_attribute *attr, char *buf, in arvo_sysfs_read_info()
Dhid-roccat-koneplus.c86 static ssize_t koneplus_sysfs_read(struct file *fp, struct kobject *kobj, in koneplus_sysfs_read()
112 static ssize_t koneplus_sysfs_write(struct file *fp, struct kobject *kobj, in koneplus_sysfs_write()
193 struct kobject *kobj, struct bin_attribute *attr, char *buf, in koneplus_sysfs_read_profilex_settings()
212 struct kobject *kobj, struct bin_attribute *attr, char *buf, in koneplus_sysfs_read_profilex_buttons()
Dhid-roccat-common.c133 ssize_t roccat_common2_sysfs_read(struct file *fp, struct kobject *kobj, in roccat_common2_sysfs_read()
157 ssize_t roccat_common2_sysfs_write(struct file *fp, struct kobject *kobj, in roccat_common2_sysfs_write()
Dhid-roccat-lua.c29 static ssize_t lua_sysfs_read(struct file *fp, struct kobject *kobj, in lua_sysfs_read()
51 static ssize_t lua_sysfs_write(struct file *fp, struct kobject *kobj, in lua_sysfs_write()
Dhid-roccat-kovaplus.c127 static ssize_t kovaplus_sysfs_read(struct file *fp, struct kobject *kobj, in kovaplus_sysfs_read()
153 static ssize_t kovaplus_sysfs_write(struct file *fp, struct kobject *kobj, in kovaplus_sysfs_write()
221 struct kobject *kobj, struct bin_attribute *attr, char *buf, in kovaplus_sysfs_read_profilex_settings()
240 struct kobject *kobj, struct bin_attribute *attr, char *buf, in kovaplus_sysfs_read_profilex_buttons()
Dhid-roccat-kone.c269 static ssize_t kone_sysfs_read_settings(struct file *fp, struct kobject *kobj, in kone_sysfs_read_settings()
294 static ssize_t kone_sysfs_write_settings(struct file *fp, struct kobject *kobj, in kone_sysfs_write_settings()
333 struct kobject *kobj, struct bin_attribute *attr, in kone_sysfs_read_profilex()
354 struct kobject *kobj, struct bin_attribute *attr, in kone_sysfs_write_profilex()
Dhid-roccat-isku.c120 static ssize_t isku_sysfs_read(struct file *fp, struct kobject *kobj, in isku_sysfs_read()
143 static ssize_t isku_sysfs_write(struct file *fp, struct kobject *kobj, in isku_sysfs_write()
/linux-4.4.14/drivers/misc/cxl/
Dsysfs.c385 static ssize_t afu_eb_read(struct file *filp, struct kobject *kobj, in afu_eb_read()
430 struct kobject kobj; member
441 static ssize_t vendor_show(struct kobject *kobj, in vendor_show()
449 static ssize_t device_show(struct kobject *kobj, in device_show()
457 static ssize_t class_show(struct kobject *kobj, in class_show()
465 static ssize_t afu_read_config(struct file *filp, struct kobject *kobj, in afu_read_config()
497 static void release_afu_config_record(struct kobject *kobj) in release_afu_config_record()
/linux-4.4.14/arch/powerpc/sysdev/
Dmv64x60_pci.c28 static ssize_t mv64x60_hs_reg_read(struct file *filp, struct kobject *kobj, in mv64x60_hs_reg_read()
49 static ssize_t mv64x60_hs_reg_write(struct file *filp, struct kobject *kobj, in mv64x60_hs_reg_write()
Dppc4xx_cpm.c138 static ssize_t cpm_idle_show(struct kobject *kobj, in cpm_idle_show()
156 static ssize_t cpm_idle_store(struct kobject *kobj, in cpm_idle_store()
/linux-4.4.14/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()
952 static ssize_t nilfs_dev_attr_show(struct kobject *kobj, in nilfs_dev_attr_show()
963 static ssize_t nilfs_dev_attr_store(struct kobject *kobj, in nilfs_dev_attr_store()
975 static void nilfs_dev_attr_release(struct kobject *kobj) in nilfs_dev_attr_release()
1072 static ssize_t nilfs_feature_revision_show(struct kobject *kobj, in nilfs_feature_revision_show()
1084 static ssize_t nilfs_feature_README_show(struct kobject *kobj, in nilfs_feature_README_show()
/linux-4.4.14/drivers/staging/lustre/lustre/obdclass/
Dlprocfs_status.c360 static ssize_t uuid_show(struct kobject *kobj, struct attribute *attr, in uuid_show()
370 static ssize_t blocksize_show(struct kobject *kobj, struct attribute *attr, in blocksize_show()
386 static ssize_t kbytestotal_show(struct kobject *kobj, struct attribute *attr, in kbytestotal_show()
409 static ssize_t kbytesfree_show(struct kobject *kobj, struct attribute *attr, in kbytesfree_show()
432 static ssize_t kbytesavail_show(struct kobject *kobj, struct attribute *attr, in kbytesavail_show()
455 static ssize_t filestotal_show(struct kobject *kobj, struct attribute *attr, in filestotal_show()
471 static ssize_t filesfree_show(struct kobject *kobj, struct attribute *attr, in filesfree_show()
895 static void obd_sysfs_release(struct kobject *kobj) in obd_sysfs_release()
1500 static ssize_t lustre_attr_show(struct kobject *kobj, in lustre_attr_show()
1508 static ssize_t lustre_attr_store(struct kobject *kobj, struct attribute *attr, in lustre_attr_store()
/linux-4.4.14/drivers/platform/mips/
Dcpu_hwmon.c106 static int create_sysfs_cputemp_files(struct kobject *kobj) in create_sysfs_cputemp_files()
130 static void remove_sysfs_cputemp_files(struct kobject *kobj) in remove_sysfs_cputemp_files()
/linux-4.4.14/drivers/i2c/
Di2c-slave-eeprom.c77 static ssize_t i2c_slave_eeprom_bin_read(struct file *filp, struct kobject *kobj, in i2c_slave_eeprom_bin_read()
92 static ssize_t i2c_slave_eeprom_bin_write(struct file *filp, struct kobject *kobj, in i2c_slave_eeprom_bin_write()
/linux-4.4.14/fs/
Dchar_dev.c325 struct kobject *kobj; in cdev_get() local
357 struct kobject *kobj; in chrdev_open() local
488 static void cdev_default_release(struct kobject *kobj) in cdev_default_release()
497 static void cdev_dynamic_release(struct kobject *kobj) in cdev_dynamic_release()
/linux-4.4.14/kernel/livepatch/
Dcore.c599 static ssize_t enabled_store(struct kobject *kobj, struct kobj_attribute *attr, in enabled_store()
642 static ssize_t enabled_show(struct kobject *kobj, in enabled_show()
657 static void klp_kobj_release_patch(struct kobject *kobj) in klp_kobj_release_patch()
671 static void klp_kobj_release_object(struct kobject *kobj) in klp_kobj_release_object()
680 static void klp_kobj_release_func(struct kobject *kobj) in klp_kobj_release_func()
/linux-4.4.14/drivers/uio/
Duio.c44 struct kobject kobj; member
95 static void map_release(struct kobject *kobj) in map_release()
101 static ssize_t map_type_show(struct kobject *kobj, struct attribute *attr, in map_type_show()
127 struct kobject kobj; member
183 static void portio_release(struct kobject *kobj) in portio_release()
189 static ssize_t portio_type_show(struct kobject *kobj, struct attribute *attr, in portio_type_show()
/linux-4.4.14/drivers/staging/most/mostcore/
Dcore.c48 struct kobject kobj; member
81 struct kobject kobj; member
133 static ssize_t channel_attr_show(struct kobject *kobj, struct attribute *attr, in channel_attr_show()
152 static ssize_t channel_attr_store(struct kobject *kobj, in channel_attr_store()
245 static void most_channel_release(struct kobject *kobj) in most_channel_release()
612 static ssize_t instance_attr_show(struct kobject *kobj, in instance_attr_show()
635 static ssize_t instance_attr_store(struct kobject *kobj, in instance_attr_store()
663 static void most_inst_release(struct kobject *kobj) in most_inst_release()
778 struct kobject kobj; member
814 static ssize_t aim_attr_show(struct kobject *kobj, in aim_attr_show()
[all …]
/linux-4.4.14/drivers/gpu/drm/
Ddrm_sysfs.c251 static ssize_t edid_show(struct file *filp, struct kobject *kobj, in edid_show()
422 static int kobj_connector_type(struct kobject *kobj) in kobj_connector_type()
430 static umode_t connector_is_dvii(struct kobject *kobj, in connector_is_dvii()
437 static umode_t connector_is_tv(struct kobject *kobj, in connector_is_tv()
/linux-4.4.14/drivers/misc/
Dds1682.c141 static ssize_t ds1682_eeprom_read(struct file *filp, struct kobject *kobj, in ds1682_eeprom_read()
159 static ssize_t ds1682_eeprom_write(struct file *filp, struct kobject *kobj, in ds1682_eeprom_write()
Dsram.c59 static ssize_t sram_read(struct file *filp, struct kobject *kobj, in sram_read()
74 static ssize_t sram_write(struct file *filp, struct kobject *kobj, in sram_write()
/linux-4.4.14/arch/arm/mach-omap1/
Dpm.c77 static ssize_t idle_show(struct kobject *kobj, struct kobj_attribute *attr, in idle_show()
83 static ssize_t idle_store(struct kobject *kobj, struct kobj_attribute *attr, in idle_store()
/linux-4.4.14/net/netfilter/
Dxt_IDLETIMER.c55 struct kobject *kobj; member
81 static ssize_t idletimer_tg_show(struct kobject *kobj, struct attribute *attr, in idletimer_tg_show()
/linux-4.4.14/arch/alpha/kernel/
Dpci-sysfs.c63 static int pci_mmap_resource(struct kobject *kobj, in pci_mmap_resource()
93 static int pci_mmap_resource_sparse(struct file *filp, struct kobject *kobj, in pci_mmap_resource_sparse()
100 static int pci_mmap_resource_dense(struct file *filp, struct kobject *kobj, in pci_mmap_resource_dense()
/linux-4.4.14/drivers/scsi/arcmsr/
Darcmsr_attr.c64 struct kobject *kobj, in arcmsr_sysfs_iop_message_read()
111 struct kobject *kobj, in arcmsr_sysfs_iop_message_write()
159 struct kobject *kobj, in arcmsr_sysfs_iop_message_clear()
/linux-4.4.14/drivers/staging/iio/accel/
Dadis16220_core.c159 static ssize_t adis16220_accel_bin_read(struct file *filp, struct kobject *kobj, in adis16220_accel_bin_read()
181 static ssize_t adis16220_adc1_bin_read(struct file *filp, struct kobject *kobj, in adis16220_adc1_bin_read()
202 static ssize_t adis16220_adc2_bin_read(struct file *filp, struct kobject *kobj, in adis16220_adc2_bin_read()
/linux-4.4.14/net/core/
Dnet-sysfs.c631 static ssize_t rx_queue_attr_show(struct kobject *kobj, struct attribute *attr, in rx_queue_attr_show()
643 static ssize_t rx_queue_attr_store(struct kobject *kobj, struct attribute *attr, in rx_queue_attr_store()
842 static void rx_queue_release(struct kobject *kobj) in rx_queue_release()
867 static const void *rx_queue_namespace(struct kobject *kobj) in rx_queue_namespace()
889 struct kobject *kobj = &queue->kobj; in rx_queue_add_kobject() local
962 static ssize_t netdev_queue_attr_show(struct kobject *kobj, in netdev_queue_attr_show()
974 static ssize_t netdev_queue_attr_store(struct kobject *kobj, in netdev_queue_attr_store()
1251 static void netdev_queue_release(struct kobject *kobj) in netdev_queue_release()
1259 static const void *netdev_queue_namespace(struct kobject *kobj) in netdev_queue_namespace()
1281 struct kobject *kobj = &queue->kobj; in netdev_queue_add_kobject() local
/linux-4.4.14/drivers/fmc/
Dfmc-core.c81 static ssize_t fmc_read_eeprom(struct file *file, struct kobject *kobj, in fmc_read_eeprom()
102 static ssize_t fmc_write_eeprom(struct file *file, struct kobject *kobj, in fmc_write_eeprom()
/linux-4.4.14/drivers/gpu/drm/i915/
Di915_sysfs.c162 i915_l3_read(struct file *filp, struct kobject *kobj, in i915_l3_read()
198 i915_l3_write(struct file *filp, struct kobject *kobj, in i915_l3_write()
518 static ssize_t error_state_read(struct file *filp, struct kobject *kobj, in error_state_read()
554 static ssize_t error_state_write(struct file *file, struct kobject *kobj, in error_state_write()
/linux-4.4.14/fs/ocfs2/cluster/
Dsys.c38 static ssize_t version_show(struct kobject *kobj, struct kobj_attribute *attr, in version_show()
/linux-4.4.14/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()
/linux-4.4.14/arch/ia64/kernel/
Dtopology.c129 struct kobject kobj; member
135 struct kobject kobj; member
276 static ssize_t ia64_cache_show(struct kobject * kobj, struct attribute * attr, char * buf) in ia64_cache_show()
/linux-4.4.14/arch/powerpc/kernel/
Dfadump.c1096 static ssize_t fadump_release_memory_store(struct kobject *kobj, in fadump_release_memory_store()
1116 static ssize_t fadump_enabled_show(struct kobject *kobj, in fadump_enabled_show()
1123 static ssize_t fadump_register_show(struct kobject *kobj, in fadump_register_show()
1130 static ssize_t fadump_register_store(struct kobject *kobj, in fadump_register_store()
Dcacheinfo.c31 struct kobject *kobj; /* bare (not embedded) kobject for cache member
41 struct kobject kobj; member
482 struct kobject *kobj = NULL; in cacheinfo_create_cache_dir() local
509 static void cache_index_release(struct kobject *kobj) in cache_index_release()
/linux-4.4.14/arch/x86/include/asm/
Damd_nb.h37 struct kobject kobj; member
42 struct kobject *kobj; member
/linux-4.4.14/fs/ext4/
Dsysfs.c251 static ssize_t ext4_attr_show(struct kobject *kobj, in ext4_attr_show()
290 static ssize_t ext4_attr_store(struct kobject *kobj, in ext4_attr_store()
320 static void ext4_sb_release(struct kobject *kobj) in ext4_sb_release()
/linux-4.4.14/arch/arm/common/
DbL_switcher.c674 static ssize_t bL_switcher_active_show(struct kobject *kobj, in bL_switcher_active_show()
680 static ssize_t bL_switcher_active_store(struct kobject *kobj, in bL_switcher_active_store()
700 static ssize_t bL_switcher_trace_trigger_store(struct kobject *kobj, in bL_switcher_trace_trigger_store()
/linux-4.4.14/drivers/misc/eeprom/
Deeprom_93xx46.c37 eeprom_93xx46_bin_read(struct file *filp, struct kobject *kobj, in eeprom_93xx46_bin_read()
185 eeprom_93xx46_bin_write(struct file *filp, struct kobject *kobj, in eeprom_93xx46_bin_write()
Dat25.c135 at25_bin_read(struct file *filp, struct kobject *kobj, in at25_bin_read()
269 at25_bin_write(struct file *filp, struct kobject *kobj, in at25_bin_write()
Dat24.c286 static ssize_t at24_bin_read(struct file *filp, struct kobject *kobj, in at24_bin_read()
417 static ssize_t at24_bin_write(struct file *filp, struct kobject *kobj, in at24_bin_write()
Deeprom.c83 static ssize_t eeprom_read(struct file *filp, struct kobject *kobj, in eeprom_read()
Dmax6875.c109 static ssize_t max6875_read(struct file *filp, struct kobject *kobj, in max6875_read()
/linux-4.4.14/drivers/rapidio/
Drio-sysfs.c124 rio_read_config(struct file *filp, struct kobject *kobj, in rio_read_config()
196 rio_write_config(struct file *filp, struct kobject *kobj, in rio_write_config()
/linux-4.4.14/drivers/rtc/
Drtc-rp5c01.c163 static ssize_t rp5c01_nvram_read(struct file *filp, struct kobject *kobj, in rp5c01_nvram_read()
193 static ssize_t rp5c01_nvram_write(struct file *filp, struct kobject *kobj, in rp5c01_nvram_write()
Drtc-tx4939.c192 static ssize_t tx4939_rtc_nvram_read(struct file *filp, struct kobject *kobj, in tx4939_rtc_nvram_read()
210 static ssize_t tx4939_rtc_nvram_write(struct file *filp, struct kobject *kobj, in tx4939_rtc_nvram_write()
Drtc-ds1742.c127 static ssize_t ds1742_nvram_read(struct file *filp, struct kobject *kobj, in ds1742_nvram_read()
142 static ssize_t ds1742_nvram_write(struct file *filp, struct kobject *kobj, in ds1742_nvram_write()
Drtc-ds1553.c238 static ssize_t ds1553_nvram_read(struct file *filp, struct kobject *kobj, in ds1553_nvram_read()
253 static ssize_t ds1553_nvram_write(struct file *filp, struct kobject *kobj, in ds1553_nvram_write()
Drtc-rv8803.c378 static ssize_t rv8803_nvram_write(struct file *filp, struct kobject *kobj, in rv8803_nvram_write()
393 static ssize_t rv8803_nvram_read(struct file *filp, struct kobject *kobj, in rv8803_nvram_read()
Drtc-m48t59.c337 static ssize_t m48t59_nvram_read(struct file *filp, struct kobject *kobj, in m48t59_nvram_read()
358 static ssize_t m48t59_nvram_write(struct file *filp, struct kobject *kobj, in m48t59_nvram_write()
Drtc-stk17ta8.c247 static ssize_t stk17ta8_nvram_read(struct file *filp, struct kobject *kobj, in stk17ta8_nvram_read()
262 static ssize_t stk17ta8_nvram_write(struct file *filp, struct kobject *kobj, in stk17ta8_nvram_write()
Drtc-ds1305.c529 ds1305_nvram_read(struct file *filp, struct kobject *kobj, in ds1305_nvram_read()
551 ds1305_nvram_write(struct file *filp, struct kobject *kobj, in ds1305_nvram_write()
Drtc-ds1511.c404 ds1511_nvram_read(struct file *filp, struct kobject *kobj, in ds1511_nvram_read()
418 ds1511_nvram_write(struct file *filp, struct kobject *kobj, in ds1511_nvram_write()
/linux-4.4.14/drivers/infiniband/hw/mlx4/
Dsysfs.c368 struct kobject kobj; member
379 static void mlx4_port_release(struct kobject *kobj) in mlx4_port_release()
401 static ssize_t port_attr_show(struct kobject *kobj, in port_attr_show()
413 static ssize_t port_attr_store(struct kobject *kobj, in port_attr_store()
/linux-4.4.14/drivers/of/
Dof_private.h39 static inline struct device_node *kobj_to_device_node(struct kobject *kobj) in kobj_to_device_node()
/linux-4.4.14/drivers/video/fbdev/omap2/dss/
Ddisplay-sysfs.c280 static ssize_t display_attr_show(struct kobject *kobj, struct attribute *attr, in display_attr_show()
295 static ssize_t display_attr_store(struct kobject *kobj, struct attribute *attr, in display_attr_store()
Doverlay-sysfs.c405 static ssize_t overlay_attr_show(struct kobject *kobj, struct attribute *attr, in overlay_attr_show()
420 static ssize_t overlay_attr_store(struct kobject *kobj, struct attribute *attr, in overlay_attr_store()
Dmanager-sysfs.c478 static ssize_t manager_attr_show(struct kobject *kobj, struct attribute *attr, in manager_attr_show()
493 static ssize_t manager_attr_store(struct kobject *kobj, struct attribute *attr, in manager_attr_store()
/linux-4.4.14/net/bridge/
Dbr_sysfs_if.c226 static ssize_t brport_show(struct kobject *kobj, in brport_show()
235 static ssize_t brport_store(struct kobject *kobj, in brport_store()
/linux-4.4.14/fs/gfs2/
Dsys.c38 static ssize_t gfs2_attr_show(struct kobject *kobj, struct attribute *attr, in gfs2_attr_show()
46 static ssize_t gfs2_attr_store(struct kobject *kobj, struct attribute *attr, in gfs2_attr_store()
313 static void gfs2_sbd_release(struct kobject *kobj) in gfs2_sbd_release()
709 static int gfs2_uevent(struct kset *kset, struct kobject *kobj, in gfs2_uevent()
/linux-4.4.14/fs/dlm/
Dlockspace.c162 static ssize_t dlm_attr_show(struct kobject *kobj, struct attribute *attr, in dlm_attr_show()
170 static ssize_t dlm_attr_store(struct kobject *kobj, struct attribute *attr, in dlm_attr_store()
227 static int dlm_uevent(struct kset *kset, struct kobject *kobj, in dlm_uevent()
/linux-4.4.14/drivers/hwmon/
Dnct7904.c176 static umode_t nct7904_fanin_is_visible(struct kobject *kobj, in nct7904_fanin_is_visible()
258 static umode_t nct7904_vsen_is_visible(struct kobject *kobj, in nct7904_vsen_is_visible()
344 static umode_t nct7904_tcpu_is_visible(struct kobject *kobj, in nct7904_tcpu_is_visible()
Dmax16065.c518 static umode_t max16065_basic_is_visible(struct kobject *kobj, in max16065_basic_is_visible()
530 static umode_t max16065_secondary_is_visible(struct kobject *kobj, in max16065_secondary_is_visible()
Dk10temp.c118 static umode_t k10temp_is_visible(struct kobject *kobj, in k10temp_is_visible()
Dvexpress.c75 static umode_t vexpress_hwmon_attr_is_visible(struct kobject *kobj, in vexpress_hwmon_attr_is_visible()
Dnct7802.c667 static umode_t nct7802_temp_is_visible(struct kobject *kobj, in nct7802_temp_is_visible()
778 static umode_t nct7802_in_is_visible(struct kobject *kobj, in nct7802_in_is_visible()
865 static umode_t nct7802_fan_is_visible(struct kobject *kobj, in nct7802_fan_is_visible()
/linux-4.4.14/drivers/cpufreq/
Dcpufreq.c476 static ssize_t show_boost(struct kobject *kobj, in show_boost()
482 static ssize_t store_boost(struct kobject *kobj, struct attribute *attr, in store_boost()
814 static ssize_t show(struct kobject *kobj, struct attribute *attr, char *buf) in show()
832 static ssize_t store(struct kobject *kobj, struct attribute *attr, in store()
858 static void cpufreq_sysfs_release(struct kobject *kobj) in cpufreq_sysfs_release()
1069 struct kobject *kobj; in cpufreq_policy_put_kobj() local
/linux-4.4.14/arch/s390/pci/
Dpci_sysfs.c68 static ssize_t util_string_read(struct file *filp, struct kobject *kobj, in util_string_read()
/linux-4.4.14/arch/arm/mach-orion5x/
Dts78xx-setup.c508 static ssize_t ts78xx_fpga_show(struct kobject *kobj, in ts78xx_fpga_show()
517 static ssize_t ts78xx_fpga_store(struct kobject *kobj, in ts78xx_fpga_store()
/linux-4.4.14/drivers/staging/lustre/lustre/lov/
Dlproc_lov.c173 static ssize_t numobd_show(struct kobject *kobj, struct attribute *attr, in numobd_show()
185 static ssize_t activeobd_show(struct kobject *kobj, struct attribute *attr, in activeobd_show()
/linux-4.4.14/drivers/power/
Dds2780_battery.c632 struct kobject *kobj, in ds2780_read_param_eeprom_bin()
645 struct kobject *kobj, in ds2780_write_param_eeprom_bin()
677 struct kobject *kobj, in ds2780_read_user_eeprom_bin()
690 struct kobject *kobj, in ds2780_write_user_eeprom_bin()
Dds2781_battery.c634 struct kobject *kobj, in ds2781_read_param_eeprom_bin()
647 struct kobject *kobj, in ds2781_write_param_eeprom_bin()
679 struct kobject *kobj, in ds2781_read_user_eeprom_bin()
693 struct kobject *kobj, in ds2781_write_user_eeprom_bin()
Dpower_supply_sysfs.c209 static umode_t power_supply_attr_is_visible(struct kobject *kobj, in power_supply_attr_is_visible()
/linux-4.4.14/drivers/zorro/
Dzorro-sysfs.c64 static ssize_t zorro_read_config(struct file *filp, struct kobject *kobj, in zorro_read_config()
/linux-4.4.14/include/drm/ttm/
Dttm_memory.h78 struct kobject kobj; member
/linux-4.4.14/drivers/scsi/qla4xxx/
Dql4_attr.c13 qla4_8xxx_sysfs_read_fw_dump(struct file *filep, struct kobject *kobj, in qla4_8xxx_sysfs_read_fw_dump()
31 qla4_8xxx_sysfs_write_fw_dump(struct file *filep, struct kobject *kobj, in qla4_8xxx_sysfs_write_fw_dump()
/linux-4.4.14/drivers/net/wireless/ti/wlcore/
Dsysfs.c109 static ssize_t wl1271_sysfs_read_fwlog(struct file *filp, struct kobject *kobj, in wl1271_sysfs_read_fwlog()
/linux-4.4.14/drivers/infiniband/core/
Dsysfs.c44 struct kobject kobj; member
70 static ssize_t port_attr_show(struct kobject *kobj, in port_attr_show()
431 static void ib_port_release(struct kobject *kobj) in ib_port_release()
/linux-4.4.14/drivers/staging/most/hdm-usb/
Dhdm_usb.c89 struct kobject kobj; member
999 static ssize_t dci_attr_show(struct kobject *kobj, struct attribute *attr, in dci_attr_show()
1018 static ssize_t dci_attr_store(struct kobject *kobj, in dci_attr_store()
1043 static void most_dci_release(struct kobject *kobj) in most_dci_release()
/linux-4.4.14/drivers/dma/ioat/
Dsysfs.c54 ioat_attr_show(struct kobject *kobj, struct attribute *attr, char *page) in ioat_attr_show()
/linux-4.4.14/drivers/firmware/google/
Dgsmi.c469 static ssize_t eventlog_write(struct file *filp, struct kobject *kobj, in eventlog_write()
516 static ssize_t gsmi_clear_eventlog_store(struct kobject *kobj, in gsmi_clear_eventlog_store()
563 static ssize_t gsmi_clear_config_store(struct kobject *kobj, in gsmi_clear_config_store()
/linux-4.4.14/drivers/soc/tegra/fuse/
Dfuse-tegra.c55 static ssize_t fuse_read(struct file *fd, struct kobject *kobj, in fuse_read()
/linux-4.4.14/drivers/net/phy/
Dspi_ks8995.c212 static ssize_t ks8995_registers_read(struct file *filp, struct kobject *kobj, in ks8995_registers_read()
224 static ssize_t ks8995_registers_write(struct file *filp, struct kobject *kobj, in ks8995_registers_write()
/linux-4.4.14/drivers/md/bcache/
Dsuper.c1044 void bch_cached_dev_release(struct kobject *kobj) in bch_cached_dev_release()
1187 void bch_flash_dev_release(struct kobject *kobj) in bch_flash_dev_release()
1316 void bch_cache_set_release(struct kobject *kobj) in bch_cache_set_release()
1776 void bch_cache_release(struct kobject *kobj) in bch_cache_release()
Dstats.h15 struct kobject kobj; member
/linux-4.4.14/drivers/sfi/
Dsfi_acpi.c175 static ssize_t sfi_acpi_table_show(struct file *filp, struct kobject *kobj, in sfi_acpi_table_show()
/linux-4.4.14/drivers/infiniband/hw/usnic/
Dusnic_ib_qp_grp.h65 struct kobject kobj; member
/linux-4.4.14/drivers/net/bonding/
Dbond_sysfs_slave.c128 static ssize_t slave_show(struct kobject *kobj, in slave_show()
/linux-4.4.14/fs/f2fs/
Dsuper.c164 static ssize_t f2fs_attr_show(struct kobject *kobj, in f2fs_attr_show()
174 static ssize_t f2fs_attr_store(struct kobject *kobj, struct attribute *attr, in f2fs_attr_store()
184 static void f2fs_sb_release(struct kobject *kobj) in f2fs_sb_release()
/linux-4.4.14/drivers/iommu/
Diommu.c45 struct kobject kobj; member
89 static ssize_t iommu_group_attr_show(struct kobject *kobj, in iommu_group_attr_show()
101 static ssize_t iommu_group_attr_store(struct kobject *kobj, in iommu_group_attr_store()
138 static void iommu_group_release(struct kobject *kobj) in iommu_group_release()

12