Home
last modified time | relevance | path

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

12345678910

/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 …]
/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 …]
/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.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()
/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 …]
/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/platform/goldfish/
Dgoldfish_fwdata.c33 static ssize_t property_show(struct kobject *kobj, struct kobj_attribute *attr, in property_show()
127 struct kobject *kobj; in create_folder() local
141 struct kobject *kobj; in create_folder_with_file() local
162 static void remove_folder_with_file(struct kobject *kobj, in remove_folder_with_file()
174 struct kobject *kobj; in create_folder_with_files() local
195 static void remove_folder_with_files(struct kobject *kobj, in remove_folder_with_files()
/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()
/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()
/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()
334 static void edac_device_ctrl_instance_release(struct kobject *kobj) in edac_device_ctrl_instance_release()
355 static ssize_t edac_dev_instance_show(struct kobject *kobj, in edac_dev_instance_show()
367 static ssize_t edac_dev_instance_store(struct kobject *kobj, in edac_dev_instance_store()
423 static ssize_t block_ue_count_show(struct kobject *kobj, in block_ue_count_show()
431 static ssize_t block_ce_count_show(struct kobject *kobj, in block_ce_count_show()
440 static void edac_device_ctrl_block_release(struct kobject *kobj) in edac_device_ctrl_block_release()
457 static ssize_t edac_dev_block_show(struct kobject *kobj, in edac_dev_block_show()
[all …]
/drivers/pci/hotplug/
Drpadlpar_sysfs.c32 static ssize_t add_slot_store(struct kobject *kobj, struct kobj_attribute *attr, in add_slot_store()
55 static ssize_t add_slot_show(struct kobject *kobj, in add_slot_show()
61 static ssize_t remove_slot_store(struct kobject *kobj, in remove_slot_store()
85 static ssize_t remove_slot_show(struct kobject *kobj, in remove_slot_show()
/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()
/drivers/pci/
Dpci-sysfs.c639 static ssize_t pci_read_config(struct file *filp, struct kobject *kobj, in pci_read_config()
716 static ssize_t pci_write_config(struct file *filp, struct kobject *kobj, in pci_write_config()
778 static ssize_t read_vpd_attr(struct file *filp, struct kobject *kobj, in read_vpd_attr()
793 static ssize_t write_vpd_attr(struct file *filp, struct kobject *kobj, in write_vpd_attr()
821 static ssize_t pci_read_legacy_io(struct file *filp, struct kobject *kobj, in pci_read_legacy_io()
847 static ssize_t pci_write_legacy_io(struct file *filp, struct kobject *kobj, in pci_write_legacy_io()
872 static int pci_mmap_legacy_mem(struct file *filp, struct kobject *kobj, in pci_mmap_legacy_mem()
893 static int pci_mmap_legacy_io(struct file *filp, struct kobject *kobj, in pci_mmap_legacy_io()
1014 static int pci_mmap_resource(struct kobject *kobj, struct bin_attribute *attr, in pci_mmap_resource()
1052 static int pci_mmap_resource_uc(struct file *filp, struct kobject *kobj, in pci_mmap_resource_uc()
[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/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/cpufreq/
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/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()
310 static ssize_t qib_portattr_store(struct kobject *kobj, in qib_portattr_store()
386 static ssize_t sl2vl_attr_show(struct kobject *kobj, struct attribute *attr, in sl2vl_attr_show()
458 static ssize_t diagc_attr_show(struct kobject *kobj, struct attribute *attr, in diagc_attr_show()
470 static ssize_t diagc_attr_store(struct kobject *kobj, struct attribute *attr, in diagc_attr_store()
685 struct kobject *kobj) in qib_create_port_files()
/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()
/drivers/base/
Dcore.c114 static ssize_t dev_attr_show(struct kobject *kobj, struct attribute *attr, in dev_attr_show()
130 static ssize_t dev_attr_store(struct kobject *kobj, struct attribute *attr, in dev_attr_store()
227 static void device_release(struct kobject *kobj) in device_release()
256 static const void *device_namespace(struct kobject *kobj) in device_namespace()
274 static int dev_uevent_filter(struct kset *kset, struct kobject *kobj) in dev_uevent_filter()
288 static const char *dev_uevent_name(struct kset *kset, struct kobject *kobj) in dev_uevent_name()
299 static int dev_uevent(struct kset *kset, struct kobject *kobj, in dev_uevent()
731 struct kobject kobj; member
737 static void class_dir_release(struct kobject *kobj) in class_dir_release()
744 struct kobj_ns_type_operations *class_dir_child_ns_type(struct kobject *kobj) in class_dir_child_ns_type()
[all …]
/drivers/acpi/
Dsysfs.c324 static ssize_t acpi_table_show(struct file *filp, struct kobject *kobj, in acpi_table_show()
577 static ssize_t counter_show(struct kobject *kobj, in counter_show()
621 static ssize_t counter_set(struct kobject *kobj, in counter_set()
779 acpi_show_profile(struct kobject *kobj, struct kobj_attribute *attr, in acpi_show_profile()
788 static ssize_t hotplug_enabled_show(struct kobject *kobj, in hotplug_enabled_show()
796 static ssize_t hotplug_enabled_store(struct kobject *kobj, in hotplug_enabled_store()
846 static ssize_t force_remove_show(struct kobject *kobj, in force_remove_show()
852 static ssize_t force_remove_store(struct kobject *kobj, in force_remove_store()
/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()
/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()
/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()
/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()

12345678910