/arch/powerpc/platforms/powernv/ |
D | opal-elog.c | 35 struct attribute attr; 95 struct attribute *attr, in elog_attr_show() 98 struct elog_attribute *attribute; in elog_attr_show() local 101 attribute = to_elog_attr(attr); in elog_attr_show() 104 if (!attribute->show) in elog_attr_show() 107 return attribute->show(elog, attribute, buf); in elog_attr_show() 111 struct attribute *attr, in elog_attr_store() 114 struct elog_attribute *attribute; in elog_attr_store() local 117 attribute = to_elog_attr(attr); in elog_attr_store() 120 if (!attribute->store) in elog_attr_store() [all …]
|
D | opal-dump.c | 35 struct attribute attr; 147 static struct attribute *initiate_attrs[] = { 159 struct attribute *attr, in dump_attr_show() 162 struct dump_attribute *attribute; in dump_attr_show() local 165 attribute = to_dump_attr(attr); in dump_attr_show() 168 if (!attribute->show) in dump_attr_show() 171 return attribute->show(dump, attribute, buf); in dump_attr_show() 175 struct attribute *attr, in dump_attr_store() 178 struct dump_attribute *attribute; in dump_attr_store() local 181 attribute = to_dump_attr(attr); in dump_attr_store() [all …]
|
/arch/s390/kernel/ |
D | perf_cpum_cf_events.c | 118 static struct attribute *cpumcf_pmu_event_attr[] = { 150 static struct attribute *cpumcf_z10_pmu_event_attr[] __initdata = { 172 static struct attribute *cpumcf_z196_pmu_event_attr[] __initdata = { 200 static struct attribute *cpumcf_zec12_pmu_event_attr[] __initdata = { 248 static struct attribute *cpumsf_pmu_format_attr[] = { 265 static __init struct attribute **merge_attr(struct attribute **a, in merge_attr() 266 struct attribute **b) in merge_attr() 268 struct attribute **new; in merge_attr() 277 new = kmalloc(sizeof(struct attribute *) * j, GFP_KERNEL); in merge_attr() 292 struct attribute **combined, **model; in cpumf_cf_event_group()
|
D | ipl.c | 265 static void make_attrs_ro(struct attribute **attrs) in make_attrs_ro() 494 static struct attribute *ipl_fcp_attrs[] = { 512 static struct attribute *ipl_ccw_attrs_vm[] = { 520 static struct attribute *ipl_ccw_attrs_lpar[] = { 539 static struct attribute *ipl_nss_attrs[] = { 553 static struct attribute *ipl_unknown_attrs[] = { 824 static struct attribute *reipl_fcp_attrs[] = { 874 static struct attribute *reipl_ccw_attrs_vm[] = { 881 static struct attribute *reipl_ccw_attrs_lpar[] = { 953 static struct attribute *reipl_nss_attrs[] = { [all …]
|
/arch/ia64/kernel/ |
D | efi.c | 256 if (!(md->attribute & EFI_MEMORY_WB)) in is_memory_available() 271 u64 attribute; member 295 return (md->attribute & EFI_MEMORY_WB); in efi_wb() 301 return (md->attribute & EFI_MEMORY_UC); in efi_uc() 312 if (k->attribute != attr) in walk() 616 if (md->attribute & EFI_MEMORY_RUNTIME) { in efi_enter_virtual_mode() 621 if (md->attribute & EFI_MEMORY_WB) { in efi_enter_virtual_mode() 623 } else if (md->attribute & EFI_MEMORY_UC) { in efi_enter_virtual_mode() 625 } else if (md->attribute & EFI_MEMORY_WC) { in efi_enter_virtual_mode() 638 } else if (md->attribute & EFI_MEMORY_WT) { in efi_enter_virtual_mode() [all …]
|
D | topology.c | 240 struct attribute attr; 261 static struct attribute * cache_default_attrs[] = { 276 static ssize_t ia64_cache_show(struct kobject * kobj, struct attribute * attr, char * buf) in ia64_cache_show()
|
/arch/powerpc/perf/ |
D | hv-24x7.c | 114 static struct attribute *format_attrs[] = { 325 static struct attribute *device_str_attr_create_(char *name, char *str) in device_str_attr_create_() 342 static struct attribute *device_str_attr_create(char *name, int name_max, in device_str_attr_create() 348 struct attribute *a; in device_str_attr_create() 373 static void device_str_attr_destroy(struct attribute *attr) in device_str_attr_destroy() 383 static struct attribute *event_to_attr(unsigned ix, in event_to_attr() 391 struct attribute *attr; in event_to_attr() 427 static struct attribute *event_to_desc_attr(struct hv_24x7_event_data *event, in event_to_desc_attr() 441 static struct attribute * 455 static ssize_t event_data_to_attrs(unsigned ix, struct attribute **attrs, in event_data_to_attrs() [all …]
|
D | hv-gpci.c | 55 static struct attribute *format_attrs[] = { 108 static struct attribute *interface_attrs[] = {
|
/arch/x86/kernel/cpu/ |
D | perf_event_intel_cstate.c | 199 static struct attribute *core_events_attrs[PERF_CSTATE_CORE_EVENT_MAX + 1] = { 209 static struct attribute *core_format_attrs[] = { 222 static struct attribute *cstate_cpumask_attrs[] = { 342 static struct attribute *pkg_events_attrs[PERF_CSTATE_PKG_EVENT_MAX + 1] = { 352 static struct attribute *pkg_format_attrs[] = { 578 struct attribute **events_attrs, in cstate_probe_msr()
|
D | perf_event_amd_iommu.c | 63 static struct attribute *iommu_format_attrs[] = { 137 static struct attribute *iommu_cpumask_attrs[] = { 404 struct attribute **attrs; in _init_events_attrs() 411 attr_group = kzalloc(sizeof(struct attribute *) in _init_events_attrs() 416 attrs = (struct attribute **)(attr_group + 1); in _init_events_attrs()
|
D | perf_event_intel_rapl.c | 399 static struct attribute *rapl_pmu_attrs[] = { 439 static struct attribute *rapl_events_srv_attr[] = { 454 static struct attribute *rapl_events_cln_attr[] = { 469 static struct attribute *rapl_events_hsw_attr[] = { 487 static struct attribute *rapl_events_knl_attr[] = { 505 static struct attribute *rapl_formats_attr[] = {
|
D | perf_event.h | 561 struct attribute **format_attrs; 562 struct attribute **event_attrs; 565 struct attribute **cpu_events; 801 struct attribute **merge_attr(struct attribute **a, struct attribute **b);
|
D | perf_event_msr.c | 87 static struct attribute *events_attrs[PERF_MSR_EVENT_MAX + 1] = { 97 static struct attribute *format_attrs[] = {
|
D | perf_event_intel_uncore_snbep.c | 375 static struct attribute *snbep_uncore_formats_attr[] = { 384 static struct attribute *snbep_uncore_ubox_formats_attr[] = { 393 static struct attribute *snbep_uncore_cbox_formats_attr[] = { 407 static struct attribute *snbep_uncore_pcu_formats_attr[] = { 422 static struct attribute *snbep_uncore_qpi_formats_attr[] = { 1213 static struct attribute *ivbep_uncore_formats_attr[] = { 1222 static struct attribute *ivbep_uncore_ubox_formats_attr[] = { 1231 static struct attribute *ivbep_uncore_cbox_formats_attr[] = { 1248 static struct attribute *ivbep_uncore_pcu_formats_attr[] = { 1262 static struct attribute *ivbep_uncore_qpi_formats_attr[] = { [all …]
|
D | perf_event.c | 1549 static void __init filter_events(struct attribute **attrs) in filter_events() 1582 __init struct attribute **merge_attr(struct attribute **a, struct attribute **b) in merge_attr() 1584 struct attribute **new; in merge_attr() 1593 new = kmalloc(sizeof(struct attribute *) * j, GFP_KERNEL); in merge_attr() 1632 static struct attribute *empty_attrs; 1634 static struct attribute *events_attr[] = { 1748 struct attribute **tmp; in init_hw_perf_events() 2099 static struct attribute *x86_pmu_attrs[] = {
|
D | perf_event_amd_ibs.c | 56 struct attribute **format_attrs; 458 static struct attribute *ibs_fetch_format_attrs[] = { 463 static struct attribute *ibs_op_format_attrs[] = { 659 struct attribute **attr = ibs_op_format_attrs; in perf_event_ibs_init()
|
/arch/x86/platform/efi/ |
D | efi.c | 131 if (md->attribute & EFI_MEMORY_MORE_RELIABLE) { in efi_find_mirror() 163 if (md->attribute & EFI_MEMORY_WB) in do_add_efi_memmap() 593 if (!(md->attribute & EFI_MEMORY_WB)) in old_map_region() 597 md->type, md->attribute); in old_map_region() 621 prev_md->attribute != md->attribute) { in efi_merge_regions() 631 md->attribute = 0; in efi_merge_regions() 665 if (!(md->attribute & EFI_MEMORY_RUNTIME) || in save_runtime_map() 785 if (!(md->attribute & EFI_MEMORY_RUNTIME)) { in efi_map_regions()
|
D | efi_64.c | 210 if (!(md->attribute & EFI_MEMORY_WB)) in __map_region() 280 u32 type, u64 attribute) in efi_ioremap() argument 290 efi_ioremap(top, size - (top - phys_addr), type, attribute); in efi_ioremap() 293 if (!(attribute & EFI_MEMORY_WB)) in efi_ioremap()
|
/arch/s390/pci/ |
D | pci_sysfs.c | 85 static struct attribute *zpci_dev_attrs[] = { 101 static struct attribute *pfip_attrs[] = {
|
/arch/sh/kernel/cpu/sh4/ |
D | sq.c | 262 struct attribute attr; 269 static ssize_t sq_sysfs_show(struct kobject *kobj, struct attribute *attr, in sq_sysfs_show() 280 static ssize_t sq_sysfs_store(struct kobject *kobj, struct attribute *attr, in sq_sysfs_store() 325 static struct attribute *sq_sysfs_attrs[] = {
|
/arch/arm64/kernel/ |
D | efi.c | 29 if ((md->attribute & EFI_MEMORY_WB) == 0) in efi_create_mapping()
|
/arch/powerpc/platforms/pseries/ |
D | power.c | 59 static struct attribute *g[] = {
|
/arch/x86/kernel/ |
D | ksysfs.c | 48 static struct attribute *boot_params_version_attrs[] = { 195 static struct attribute *setup_data_type_attrs[] = {
|
/arch/powerpc/platforms/cell/ |
D | cbe_thermal.c | 262 static struct attribute *spu_attributes[] = { 289 static struct attribute *ppe_attributes[] = {
|
/arch/x86/kernel/cpu/mcheck/ |
D | mce_amd.c | 441 struct attribute attr; 525 static struct attribute *default_attrs[] = { 535 static ssize_t show(struct kobject *kobj, struct attribute *attr, char *buf) in show() 546 static ssize_t store(struct kobject *kobj, struct attribute *attr, in store()
|