Searched refs:kobj_attribute (Results 1 - 63 of 63) sorted by relevance

/linux-4.1.27/fs/btrfs/
H A Dsysfs.h24 static struct kobj_attribute btrfs_attr_##_name = \
28 static struct kobj_attribute btrfs_attr_##_name = \
34 static struct kobj_attribute btrfs_raid_attr_##_name = \
41 struct kobj_attribute kobj_attr;
65 to_btrfs_feature_attr(struct kobj_attribute *a) to_btrfs_feature_attr()
70 static inline struct kobj_attribute *attr_to_btrfs_attr(struct attribute *attr) attr_to_btrfs_attr()
72 return container_of(attr, struct kobj_attribute, attr); attr_to_btrfs_attr()
H A Dsysfs.c93 struct kobj_attribute *a, char *buf) btrfs_feature_attr_show()
109 struct kobj_attribute *a, btrfs_feature_attr_store()
236 struct kobj_attribute *ka, char *buf) global_rsv_size_show()
245 struct kobj_attribute *a, char *buf) global_rsv_reserved_show()
257 struct kobj_attribute *attr, char *buf);
262 struct kobj_attribute *attr, char *buf) raid_bytes_show()
300 struct kobj_attribute *a, \
309 struct kobj_attribute *a, btrfs_space_info_show_total_bytes_pinned()
360 struct kobj_attribute *a, char *buf) btrfs_label_show()
368 struct kobj_attribute *a, btrfs_label_store()
402 struct kobj_attribute *a, char *buf) btrfs_nodesize_show()
412 struct kobj_attribute *a, char *buf) btrfs_sectorsize_show()
422 struct kobj_attribute *a, char *buf) btrfs_clone_alignment_show()
/linux-4.1.27/kernel/
H A Dksysfs.c26 static struct kobj_attribute _name##_attr = __ATTR_RO(_name)
29 static struct kobj_attribute _name##_attr = \
34 struct kobj_attribute *attr, char *buf) uevent_seqnum_show()
43 struct kobj_attribute *attr, char *buf) uevent_helper_show()
48 struct kobj_attribute *attr, uevent_helper_store()
64 struct kobj_attribute *attr, char *buf) profiling_show()
69 struct kobj_attribute *attr, profiling_store()
95 struct kobj_attribute *attr, char *buf) kexec_loaded_show()
102 struct kobj_attribute *attr, char *buf) kexec_crash_loaded_show()
109 struct kobj_attribute *attr, char *buf) kexec_crash_size_show()
114 struct kobj_attribute *attr, kexec_crash_size_store()
129 struct kobj_attribute *attr, char *buf) vmcoreinfo_show()
141 struct kobj_attribute *attr, char *buf) fscaps_show()
149 struct kobj_attribute *attr, char *buf) rcu_expedited_show()
154 struct kobj_attribute *attr, rcu_expedited_store()
/linux-4.1.27/drivers/staging/speakup/
H A Dspeakup_ltlk.c52 static struct kobj_attribute caps_start_attribute =
54 static struct kobj_attribute caps_stop_attribute =
56 static struct kobj_attribute freq_attribute =
58 static struct kobj_attribute pitch_attribute =
60 static struct kobj_attribute punct_attribute =
62 static struct kobj_attribute rate_attribute =
64 static struct kobj_attribute tone_attribute =
66 static struct kobj_attribute voice_attribute =
68 static struct kobj_attribute vol_attribute =
71 static struct kobj_attribute delay_time_attribute =
73 static struct kobj_attribute direct_attribute =
75 static struct kobj_attribute full_time_attribute =
77 static struct kobj_attribute jiffy_delta_attribute =
79 static struct kobj_attribute trigger_time_attribute =
H A Dspeakup_audptr.c51 static struct kobj_attribute caps_start_attribute =
53 static struct kobj_attribute caps_stop_attribute =
55 static struct kobj_attribute pitch_attribute =
57 static struct kobj_attribute punct_attribute =
59 static struct kobj_attribute rate_attribute =
61 static struct kobj_attribute tone_attribute =
63 static struct kobj_attribute vol_attribute =
66 static struct kobj_attribute delay_time_attribute =
68 static struct kobj_attribute direct_attribute =
70 static struct kobj_attribute full_time_attribute =
72 static struct kobj_attribute jiffy_delta_attribute =
74 static struct kobj_attribute trigger_time_attribute =
H A Dspeakup_spkout.c50 static struct kobj_attribute caps_start_attribute =
52 static struct kobj_attribute caps_stop_attribute =
54 static struct kobj_attribute pitch_attribute =
56 static struct kobj_attribute punct_attribute =
58 static struct kobj_attribute rate_attribute =
60 static struct kobj_attribute tone_attribute =
62 static struct kobj_attribute vol_attribute =
65 static struct kobj_attribute delay_time_attribute =
67 static struct kobj_attribute direct_attribute =
69 static struct kobj_attribute full_time_attribute =
71 static struct kobj_attribute jiffy_delta_attribute =
73 static struct kobj_attribute trigger_time_attribute =
H A Dspeakup_acntsa.c49 static struct kobj_attribute caps_start_attribute =
51 static struct kobj_attribute caps_stop_attribute =
53 static struct kobj_attribute pitch_attribute =
55 static struct kobj_attribute rate_attribute =
57 static struct kobj_attribute tone_attribute =
59 static struct kobj_attribute vol_attribute =
62 static struct kobj_attribute delay_time_attribute =
64 static struct kobj_attribute direct_attribute =
66 static struct kobj_attribute full_time_attribute =
68 static struct kobj_attribute jiffy_delta_attribute =
70 static struct kobj_attribute trigger_time_attribute =
H A Dspeakup_bns.c46 static struct kobj_attribute caps_start_attribute =
48 static struct kobj_attribute caps_stop_attribute =
50 static struct kobj_attribute pitch_attribute =
52 static struct kobj_attribute rate_attribute =
54 static struct kobj_attribute tone_attribute =
56 static struct kobj_attribute vol_attribute =
59 static struct kobj_attribute delay_time_attribute =
61 static struct kobj_attribute direct_attribute =
63 static struct kobj_attribute full_time_attribute =
65 static struct kobj_attribute jiffy_delta_attribute =
67 static struct kobj_attribute trigger_time_attribute =
H A Dspeakup_dummy.c48 static struct kobj_attribute caps_start_attribute =
50 static struct kobj_attribute caps_stop_attribute =
52 static struct kobj_attribute pitch_attribute =
54 static struct kobj_attribute rate_attribute =
56 static struct kobj_attribute tone_attribute =
58 static struct kobj_attribute vol_attribute =
61 static struct kobj_attribute delay_time_attribute =
63 static struct kobj_attribute direct_attribute =
65 static struct kobj_attribute full_time_attribute =
67 static struct kobj_attribute jiffy_delta_attribute =
69 static struct kobj_attribute trigger_time_attribute =
H A Dspeakup_txprt.c46 static struct kobj_attribute caps_start_attribute =
48 static struct kobj_attribute caps_stop_attribute =
50 static struct kobj_attribute pitch_attribute =
52 static struct kobj_attribute rate_attribute =
54 static struct kobj_attribute tone_attribute =
56 static struct kobj_attribute vol_attribute =
59 static struct kobj_attribute delay_time_attribute =
61 static struct kobj_attribute direct_attribute =
63 static struct kobj_attribute full_time_attribute =
65 static struct kobj_attribute jiffy_delta_attribute =
67 static struct kobj_attribute trigger_time_attribute =
H A Dspeakup_soft.c63 static struct kobj_attribute caps_start_attribute =
65 static struct kobj_attribute caps_stop_attribute =
67 static struct kobj_attribute freq_attribute =
69 static struct kobj_attribute pitch_attribute =
71 static struct kobj_attribute punct_attribute =
73 static struct kobj_attribute rate_attribute =
75 static struct kobj_attribute tone_attribute =
77 static struct kobj_attribute voice_attribute =
79 static struct kobj_attribute vol_attribute =
85 * static struct kobj_attribute lang_attribute =
89 static struct kobj_attribute delay_time_attribute =
91 static struct kobj_attribute direct_attribute =
93 static struct kobj_attribute full_time_attribute =
95 static struct kobj_attribute jiffy_delta_attribute =
97 static struct kobj_attribute trigger_time_attribute =
H A Dspeakup_apollo.c55 static struct kobj_attribute caps_start_attribute =
57 static struct kobj_attribute caps_stop_attribute =
59 static struct kobj_attribute lang_attribute =
61 static struct kobj_attribute pitch_attribute =
63 static struct kobj_attribute rate_attribute =
65 static struct kobj_attribute voice_attribute =
67 static struct kobj_attribute vol_attribute =
70 static struct kobj_attribute delay_time_attribute =
72 static struct kobj_attribute direct_attribute =
74 static struct kobj_attribute full_time_attribute =
76 static struct kobj_attribute jiffy_delta_attribute =
78 static struct kobj_attribute trigger_time_attribute =
H A Dspeakup_decext.c73 static struct kobj_attribute caps_start_attribute =
75 static struct kobj_attribute caps_stop_attribute =
77 static struct kobj_attribute pitch_attribute =
79 static struct kobj_attribute punct_attribute =
81 static struct kobj_attribute rate_attribute =
83 static struct kobj_attribute voice_attribute =
85 static struct kobj_attribute vol_attribute =
88 static struct kobj_attribute delay_time_attribute =
90 static struct kobj_attribute direct_attribute =
92 static struct kobj_attribute full_time_attribute =
94 static struct kobj_attribute jiffy_delta_attribute =
96 static struct kobj_attribute trigger_time_attribute =
H A Dspeakup_dectlk.c72 static struct kobj_attribute caps_start_attribute =
74 static struct kobj_attribute caps_stop_attribute =
76 static struct kobj_attribute pitch_attribute =
78 static struct kobj_attribute punct_attribute =
80 static struct kobj_attribute rate_attribute =
82 static struct kobj_attribute voice_attribute =
84 static struct kobj_attribute vol_attribute =
87 static struct kobj_attribute delay_time_attribute =
89 static struct kobj_attribute direct_attribute =
91 static struct kobj_attribute full_time_attribute =
93 static struct kobj_attribute jiffy_delta_attribute =
95 static struct kobj_attribute trigger_time_attribute =
H A Dkobjects.c29 struct kobj_attribute *attr, char *buf) chars_chartab_show()
109 struct kobj_attribute *attr, const char *buf, size_t count) chars_chartab_store()
224 static ssize_t keymap_show(struct kobject *kobj, struct kobj_attribute *attr, keymap_show()
259 static ssize_t keymap_store(struct kobject *kobj, struct kobj_attribute *attr, keymap_store()
326 static ssize_t silent_store(struct kobject *kobj, struct kobj_attribute *attr, silent_store()
365 static ssize_t synth_show(struct kobject *kobj, struct kobj_attribute *attr, synth_show()
380 static ssize_t synth_store(struct kobject *kobj, struct kobj_attribute *attr, synth_store()
407 struct kobj_attribute *attr, const char *buf, size_t count) synth_direct_store()
433 static ssize_t version_show(struct kobject *kobj, struct kobj_attribute *attr, version_show()
449 static ssize_t punc_show(struct kobject *kobj, struct kobj_attribute *attr, punc_show()
489 static ssize_t punc_store(struct kobject *kobj, struct kobj_attribute *attr, punc_store()
536 ssize_t spk_var_show(struct kobject *kobj, struct kobj_attribute *attr, spk_var_show()
612 ssize_t spk_var_store(struct kobject *kobj, struct kobj_attribute *attr, spk_var_store()
827 struct kobj_attribute *attr, char *buf) message_show()
840 static ssize_t message_store(struct kobject *kobj, struct kobj_attribute *attr, message_store()
852 static struct kobj_attribute keymap_attribute =
854 static struct kobj_attribute silent_attribute =
856 static struct kobj_attribute synth_attribute =
858 static struct kobj_attribute synth_direct_attribute =
860 static struct kobj_attribute version_attribute =
863 static struct kobj_attribute delimiters_attribute =
865 static struct kobj_attribute ex_num_attribute =
867 static struct kobj_attribute punc_all_attribute =
869 static struct kobj_attribute punc_most_attribute =
871 static struct kobj_attribute punc_some_attribute =
873 static struct kobj_attribute repeats_attribute =
876 static struct kobj_attribute attrib_bleep_attribute =
878 static struct kobj_attribute bell_pos_attribute =
880 static struct kobj_attribute bleep_time_attribute =
882 static struct kobj_attribute bleeps_attribute =
884 static struct kobj_attribute cursor_time_attribute =
886 static struct kobj_attribute key_echo_attribute =
888 static struct kobj_attribute no_interrupt_attribute =
890 static struct kobj_attribute punc_level_attribute =
892 static struct kobj_attribute reading_punc_attribute =
894 static struct kobj_attribute say_control_attribute =
896 static struct kobj_attribute say_word_ctl_attribute =
898 static struct kobj_attribute spell_delay_attribute =
904 static struct kobj_attribute announcements_attribute =
906 static struct kobj_attribute characters_attribute =
909 static struct kobj_attribute chartab_attribute =
912 static struct kobj_attribute ctl_keys_attribute =
914 static struct kobj_attribute colors_attribute =
916 static struct kobj_attribute formatted_attribute =
918 static struct kobj_attribute function_names_attribute =
920 static struct kobj_attribute key_names_attribute =
922 static struct kobj_attribute states_attribute =
H A Dspeakup_acntpc.c64 static struct kobj_attribute caps_start_attribute =
66 static struct kobj_attribute caps_stop_attribute =
68 static struct kobj_attribute pitch_attribute =
70 static struct kobj_attribute rate_attribute =
72 static struct kobj_attribute tone_attribute =
74 static struct kobj_attribute vol_attribute =
77 static struct kobj_attribute delay_time_attribute =
79 static struct kobj_attribute direct_attribute =
81 static struct kobj_attribute full_time_attribute =
83 static struct kobj_attribute jiffy_delta_attribute =
85 static struct kobj_attribute trigger_time_attribute =
H A Dspeakup_dtlk.c69 static struct kobj_attribute caps_start_attribute =
71 static struct kobj_attribute caps_stop_attribute =
73 static struct kobj_attribute freq_attribute =
75 static struct kobj_attribute pitch_attribute =
77 static struct kobj_attribute punct_attribute =
79 static struct kobj_attribute rate_attribute =
81 static struct kobj_attribute tone_attribute =
83 static struct kobj_attribute voice_attribute =
85 static struct kobj_attribute vol_attribute =
88 static struct kobj_attribute delay_time_attribute =
90 static struct kobj_attribute direct_attribute =
92 static struct kobj_attribute full_time_attribute =
94 static struct kobj_attribute jiffy_delta_attribute =
96 static struct kobj_attribute trigger_time_attribute =
H A Dspeakup_keypc.c61 static struct kobj_attribute caps_start_attribute =
63 static struct kobj_attribute caps_stop_attribute =
65 static struct kobj_attribute pitch_attribute =
67 static struct kobj_attribute rate_attribute =
70 static struct kobj_attribute delay_time_attribute =
72 static struct kobj_attribute direct_attribute =
74 static struct kobj_attribute full_time_attribute =
76 static struct kobj_attribute jiffy_delta_attribute =
78 static struct kobj_attribute trigger_time_attribute =
H A Dspeakup_decpc.c166 static struct kobj_attribute caps_start_attribute =
168 static struct kobj_attribute caps_stop_attribute =
170 static struct kobj_attribute pitch_attribute =
172 static struct kobj_attribute punct_attribute =
174 static struct kobj_attribute rate_attribute =
176 static struct kobj_attribute voice_attribute =
178 static struct kobj_attribute vol_attribute =
181 static struct kobj_attribute delay_time_attribute =
183 static struct kobj_attribute direct_attribute =
185 static struct kobj_attribute full_time_attribute =
187 static struct kobj_attribute jiffy_delta_attribute =
189 static struct kobj_attribute trigger_time_attribute =
H A Dspk_priv.h59 ssize_t spk_var_show(struct kobject *kobj, struct kobj_attribute *attr,
61 ssize_t spk_var_store(struct kobject *kobj, struct kobj_attribute *attr,
/linux-4.1.27/drivers/pci/hotplug/
H A Drpadlpar_sysfs.c32 static ssize_t add_slot_store(struct kobject *kobj, struct kobj_attribute *attr, add_slot_store()
57 struct kobj_attribute *attr, char *buf) add_slot_show()
63 struct kobj_attribute *attr, remove_slot_store()
88 struct kobj_attribute *attr, char *buf) remove_slot_show()
93 static struct kobj_attribute add_slot_attr =
96 static struct kobj_attribute remove_slot_attr =
/linux-4.1.27/arch/x86/platform/uv/
H A Duv_sysfs.c29 struct kobj_attribute *attr, char *buf) partition_id_show()
35 struct kobj_attribute *attr, char *buf) coherence_id_show()
40 static struct kobj_attribute partition_id_attr =
43 static struct kobj_attribute coherence_id_attr =
/linux-4.1.27/samples/kobject/
H A Dkobject-example.c30 static ssize_t foo_show(struct kobject *kobj, struct kobj_attribute *attr, foo_show()
36 static ssize_t foo_store(struct kobject *kobj, struct kobj_attribute *attr, foo_store()
49 static struct kobj_attribute foo_attribute =
56 static ssize_t b_show(struct kobject *kobj, struct kobj_attribute *attr, b_show()
68 static ssize_t b_store(struct kobject *kobj, struct kobj_attribute *attr, b_store()
84 static struct kobj_attribute baz_attribute =
86 static struct kobj_attribute bar_attribute =
/linux-4.1.27/drivers/s390/char/
H A Dsclp_cpi_sys.c222 struct kobj_attribute *attr, char *page) system_name_show()
233 struct kobj_attribute *attr, system_name_store()
250 static struct kobj_attribute system_name_attr =
254 struct kobj_attribute *attr, char *page) sysplex_name_show()
265 struct kobj_attribute *attr, sysplex_name_store()
282 static struct kobj_attribute sysplex_name_attr =
286 struct kobj_attribute *attr, char *page) system_type_show()
297 struct kobj_attribute *attr, system_type_store()
314 static struct kobj_attribute system_type_attr =
318 struct kobj_attribute *attr, char *page) system_level_show()
329 struct kobj_attribute *attr, system_level_store()
351 static struct kobj_attribute system_level_attr =
355 struct kobj_attribute *attr, set_store()
369 static struct kobj_attribute set_attr = __ATTR(set, 0200, NULL, set_store);
H A Dsclp_ocf.c89 struct kobj_attribute *attr, char *page) cpc_name_show()
99 static struct kobj_attribute cpc_name_attr =
103 struct kobj_attribute *attr, char *page) hmc_network_show()
113 static struct kobj_attribute hmc_network_attr =
/linux-4.1.27/kernel/power/
H A Dmain.c51 static ssize_t pm_async_show(struct kobject *kobj, struct kobj_attribute *attr, pm_async_show()
57 static ssize_t pm_async_store(struct kobject *kobj, struct kobj_attribute *attr, pm_async_store()
86 static ssize_t pm_test_show(struct kobject *kobj, struct kobj_attribute *attr, pm_test_show()
107 static ssize_t pm_test_store(struct kobject *kobj, struct kobj_attribute *attr, pm_test_store()
248 struct kobj_attribute *attr, char *buf) pm_print_times_show()
254 struct kobj_attribute *attr, pm_print_times_store()
291 static ssize_t state_show(struct kobject *kobj, struct kobj_attribute *attr, state_show()
338 static ssize_t state_store(struct kobject *kobj, struct kobj_attribute *attr, state_store()
398 struct kobj_attribute *attr, wakeup_count_show()
408 struct kobj_attribute *attr, wakeup_count_store()
440 struct kobj_attribute *attr, autosleep_show()
461 struct kobj_attribute *attr, autosleep_store()
480 struct kobj_attribute *attr, wake_lock_show()
487 struct kobj_attribute *attr, wake_lock_store()
497 struct kobj_attribute *attr, wake_unlock_show()
504 struct kobj_attribute *attr, wake_unlock_store()
519 static ssize_t pm_trace_show(struct kobject *kobj, struct kobj_attribute *attr, pm_trace_show()
526 pm_trace_store(struct kobject *kobj, struct kobj_attribute *attr, pm_trace_store()
545 struct kobj_attribute *attr, pm_trace_dev_match_show()
552 pm_trace_dev_match_store(struct kobject *kobj, struct kobj_attribute *attr, pm_trace_dev_match_store()
564 struct kobj_attribute *attr, char *buf) pm_freeze_timeout_show()
570 struct kobj_attribute *attr, pm_freeze_timeout_store()
H A Dhibernate.c906 static ssize_t disk_show(struct kobject *kobj, struct kobj_attribute *attr, disk_show()
940 static ssize_t disk_store(struct kobject *kobj, struct kobj_attribute *attr, disk_store()
990 static ssize_t resume_show(struct kobject *kobj, struct kobj_attribute *attr, resume_show()
997 static ssize_t resume_store(struct kobject *kobj, struct kobj_attribute *attr, resume_store()
1026 static ssize_t image_size_show(struct kobject *kobj, struct kobj_attribute *attr, image_size_show()
1032 static ssize_t image_size_store(struct kobject *kobj, struct kobj_attribute *attr, image_size_store()
1048 struct kobj_attribute *attr, char *buf) reserved_size_show()
1054 struct kobj_attribute *attr, reserved_size_store()
H A Dpower.h71 static struct kobj_attribute _name##_attr = { \ hibernate_image_size_init()
/linux-4.1.27/arch/powerpc/platforms/pseries/
H A Dpower.c33 struct kobj_attribute *attr, char *buf) auto_poweron_show()
39 struct kobj_attribute *attr, auto_poweron_store()
53 static struct kobj_attribute auto_poweron_attr =
/linux-4.1.27/arch/s390/kernel/
H A Dipl.c187 struct kobj_attribute *attr, \
195 static struct kobj_attribute sys_##_prefix##_##_name##_attr = \
201 struct kobj_attribute *attr, \
210 static struct kobj_attribute sys_##_prefix##_##_name##_attr = \
218 struct kobj_attribute *attr, \
225 static struct kobj_attribute sys_##_prefix##_##_name##_attr = \
264 static ssize_t ipl_type_show(struct kobject *kobj, struct kobj_attribute *attr, ipl_type_show()
270 static struct kobj_attribute sys_ipl_type_attr = __ATTR_RO(ipl_type);
318 struct kobj_attribute *attr, char *page) ipl_vm_parm_show()
381 static struct kobj_attribute sys_ipl_vm_parm_attr =
385 struct kobj_attribute *attr, char *page) sys_ipl_device_show()
400 static struct kobj_attribute sys_ipl_device_attr =
444 struct kobj_attribute *attr, char *page) ipl_ccw_loadparm_show()
456 static struct kobj_attribute sys_ipl_ccw_loadparm_attr =
634 struct kobj_attribute *attr, char *page) reipl_nss_vmparm_show()
640 struct kobj_attribute *attr, reipl_nss_vmparm_store()
648 struct kobj_attribute *attr, char *page) reipl_ccw_vmparm_show()
654 struct kobj_attribute *attr, reipl_ccw_vmparm_store()
660 static struct kobj_attribute sys_reipl_nss_vmparm_attr =
663 static struct kobj_attribute sys_reipl_ccw_vmparm_attr =
778 struct kobj_attribute *attr, char *page) reipl_fcp_loadparm_show()
784 struct kobj_attribute *attr, reipl_fcp_loadparm_store()
790 static struct kobj_attribute sys_reipl_fcp_loadparm_attr =
816 struct kobj_attribute *attr, char *page) reipl_nss_loadparm_show()
822 struct kobj_attribute *attr, reipl_nss_loadparm_store()
830 struct kobj_attribute *attr, char *page) reipl_ccw_loadparm_show()
836 struct kobj_attribute *attr, reipl_ccw_loadparm_store()
842 static struct kobj_attribute sys_reipl_ccw_loadparm_attr =
880 struct kobj_attribute *attr, char *page) reipl_nss_name_show()
889 struct kobj_attribute *attr, reipl_nss_name_store()
917 static struct kobj_attribute sys_reipl_nss_name_attr =
921 static struct kobj_attribute sys_reipl_nss_loadparm_attr =
991 struct kobj_attribute *attr, char *page) reipl_type_show()
997 struct kobj_attribute *attr, reipl_type_store()
1011 static struct kobj_attribute reipl_type_attr =
1372 struct kobj_attribute *attr, char *page) dump_type_show()
1378 struct kobj_attribute *attr, dump_type_store()
1392 static struct kobj_attribute dump_type_attr =
1659 struct kobj_attribute *attr, char *page) on_reboot_show()
1665 struct kobj_attribute *attr, on_reboot_store()
1670 static struct kobj_attribute on_reboot_attr = __ATTR_RW(on_reboot);
1685 struct kobj_attribute *attr, char *page) on_panic_show()
1691 struct kobj_attribute *attr, on_panic_store()
1696 static struct kobj_attribute on_panic_attr = __ATTR_RW(on_panic);
1711 struct kobj_attribute *attr, char *page) on_restart_show()
1717 struct kobj_attribute *attr, on_restart_store()
1722 static struct kobj_attribute on_restart_attr = __ATTR_RW(on_restart);
1748 struct kobj_attribute *attr, char *page) on_halt_show()
1754 struct kobj_attribute *attr, on_halt_store()
1759 static struct kobj_attribute on_halt_attr = __ATTR_RW(on_halt);
1774 struct kobj_attribute *attr, char *page) on_poff_show()
1780 struct kobj_attribute *attr, on_poff_store()
1785 static struct kobj_attribute on_poff_attr = __ATTR_RW(on_poff);
/linux-4.1.27/fs/ocfs2/cluster/
H A Dsys.c38 static ssize_t version_show(struct kobject *kobj, struct kobj_attribute *attr, version_show()
43 static struct kobj_attribute attr_version =
/linux-4.1.27/arch/powerpc/kernel/
H A Dcacheinfo.c523 struct kobj_attribute *kobj_attr; cache_index_show()
525 kobj_attr = container_of(attr, struct kobj_attribute, attr); cache_index_show()
539 static ssize_t size_show(struct kobject *k, struct kobj_attribute *attr, char *buf) size_show()
552 static struct kobj_attribute cache_size_attr =
556 static ssize_t line_size_show(struct kobject *k, struct kobj_attribute *attr, char *buf) line_size_show()
569 static struct kobj_attribute cache_line_size_attr =
572 static ssize_t nr_sets_show(struct kobject *k, struct kobj_attribute *attr, char *buf) nr_sets_show()
585 static struct kobj_attribute cache_nr_sets_attr =
588 static ssize_t associativity_show(struct kobject *k, struct kobj_attribute *attr, char *buf) associativity_show()
601 static struct kobj_attribute cache_assoc_attr =
604 static ssize_t type_show(struct kobject *k, struct kobj_attribute *attr, char *buf) type_show()
613 static struct kobj_attribute cache_type_attr =
616 static ssize_t level_show(struct kobject *k, struct kobj_attribute *attr, char *buf) level_show()
627 static struct kobj_attribute cache_level_attr =
630 static ssize_t shared_cpu_map_show(struct kobject *k, struct kobj_attribute *attr, char *buf) shared_cpu_map_show()
646 static struct kobj_attribute cache_shared_cpu_map_attr =
663 static struct kobj_attribute *cache_index_opt_attrs[] = {
702 struct kobj_attribute *attr; cacheinfo_create_index_opt_attrs()
H A Dfadump.c1097 struct kobj_attribute *attr, fadump_release_memory_store()
1117 struct kobj_attribute *attr, fadump_enabled_show()
1124 struct kobj_attribute *attr, fadump_register_show()
1131 struct kobj_attribute *attr, fadump_register_store()
1229 static struct kobj_attribute fadump_release_attr = __ATTR(fadump_release_mem,
1232 static struct kobj_attribute fadump_attr = __ATTR(fadump_enabled,
1235 static struct kobj_attribute fadump_register_attr = __ATTR(fadump_registered,
/linux-4.1.27/fs/ocfs2/
H A Dstackglue.c483 struct kobj_attribute *attr, ocfs2_max_locking_protocol_show()
498 static struct kobj_attribute ocfs2_attr_max_locking_protocol =
503 struct kobj_attribute *attr, ocfs2_loaded_cluster_plugins_show()
530 static struct kobj_attribute ocfs2_attr_loaded_cluster_plugins =
535 struct kobj_attribute *attr, ocfs2_active_cluster_plugin_show()
552 static struct kobj_attribute ocfs2_attr_active_cluster_plugin =
557 struct kobj_attribute *attr, ocfs2_cluster_stack_show()
569 struct kobj_attribute *attr, ocfs2_cluster_stack_store()
601 static struct kobj_attribute ocfs2_attr_cluster_stack =
609 struct kobj_attribute *attr, ocfs2_dlm_recover_show()
615 static struct kobj_attribute ocfs2_attr_dlm_recover_support =
/linux-4.1.27/drivers/firmware/efi/
H A Defi.c79 struct kobj_attribute *attr, char *buf) systab_show()
106 static struct kobj_attribute efi_attr_systab =
113 struct kobj_attribute *attr, char *buf) \
123 struct kobj_attribute *attr, char *buf) fw_platform_size_show()
128 static struct kobj_attribute efi_attr_fw_vendor = __ATTR_RO(fw_vendor);
129 static struct kobj_attribute efi_attr_runtime = __ATTR_RO(runtime);
130 static struct kobj_attribute efi_attr_config_table = __ATTR_RO(config_table);
131 static struct kobj_attribute efi_attr_fw_platform_size =
/linux-4.1.27/drivers/acpi/
H A Dsysfs.c430 static struct kobj_attribute *counter_attrs;
516 struct kobj_attribute *attr, char *buf) counter_show()
560 struct kobj_attribute *attr, const char *buf, counter_set()
653 counter_attrs = kzalloc(sizeof(struct kobj_attribute) * (num_counters), acpi_irq_stats_init()
727 struct kobj_attribute *attr, char *buf) hotplug_enabled_show()
735 struct kobj_attribute *attr, hotplug_enabled_store()
748 static struct kobj_attribute hotplug_enabled_attr =
783 struct kobj_attribute *attr, char *buf) force_remove_show()
789 struct kobj_attribute *attr, force_remove_store()
805 static const struct kobj_attribute force_remove_attr =
/linux-4.1.27/arch/powerpc/platforms/powernv/
H A Dopal-flash.c155 struct kobj_attribute *attr, char *buf) validate_show()
195 struct kobj_attribute *attr, validate_store()
240 struct kobj_attribute *attr, char *buf) manage_show()
257 struct kobj_attribute *attr, manage_store()
351 struct kobj_attribute *attr, char *buf) update_show()
363 struct kobj_attribute *attr, update_store()
529 static struct kobj_attribute validate_attribute =
532 static struct kobj_attribute manage_attribute =
535 static struct kobj_attribute update_attribute =
H A Dopal-sysparam.c39 struct kobj_attribute kobj_attr;
111 struct kobj_attribute *kobj_attr, char *buf) sys_param_show()
132 struct kobj_attribute *kobj_attr, const char *buf, size_t count) sys_param_store()
/linux-4.1.27/arch/x86/platform/olpc/
H A Dolpc-xo15-sci.c56 lid_wake_on_close_show(struct kobject *s, struct kobj_attribute *attr, char *buf) lid_wake_on_close_show()
62 struct kobj_attribute *attr, lid_wake_on_close_store()
75 static struct kobj_attribute lid_wake_on_close_attr =
/linux-4.1.27/arch/mips/alchemy/devboards/
H A Dpm.c118 struct kobj_attribute *attr, db1x_pmattr_show()
148 struct kobj_attribute *attr, db1x_pmattr_store()
192 static struct kobj_attribute x##_attribute = \
/linux-4.1.27/drivers/parisc/
H A Dpdc_stable.c123 struct kobj_attribute pdcs_attr_##_name = { \
529 struct kobj_attribute *attr, pdcs_size_read()
549 struct kobj_attribute *attr, pdcs_auto_read()
574 struct kobj_attribute *attr, char *buf) pdcs_autoboot_read()
584 struct kobj_attribute *attr, char *buf) pdcs_autosearch_read()
596 struct kobj_attribute *attr, char *buf) pdcs_timer_read()
621 struct kobj_attribute *attr, char *buf) pdcs_osid_read()
641 struct kobj_attribute *attr, char *buf) pdcs_osdep1_read()
667 struct kobj_attribute *attr, char *buf) pdcs_diagnostic_read()
691 struct kobj_attribute *attr, char *buf) pdcs_fastsize_read()
719 struct kobj_attribute *attr, char *buf) pdcs_osdep2_read()
755 struct kobj_attribute *attr, const char *buf, pdcs_auto_write()
827 struct kobj_attribute *attr, pdcs_autoboot_write()
843 struct kobj_attribute *attr, pdcs_autosearch_write()
859 struct kobj_attribute *attr, pdcs_osdep1_write()
896 struct kobj_attribute *attr, pdcs_osdep2_write()
/linux-4.1.27/arch/x86/kernel/cpu/
H A Dperf_event_intel_uncore.h116 struct kobj_attribute attr;
121 struct kobj_attribute *attr, char *buf);
131 struct kobj_attribute *attr, \
137 static struct kobj_attribute format_attr_##_var = \
H A Dperf_event_amd_iommu.c83 struct kobj_attribute attr;
88 struct kobj_attribute *attr, char *buf) _iommu_event_show()
H A Dperf_event_intel_rapl.c97 struct kobj_attribute *attr, \
103 static struct kobj_attribute format_attr_##_var = \
H A Dperf_event_intel_uncore.c24 struct kobj_attribute *attr, char *buf) uncore_event_show()
/linux-4.1.27/arch/x86/kernel/
H A Dksysfs.c24 struct kobj_attribute *attr, char *buf) version_show()
29 static struct kobj_attribute boot_params_version_attr = __ATTR_RO(version);
117 struct kobj_attribute *attr, char *buf) type_show()
185 static struct kobj_attribute type_attr = __ATTR_RO(type);
/linux-4.1.27/mm/
H A Dhuge_memory.c244 struct kobj_attribute *attr, char *buf, double_flag_show()
257 struct kobj_attribute *attr, double_flag_store()
281 struct kobj_attribute *attr, char *buf) enabled_show()
288 struct kobj_attribute *attr, enabled_store()
310 static struct kobj_attribute enabled_attr =
314 struct kobj_attribute *attr, char *buf, single_flag_show()
322 struct kobj_attribute *attr, single_flag_store()
349 struct kobj_attribute *attr, char *buf) defrag_show()
356 struct kobj_attribute *attr, defrag_store()
363 static struct kobj_attribute defrag_attr =
367 struct kobj_attribute *attr, char *buf) use_zero_page_show()
373 struct kobj_attribute *attr, const char *buf, size_t count) use_zero_page_store()
378 static struct kobj_attribute use_zero_page_attr =
382 struct kobj_attribute *attr, char *buf) debug_cow_show()
388 struct kobj_attribute *attr, debug_cow_store()
394 static struct kobj_attribute debug_cow_attr =
413 struct kobj_attribute *attr, scan_sleep_millisecs_show()
420 struct kobj_attribute *attr, scan_sleep_millisecs_store()
435 static struct kobj_attribute scan_sleep_millisecs_attr =
440 struct kobj_attribute *attr, alloc_sleep_millisecs_show()
447 struct kobj_attribute *attr, alloc_sleep_millisecs_store()
462 static struct kobj_attribute alloc_sleep_millisecs_attr =
467 struct kobj_attribute *attr, pages_to_scan_show()
473 struct kobj_attribute *attr, pages_to_scan_store()
487 static struct kobj_attribute pages_to_scan_attr =
492 struct kobj_attribute *attr, pages_collapsed_show()
497 static struct kobj_attribute pages_collapsed_attr =
501 struct kobj_attribute *attr, full_scans_show()
506 static struct kobj_attribute full_scans_attr =
510 struct kobj_attribute *attr, char *buf) khugepaged_defrag_show()
516 struct kobj_attribute *attr, khugepaged_defrag_store()
522 static struct kobj_attribute khugepaged_defrag_attr =
535 struct kobj_attribute *attr, khugepaged_max_ptes_none_show()
541 struct kobj_attribute *attr, khugepaged_max_ptes_none_store()
555 static struct kobj_attribute khugepaged_max_ptes_none_attr =
H A Dksm.c2079 static struct kobj_attribute _name##_attr = __ATTR_RO(_name)
2081 static struct kobj_attribute _name##_attr = \
2085 struct kobj_attribute *attr, char *buf) sleep_millisecs_show()
2091 struct kobj_attribute *attr, sleep_millisecs_store()
2108 struct kobj_attribute *attr, char *buf) pages_to_scan_show()
2114 struct kobj_attribute *attr, pages_to_scan_store()
2130 static ssize_t run_show(struct kobject *kobj, struct kobj_attribute *attr, run_show()
2136 static ssize_t run_store(struct kobject *kobj, struct kobj_attribute *attr, run_store()
2180 struct kobj_attribute *attr, char *buf) merge_across_nodes_show()
2186 struct kobj_attribute *attr, merge_across_nodes_store()
2237 struct kobj_attribute *attr, char *buf) pages_shared_show()
2244 struct kobj_attribute *attr, char *buf) pages_sharing_show()
2251 struct kobj_attribute *attr, char *buf) pages_unshared_show()
2258 struct kobj_attribute *attr, char *buf) pages_volatile_show()
2275 struct kobj_attribute *attr, char *buf) full_scans_show()
H A Dhugetlb.c1806 static struct kobj_attribute _name##_attr = __ATTR_RO(_name)
1809 static struct kobj_attribute _name##_attr = \
1832 struct kobj_attribute *attr, char *buf) nr_hugepages_show_common()
1907 struct kobj_attribute *attr, char *buf) nr_hugepages_show()
1913 struct kobj_attribute *attr, const char *buf, size_t len) nr_hugepages_store()
1926 struct kobj_attribute *attr, char *buf) nr_hugepages_mempolicy_show()
1932 struct kobj_attribute *attr, const char *buf, size_t len) nr_hugepages_mempolicy_store()
1941 struct kobj_attribute *attr, char *buf) nr_overcommit_hugepages_show()
1948 struct kobj_attribute *attr, const char *buf, size_t count) nr_overcommit_hugepages_store()
1970 struct kobj_attribute *attr, char *buf) free_hugepages_show()
1987 struct kobj_attribute *attr, char *buf) resv_hugepages_show()
1995 struct kobj_attribute *attr, char *buf) surplus_hugepages_show()
/linux-4.1.27/drivers/misc/cxl/
H A Dsysfs.c406 struct kobj_attribute *attr, char *buf) vendor_show()
414 struct kobj_attribute *attr, char *buf) device_show()
422 struct kobj_attribute *attr, char *buf) class_show()
452 static struct kobj_attribute vendor_attribute =
454 static struct kobj_attribute device_attribute =
456 static struct kobj_attribute class_attribute =
/linux-4.1.27/arch/powerpc/sysdev/
H A Dppc4xx_cpm.c139 struct kobj_attribute *attr, char *buf) cpm_idle_show()
157 struct kobj_attribute *attr, cpm_idle_store()
177 static struct kobj_attribute cpm_idle_attr =
/linux-4.1.27/include/linux/
H A Dkobject.h138 struct kobj_attribute { struct
140 ssize_t (*show)(struct kobject *kobj, struct kobj_attribute *attr,
142 ssize_t (*store)(struct kobject *kobj, struct kobj_attribute *attr,
/linux-4.1.27/arch/arm/common/
H A DbL_switcher.c675 struct kobj_attribute *attr, char *buf) bL_switcher_active_show()
681 struct kobj_attribute *attr, const char *buf, size_t count) bL_switcher_active_store()
701 struct kobj_attribute *attr, const char *buf, size_t count) bL_switcher_trace_trigger_store()
708 static struct kobj_attribute bL_switcher_active_attr =
711 static struct kobj_attribute bL_switcher_trace_trigger_attr =
/linux-4.1.27/arch/arm/mach-orion5x/
H A Dts78xx-setup.c509 struct kobj_attribute *attr, char *buf) ts78xx_fpga_show()
518 struct kobj_attribute *attr, const char *buf, size_t n) ts78xx_fpga_store()
547 static struct kobj_attribute ts78xx_fpga_attr =
/linux-4.1.27/arch/arm/mach-omap1/
H A Dpm.c76 static ssize_t idle_show(struct kobject *kobj, struct kobj_attribute *attr, idle_show()
82 static ssize_t idle_store(struct kobject *kobj, struct kobj_attribute *attr, idle_store()
96 static struct kobj_attribute sleep_while_idle_attr =
/linux-4.1.27/drivers/firmware/google/
H A Dgsmi.c517 struct kobj_attribute *attr, gsmi_clear_eventlog_store()
558 static struct kobj_attribute gsmi_clear_eventlog_attr = {
564 struct kobj_attribute *attr, gsmi_clear_config_store()
584 static struct kobj_attribute gsmi_clear_config_attr = {
/linux-4.1.27/kernel/livepatch/
H A Dcore.c590 static ssize_t enabled_store(struct kobject *kobj, struct kobj_attribute *attr, enabled_store()
634 struct kobj_attribute *attr, char *buf) enabled_show()
642 static struct kobj_attribute enabled_kobj_attr = __ATTR_RW(enabled);
/linux-4.1.27/fs/9p/
H A Dv9fs.c497 struct kobj_attribute *attr, caches_show()
521 static struct kobj_attribute v9fs_attr_cache = __ATTR_RO(caches);
/linux-4.1.27/drivers/misc/ti-st/
H A Dst_kim.c652 static struct kobj_attribute ldisc_install =
655 static struct kobj_attribute uart_dev_name =
662 static struct kobj_attribute uart_baud_rate =
669 static struct kobj_attribute uart_flow_cntrl =
/linux-4.1.27/lib/
H A Dkobject.c762 struct kobj_attribute *kattr; kobj_attr_show()
765 kattr = container_of(attr, struct kobj_attribute, attr); kobj_attr_show()
774 struct kobj_attribute *kattr; kobj_attr_store()
777 kattr = container_of(attr, struct kobj_attribute, attr); kobj_attr_store()
/linux-4.1.27/fs/ecryptfs/
H A Dmain.c774 struct kobj_attribute *attr, char *buff) version_show()
779 static struct kobj_attribute version_attr = __ATTR_RO(version);
/linux-4.1.27/drivers/md/bcache/
H A Dbcache.h852 static struct kobj_attribute ksysfs_##n = __ATTR(n, S_IWUSR, NULL, fn)
855 static struct kobj_attribute ksysfs_##n = \
H A Dsuper.c1928 static ssize_t register_bcache(struct kobject *, struct kobj_attribute *,
1964 static ssize_t register_bcache(struct kobject *k, struct kobj_attribute *attr, register_bcache()

Completed in 3700 milliseconds