Home
last modified time | relevance | path

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

123

/arch/powerpc/platforms/powernv/
Dopal-elog.c34 struct attribute attr;
94 struct attribute *attr, in elog_attr_show()
97 struct elog_attribute *attribute; in elog_attr_show() local
100 attribute = to_elog_attr(attr); in elog_attr_show()
103 if (!attribute->show) in elog_attr_show()
106 return attribute->show(elog, attribute, buf); in elog_attr_show()
110 struct attribute *attr, in elog_attr_store()
113 struct elog_attribute *attribute; in elog_attr_store() local
116 attribute = to_elog_attr(attr); in elog_attr_store()
119 if (!attribute->store) in elog_attr_store()
[all …]
Dopal-dump.c34 struct attribute attr;
146 static struct attribute *initiate_attrs[] = {
158 struct attribute *attr, in dump_attr_show()
161 struct dump_attribute *attribute; in dump_attr_show() local
164 attribute = to_dump_attr(attr); in dump_attr_show()
167 if (!attribute->show) in dump_attr_show()
170 return attribute->show(dump, attribute, buf); in dump_attr_show()
174 struct attribute *attr, in dump_attr_store()
177 struct dump_attribute *attribute; in dump_attr_store() local
180 attribute = to_dump_attr(attr); in dump_attr_store()
[all …]
/arch/s390/kernel/
Dperf_cpum_cf_events.c118 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()
Dipl.c238 static void make_attrs_ro(struct attribute **attrs) in make_attrs_ro()
474 static struct attribute *ipl_fcp_attrs[] = {
491 static struct attribute *ipl_ccw_attrs_vm[] = {
499 static struct attribute *ipl_ccw_attrs_lpar[] = {
518 static struct attribute *ipl_nss_attrs[] = {
532 static struct attribute *ipl_unknown_attrs[] = {
832 static struct attribute *reipl_fcp_attrs[] = {
883 static struct attribute *reipl_ccw_attrs_vm[] = {
890 static struct attribute *reipl_ccw_attrs_lpar[] = {
962 static struct attribute *reipl_nss_attrs[] = {
[all …]
/arch/ia64/kernel/
Defi.c256 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()
617 if (md->attribute & EFI_MEMORY_RUNTIME) { in efi_enter_virtual_mode()
622 if (md->attribute & EFI_MEMORY_WB) { in efi_enter_virtual_mode()
624 } else if (md->attribute & EFI_MEMORY_UC) { in efi_enter_virtual_mode()
626 } else if (md->attribute & EFI_MEMORY_WC) { in efi_enter_virtual_mode()
639 } else if (md->attribute & EFI_MEMORY_WT) { in efi_enter_virtual_mode()
[all …]
Dtopology.c242 struct attribute attr;
263 static struct attribute * cache_default_attrs[] = {
278 static ssize_t ia64_cache_show(struct kobject * kobj, struct attribute * attr, char * buf) in ia64_cache_show()
/arch/x86/platform/efi/
Defi.c134 if (md->attribute & EFI_MEMORY_WB) in do_add_efi_memmap()
557 if (!(md->attribute & EFI_MEMORY_WB)) in old_map_region()
561 md->type, md->attribute); in old_map_region()
585 prev_md->attribute != md->attribute) { in efi_merge_regions()
595 md->attribute = 0; in efi_merge_regions()
629 if (!(md->attribute & EFI_MEMORY_RUNTIME) || in save_runtime_map()
749 if (!(md->attribute & EFI_MEMORY_RUNTIME)) { in efi_map_regions()
998 return md->attribute; in efi_mem_attributes()
Defi_64.c207 if (!(md->attribute & EFI_MEMORY_WB)) in __map_region()
277 u32 type, u64 attribute) in efi_ioremap() argument
287 efi_ioremap(top, size - (top - phys_addr), type, attribute); in efi_ioremap()
290 if (!(attribute & EFI_MEMORY_WB)) in efi_ioremap()
/arch/s390/pci/
Dpci_sysfs.c78 static struct attribute *zpci_dev_attrs[] = {
94 static struct attribute *pfip_attrs[] = {
/arch/sh/kernel/cpu/sh4/
Dsq.c262 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/x86/kernel/cpu/
Dperf_event_amd_iommu.c63 static struct attribute *iommu_format_attrs[] = {
140 static struct attribute *iommu_cpumask_attrs[] = {
407 struct attribute **attrs; in _init_events_attrs()
414 attr_group = kzalloc(sizeof(struct attribute *) in _init_events_attrs()
419 attrs = (struct attribute **)(attr_group + 1); in _init_events_attrs()
Dperf_event_intel_rapl.c377 static struct attribute *rapl_pmu_attrs[] = {
404 static struct attribute *rapl_events_srv_attr[] = {
419 static struct attribute *rapl_events_cln_attr[] = {
434 static struct attribute *rapl_events_hsw_attr[] = {
458 static struct attribute *rapl_formats_attr[] = {
Dperf_event_intel_uncore_snbep.c375 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[] = {
1192 static struct attribute *ivbep_uncore_formats_attr[] = {
1201 static struct attribute *ivbep_uncore_ubox_formats_attr[] = {
1210 static struct attribute *ivbep_uncore_cbox_formats_attr[] = {
1227 static struct attribute *ivbep_uncore_pcu_formats_attr[] = {
1241 static struct attribute *ivbep_uncore_qpi_formats_attr[] = {
[all …]
Dintel_cacheinfo.c295 struct attribute attr;
1015 static struct attribute *default_attrs[] = {
1029 static struct attribute **amd_l3_attrs(void) in amd_l3_attrs()
1031 static struct attribute **attrs; in amd_l3_attrs()
1045 attrs = kzalloc(n * sizeof (struct attribute *), GFP_KERNEL); in amd_l3_attrs()
1064 static ssize_t show(struct kobject *kobj, struct attribute *attr, char *buf) in show()
1077 static ssize_t store(struct kobject *kobj, struct attribute *attr, in store()
Dperf_event.c1388 static void __init filter_events(struct attribute **attrs) in filter_events()
1412 static __init struct attribute **merge_attr(struct attribute **a, struct attribute **b) in merge_attr()
1414 struct attribute **new; in merge_attr()
1423 new = kmalloc(sizeof(struct attribute *) * j, GFP_KERNEL); in merge_attr()
1462 static struct attribute *empty_attrs;
1464 static struct attribute *events_attr[] = {
1578 struct attribute **tmp; in init_hw_perf_events()
1868 static struct attribute *x86_pmu_attrs[] = {
Dperf_event.h454 struct attribute **format_attrs;
455 struct attribute **event_attrs;
458 struct attribute **cpu_events;
Dperf_event_intel_uncore_snb.c89 static struct attribute *snb_uncore_formats_attr[] = {
175 static struct attribute *snb_uncore_imc_formats_attr[] = {
575 static struct attribute *nhm_uncore_formats_attr[] = {
Dperf_event_amd_ibs.c56 struct attribute **format_attrs;
458 static struct attribute *ibs_fetch_format_attrs[] = {
463 static struct attribute *ibs_op_format_attrs[] = {
644 struct attribute **attr = ibs_op_format_attrs; in perf_event_ibs_init()
/arch/powerpc/platforms/pseries/
Dpower.c59 static struct attribute *g[] = {
/arch/arm64/kernel/
Defi.c64 if (md->attribute & EFI_MEMORY_WB) in is_normal_ram()
79 if (!(md->attribute & EFI_MEMORY_RUNTIME)) in efi_to_phys()
241 if (!(md->attribute & EFI_MEMORY_RUNTIME)) in efi_virtmap_init()
/arch/powerpc/perf/
Dhv-gpci.c44 static struct attribute *format_attrs[] = {
88 static struct attribute *interface_attrs[] = {
/arch/x86/kernel/
Dksysfs.c48 static struct attribute *boot_params_version_attrs[] = {
195 static struct attribute *setup_data_type_attrs[] = {
/arch/x86/kernel/cpu/mcheck/
Dmce_amd.c334 struct attribute attr;
418 static struct attribute *default_attrs[] = {
428 static ssize_t show(struct kobject *kobj, struct attribute *attr, char *buf) in show()
439 static ssize_t store(struct kobject *kobj, struct attribute *attr, in store()
/arch/powerpc/platforms/cell/
Dcbe_thermal.c262 static struct attribute *spu_attributes[] = {
289 static struct attribute *ppe_attributes[] = {
/arch/x86/include/asm/
Defi.h85 u32 type, u64 attribute);

123