Home
last modified time | relevance | path

Searched refs:attribute (Results 1 – 25 of 85) sorted by relevance

1234

/arch/arm/kernel/
Defi.c16 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/
Dopal-elog.c31 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 …]
Dopal-dump.c31 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/ia64/kernel/
Defi.c260 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 …]
Dtopology.c235 struct attribute attr;
256 static struct attribute * cache_default_attrs[] = {
271 static ssize_t ia64_cache_show(struct kobject * kobj, struct attribute * attr, char * buf) in ia64_cache_show()
/arch/s390/kernel/
Dperf_cpum_cf_events.c241 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 …]
Dipl.c381 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[] = {
696 static struct attribute *reipl_fcp_attrs[] = {
746 static struct attribute *reipl_ccw_attrs_vm[] = {
753 static struct attribute *reipl_ccw_attrs_lpar[] = {
823 static struct attribute *reipl_nss_attrs[] = {
1109 static struct attribute *dump_fcp_attrs[] = {
1126 static struct attribute *dump_ccw_attrs[] = {
[all …]
/arch/arm64/kernel/
Defi.c30 u64 attr = md->attribute; in create_mapping_protection()
103 if (md->attribute & EFI_MEMORY_RO) in set_permissions()
105 if (md->attribute & EFI_MEMORY_XP) in set_permissions()
/arch/x86/events/amd/
Dpower.c158 static struct attribute *pmu_attrs[] = {
178 static struct attribute *events_attr[] = {
192 static struct attribute *formats_attr[] = {
/arch/x86/events/
Drapl.c380 static struct attribute *rapl_pmu_attrs[] = {
415 static struct attribute *attrs_empty[] = {
425 static struct attribute *rapl_formats_attr[] = {
442 static struct attribute *rapl_events_cores[] = {
454 static struct attribute *rapl_events_pkg[] = {
466 static struct attribute *rapl_events_ram[] = {
478 static struct attribute *rapl_events_gpu[] = {
490 static struct attribute *rapl_events_psys[] = {
Dprobe.h17 static struct attribute *attrs_##_name[] = { \
Dprobe.c8 not_visible(struct kobject *kobj, struct attribute *attr, int i) in not_visible()
Dmsr.c129 static struct attribute *attrs_therm[] = {
152 static struct attribute *events_attrs[] = {
163 static struct attribute *format_attrs[] = {
/arch/powerpc/perf/
Dhv-24x7.c135 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 …]
Dgeneric-compat-pmu.c53 static struct attribute *generic_compat_events_attr[] = {
71 static struct attribute *generic_compat_pmu_format_attr[] = {
/arch/x86/platform/efi/
Defi_64.c420 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()
Dquirks.c269 mr.attribute = md.attribute | EFI_MEMORY_RUNTIME; in efi_arch_mem_reserve()
368 md->attribute |= EFI_MEMORY_RUNTIME; in efi_reserve_boot_services()
425 if (md->attribute & EFI_MEMORY_RUNTIME) { in efi_free_boot_services()
483 if (!(md->attribute & EFI_MEMORY_RUNTIME) && in efi_free_boot_services()
Defi.c138 if (md->attribute & EFI_MEMORY_MORE_RELIABLE) { in efi_find_mirror()
169 if (md->attribute & EFI_MEMORY_WB) in do_add_efi_memmap()
626 if (!(md->attribute & EFI_MEMORY_WB)) in old_map_region()
630 md->type, md->attribute); in old_map_region()
652 prev_md->attribute != md->attribute) { in efi_merge_regions()
662 md->attribute = 0; in efi_merge_regions()
773 if (md->attribute & EFI_MEMORY_RUNTIME) in should_map_region()
/arch/sh/kernel/cpu/sh4/
Dsq.c259 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/powerpc/platforms/pseries/
Dpower.c49 static struct attribute *g[] = {
/arch/s390/pci/
Dpci_sysfs.c139 static struct attribute *zpci_dev_attrs[] = {
156 static struct attribute *pfip_attrs[] = {
/arch/powerpc/perf/req-gen/
Dperf.h143 static __maybe_unused struct attribute *hv_gpci_event_attrs_v6[] = {
162 static __maybe_unused struct attribute *hv_gpci_event_attrs[] = {
/arch/x86/events/intel/
Dcore.c279 static struct attribute *nhm_mem_events_attrs[] = {
314 static struct attribute *snb_events_attrs[] = {
325 static struct attribute *snb_mem_events_attrs[] = {
1451 static struct attribute *slm_events_attrs[] = {
1605 static struct attribute *glm_events_attrs[] = {
3604 static struct attribute *intel_arch_formats_attr[] = {
3847 static struct attribute *intel_arch3_formats_attr[] = {
3858 static struct attribute *hsw_format_attr[] = {
3866 static struct attribute *nhm_format_attr[] = {
3872 static struct attribute *slm_format_attr[] = {
[all …]
Duncore_snbep.c576 static struct attribute *snbep_uncore_formats_attr[] = {
585 static struct attribute *snbep_uncore_ubox_formats_attr[] = {
594 static struct attribute *snbep_uncore_cbox_formats_attr[] = {
608 static struct attribute *snbep_uncore_pcu_formats_attr[] = {
623 static struct attribute *snbep_uncore_qpi_formats_attr[] = {
1425 static struct attribute *ivbep_uncore_formats_attr[] = {
1434 static struct attribute *ivbep_uncore_ubox_formats_attr[] = {
1443 static struct attribute *ivbep_uncore_cbox_formats_attr[] = {
1460 static struct attribute *ivbep_uncore_pcu_formats_attr[] = {
1474 static struct attribute *ivbep_uncore_qpi_formats_attr[] = {
[all …]
/arch/arm/mm/
Dcache-l2x0-pmu.c350 struct attribute *attr, in l2x0_pmu_event_attr_is_visible()
365 static struct attribute *l2x0_pmu_event_attrs[] = {
399 static struct attribute *l2x0_pmu_cpumask_attrs[] = {

1234