/arch/arm/kernel/ |
D | efi.c | 16 if (md->attribute & EFI_MEMORY_RO) in set_permissions() 18 if (md->attribute & EFI_MEMORY_XP) in set_permissions() 58 if (md->attribute & EFI_MEMORY_WB) in efi_create_mapping() 60 else if (md->attribute & EFI_MEMORY_WT) in efi_create_mapping() 62 else if (md->attribute & EFI_MEMORY_WC) in efi_create_mapping() 72 if (md->attribute & (EFI_MEMORY_RO | EFI_MEMORY_XP)) in efi_create_mapping()
|
/arch/powerpc/platforms/powernv/ |
D | opal-elog.c | 31 struct attribute attr; 91 struct attribute *attr, in elog_attr_show() 94 struct elog_attribute *attribute; in elog_attr_show() local 97 attribute = to_elog_attr(attr); in elog_attr_show() 100 if (!attribute->show) in elog_attr_show() 103 return attribute->show(elog, attribute, buf); in elog_attr_show() 107 struct attribute *attr, in elog_attr_store() 110 struct elog_attribute *attribute; in elog_attr_store() local 113 attribute = to_elog_attr(attr); in elog_attr_store() 116 if (!attribute->store) in elog_attr_store() [all …]
|
D | opal-dump.c | 31 struct attribute attr; 143 static struct attribute *initiate_attrs[] = { 155 struct attribute *attr, in dump_attr_show() 158 struct dump_attribute *attribute; in dump_attr_show() local 161 attribute = to_dump_attr(attr); in dump_attr_show() 164 if (!attribute->show) in dump_attr_show() 167 return attribute->show(dump, attribute, buf); in dump_attr_show() 171 struct attribute *attr, in dump_attr_store() 174 struct dump_attribute *attribute; in dump_attr_store() local 177 attribute = to_dump_attr(attr); in dump_attr_store() [all …]
|
/arch/arm64/kernel/ |
D | efi.c | 22 u64 attr = md->attribute; in create_mapping_protection() 90 if (md->attribute & EFI_MEMORY_RO) in set_permissions() 92 if (md->attribute & EFI_MEMORY_XP) in set_permissions()
|
/arch/ia64/kernel/ |
D | efi.c | 260 if (!(md->attribute & EFI_MEMORY_WB)) in is_memory_available() 275 u64 attribute; member 299 return (md->attribute & EFI_MEMORY_WB); in efi_wb() 305 return (md->attribute & EFI_MEMORY_UC); in efi_uc() 316 if (k->attribute != attr) in walk() 618 if (md->attribute & EFI_MEMORY_RUNTIME) { in efi_enter_virtual_mode() 623 if (md->attribute & EFI_MEMORY_WB) { in efi_enter_virtual_mode() 625 } else if (md->attribute & EFI_MEMORY_UC) { in efi_enter_virtual_mode() 627 } else if (md->attribute & EFI_MEMORY_WC) { in efi_enter_virtual_mode() 640 } else if (md->attribute & EFI_MEMORY_WT) { in efi_enter_virtual_mode() [all …]
|
D | topology.c | 236 struct attribute attr; 257 static struct attribute * cache_default_attrs[] = { 272 static ssize_t ia64_cache_show(struct kobject * kobj, struct attribute * attr, char * buf) in ia64_cache_show()
|
/arch/s390/kernel/ |
D | perf_cpum_cf_events.c | 241 static struct attribute *cpumcf_fvn1_pmu_event_attr[] __initdata = { 257 static struct attribute *cpumcf_fvn3_pmu_event_attr[] __initdata = { 269 static struct attribute *cpumcf_svn_12345_pmu_event_attr[] __initdata = { 289 static struct attribute *cpumcf_svn_6_pmu_event_attr[] __initdata = { 313 static struct attribute *cpumcf_z10_pmu_event_attr[] __initdata = { 335 static struct attribute *cpumcf_z196_pmu_event_attr[] __initdata = { 363 static struct attribute *cpumcf_zec12_pmu_event_attr[] __initdata = { 402 static struct attribute *cpumcf_z13_pmu_event_attr[] __initdata = { 462 static struct attribute *cpumcf_z14_pmu_event_attr[] __initdata = { 527 static struct attribute *cpumcf_pmu_format_attr[] = { [all …]
|
D | ipl.c | 381 static struct attribute *ipl_fcp_attrs[] = { 401 static struct attribute *ipl_ccw_attrs_vm[] = { 411 static struct attribute *ipl_ccw_attrs_lpar[] = { 430 static struct attribute *ipl_unknown_attrs[] = { 694 static struct attribute *reipl_fcp_attrs[] = { 744 static struct attribute *reipl_ccw_attrs_vm[] = { 751 static struct attribute *reipl_ccw_attrs_lpar[] = { 821 static struct attribute *reipl_nss_attrs[] = { 1107 static struct attribute *dump_fcp_attrs[] = { 1124 static struct attribute *dump_ccw_attrs[] = { [all …]
|
/arch/x86/platform/efi/ |
D | efi_64.c | 420 if (!(md->attribute & EFI_MEMORY_WB)) in __map_region() 495 u32 type, u64 attribute) in efi_ioremap() argument 505 efi_ioremap(top, size - (top - phys_addr), type, attribute); in efi_ioremap() 508 if (!(attribute & EFI_MEMORY_WB)) in efi_ioremap() 546 if (md->attribute & EFI_MEMORY_XP) in efi_update_mem_attr() 549 if (!(md->attribute & EFI_MEMORY_RO)) in efi_update_mem_attr() 592 if (!(md->attribute & EFI_MEMORY_RUNTIME)) in efi_runtime_update_mappings() 595 if (!(md->attribute & EFI_MEMORY_WB)) in efi_runtime_update_mappings() 598 if ((md->attribute & EFI_MEMORY_XP) || in efi_runtime_update_mappings() 602 if (!(md->attribute & EFI_MEMORY_RO) && in efi_runtime_update_mappings()
|
D | quirks.c | 269 mr.attribute = md.attribute | EFI_MEMORY_RUNTIME; in efi_arch_mem_reserve() 367 md->attribute |= EFI_MEMORY_RUNTIME; in efi_reserve_boot_services() 424 if (md->attribute & EFI_MEMORY_RUNTIME) { in efi_free_boot_services() 482 if (!(md->attribute & EFI_MEMORY_RUNTIME) && in efi_free_boot_services()
|
D | efi.c | 136 if (md->attribute & EFI_MEMORY_MORE_RELIABLE) { in efi_find_mirror() 167 if (md->attribute & EFI_MEMORY_WB) in do_add_efi_memmap() 623 if (!(md->attribute & EFI_MEMORY_WB)) in old_map_region() 627 md->type, md->attribute); in old_map_region() 649 prev_md->attribute != md->attribute) { in efi_merge_regions() 659 md->attribute = 0; in efi_merge_regions() 770 if (md->attribute & EFI_MEMORY_RUNTIME) in should_map_region()
|
/arch/x86/events/amd/ |
D | power.c | 158 static struct attribute *pmu_attrs[] = { 178 static struct attribute *events_attr[] = { 192 static struct attribute *formats_attr[] = {
|
D | iommu.c | 60 static struct attribute *iommu_format_attrs[] = { 143 static struct attribute *iommu_cpumask_attrs[] = { 377 struct attribute **attrs; in _init_events_attrs() 382 attrs = kcalloc(i + 1, sizeof(struct attribute **), GFP_KERNEL); in _init_events_attrs()
|
/arch/x86/events/intel/ |
D | rapl.c | 389 static struct attribute *rapl_pmu_attrs[] = { 424 static struct attribute *attrs_empty[] = { 434 static struct attribute *rapl_formats_attr[] = { 451 static struct attribute *rapl_events_cores[] = { 463 static struct attribute *rapl_events_pkg[] = { 475 static struct attribute *rapl_events_ram[] = { 487 static struct attribute *rapl_events_gpu[] = { 499 static struct attribute *rapl_events_psys[] = {
|
D | core.c | 277 static struct attribute *nhm_mem_events_attrs[] = { 312 static struct attribute *snb_events_attrs[] = { 323 static struct attribute *snb_mem_events_attrs[] = { 1449 static struct attribute *slm_events_attrs[] = { 1603 static struct attribute *glm_events_attrs[] = { 3599 static struct attribute *intel_arch_formats_attr[] = { 3842 static struct attribute *intel_arch3_formats_attr[] = { 3853 static struct attribute *hsw_format_attr[] = { 3861 static struct attribute *nhm_format_attr[] = { 3867 static struct attribute *slm_format_attr[] = { [all …]
|
D | uncore_snbep.c | 581 static struct attribute *snbep_uncore_formats_attr[] = { 590 static struct attribute *snbep_uncore_ubox_formats_attr[] = { 599 static struct attribute *snbep_uncore_cbox_formats_attr[] = { 613 static struct attribute *snbep_uncore_pcu_formats_attr[] = { 628 static struct attribute *snbep_uncore_qpi_formats_attr[] = { 1431 static struct attribute *ivbep_uncore_formats_attr[] = { 1440 static struct attribute *ivbep_uncore_ubox_formats_attr[] = { 1449 static struct attribute *ivbep_uncore_cbox_formats_attr[] = { 1466 static struct attribute *ivbep_uncore_pcu_formats_attr[] = { 1480 static struct attribute *ivbep_uncore_qpi_formats_attr[] = { [all …]
|
/arch/powerpc/perf/ |
D | hv-24x7.c | 135 static struct attribute *format_attrs[] = { 389 static struct attribute *device_str_attr_create_(char *name, char *str) in device_str_attr_create_() 415 static struct attribute *device_str_attr_create(char *name, int name_max, in device_str_attr_create() 421 struct attribute *a; in device_str_attr_create() 446 static struct attribute *event_to_attr(unsigned ix, in event_to_attr() 453 struct attribute *attr; in event_to_attr() 488 static struct attribute *event_to_desc_attr(struct hv_24x7_event_data *event, in event_to_desc_attr() 502 static struct attribute * 516 static int event_data_to_attrs(unsigned ix, struct attribute **attrs, in event_data_to_attrs() 683 static int create_events_from_catalog(struct attribute ***events_, in create_events_from_catalog() [all …]
|
D | generic-compat-pmu.c | 53 static struct attribute *generic_compat_events_attr[] = { 71 static struct attribute *generic_compat_pmu_format_attr[] = {
|
D | hv-gpci.c | 51 static struct attribute *format_attrs[] = { 104 static struct attribute *interface_attrs[] = {
|
/arch/sh/kernel/cpu/sh4/ |
D | sq.c | 259 struct attribute attr; 266 static ssize_t sq_sysfs_show(struct kobject *kobj, struct attribute *attr, in sq_sysfs_show() 277 static ssize_t sq_sysfs_store(struct kobject *kobj, struct attribute *attr, in sq_sysfs_store() 322 static struct attribute *sq_sysfs_attrs[] = {
|
/arch/x86/events/ |
D | probe.h | 17 static struct attribute *attrs_##_name[] = { \
|
D | probe.c | 8 not_visible(struct kobject *kobj, struct attribute *attr, int i) in not_visible()
|
D | msr.c | 128 static struct attribute *attrs_therm[] = { 151 static struct attribute *events_attrs[] = { 162 static struct attribute *format_attrs[] = {
|
/arch/s390/pci/ |
D | pci_sysfs.c | 118 static struct attribute *zpci_dev_attrs[] = { 135 static struct attribute *pfip_attrs[] = {
|
/arch/powerpc/platforms/pseries/ |
D | power.c | 49 static struct attribute *g[] = {
|