Home
last modified time | relevance | path

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

12345

/arch/powerpc/platforms/powernv/
A Dopal-elog.c31 struct attribute attr;
96 struct attribute *attr, in elog_attr_show()
99 struct elog_attribute *attribute; in elog_attr_show() local
102 attribute = to_elog_attr(attr); in elog_attr_show()
105 if (!attribute->show) in elog_attr_show()
108 return attribute->show(elog, attribute, buf); in elog_attr_show()
112 struct attribute *attr, in elog_attr_store()
115 struct elog_attribute *attribute; in elog_attr_store() local
118 attribute = to_elog_attr(attr); in elog_attr_store()
121 if (!attribute->store) in elog_attr_store()
[all …]
A Dopal-dump.c31 struct attribute attr;
160 struct attribute *attr, in dump_attr_show()
163 struct dump_attribute *attribute; in dump_attr_show() local
166 attribute = to_dump_attr(attr); in dump_attr_show()
169 if (!attribute->show) in dump_attr_show()
172 return attribute->show(dump, attribute, buf); in dump_attr_show()
176 struct attribute *attr, in dump_attr_store()
179 struct dump_attribute *attribute; in dump_attr_store() local
182 attribute = to_dump_attr(attr); in dump_attr_store()
185 if (!attribute->store) in dump_attr_store()
[all …]
/arch/arm/kernel/
A Defi.c19 if (md->attribute & EFI_MEMORY_RO) in set_permissions()
21 if (md->attribute & EFI_MEMORY_XP) in set_permissions()
62 if (md->attribute & EFI_MEMORY_WB) in efi_create_mapping()
64 else if (md->attribute & EFI_MEMORY_WT) in efi_create_mapping()
66 else if (md->attribute & EFI_MEMORY_WC) in efi_create_mapping()
76 if (md->attribute & (EFI_MEMORY_RO | EFI_MEMORY_XP)) in efi_create_mapping()
/arch/x86/platform/efi/
A Druntime-map.c24 struct attribute attr;
28 static inline struct map_attribute *to_map_attr(struct attribute *attr) in to_map_attr()
49 EFI_RUNTIME_U64_ATTR_SHOW(attribute);
56 static ssize_t map_attr_show(struct kobject *kobj, struct attribute *attr, in map_attr_show()
69 static struct map_attribute map_attribute_attr = __ATTR_RO_MODE(attribute, 0400);
74 static struct attribute *def_attrs[] = {
A Dmemmap.c173 m_attr = mem->attribute; in efi_memmap_insert()
197 md->attribute |= m_attr; in efi_memmap_insert()
202 md->attribute |= m_attr; in efi_memmap_insert()
222 md->attribute |= m_attr; in efi_memmap_insert()
247 md->attribute |= m_attr; in efi_memmap_insert()
A Defi.c134 && (md->attribute & EFI_MEMORY_SP)) in do_add_efi_memmap()
136 else if (md->attribute & EFI_MEMORY_WB) in do_add_efi_memmap()
187 (md->attribute & EFI_MEMORY_SP)) in do_efi_soft_reserve()
522 prev_md->attribute != md->attribute) { in efi_merge_regions()
532 md->attribute = 0; in efi_merge_regions()
629 if (md->attribute & EFI_MEMORY_RUNTIME) in should_map_region()
646 (md->attribute & EFI_MEMORY_SP)) in should_map_region()
908 umode_t efi_attr_is_visible(struct kobject *kobj, struct attribute *attr, int n) in efi_attr_is_visible()
A Dquirks.c278 mr.attribute = md.attribute | EFI_MEMORY_RUNTIME; in efi_arch_mem_reserve()
377 md->attribute |= EFI_MEMORY_RUNTIME; in efi_reserve_boot_services()
430 if (md->attribute & EFI_MEMORY_RUNTIME) { in efi_free_boot_services()
498 if (!(md->attribute & EFI_MEMORY_RUNTIME) && in efi_free_boot_services()
/arch/riscv/kernel/
A Defi.c21 u64 attr = md->attribute; in efimem_to_pgprot_map()
66 if (md->attribute & EFI_MEMORY_RO) { in set_permissions()
71 if (md->attribute & EFI_MEMORY_XP) { in set_permissions()
A Dacpi.c300 if (region->attribute & EFI_MEMORY_WB) in acpi_os_ioremap()
302 else if ((region->attribute & EFI_MEMORY_WC) || in acpi_os_ioremap()
303 (region->attribute & EFI_MEMORY_WT)) in acpi_os_ioremap()
/arch/powerpc/platforms/pseries/
A Dvas-sysfs.c65 struct attribute attr;
106 static struct attribute *vas_def_capab_attrs[] = {
113 static struct attribute *vas_qos_capab_attrs[] = {
121 static ssize_t vas_type_show(struct kobject *kobj, struct attribute *attr, in vas_type_show()
138 static ssize_t vas_type_store(struct kobject *kobj, struct attribute *attr, in vas_type_store()
/arch/s390/pci/
A Dpci_sysfs.c182 struct attribute *attr, int n) in zpci_index_is_visible()
187 static struct attribute *zpci_ident_attrs[] = {
203 static struct attribute *zpci_dev_attrs[] = {
224 static struct attribute *pfip_attrs[] = {
/arch/s390/kernel/
A Dperf_cpum_cf_events.c517 static struct attribute *cpumcf_z10_pmu_event_attr[] __initdata = {
606 static struct attribute *cpumcf_z13_pmu_event_attr[] __initdata = {
666 static struct attribute *cpumcf_z14_pmu_event_attr[] __initdata = {
947 static struct attribute *cpumcf_pmu_format_attr[] = {
964 static __init struct attribute **merge_attr(struct attribute **a, in merge_attr()
965 struct attribute **b, in merge_attr()
966 struct attribute **c) in merge_attr()
968 struct attribute **new; in merge_attr()
979 new = kmalloc_array(j, sizeof(struct attribute *), GFP_KERNEL); in merge_attr()
996 struct attribute **combined, **model, **cfvn, **csvn; in cpumf_cf_event_group()
[all …]
/arch/arm64/kernel/
A Defi.c35 u64 attr = md->attribute; in create_mapping_protection()
119 if (md->attribute & EFI_MEMORY_RO) in set_permissions()
121 if (md->attribute & EFI_MEMORY_XP) in set_permissions()
A Dacpi.c378 if (region->attribute & EFI_MEMORY_WB) in acpi_os_ioremap()
380 else if (region->attribute & EFI_MEMORY_WC) in acpi_os_ioremap()
382 else if (region->attribute & EFI_MEMORY_WT) in acpi_os_ioremap()
/arch/powerpc/perf/
A Dhv-24x7.c184 static struct attribute *format_attrs[] = {
484 struct attribute *a; in device_str_attr_create()
509 static struct attribute *event_to_attr(unsigned int ix, in event_to_attr()
516 struct attribute *attr; in event_to_attr()
565 static struct attribute *
754 static int create_events_from_catalog(struct attribute ***events_, in create_events_from_catalog()
755 struct attribute ***event_descs_, in create_events_from_catalog()
756 struct attribute ***event_long_descs_) in create_events_from_catalog()
765 struct attribute **events, **event_descs, **event_long_descs; in create_events_from_catalog()
1123 static struct attribute *cpumask_attrs[] = {
[all …]
A Dvpa-pmu.c44 static struct attribute *vpa_pmu_events_attr[] = {
57 static struct attribute *vpa_pmu_format_attr[] = {
A Dgeneric-compat-pmu.c117 static struct attribute *generic_compat_events_attr[] = {
142 static struct attribute *generic_compat_pmu_format_attr[] = {
154 static struct attribute *generic_compat_pmu_caps_attrs[] = {
/arch/x86/events/amd/
A Dpower.c155 static struct attribute *pmu_attrs[] = {
175 static struct attribute *events_attr[] = {
189 static struct attribute *formats_attr[] = {
A Dibs.c616 static struct attribute *attrs_empty[] = {
653 static struct attribute *fetch_attrs[] = {
659 static struct attribute *fetch_l3missonly_attrs[] = {
664 static struct attribute *zen4_ibs_extensions_attrs[] = {
669 static struct attribute *ibs_op_ldlat_cap_attrs[] = {
674 static struct attribute *ibs_op_dtlb_pgsize_cap_attrs[] = {
721 cnt_ctl_is_visible(struct kobject *kobj, struct attribute *attr, int i) in cnt_ctl_is_visible()
726 static struct attribute *op_attrs[] = {
731 static struct attribute *cnt_ctl_attrs[] = {
736 static struct attribute *op_l3missonly_attrs[] = {
[all …]
/arch/sh/kernel/cpu/sh4/
A Dsq.c260 struct attribute attr;
267 static ssize_t sq_sysfs_show(struct kobject *kobj, struct attribute *attr, in sq_sysfs_show()
278 static ssize_t sq_sysfs_store(struct kobject *kobj, struct attribute *attr, in sq_sysfs_store()
323 static struct attribute *sq_sysfs_attrs[] = {
/arch/x86/events/intel/
A Dcore.c487 static struct attribute *snb_events_attrs[] = {
1726 static struct attribute *slm_events_attrs[] = {
1880 static struct attribute *glm_events_attrs[] = {
2175 static struct attribute *tnt_events_attrs[] = {
2193 static struct attribute *grt_mem_attrs[] = {
6202 static struct attribute *lbr_attrs[] = {
6547 struct attribute *attr, int i) in hybrid_events_is_visible()
6560 struct attribute *attr, int i) in hybrid_tsx_is_visible()
6571 struct attribute *attr, int i) in hybrid_format_is_visible()
6584 struct attribute *attr, int i) in hybrid_td_is_visible()
[all …]
/arch/x86/events/
A Drapl.c463 static struct attribute *attrs_empty[] = {
473 static struct attribute *rapl_formats_attr[] = {
495 static struct attribute *rapl_events_cores[] = {
507 static struct attribute *rapl_events_pkg[] = {
519 static struct attribute *rapl_events_ram[] = {
531 static struct attribute *rapl_events_gpu[] = {
543 static struct attribute *rapl_events_psys[] = {
555 static struct attribute *rapl_events_core[] = {
A Dmsr.c145 static struct attribute *attrs_therm[] = {
168 static struct attribute *events_attrs[] = {
179 static struct attribute *format_attrs[] = {
A Dprobe.h18 static struct attribute *attrs_##_name[] = { \
/arch/powerpc/include/asm/
A Dsecvar.h23 const struct attribute **config_attrs;

Completed in 59 milliseconds

12345