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/arm64/kernel/
Defi.c22 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/
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.c236 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/
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[] = {
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/
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()
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()
Defi.c136 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/
Dpower.c158 static struct attribute *pmu_attrs[] = {
178 static struct attribute *events_attr[] = {
192 static struct attribute *formats_attr[] = {
Diommu.c60 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/
Drapl.c389 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[] = {
Dcore.c277 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 …]
Duncore_snbep.c581 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/
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[] = {
Dhv-gpci.c51 static struct attribute *format_attrs[] = {
104 static struct attribute *interface_attrs[] = {
/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/x86/events/
Dprobe.h17 static struct attribute *attrs_##_name[] = { \
Dprobe.c8 not_visible(struct kobject *kobj, struct attribute *attr, int i) in not_visible()
Dmsr.c128 static struct attribute *attrs_therm[] = {
151 static struct attribute *events_attrs[] = {
162 static struct attribute *format_attrs[] = {
/arch/s390/pci/
Dpci_sysfs.c118 static struct attribute *zpci_dev_attrs[] = {
135 static struct attribute *pfip_attrs[] = {
/arch/powerpc/platforms/pseries/
Dpower.c49 static struct attribute *g[] = {

1234