/linux-4.4.14/kernel/ |
D | ksysfs.c | 26 static struct kobj_attribute _name##_attr = __ATTR_RO(_name) 29 static struct kobj_attribute _name##_attr = \ 34 struct kobj_attribute *attr, char *buf) in uevent_seqnum_show() 43 struct kobj_attribute *attr, char *buf) in uevent_helper_show() 48 struct kobj_attribute *attr, in uevent_helper_store() 64 struct kobj_attribute *attr, char *buf) in profiling_show() 69 struct kobj_attribute *attr, in profiling_store() 95 struct kobj_attribute *attr, char *buf) in kexec_loaded_show() 102 struct kobj_attribute *attr, char *buf) in kexec_crash_loaded_show() 109 struct kobj_attribute *attr, char *buf) in kexec_crash_size_show() [all …]
|
/linux-4.4.14/drivers/staging/speakup/ |
D | speakup_ltlk.c | 52 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 = [all …]
|
D | speakup_spkout.c | 50 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 = [all …]
|
D | kobjects.c | 29 struct kobj_attribute *attr, char *buf) in chars_chartab_show() 109 struct kobj_attribute *attr, const char *buf, size_t count) 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() 408 struct kobj_attribute *attr, const char *buf, size_t count) 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 …]
|
D | speakup_bns.c | 46 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 = [all …]
|
D | speakup_dummy.c | 48 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 = [all …]
|
D | speakup_txprt.c | 46 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 = [all …]
|
D | speakup_acntsa.c | 49 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 = [all …]
|
D | speakup_audptr.c | 51 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 = [all …]
|
D | speakup_apollo.c | 55 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 = [all …]
|
D | speakup_decext.c | 73 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 = [all …]
|
D | speakup_soft.c | 64 static struct kobj_attribute caps_start_attribute = 66 static struct kobj_attribute caps_stop_attribute = 68 static struct kobj_attribute freq_attribute = 70 static struct kobj_attribute pitch_attribute = 72 static struct kobj_attribute punct_attribute = 74 static struct kobj_attribute rate_attribute = 76 static struct kobj_attribute tone_attribute = 78 static struct kobj_attribute voice_attribute = 80 static struct kobj_attribute vol_attribute = 90 static struct kobj_attribute delay_time_attribute = [all …]
|
D | speakup_dectlk.c | 72 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 = [all …]
|
D | speakup_dtlk.c | 69 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 = [all …]
|
D | speakup_acntpc.c | 64 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 = [all …]
|
D | speakup_decpc.c | 167 static struct kobj_attribute caps_start_attribute = 169 static struct kobj_attribute caps_stop_attribute = 171 static struct kobj_attribute pitch_attribute = 173 static struct kobj_attribute punct_attribute = 175 static struct kobj_attribute rate_attribute = 177 static struct kobj_attribute voice_attribute = 179 static struct kobj_attribute vol_attribute = 182 static struct kobj_attribute delay_time_attribute = 184 static struct kobj_attribute direct_attribute = 186 static struct kobj_attribute full_time_attribute = [all …]
|
D | speakup_keypc.c | 61 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 =
|
D | spk_priv.h | 59 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.4.14/kernel/power/ |
D | main.c | 51 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() 248 struct kobj_attribute *attr, char *buf) in pm_print_times_show() 254 struct kobj_attribute *attr, in pm_print_times_store() 277 struct kobj_attribute *attr, in pm_wakeup_irq_show() 284 struct kobj_attribute *attr, 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 …]
|
D | hibernate.c | 909 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() 1051 struct kobj_attribute *attr, char *buf) in reserved_size_show() 1057 struct kobj_attribute *attr, in reserved_size_store()
|
D | power.h | 71 static struct kobj_attribute _name##_attr = { \
|
/linux-4.4.14/samples/kobject/ |
D | kobject-example.c | 30 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() 49 static struct kobj_attribute foo_attribute = 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() 84 static struct kobj_attribute baz_attribute = 86 static struct kobj_attribute bar_attribute =
|
/linux-4.4.14/fs/btrfs/ |
D | sysfs.h | 24 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) in to_btrfs_feature_attr() 70 static inline struct kobj_attribute *attr_to_btrfs_attr(struct attribute *attr) in attr_to_btrfs_attr() 72 return container_of(attr, struct kobj_attribute, attr); in attr_to_btrfs_attr()
|
D | sysfs.c | 94 struct kobj_attribute *a, char *buf) in btrfs_feature_attr_show() 110 struct kobj_attribute *a, in btrfs_feature_attr_store() 237 struct kobj_attribute *ka, char *buf) in global_rsv_size_show() 246 struct kobj_attribute *a, char *buf) in global_rsv_reserved_show() 258 struct kobj_attribute *attr, char *buf); 263 struct kobj_attribute *attr, char *buf) in raid_bytes_show() 301 struct kobj_attribute *a, \ 310 struct kobj_attribute *a, in btrfs_space_info_show_total_bytes_pinned() 361 struct kobj_attribute *a, char *buf) in btrfs_label_show() 369 struct kobj_attribute *a, in btrfs_label_store() [all …]
|
/linux-4.4.14/drivers/s390/char/ |
D | sclp_cpi_sys.c | 222 struct kobj_attribute *attr, char *page) in system_name_show() 233 struct kobj_attribute *attr, in system_name_store() 250 static struct kobj_attribute system_name_attr = 254 struct kobj_attribute *attr, char *page) in sysplex_name_show() 265 struct kobj_attribute *attr, in sysplex_name_store() 282 static struct kobj_attribute sysplex_name_attr = 286 struct kobj_attribute *attr, char *page) in system_type_show() 297 struct kobj_attribute *attr, in system_type_store() 314 static struct kobj_attribute system_type_attr = 318 struct kobj_attribute *attr, char *page) in system_level_show() [all …]
|
D | sclp_ocf.c | 89 struct kobj_attribute *attr, char *page) in cpc_name_show() 99 static struct kobj_attribute cpc_name_attr = 103 struct kobj_attribute *attr, char *page) in hmc_network_show() 113 static struct kobj_attribute hmc_network_attr =
|
/linux-4.4.14/drivers/pci/hotplug/ |
D | rpadlpar_sysfs.c | 32 static ssize_t add_slot_store(struct kobject *kobj, struct kobj_attribute *attr, in add_slot_store() 57 struct kobj_attribute *attr, char *buf) in add_slot_show() 63 struct kobj_attribute *attr, in remove_slot_store() 88 struct kobj_attribute *attr, char *buf) in remove_slot_show() 93 static struct kobj_attribute add_slot_attr = 96 static struct kobj_attribute remove_slot_attr =
|
/linux-4.4.14/arch/s390/kernel/ |
D | ipl.c | 195 struct kobj_attribute *attr, \ 203 struct kobj_attribute *attr, \ 223 static struct kobj_attribute sys_##_prefix##_##_name##_attr = \ 230 static struct kobj_attribute sys_##_prefix##_##_name##_attr = \ 236 struct kobj_attribute *attr, \ 245 static struct kobj_attribute sys_##_prefix##_##_name##_attr = \ 253 struct kobj_attribute *attr, \ 260 static struct kobj_attribute sys_##_prefix##_##_name##_attr = \ 299 static ssize_t ipl_type_show(struct kobject *kobj, struct kobj_attribute *attr, in ipl_type_show() 305 static struct kobj_attribute sys_ipl_type_attr = __ATTR_RO(ipl_type); [all …]
|
/linux-4.4.14/arch/x86/platform/uv/ |
D | uv_sysfs.c | 29 struct kobj_attribute *attr, char *buf) in partition_id_show() 35 struct kobj_attribute *attr, char *buf) in coherence_id_show() 40 static struct kobj_attribute partition_id_attr = 43 static struct kobj_attribute coherence_id_attr =
|
/linux-4.4.14/arch/powerpc/kernel/ |
D | cacheinfo.c | 523 struct kobj_attribute *kobj_attr; in cache_index_show() 525 kobj_attr = container_of(attr, struct kobj_attribute, attr); in cache_index_show() 539 static ssize_t size_show(struct kobject *k, struct kobj_attribute *attr, char *buf) in 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) in 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) in 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) in associativity_show() 601 static struct kobj_attribute cache_assoc_attr = [all …]
|
D | fadump.c | 1097 struct kobj_attribute *attr, in fadump_release_memory_store() 1117 struct kobj_attribute *attr, in fadump_enabled_show() 1124 struct kobj_attribute *attr, in fadump_register_show() 1131 struct kobj_attribute *attr, in 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.4.14/drivers/parisc/ |
D | pdc_stable.c | 123 struct kobj_attribute pdcs_attr_##_name = { \ 529 struct kobj_attribute *attr, in pdcs_size_read() 549 struct kobj_attribute *attr, in pdcs_auto_read() 574 struct kobj_attribute *attr, char *buf) in pdcs_autoboot_read() 584 struct kobj_attribute *attr, char *buf) in pdcs_autosearch_read() 596 struct kobj_attribute *attr, char *buf) in pdcs_timer_read() 621 struct kobj_attribute *attr, char *buf) in pdcs_osid_read() 641 struct kobj_attribute *attr, char *buf) in pdcs_osdep1_read() 667 struct kobj_attribute *attr, char *buf) in pdcs_diagnostic_read() 691 struct kobj_attribute *attr, char *buf) in pdcs_fastsize_read() [all …]
|
/linux-4.4.14/arch/powerpc/platforms/powernv/ |
D | opal-flash.c | 155 struct kobj_attribute *attr, char *buf) in validate_show() 195 struct kobj_attribute *attr, in validate_store() 240 struct kobj_attribute *attr, char *buf) in manage_show() 257 struct kobj_attribute *attr, in manage_store() 351 struct kobj_attribute *attr, char *buf) in update_show() 363 struct kobj_attribute *attr, in update_store() 529 static struct kobj_attribute validate_attribute = 532 static struct kobj_attribute manage_attribute = 535 static struct kobj_attribute update_attribute =
|
D | opal-sysparam.c | 39 struct kobj_attribute kobj_attr; 115 struct kobj_attribute *kobj_attr, char *buf) in sys_param_show() 136 struct kobj_attribute *kobj_attr, const char *buf, size_t count) in sys_param_store()
|
/linux-4.4.14/arch/powerpc/platforms/pseries/ |
D | power.c | 33 struct kobj_attribute *attr, char *buf) in auto_poweron_show() 39 struct kobj_attribute *attr, in auto_poweron_store() 53 static struct kobj_attribute auto_poweron_attr =
|
/linux-4.4.14/fs/ocfs2/ |
D | stackglue.c | 483 struct kobj_attribute *attr, in ocfs2_max_locking_protocol_show() 498 static struct kobj_attribute ocfs2_attr_max_locking_protocol = 503 struct kobj_attribute *attr, in ocfs2_loaded_cluster_plugins_show() 530 static struct kobj_attribute ocfs2_attr_loaded_cluster_plugins = 535 struct kobj_attribute *attr, in ocfs2_active_cluster_plugin_show() 552 static struct kobj_attribute ocfs2_attr_active_cluster_plugin = 557 struct kobj_attribute *attr, in ocfs2_cluster_stack_show() 569 struct kobj_attribute *attr, in ocfs2_cluster_stack_store() 601 static struct kobj_attribute ocfs2_attr_cluster_stack = 609 struct kobj_attribute *attr, in ocfs2_dlm_recover_show() [all …]
|
/linux-4.4.14/mm/ |
D | huge_memory.c | 241 struct kobj_attribute *attr, char *buf, in double_flag_show() 254 struct kobj_attribute *attr, in double_flag_store() 278 struct kobj_attribute *attr, char *buf) in enabled_show() 285 struct kobj_attribute *attr, in enabled_store() 307 static struct kobj_attribute enabled_attr = 311 struct kobj_attribute *attr, char *buf, in single_flag_show() 319 struct kobj_attribute *attr, in single_flag_store() 346 struct kobj_attribute *attr, char *buf) in defrag_show() 353 struct kobj_attribute *attr, in defrag_store() 360 static struct kobj_attribute defrag_attr = [all …]
|
D | ksm.c | 2100 static struct kobj_attribute _name##_attr = __ATTR_RO(_name) 2102 static struct kobj_attribute _name##_attr = \ 2106 struct kobj_attribute *attr, char *buf) in sleep_millisecs_show() 2112 struct kobj_attribute *attr, in sleep_millisecs_store() 2129 struct kobj_attribute *attr, char *buf) in pages_to_scan_show() 2135 struct kobj_attribute *attr, 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() 2201 struct kobj_attribute *attr, char *buf) in merge_across_nodes_show() 2207 struct kobj_attribute *attr, in merge_across_nodes_store() [all …]
|
D | hugetlb.c | 2220 static struct kobj_attribute _name##_attr = __ATTR_RO(_name) 2223 static struct kobj_attribute _name##_attr = \ 2246 struct kobj_attribute *attr, char *buf) in nr_hugepages_show_common() 2321 struct kobj_attribute *attr, char *buf) in nr_hugepages_show() 2327 struct kobj_attribute *attr, const char *buf, size_t len) in nr_hugepages_store() 2340 struct kobj_attribute *attr, char *buf) in nr_hugepages_mempolicy_show() 2346 struct kobj_attribute *attr, const char *buf, size_t len) in nr_hugepages_mempolicy_store() 2355 struct kobj_attribute *attr, char *buf) in nr_overcommit_hugepages_show() 2362 struct kobj_attribute *attr, const char *buf, size_t count) in nr_overcommit_hugepages_store() 2384 struct kobj_attribute *attr, char *buf) in free_hugepages_show() [all …]
|
/linux-4.4.14/fs/ocfs2/cluster/ |
D | sys.c | 38 static ssize_t version_show(struct kobject *kobj, struct kobj_attribute *attr, in version_show() 43 static struct kobj_attribute attr_version =
|
/linux-4.4.14/drivers/firmware/efi/ |
D | efi.c | 84 struct kobj_attribute *attr, char *buf) in systab_show() 116 static struct kobj_attribute efi_attr_systab = 123 struct kobj_attribute *attr, char *buf) \ 133 struct kobj_attribute *attr, char *buf) in fw_platform_size_show() 138 static struct kobj_attribute efi_attr_fw_vendor = __ATTR_RO(fw_vendor); 139 static struct kobj_attribute efi_attr_runtime = __ATTR_RO(runtime); 140 static struct kobj_attribute efi_attr_config_table = __ATTR_RO(config_table); 141 static struct kobj_attribute efi_attr_fw_platform_size =
|
D | esrt.c | 199 struct kobj_attribute *attr, char *buf)\ 204 static struct kobj_attribute esrt_##name = __ATTR(name, 0400, \
|
/linux-4.4.14/arch/x86/platform/olpc/ |
D | olpc-xo15-sci.c | 56 lid_wake_on_close_show(struct kobject *s, struct kobj_attribute *attr, char *buf) in lid_wake_on_close_show() 62 struct kobj_attribute *attr, in lid_wake_on_close_store() 75 static struct kobj_attribute lid_wake_on_close_attr =
|
/linux-4.4.14/drivers/acpi/ |
D | sysfs.c | 493 static struct kobj_attribute *counter_attrs; 579 struct kobj_attribute *attr, char *buf) in counter_show() 623 struct kobj_attribute *attr, const char *buf, in counter_set() 716 counter_attrs = kzalloc(sizeof(struct kobj_attribute) * (num_counters), in acpi_irq_stats_init() 790 struct kobj_attribute *attr, char *buf) in hotplug_enabled_show() 798 struct kobj_attribute *attr, in hotplug_enabled_store() 811 static struct kobj_attribute hotplug_enabled_attr = 846 struct kobj_attribute *attr, char *buf) in force_remove_show() 852 struct kobj_attribute *attr, in force_remove_store() 868 static const struct kobj_attribute force_remove_attr =
|
/linux-4.4.14/include/linux/ |
D | kobject.h | 139 struct kobj_attribute { struct 141 ssize_t (*show)(struct kobject *kobj, struct kobj_attribute *attr, argument 143 ssize_t (*store)(struct kobject *kobj, struct kobj_attribute *attr, argument
|
/linux-4.4.14/arch/x86/kernel/ |
D | ksysfs.c | 24 struct kobj_attribute *attr, char *buf) in version_show() 29 static struct kobj_attribute boot_params_version_attr = __ATTR_RO(version); 117 struct kobj_attribute *attr, char *buf) in type_show() 185 static struct kobj_attribute type_attr = __ATTR_RO(type);
|
/linux-4.4.14/arch/mips/alchemy/devboards/ |
D | pm.c | 118 struct kobj_attribute *attr, in db1x_pmattr_show() 148 struct kobj_attribute *attr, in db1x_pmattr_store() 192 static struct kobj_attribute x##_attribute = \
|
/linux-4.4.14/arch/powerpc/sysdev/ |
D | ppc4xx_cpm.c | 139 struct kobj_attribute *attr, char *buf) in cpm_idle_show() 157 struct kobj_attribute *attr, in cpm_idle_store() 177 static struct kobj_attribute cpm_idle_attr =
|
/linux-4.4.14/arch/x86/kernel/cpu/ |
D | perf_event_intel_uncore.h | 116 struct kobj_attribute attr; 130 struct kobj_attribute *attr, char *buf); 140 struct kobj_attribute *attr, \ 146 static struct kobj_attribute format_attr_##_var = \
|
D | perf_event_intel_cstate.c | 96 struct kobj_attribute *attr, \ 102 static struct kobj_attribute format_attr_##_var = \
|
D | perf_event_amd_iommu.c | 83 struct kobj_attribute attr; 88 struct kobj_attribute *attr, char *buf) in _iommu_event_show()
|
D | perf_event_intel_rapl.c | 101 struct kobj_attribute *attr, \ 107 static struct kobj_attribute format_attr_##_var = \
|
D | perf_event_intel_uncore.c | 78 struct kobj_attribute *attr, char *buf) in uncore_event_show()
|
/linux-4.4.14/drivers/misc/cxl/ |
D | sysfs.c | 442 struct kobj_attribute *attr, char *buf) in vendor_show() 450 struct kobj_attribute *attr, char *buf) in device_show() 458 struct kobj_attribute *attr, char *buf) in class_show() 483 static struct kobj_attribute vendor_attribute = 485 static struct kobj_attribute device_attribute = 487 static struct kobj_attribute class_attribute =
|
/linux-4.4.14/arch/arm/common/ |
D | bL_switcher.c | 675 struct kobj_attribute *attr, char *buf) in bL_switcher_active_show() 681 struct kobj_attribute *attr, const char *buf, size_t count) in bL_switcher_active_store() 701 struct kobj_attribute *attr, const char *buf, size_t count) in 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.4.14/arch/arm/mach-omap1/ |
D | pm.c | 77 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() 97 static struct kobj_attribute sleep_while_idle_attr =
|
/linux-4.4.14/arch/arm/mach-orion5x/ |
D | ts78xx-setup.c | 509 struct kobj_attribute *attr, char *buf) in ts78xx_fpga_show() 518 struct kobj_attribute *attr, const char *buf, size_t n) in ts78xx_fpga_store() 547 static struct kobj_attribute ts78xx_fpga_attr =
|
/linux-4.4.14/drivers/misc/ti-st/ |
D | st_kim.c | 636 static struct kobj_attribute ldisc_install = 639 static struct kobj_attribute uart_dev_name = 646 static struct kobj_attribute uart_baud_rate = 653 static struct kobj_attribute uart_flow_cntrl =
|
/linux-4.4.14/drivers/firmware/google/ |
D | gsmi.c | 517 struct kobj_attribute *attr, in gsmi_clear_eventlog_store() 558 static struct kobj_attribute gsmi_clear_eventlog_attr = { 564 struct kobj_attribute *attr, in gsmi_clear_config_store() 584 static struct kobj_attribute gsmi_clear_config_attr = {
|
/linux-4.4.14/lib/ |
D | kobject.c | 778 struct kobj_attribute *kattr; in kobj_attr_show() 781 kattr = container_of(attr, struct kobj_attribute, attr); in kobj_attr_show() 790 struct kobj_attribute *kattr; in kobj_attr_store() 793 kattr = container_of(attr, struct kobj_attribute, attr); in kobj_attr_store()
|
/linux-4.4.14/kernel/livepatch/ |
D | core.c | 599 static ssize_t enabled_store(struct kobject *kobj, struct kobj_attribute *attr, in enabled_store() 643 struct kobj_attribute *attr, char *buf) in enabled_show() 651 static struct kobj_attribute enabled_kobj_attr = __ATTR_RW(enabled);
|
/linux-4.4.14/fs/9p/ |
D | v9fs.c | 491 struct kobj_attribute *attr, in caches_show() 515 static struct kobj_attribute v9fs_attr_cache = __ATTR_RO(caches);
|
/linux-4.4.14/drivers/md/bcache/ |
D | bcache.h | 835 static struct kobj_attribute ksysfs_##n = __ATTR(n, S_IWUSR, NULL, fn) 838 static struct kobj_attribute ksysfs_##n = \
|
D | super.c | 1894 static ssize_t register_bcache(struct kobject *, struct kobj_attribute *, 1930 static ssize_t register_bcache(struct kobject *k, struct kobj_attribute *attr, in register_bcache()
|
/linux-4.4.14/fs/ecryptfs/ |
D | main.c | 774 struct kobj_attribute *attr, char *buff) in version_show() 779 static struct kobj_attribute version_attr = __ATTR_RO(version);
|
/linux-4.4.14/drivers/hid/ |
D | wacom_sys.c | 1130 struct kobj_attribute *kattr, in wacom_show_remote_mode() 1147 struct kobj_attribute *kattr, char *buf) \ 1151 static struct kobj_attribute remote##SET_ID##_mode_attr = { \ 1240 struct kobj_attribute *attr, in wacom_store_unpair_remote() 1265 static struct kobj_attribute unpair_remote_attr = {
|
/linux-4.4.14/Documentation/ |
D | kobject.txt | 230 with the kobject_create_and_add(), can be of type kobj_attribute, so no
|