Home
last modified time | relevance | path

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

12345678910>>...12

/drivers/staging/lustre/lustre/osc/
Dlproc_osc.c41 static ssize_t active_show(struct kobject *kobj, struct attribute *attr, in active_show()
50 static ssize_t active_store(struct kobject *kobj, struct attribute *attr, in active_store()
76 static ssize_t max_rpcs_in_flight_show(struct kobject *kobj, in max_rpcs_in_flight_show()
87 static ssize_t max_rpcs_in_flight_store(struct kobject *kobj, in max_rpcs_in_flight_store()
129 static ssize_t max_dirty_mb_show(struct kobject *kobj, in max_dirty_mb_show()
147 static ssize_t max_dirty_mb_store(struct kobject *kobj, in max_dirty_mb_store()
246 static ssize_t cur_dirty_bytes_show(struct kobject *kobj, in cur_dirty_bytes_show()
263 static ssize_t cur_grant_bytes_show(struct kobject *kobj, in cur_grant_bytes_show()
279 static ssize_t cur_grant_bytes_store(struct kobject *kobj, in cur_grant_bytes_store()
310 static ssize_t cur_lost_grant_bytes_show(struct kobject *kobj, in cur_lost_grant_bytes_show()
[all …]
/drivers/staging/lustre/lustre/llite/
Dlproc_llite.c46 static ssize_t blocksize_show(struct kobject *kobj, struct attribute *attr, in blocksize_show()
64 static ssize_t kbytestotal_show(struct kobject *kobj, struct attribute *attr, in kbytestotal_show()
89 static ssize_t kbytesfree_show(struct kobject *kobj, struct attribute *attr, in kbytesfree_show()
114 static ssize_t kbytesavail_show(struct kobject *kobj, struct attribute *attr, in kbytesavail_show()
139 static ssize_t filestotal_show(struct kobject *kobj, struct attribute *attr, in filestotal_show()
157 static ssize_t filesfree_show(struct kobject *kobj, struct attribute *attr, in filesfree_show()
175 static ssize_t client_type_show(struct kobject *kobj, struct attribute *attr, in client_type_show()
182 static ssize_t fstype_show(struct kobject *kobj, struct attribute *attr, in fstype_show()
192 static ssize_t uuid_show(struct kobject *kobj, struct attribute *attr, in uuid_show()
215 static ssize_t max_read_ahead_mb_show(struct kobject *kobj, in max_read_ahead_mb_show()
[all …]
/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 …]
/drivers/w1/slaves/
Dw1_ds2408.c69 static ssize_t state_read(struct file *filp, struct kobject *kobj, in state_read()
81 static ssize_t output_read(struct file *filp, struct kobject *kobj, in output_read()
94 static ssize_t activity_read(struct file *filp, struct kobject *kobj, in activity_read()
107 static ssize_t cond_search_mask_read(struct file *filp, struct kobject *kobj, in cond_search_mask_read()
121 struct kobject *kobj, in cond_search_polarity_read()
131 static ssize_t status_control_read(struct file *filp, struct kobject *kobj, in status_control_read()
141 static ssize_t output_write(struct file *filp, struct kobject *kobj, in output_write()
212 static ssize_t activity_write(struct file *filp, struct kobject *kobj, in activity_write()
242 static ssize_t status_control_write(struct file *filp, struct kobject *kobj, in status_control_write()
Dw1_ds2438.c257 static ssize_t iad_write(struct file *filp, struct kobject *kobj, in iad_write()
279 static ssize_t iad_read(struct file *filp, struct kobject *kobj, in iad_read()
300 static ssize_t page0_read(struct file *filp, struct kobject *kobj, in page0_read()
330 static ssize_t temperature_read(struct file *filp, struct kobject *kobj, in temperature_read()
351 static ssize_t vad_read(struct file *filp, struct kobject *kobj, in vad_read()
372 static ssize_t vdd_read(struct file *filp, struct kobject *kobj, in vdd_read()
/drivers/staging/lustre/lustre/mdc/
Dlproc_mdc.c39 static ssize_t active_show(struct kobject *kobj, struct attribute *attr, in active_show()
48 static ssize_t active_store(struct kobject *kobj, struct attribute *attr, in active_store()
75 static ssize_t max_rpcs_in_flight_show(struct kobject *kobj, in max_rpcs_in_flight_show()
90 static ssize_t max_rpcs_in_flight_store(struct kobject *kobj, in max_rpcs_in_flight_store()
112 static ssize_t max_mod_rpcs_in_flight_show(struct kobject *kobj, in max_mod_rpcs_in_flight_show()
127 static ssize_t max_mod_rpcs_in_flight_store(struct kobject *kobj, in max_mod_rpcs_in_flight_store()
184 static ssize_t max_pages_per_rpc_show(struct kobject *kobj, in max_pages_per_rpc_show()
/drivers/staging/greybus/
Daudio_manager_sysfs.c16 struct kobject *kobj, struct kobj_attribute *attr, in manager_sysfs_add_store()
41 struct kobject *kobj, struct kobj_attribute *attr, in manager_sysfs_remove_store()
62 struct kobject *kobj, struct kobj_attribute *attr, in manager_sysfs_dump_store()
86 struct kobject *kobj, struct kobj_attribute *kattr) in manager_sysfs_init_attribute()
97 void gb_audio_manager_sysfs_init(struct kobject *kobj) in gb_audio_manager_sysfs_init()
/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()
438 static ssize_t version_show(struct kobject *kobj, struct kobj_attribute *attr, in version_show()
454 static ssize_t punc_show(struct kobject *kobj, struct kobj_attribute *attr, in punc_show()
[all …]
/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 …]
/drivers/staging/lustre/lustre/obdclass/linux/
Dlinux-module.c278 static ssize_t version_show(struct kobject *kobj, struct attribute *attr, in version_show()
284 static ssize_t pinger_show(struct kobject *kobj, struct attribute *attr, in pinger_show()
291 health_check_show(struct kobject *kobj, struct attribute *attr, char *buf) in health_check_show()
330 static ssize_t jobid_var_show(struct kobject *kobj, struct attribute *attr, in jobid_var_show()
336 static ssize_t jobid_var_store(struct kobject *kobj, struct attribute *attr, in jobid_var_store()
354 static ssize_t jobid_name_show(struct kobject *kobj, struct attribute *attr, in jobid_name_show()
360 static ssize_t jobid_name_store(struct kobject *kobj, struct attribute *attr, in jobid_name_store()
Dlinux-sysctl.c61 static ssize_t static_uintvalue_show(struct kobject *kobj, in static_uintvalue_show()
70 static ssize_t static_uintvalue_store(struct kobject *kobj, in static_uintvalue_store()
96 static ssize_t max_dirty_mb_show(struct kobject *kobj, struct attribute *attr, in max_dirty_mb_show()
103 static ssize_t max_dirty_mb_store(struct kobject *kobj, struct attribute *attr, in max_dirty_mb_store()
/drivers/s390/char/
Dsclp_cpi_sys.c220 static ssize_t system_name_show(struct kobject *kobj, in system_name_show()
231 static ssize_t system_name_store(struct kobject *kobj, in system_name_store()
252 static ssize_t sysplex_name_show(struct kobject *kobj, in sysplex_name_show()
263 static ssize_t sysplex_name_store(struct kobject *kobj, in sysplex_name_store()
284 static ssize_t system_type_show(struct kobject *kobj, in system_type_show()
295 static ssize_t system_type_store(struct kobject *kobj, in system_type_store()
316 static ssize_t system_level_show(struct kobject *kobj, in system_level_show()
327 static ssize_t system_level_store(struct kobject *kobj, in system_level_store()
353 static ssize_t set_store(struct kobject *kobj, in set_store()
/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()
324 static void edac_device_ctrl_instance_release(struct kobject *kobj) in edac_device_ctrl_instance_release()
345 static ssize_t edac_dev_instance_show(struct kobject *kobj, in edac_dev_instance_show()
357 static ssize_t edac_dev_instance_store(struct kobject *kobj, in edac_dev_instance_store()
413 static ssize_t block_ue_count_show(struct kobject *kobj, in block_ue_count_show()
421 static ssize_t block_ce_count_show(struct kobject *kobj, in block_ce_count_show()
430 static void edac_device_ctrl_block_release(struct kobject *kobj) in edac_device_ctrl_block_release()
447 static ssize_t edac_dev_block_show(struct kobject *kobj, in edac_dev_block_show()
[all …]
/drivers/firmware/efi/
Druntime-map.c19 struct kobject kobj; /* kobject for each entry */ member
52 static inline struct efi_runtime_map_entry *to_map_entry(struct kobject *kobj) in to_map_entry()
57 static ssize_t map_attr_show(struct kobject *kobj, struct attribute *attr, in map_attr_show()
88 static void map_release(struct kobject *kobj) in map_release()
105 add_sysfs_runtime_map_entry(struct kobject *kobj, int nr, in add_sysfs_runtime_map_entry()
/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()
/drivers/infiniband/hw/hfi1/
Dsysfs.c60 static ssize_t read_cc_table_bin(struct file *filp, struct kobject *kobj, in read_cc_table_bin()
93 static void port_release(struct kobject *kobj) in port_release()
109 static ssize_t read_cc_setting_bin(struct file *filp, struct kobject *kobj, in read_cc_setting_bin()
171 static ssize_t cc_attr_show(struct kobject *kobj, struct attribute *attr, in cc_attr_show()
182 static ssize_t cc_attr_store(struct kobject *kobj, struct attribute *attr, in cc_attr_store()
290 static ssize_t sc2vl_attr_show(struct kobject *kobj, struct attribute *attr, in sc2vl_attr_show()
395 static ssize_t sl2sc_attr_show(struct kobject *kobj, struct attribute *attr, in sl2sc_attr_show()
469 static ssize_t vl2mtu_attr_show(struct kobject *kobj, struct attribute *attr, in vl2mtu_attr_show()
653 struct kobject *kobj) in hfi1_create_port_files()
751 static ssize_t sde_show(struct kobject *kobj, struct attribute *attr, char *buf) in sde_show()
[all …]
/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 …]
/drivers/pci/
Dpci-sysfs.c810 static ssize_t pci_read_config(struct file *filp, struct kobject *kobj, in pci_read_config()
886 static ssize_t pci_write_config(struct file *filp, struct kobject *kobj, in pci_write_config()
947 static ssize_t read_vpd_attr(struct file *filp, struct kobject *kobj, in read_vpd_attr()
963 static ssize_t write_vpd_attr(struct file *filp, struct kobject *kobj, in write_vpd_attr()
992 static ssize_t pci_read_legacy_io(struct file *filp, struct kobject *kobj, in pci_read_legacy_io()
1017 static ssize_t pci_write_legacy_io(struct file *filp, struct kobject *kobj, in pci_write_legacy_io()
1041 static int pci_mmap_legacy_mem(struct file *filp, struct kobject *kobj, in pci_mmap_legacy_mem()
1061 static int pci_mmap_legacy_io(struct file *filp, struct kobject *kobj, in pci_mmap_legacy_io()
1181 static int pci_mmap_resource(struct kobject *kobj, struct bin_attribute *attr, in pci_mmap_resource()
1205 static int pci_mmap_resource_uc(struct file *filp, struct kobject *kobj, in pci_mmap_resource_uc()
[all …]
/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 …]
/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()
198 static umode_t iscsi_boot_eth_attr_is_visible(struct kobject *kobj, in iscsi_boot_eth_attr_is_visible()
273 static umode_t iscsi_boot_ini_attr_is_visible(struct kobject *kobj, in iscsi_boot_ini_attr_is_visible()
322 static umode_t iscsi_boot_acpitbl_attr_is_visible(struct kobject *kobj, in iscsi_boot_acpitbl_attr_is_visible()
/drivers/cpufreq/
Dgoldfish_cpufreq_stats.c23 static ssize_t time_in_state_show(struct kobject *kobj, in time_in_state_show()
47 struct kobject **kobj = &per_cpu(cpufreq_kobj, cpu); in cpufreq_stats_free() local
58 struct kobject **kobj = &per_cpu(cpufreq_kobj, cpu); in cpufreq_stats_create() local
Dcpufreq_governor_attr_set.c14 static inline struct gov_attr_set *to_gov_attr_set(struct kobject *kobj) in to_gov_attr_set()
24 static ssize_t governor_show(struct kobject *kobj, struct attribute *attr, in governor_show()
32 static ssize_t governor_store(struct kobject *kobj, struct attribute *attr, in governor_store()
/drivers/vfio/mdev/
Dmdev_sysfs.c24 static ssize_t mdev_type_attr_show(struct kobject *kobj, in mdev_type_attr_show()
36 static ssize_t mdev_type_attr_store(struct kobject *kobj, in mdev_type_attr_store()
54 static ssize_t create_store(struct kobject *kobj, struct device *dev, in create_store()
82 static void mdev_type_release(struct kobject *kobj) in mdev_type_release()
/drivers/staging/ccree/
Dssi_sysfs.c161 static ssize_t ssi_sys_stats_host_db_clear(struct kobject *kobj, in ssi_sys_stats_host_db_clear()
169 static ssize_t ssi_sys_stats_cc_db_clear(struct kobject *kobj, in ssi_sys_stats_cc_db_clear()
177 static ssize_t ssi_sys_stat_host_db_show(struct kobject *kobj, in ssi_sys_stat_host_db_show()
217 static ssize_t ssi_sys_stat_cc_db_show(struct kobject *kobj, in ssi_sys_stat_cc_db_show()
281 static ssize_t ssi_sys_regdump_show(struct kobject *kobj, in ssi_sys_regdump_show()
302 static ssize_t ssi_sys_help_show(struct kobject *kobj, in ssi_sys_help_show()
/drivers/staging/lustre/lustre/ldlm/
Dldlm_resource.c177 static ssize_t resource_count_show(struct kobject *kobj, struct attribute *attr, in resource_count_show()
193 static ssize_t lock_count_show(struct kobject *kobj, struct attribute *attr, in lock_count_show()
206 static ssize_t lock_unused_count_show(struct kobject *kobj, in lock_unused_count_show()
217 static ssize_t lru_size_show(struct kobject *kobj, struct attribute *attr, in lru_size_show()
229 static ssize_t lru_size_store(struct kobject *kobj, struct attribute *attr, in lru_size_store()
315 static ssize_t lru_max_age_show(struct kobject *kobj, struct attribute *attr, in lru_max_age_show()
324 static ssize_t lru_max_age_store(struct kobject *kobj, struct attribute *attr, in lru_max_age_store()
342 static ssize_t early_lock_cancel_show(struct kobject *kobj, in early_lock_cancel_show()
352 static ssize_t early_lock_cancel_store(struct kobject *kobj, in early_lock_cancel_store()
385 static void ldlm_ns_release(struct kobject *kobj) in ldlm_ns_release()

12345678910>>...12