Symbol: attribute
arch/arc/kernel/perf_event.c
201
struct attribute **attrs;
arch/arc/kernel/perf_event.c
634
static struct attribute *arc_pmu_format_attrs[] = {
arch/arm/common/bL_switcher.c
707
static struct attribute *bL_switcher_attrs[] = {
arch/arm/kernel/efi.c
19
if (md->attribute & EFI_MEMORY_RO)
arch/arm/kernel/efi.c
21
if (md->attribute & EFI_MEMORY_XP)
arch/arm/kernel/efi.c
62
if (md->attribute & EFI_MEMORY_WB)
arch/arm/kernel/efi.c
64
else if (md->attribute & EFI_MEMORY_WT)
arch/arm/kernel/efi.c
66
else if (md->attribute & EFI_MEMORY_WC)
arch/arm/kernel/efi.c
76
if (md->attribute & (EFI_MEMORY_RO | EFI_MEMORY_XP))
arch/arm/mach-imx/mmdc.c
136
static struct attribute *mmdc_pmu_cpumask_attrs[] = {
arch/arm/mach-imx/mmdc.c
145
static struct attribute *mmdc_pmu_events_attrs[] = {
arch/arm/mach-imx/mmdc.c
167
static struct attribute *mmdc_pmu_format_attrs[] = {
arch/arm/mach-omap2/id.c
778
static struct attribute *omap_soc_attrs[] = {
arch/arm/mach-rpc/ecard.c
804
static struct attribute *ecard_dev_attrs[] = {
arch/arm/mm/cache-l2x0-pmu.c
350
struct attribute *attr,
arch/arm/mm/cache-l2x0-pmu.c
365
static struct attribute *l2x0_pmu_event_attrs[] = {
arch/arm/mm/cache-l2x0-pmu.c
399
static struct attribute *l2x0_pmu_cpumask_attrs[] = {
arch/arm64/kernel/acpi.c
372
if (region->attribute & EFI_MEMORY_WB)
arch/arm64/kernel/acpi.c
374
else if (region->attribute & EFI_MEMORY_WC)
arch/arm64/kernel/acpi.c
376
else if (region->attribute & EFI_MEMORY_WT)
arch/arm64/kernel/cpuinfo.c
337
static struct attribute *cpuregs_id_attrs[] = {
arch/arm64/kernel/cpuinfo.c
349
static struct attribute *sme_cpuregs_id_attrs[] = {
arch/arm64/kernel/efi.c
120
if (md->attribute & EFI_MEMORY_RO)
arch/arm64/kernel/efi.c
122
if (md->attribute & EFI_MEMORY_XP)
arch/arm64/kernel/efi.c
36
u64 attr = md->attribute;
arch/mips/alchemy/devboards/pm.c
211
static struct attribute *db1x_pmattrs[] = {
arch/mips/kernel/vpe-mt.c
306
static struct attribute *vpe_attrs[] = {
arch/mips/sgi-ip22/ip22-gio.c
193
static struct attribute *gio_dev_attrs[] = {
arch/parisc/kernel/drivers.c
610
static struct attribute *parisc_device_attrs[] = {
arch/powerpc/kernel/cacheinfo.c
571
static ssize_t cache_index_show(struct kobject *k, struct attribute *attr, char *buf)
arch/powerpc/kernel/cacheinfo.c
715
static struct attribute *cache_index_default_attrs[] = {
arch/powerpc/kernel/fadump.c
1564
static struct attribute *fadump_attrs[] = {
arch/powerpc/kernel/iommu.c
1272
static struct attribute *spapr_tce_iommu_attrs[] = {
arch/powerpc/kernel/secvar-sysfs.c
118
static struct attribute *secvar_attrs[] = {
arch/powerpc/perf/core-book3s.c
2533
static struct attribute *pmu_caps_attrs[] = {
arch/powerpc/perf/generic-compat-pmu.c
117
static struct attribute *generic_compat_events_attr[] = {
arch/powerpc/perf/generic-compat-pmu.c
142
static struct attribute *generic_compat_pmu_format_attr[] = {
arch/powerpc/perf/generic-compat-pmu.c
154
static struct attribute *generic_compat_pmu_caps_attrs[] = {
arch/powerpc/perf/hv-24x7.c
1121
static struct attribute *cpumask_attrs[] = {
arch/powerpc/perf/hv-24x7.c
1130
static struct attribute *if_attrs[] = {
arch/powerpc/perf/hv-24x7.c
184
static struct attribute *format_attrs[] = {
arch/powerpc/perf/hv-24x7.c
452
static struct attribute *device_str_attr_create_(char *name, char *str)
arch/powerpc/perf/hv-24x7.c
478
static struct attribute *device_str_attr_create(char *name, int name_max,
arch/powerpc/perf/hv-24x7.c
484
struct attribute *a;
arch/powerpc/perf/hv-24x7.c
509
static struct attribute *event_to_attr(unsigned int ix,
arch/powerpc/perf/hv-24x7.c
516
struct attribute *attr;
arch/powerpc/perf/hv-24x7.c
551
static struct attribute *event_to_desc_attr(struct hv_24x7_event_data *event,
arch/powerpc/perf/hv-24x7.c
565
static struct attribute *
arch/powerpc/perf/hv-24x7.c
579
static int event_data_to_attrs(unsigned int ix, struct attribute **attrs,
arch/powerpc/perf/hv-24x7.c
754
static int create_events_from_catalog(struct attribute ***events_,
arch/powerpc/perf/hv-24x7.c
755
struct attribute ***event_descs_,
arch/powerpc/perf/hv-24x7.c
756
struct attribute ***event_long_descs_)
arch/powerpc/perf/hv-24x7.c
765
struct attribute **events, **event_descs, **event_long_descs;
arch/powerpc/perf/hv-gpci.c
53
static struct attribute *format_attrs[] = {
arch/powerpc/perf/hv-gpci.c
622
static struct attribute *interface_attrs[] = {
arch/powerpc/perf/hv-gpci.c
657
static struct attribute *cpumask_attrs[] = {
arch/powerpc/perf/imc-pmu.c
125
static struct attribute *imc_pmu_cpumask_attrs[] = {
arch/powerpc/perf/imc-pmu.c
135
static struct attribute *device_str_attr_create(const char *name, const char *str)
arch/powerpc/perf/imc-pmu.c
224
struct attribute **attrs, *dev_str;
arch/powerpc/perf/imc-pmu.c
291
attrs = kzalloc_objs(struct attribute *, ((ct * 3) + 1));
arch/powerpc/perf/imc-pmu.c
68
static struct attribute *imc_format_attrs[] = {
arch/powerpc/perf/imc-pmu.c
86
static struct attribute *trace_imc_format_attrs[] = {
arch/powerpc/perf/isa207-common.c
24
static struct attribute *isa207_pmu_format_attr[] = {
arch/powerpc/perf/kvm-hv-pmu.c
71
static struct attribute *kvmppc_pmu_events_attr[] = {
arch/powerpc/perf/kvm-hv-pmu.c
86
static struct attribute *kvmppc_pmu_format_attr[] = {
arch/powerpc/perf/power10-pmu.c
150
static struct attribute *power10_events_attr_dd1[] = {
arch/powerpc/perf/power10-pmu.c
175
static struct attribute *power10_events_attr[] = {
arch/powerpc/perf/power10-pmu.c
233
static struct attribute *power10_pmu_format_attr[] = {
arch/powerpc/perf/power10-pmu.c
261
static struct attribute *power10_pmu_caps_attrs[] = {
arch/powerpc/perf/power7-pmu.c
393
static struct attribute *power7_events_attr[] = {
arch/powerpc/perf/power7-pmu.c
415
static struct attribute *power7_pmu_format_attr[] = {
arch/powerpc/perf/power8-pmu.c
153
static struct attribute *power8_events_attr[] = {
arch/powerpc/perf/power8-pmu.c
190
static struct attribute *power8_pmu_caps_attrs[] = {
arch/powerpc/perf/power9-pmu.c
192
static struct attribute *power9_events_attr[] = {
arch/powerpc/perf/power9-pmu.c
239
static struct attribute *power9_pmu_format_attr[] = {
arch/powerpc/perf/power9-pmu.c
261
static struct attribute *power9_pmu_caps_attrs[] = {
arch/powerpc/perf/req-gen/perf.h
143
static __maybe_unused struct attribute *hv_gpci_event_attrs_v6[] = {
arch/powerpc/perf/req-gen/perf.h
162
static __maybe_unused struct attribute *hv_gpci_event_attrs[] = {
arch/powerpc/perf/vpa-dtl.c
44
static struct attribute *events_attr[] = {
arch/powerpc/perf/vpa-dtl.c
57
static struct attribute *format_attrs[] = {
arch/powerpc/perf/vpa-pmu.c
44
static struct attribute *vpa_pmu_events_attr[] = {
arch/powerpc/perf/vpa-pmu.c
57
static struct attribute *vpa_pmu_format_attr[] = {
arch/powerpc/platforms/powernv/opal-core.c
597
static struct attribute *mpipl_attr[] = {
arch/powerpc/platforms/powernv/opal-dump.c
148
static struct attribute *initiate_attrs[] = {
arch/powerpc/platforms/powernv/opal-dump.c
160
struct attribute *attr,
arch/powerpc/platforms/powernv/opal-dump.c
163
struct dump_attribute *attribute;
arch/powerpc/platforms/powernv/opal-dump.c
166
attribute = to_dump_attr(attr);
arch/powerpc/platforms/powernv/opal-dump.c
169
if (!attribute->show)
arch/powerpc/platforms/powernv/opal-dump.c
172
return attribute->show(dump, attribute, buf);
arch/powerpc/platforms/powernv/opal-dump.c
176
struct attribute *attr,
arch/powerpc/platforms/powernv/opal-dump.c
179
struct dump_attribute *attribute;
arch/powerpc/platforms/powernv/opal-dump.c
182
attribute = to_dump_attr(attr);
arch/powerpc/platforms/powernv/opal-dump.c
185
if (!attribute->store)
arch/powerpc/platforms/powernv/opal-dump.c
188
return attribute->store(dump, attribute, buf, len);
arch/powerpc/platforms/powernv/opal-dump.c
205
static struct attribute *dump_default_attrs[] = {
arch/powerpc/platforms/powernv/opal-dump.c
31
struct attribute attr;
arch/powerpc/platforms/powernv/opal-elog.c
102
attribute = to_elog_attr(attr);
arch/powerpc/platforms/powernv/opal-elog.c
105
if (!attribute->show)
arch/powerpc/platforms/powernv/opal-elog.c
108
return attribute->show(elog, attribute, buf);
arch/powerpc/platforms/powernv/opal-elog.c
112
struct attribute *attr,
arch/powerpc/platforms/powernv/opal-elog.c
115
struct elog_attribute *attribute;
arch/powerpc/platforms/powernv/opal-elog.c
118
attribute = to_elog_attr(attr);
arch/powerpc/platforms/powernv/opal-elog.c
121
if (!attribute->store)
arch/powerpc/platforms/powernv/opal-elog.c
124
return attribute->store(elog, attribute, buf, len);
arch/powerpc/platforms/powernv/opal-elog.c
141
static struct attribute *elog_default_attrs[] = {
arch/powerpc/platforms/powernv/opal-elog.c
31
struct attribute attr;
arch/powerpc/platforms/powernv/opal-elog.c
96
struct attribute *attr,
arch/powerpc/platforms/powernv/opal-elog.c
99
struct elog_attribute *attribute;
arch/powerpc/platforms/powernv/opal-flash.c
508
static struct attribute *image_op_attrs[] = {
arch/powerpc/platforms/powernv/opal-powercap.c
188
pcaps[i].pg.attrs = kzalloc_objs(struct attribute *, j + 1);
arch/powerpc/platforms/ps3/system-bus.c
462
static struct attribute *ps3_system_bus_dev_attrs[] = {
arch/powerpc/platforms/pseries/ibmebus.c
336
static struct attribute *ibmbus_bus_attrs[] = {
arch/powerpc/platforms/pseries/ibmebus.c
423
static struct attribute *ibmebus_bus_device_attrs[] = {
arch/powerpc/platforms/pseries/papr_scm.c
1167
struct attribute *attr, int n)
arch/powerpc/platforms/pseries/papr_scm.c
1181
static struct attribute *papr_nd_attributes[] = {
arch/powerpc/platforms/pseries/plpks-sysfs.c
35
static const struct attribute *config_attrs[] = {
arch/powerpc/platforms/pseries/plpks-sysfs.c
59
.attrs = (struct attribute **)config_attrs,
arch/powerpc/platforms/pseries/power.c
49
static struct attribute *g[] = {
arch/powerpc/platforms/pseries/vas-sysfs.c
106
static struct attribute *vas_def_capab_attrs[] = {
arch/powerpc/platforms/pseries/vas-sysfs.c
113
static struct attribute *vas_qos_capab_attrs[] = {
arch/powerpc/platforms/pseries/vas-sysfs.c
121
static ssize_t vas_type_show(struct kobject *kobj, struct attribute *attr,
arch/powerpc/platforms/pseries/vas-sysfs.c
138
static ssize_t vas_type_store(struct kobject *kobj, struct attribute *attr,
arch/powerpc/platforms/pseries/vas-sysfs.c
65
struct attribute attr;
arch/powerpc/platforms/pseries/vio.c
1041
static struct attribute *vio_bus_attrs[] = {
arch/powerpc/platforms/pseries/vio.c
1604
static struct attribute *vio_cmo_dev_attrs[] = {
arch/powerpc/platforms/pseries/vio.c
1627
static struct attribute *vio_dev_attrs[] = {
arch/riscv/kernel/acpi.c
303
if (region->attribute & EFI_MEMORY_WB)
arch/riscv/kernel/acpi.c
305
else if ((region->attribute & EFI_MEMORY_WC) ||
arch/riscv/kernel/acpi.c
306
(region->attribute & EFI_MEMORY_WT))
arch/riscv/kernel/efi.c
21
u64 attr = md->attribute;
arch/riscv/kernel/efi.c
66
if (md->attribute & EFI_MEMORY_RO) {
arch/riscv/kernel/efi.c
71
if (md->attribute & EFI_MEMORY_XP) {
arch/s390/crypto/prng.c
779
static struct attribute *prng_sha512_dev_attrs[] = {
arch/s390/crypto/prng.c
791
static struct attribute *prng_tdes_dev_attrs[] = {
arch/s390/kernel/cert_store.c
769
static const struct attribute *cert_store_attrs[] __initconst = {
arch/s390/kernel/hiperdispatch.c
355
static struct attribute *hd_attrs[] = {
arch/s390/kernel/ipl.c
1023
static struct attribute *reipl_ccw_attrs_vm[] = {
arch/s390/kernel/ipl.c
1031
static struct attribute *reipl_ccw_attrs_lpar[] = {
arch/s390/kernel/ipl.c
1065
static struct attribute *reipl_eckd_attrs[] = {
arch/s390/kernel/ipl.c
1145
static struct attribute *reipl_nss_attrs[] = {
arch/s390/kernel/ipl.c
1604
static struct attribute *dump_fcp_attrs[] = {
arch/s390/kernel/ipl.c
1640
static struct attribute *dump_nvme_attrs[] = {
arch/s390/kernel/ipl.c
1676
static struct attribute *dump_eckd_attrs[] = {
arch/s390/kernel/ipl.c
1697
static struct attribute *dump_ccw_attrs[] = {
arch/s390/kernel/ipl.c
1753
static struct attribute *dump_attrs[] = {
arch/s390/kernel/ipl.c
1976
static struct attribute *vmcmd_attrs[] = {
arch/s390/kernel/ipl.c
2213
static struct attribute *shutdown_action_attrs[] = {
arch/s390/kernel/ipl.c
605
static struct attribute *ipl_fcp_attrs[] = {
arch/s390/kernel/ipl.c
620
static struct attribute *ipl_nvme_attrs[] = {
arch/s390/kernel/ipl.c
634
static struct attribute *ipl_eckd_attrs[] = {
arch/s390/kernel/ipl.c
649
static struct attribute *ipl_ccw_attrs_vm[] = {
arch/s390/kernel/ipl.c
656
static struct attribute *ipl_ccw_attrs_lpar[] = {
arch/s390/kernel/ipl.c
670
static struct attribute *ipl_common_attrs[] = {
arch/s390/kernel/ipl.c
930
static struct attribute *reipl_fcp_attrs[] = {
arch/s390/kernel/ipl.c
970
static struct attribute *reipl_nvme_attrs[] = {
arch/s390/kernel/perf_cpum_cf.c
1825
static struct attribute *cfdiag_events_attr[] = {
arch/s390/kernel/perf_cpum_cf.c
1832
static struct attribute *cfdiag_format_attr[] = {
arch/s390/kernel/perf_cpum_cf_events.c
445
static struct attribute *cpumcf_fvn1_pmu_event_attr[] __initdata = {
arch/s390/kernel/perf_cpum_cf_events.c
461
static struct attribute *cpumcf_fvn3_pmu_event_attr[] __initdata = {
arch/s390/kernel/perf_cpum_cf_events.c
473
static struct attribute *cpumcf_svn_12345_pmu_event_attr[] __initdata = {
arch/s390/kernel/perf_cpum_cf_events.c
493
static struct attribute *cpumcf_svn_678_pmu_event_attr[] __initdata = {
arch/s390/kernel/perf_cpum_cf_events.c
517
static struct attribute *cpumcf_z10_pmu_event_attr[] __initdata = {
arch/s390/kernel/perf_cpum_cf_events.c
539
static struct attribute *cpumcf_z196_pmu_event_attr[] __initdata = {
arch/s390/kernel/perf_cpum_cf_events.c
567
static struct attribute *cpumcf_zec12_pmu_event_attr[] __initdata = {
arch/s390/kernel/perf_cpum_cf_events.c
606
static struct attribute *cpumcf_z13_pmu_event_attr[] __initdata = {
arch/s390/kernel/perf_cpum_cf_events.c
666
static struct attribute *cpumcf_z14_pmu_event_attr[] __initdata = {
arch/s390/kernel/perf_cpum_cf_events.c
723
static struct attribute *cpumcf_z15_pmu_event_attr[] __initdata = {
arch/s390/kernel/perf_cpum_cf_events.c
784
static struct attribute *cpumcf_z16_pmu_event_attr[] __initdata = {
arch/s390/kernel/perf_cpum_cf_events.c
858
static struct attribute *cpumcf_z17_pmu_event_attr[] __initdata = {
arch/s390/kernel/perf_cpum_cf_events.c
947
static struct attribute *cpumcf_pmu_format_attr[] = {
arch/s390/kernel/perf_cpum_cf_events.c
964
static __init struct attribute **merge_attr(struct attribute **a,
arch/s390/kernel/perf_cpum_cf_events.c
965
struct attribute **b,
arch/s390/kernel/perf_cpum_cf_events.c
966
struct attribute **c)
arch/s390/kernel/perf_cpum_cf_events.c
968
struct attribute **new;
arch/s390/kernel/perf_cpum_cf_events.c
979
new = kmalloc_objs(struct attribute *, j);
arch/s390/kernel/perf_cpum_cf_events.c
996
struct attribute **combined, **model, **cfvn, **csvn;
arch/s390/kernel/perf_cpum_cf_events.c
997
struct attribute *none[] = { NULL };
arch/s390/kernel/perf_cpum_sf.c
1870
static struct attribute *cpumsf_pmu_events_attr[SF_CYCLES_ATTR_MAX + 1] = {
arch/s390/kernel/perf_cpum_sf.c
1876
static struct attribute *cpumsf_pmu_format_attr[] = {
arch/s390/kernel/perf_pai.c
1051
static void __init attr_event_free(struct attribute **attrs)
arch/s390/kernel/perf_pai.c
1066
static struct attribute * __init attr_event_init_one(int num,
arch/s390/kernel/perf_pai.c
1085
static struct attribute ** __init attr_event_init(struct pai_pmu *p)
arch/s390/kernel/perf_pai.c
1088
struct attribute **attrs;
arch/s390/kernel/perf_pai.c
765
static struct attribute *paicrypt_format_attr[] = {
arch/s390/kernel/perf_pai.c
976
static struct attribute *paiext_format_attr[] = {
arch/s390/kernel/smp.c
1078
static struct attribute *cpu_common_attrs[] = {
arch/s390/kernel/smp.c
1088
static struct attribute *cpu_online_attrs[] = {
arch/s390/kernel/time.c
812
static struct attribute *stp_dev_attrs[] = {
arch/s390/kernel/topology.c
467
static struct attribute *topology_cpu_attrs[] = {
arch/s390/kernel/topology.c
489
static struct attribute *topology_extra_cpu_attrs[] = {
arch/s390/kernel/uv.c
576
static struct attribute *uv_query_attrs[] = {
arch/s390/kernel/uv.c
657
static struct attribute *uv_keys_attrs[] = {
arch/s390/kernel/uv.c
686
static const struct attribute *uv_prot_virt_attrs[] = {
arch/s390/pci/pci_sysfs.c
191
struct attribute *attr, int n)
arch/s390/pci/pci_sysfs.c
196
static struct attribute *zpci_ident_attrs[] = {
arch/s390/pci/pci_sysfs.c
212
static struct attribute *zpci_dev_attrs[] = {
arch/s390/pci/pci_sysfs.c
233
static struct attribute *pfip_attrs[] = {
arch/s390/pci/pci_sysfs.c
246
static struct attribute *clp_fw_attrs[] = {
arch/sh/kernel/cpu/sh4/sq.c
260
struct attribute attr;
arch/sh/kernel/cpu/sh4/sq.c
267
static ssize_t sq_sysfs_show(struct kobject *kobj, struct attribute *attr,
arch/sh/kernel/cpu/sh4/sq.c
278
static ssize_t sq_sysfs_store(struct kobject *kobj, struct attribute *attr,
arch/sh/kernel/cpu/sh4/sq.c
323
static struct attribute *sq_sysfs_attrs[] = {
arch/sparc/kernel/sysfs.c
61
static struct attribute *mmu_stat_attrs[] = {
arch/sparc/kernel/vio.c
145
static struct attribute *vio_dev_attrs[] = {
arch/um/drivers/ubd_kern.c
802
static struct attribute *ubd_attrs[] = {
arch/um/drivers/ubd_kern.c
808
struct attribute *a, int n)
arch/x86/boot/compressed/efi.h
50
u64 attribute;
arch/x86/boot/compressed/kaslr.c
708
if (md->attribute & EFI_MEMORY_MORE_RELIABLE) {
arch/x86/boot/compressed/kaslr.c
721
(md->attribute & EFI_MEMORY_SP))
arch/x86/boot/compressed/kaslr.c
725
!(md->attribute & EFI_MEMORY_MORE_RELIABLE))
arch/x86/coco/sev/core.c
1440
static struct attribute *vmpl_attrs[] = {
arch/x86/events/amd/core.c
1073
static struct attribute *amd_format_attr[] = {
arch/x86/events/amd/core.c
1359
static struct attribute *amd_pmu_branches_attrs[] = {
arch/x86/events/amd/core.c
1365
amd_branches_is_visible(struct kobject *kobj, struct attribute *attr, int i)
arch/x86/events/amd/core.c
1381
static struct attribute *amd_brs_events_attrs[] = {
arch/x86/events/amd/core.c
1387
amd_brs_is_visible(struct kobject *kobj, struct attribute *attr, int i)
arch/x86/events/amd/ibs.c
616
static struct attribute *attrs_empty[] = {
arch/x86/events/amd/ibs.c
636
zen4_ibs_extensions_is_visible(struct kobject *kobj, struct attribute *attr, int i)
arch/x86/events/amd/ibs.c
642
ibs_op_ldlat_is_visible(struct kobject *kobj, struct attribute *attr, int i)
arch/x86/events/amd/ibs.c
648
ibs_op_dtlb_pgsize_is_visible(struct kobject *kobj, struct attribute *attr, int i)
arch/x86/events/amd/ibs.c
653
static struct attribute *fetch_attrs[] = {
arch/x86/events/amd/ibs.c
659
static struct attribute *fetch_l3missonly_attrs[] = {
arch/x86/events/amd/ibs.c
664
static struct attribute *zen4_ibs_extensions_attrs[] = {
arch/x86/events/amd/ibs.c
669
static struct attribute *ibs_op_ldlat_cap_attrs[] = {
arch/x86/events/amd/ibs.c
674
static struct attribute *ibs_op_dtlb_pgsize_cap_attrs[] = {
arch/x86/events/amd/ibs.c
721
cnt_ctl_is_visible(struct kobject *kobj, struct attribute *attr, int i)
arch/x86/events/amd/ibs.c
726
static struct attribute *op_attrs[] = {
arch/x86/events/amd/ibs.c
731
static struct attribute *cnt_ctl_attrs[] = {
arch/x86/events/amd/ibs.c
736
static struct attribute *op_l3missonly_attrs[] = {
arch/x86/events/amd/ibs.c
746
static struct attribute *ibs_op_ldlat_format_attrs[] = {
arch/x86/events/amd/iommu.c
144
static struct attribute *iommu_cpumask_attrs[] = {
arch/x86/events/amd/iommu.c
385
struct attribute **attrs;
arch/x86/events/amd/iommu.c
61
static struct attribute *iommu_format_attrs[] = {
arch/x86/events/amd/power.c
155
static struct attribute *pmu_attrs[] = {
arch/x86/events/amd/power.c
175
static struct attribute *events_attr[] = {
arch/x86/events/amd/power.c
189
static struct attribute *formats_attr[] = {
arch/x86/events/amd/uncore.c
305
amd_f17h_uncore_is_visible(struct kobject *kobj, struct attribute *attr, int i)
arch/x86/events/amd/uncore.c
312
amd_f19h_uncore_is_visible(struct kobject *kobj, struct attribute *attr, int i)
arch/x86/events/amd/uncore.c
328
static struct attribute *amd_uncore_attrs[] = {
arch/x86/events/amd/uncore.c
364
static struct attribute *amd_uncore_df_format_attr[] = {
arch/x86/events/amd/uncore.c
371
static struct attribute *amd_uncore_l3_format_attr[] = {
arch/x86/events/amd/uncore.c
379
static struct attribute *amd_uncore_umc_format_attr[] = {
arch/x86/events/amd/uncore.c
386
static struct attribute *amd_f17h_uncore_l3_format_attr[] = {
arch/x86/events/amd/uncore.c
392
static struct attribute *amd_f19h_uncore_l3_format_attr[] = {
arch/x86/events/amd/uncore.c
716
struct attribute **df_attr = amd_uncore_df_format_attr;
arch/x86/events/amd/uncore.c
850
struct attribute **l3_attr = amd_uncore_l3_format_attr;
arch/x86/events/core.c
1989
static struct attribute *empty_attrs;
arch/x86/events/core.c
1991
static struct attribute *events_attr[] = {
arch/x86/events/core.c
2010
is_visible(struct kobject *kobj, struct attribute *attr, int idx)
arch/x86/events/core.c
2688
static struct attribute *x86_pmu_attrs[] = {
arch/x86/events/core.c
2708
static struct attribute *x86_pmu_caps_attrs[] = {
arch/x86/events/intel/core.c
1901
static struct attribute *slm_events_attrs[] = {
arch/x86/events/intel/core.c
2055
static struct attribute *glm_events_attrs[] = {
arch/x86/events/intel/core.c
2370
static struct attribute *tnt_events_attrs[] = {
arch/x86/events/intel/core.c
2388
static struct attribute *grt_mem_attrs[] = {
arch/x86/events/intel/core.c
2405
static struct attribute *cmt_events_attrs[] = {
arch/x86/events/intel/core.c
2443
static struct attribute *skt_events_attrs[] = {
arch/x86/events/intel/core.c
521
static struct attribute *nhm_mem_events_attrs[] = {
arch/x86/events/intel/core.c
5517
static struct attribute *format_evtsel_ext_attrs[] = {
arch/x86/events/intel/core.c
5525
evtsel_ext_is_visible(struct kobject *kobj, struct attribute *attr, int i)
arch/x86/events/intel/core.c
5555
static struct attribute *intel_arch_formats_attr[] = {
arch/x86/events/intel/core.c
566
static struct attribute *snb_events_attrs[] = {
arch/x86/events/intel/core.c
577
static struct attribute *snb_mem_events_attrs[] = {
arch/x86/events/intel/core.c
6243
static struct attribute *intel_arch3_formats_attr[] = {
arch/x86/events/intel/core.c
6254
static struct attribute *hsw_format_attr[] = {
arch/x86/events/intel/core.c
6262
static struct attribute *nhm_format_attr[] = {
arch/x86/events/intel/core.c
6268
static struct attribute *slm_format_attr[] = {
arch/x86/events/intel/core.c
6273
static struct attribute *cmt_format_attr[] = {
arch/x86/events/intel/core.c
6280
static struct attribute *skl_format_attr[] = {
arch/x86/events/intel/core.c
6636
static struct attribute *hsw_events_attrs[] = {
arch/x86/events/intel/core.c
6647
static struct attribute *hsw_mem_events_attrs[] = {
arch/x86/events/intel/core.c
6653
static struct attribute *hsw_tsx_events_attrs[] = {
arch/x86/events/intel/core.c
6674
static struct attribute *icl_events_attrs[] = {
arch/x86/events/intel/core.c
6680
static struct attribute *icl_td_events_attrs[] = {
arch/x86/events/intel/core.c
6689
static struct attribute *icl_tsx_events_attrs[] = {
arch/x86/events/intel/core.c
6711
static struct attribute *glc_events_attrs[] = {
arch/x86/events/intel/core.c
6718
static struct attribute *glc_td_events_attrs[] = {
arch/x86/events/intel/core.c
6731
static struct attribute *glc_tsx_events_attrs[] = {
arch/x86/events/intel/core.c
6855
static struct attribute *lbr_attrs[] = {
arch/x86/events/intel/core.c
6863
lbr_is_visible(struct kobject *kobj, struct attribute *attr, int i)
arch/x86/events/intel/core.c
6876
static struct attribute *intel_pmu_caps_attrs[] = {
arch/x86/events/intel/core.c
6885
static struct attribute *intel_pmu_attrs[] = {
arch/x86/events/intel/core.c
6892
default_is_visible(struct kobject *kobj, struct attribute *attr, int i)
arch/x86/events/intel/core.c
6901
tsx_is_visible(struct kobject *kobj, struct attribute *attr, int i)
arch/x86/events/intel/core.c
6907
pebs_is_visible(struct kobject *kobj, struct attribute *attr, int i)
arch/x86/events/intel/core.c
6913
mem_is_visible(struct kobject *kobj, struct attribute *attr, int i)
arch/x86/events/intel/core.c
6922
exra_is_visible(struct kobject *kobj, struct attribute *attr, int i)
arch/x86/events/intel/core.c
6928
td_is_visible(struct kobject *kobj, struct attribute *attr, int i)
arch/x86/events/intel/core.c
6942
static struct attribute *format_acr_attrs[] = {
arch/x86/events/intel/core.c
6948
acr_is_visible(struct kobject *kobj, struct attribute *attr, int i)
arch/x86/events/intel/core.c
7032
static struct attribute *adl_hybrid_events_attrs[] = {
arch/x86/events/intel/core.c
7049
static struct attribute *lnl_hybrid_events_attrs[] = {
arch/x86/events/intel/core.c
7080
static struct attribute *arl_h_hybrid_events_attrs[] = {
arch/x86/events/intel/core.c
7098
static struct attribute *adl_hybrid_mem_attrs[] = {
arch/x86/events/intel/core.c
7105
static struct attribute *mtl_hybrid_mem_attrs[] = {
arch/x86/events/intel/core.c
7120
static struct attribute *arl_h_hybrid_mem_attrs[] = {
arch/x86/events/intel/core.c
7135
static struct attribute *adl_hybrid_tsx_attrs[] = {
arch/x86/events/intel/core.c
7162
static struct attribute *adl_hybrid_extra_attr_rtm[] = {
arch/x86/events/intel/core.c
7168
static struct attribute *adl_hybrid_extra_attr[] = {
arch/x86/events/intel/core.c
7175
static struct attribute *mtl_hybrid_extra_attr_rtm[] = {
arch/x86/events/intel/core.c
7182
static struct attribute *mtl_hybrid_extra_attr[] = {
arch/x86/events/intel/core.c
7188
static bool is_attr_for_this_pmu(struct kobject *kobj, struct attribute *attr)
arch/x86/events/intel/core.c
7200
struct attribute *attr, int i)
arch/x86/events/intel/core.c
7213
struct attribute *attr, int i)
arch/x86/events/intel/core.c
7224
struct attribute *attr, int i)
arch/x86/events/intel/core.c
7237
struct attribute *attr, int i)
arch/x86/events/intel/core.c
7285
static struct attribute *intel_hybrid_cpus_attrs[] = {
arch/x86/events/intel/core.c
7308
static struct attribute *empty_attrs;
arch/x86/events/intel/core.c
7526
struct attribute **extra_skl_attr = &empty_attrs;
arch/x86/events/intel/core.c
7527
struct attribute **extra_attr = &empty_attrs;
arch/x86/events/intel/core.c
7528
struct attribute **td_attr = &empty_attrs;
arch/x86/events/intel/core.c
7529
struct attribute **mem_attr = &empty_attrs;
arch/x86/events/intel/core.c
7530
struct attribute **tsx_attr = &empty_attrs;
arch/x86/events/intel/cstate.c
184
static struct attribute *attrs_empty[] = {
arch/x86/events/intel/cstate.c
199
static struct attribute *cstate_format_attrs[] = {
arch/x86/events/intel/knc.c
283
static struct attribute *intel_knc_formats_attr[] = {
arch/x86/events/intel/p4.c
1329
static struct attribute *intel_p4_formats_attr[] = {
arch/x86/events/intel/p6.c
194
static struct attribute *intel_p6_formats_attr[] = {
arch/x86/events/intel/pt.c
124
static struct attribute *pt_formats_attr[] = {
arch/x86/events/intel/pt.c
173
static struct attribute *pt_timing_attr[] = {
arch/x86/events/intel/pt.c
193
struct attribute **attrs;
arch/x86/events/intel/pt.c
249
size = sizeof(struct attribute *) * (ARRAY_SIZE(pt_caps)+1);
arch/x86/events/intel/uncore.c
1015
struct attribute *attrs[];
arch/x86/events/intel/uncore.c
849
static struct attribute *uncore_pmu_attrs[] = {
arch/x86/events/intel/uncore_discovery.c
460
static struct attribute *generic_uncore_formats_attr[] = {
arch/x86/events/intel/uncore_nhmex.c
1159
static struct attribute *nhmex_uncore_rbox_formats_attr[] = {
arch/x86/events/intel/uncore_nhmex.c
272
static struct attribute *nhmex_uncore_ubox_formats_attr[] = {
arch/x86/events/intel/uncore_nhmex.c
296
static struct attribute *nhmex_uncore_cbox_formats_attr[] = {
arch/x86/events/intel/uncore_nhmex.c
405
static struct attribute *nhmex_uncore_bbox_formats_attr[] = {
arch/x86/events/intel/uncore_nhmex.c
479
static struct attribute *nhmex_uncore_sbox_formats_attr[] = {
arch/x86/events/intel/uncore_nhmex.c
884
static struct attribute *nhmex_uncore_mbox_formats_attr[] = {
arch/x86/events/intel/uncore_snb.c
1352
static struct attribute *nhm_uncore_formats_attr[] = {
arch/x86/events/intel/uncore_snb.c
1601
static struct attribute *tgl_uncore_imc_formats_attr[] = {
arch/x86/events/intel/uncore_snb.c
1701
static struct attribute *adl_uncore_imc_formats_attr[] = {
arch/x86/events/intel/uncore_snb.c
1799
static struct attribute *lnl_uncore_formats_attr[] = {
arch/x86/events/intel/uncore_snb.c
323
static struct attribute *snb_uncore_formats_attr[] = {
arch/x86/events/intel/uncore_snb.c
485
static struct attribute *icl_uncore_clock_formats_attr[] = {
arch/x86/events/intel/uncore_snb.c
599
static struct attribute *adl_uncore_formats_attr[] = {
arch/x86/events/intel/uncore_snb.c
874
static struct attribute *snb_uncore_imc_formats_attr[] = {
arch/x86/events/intel/uncore_snbep.c
1559
static struct attribute *ivbep_uncore_formats_attr[] = {
arch/x86/events/intel/uncore_snbep.c
1568
static struct attribute *ivbep_uncore_ubox_formats_attr[] = {
arch/x86/events/intel/uncore_snbep.c
1577
static struct attribute *ivbep_uncore_cbox_formats_attr[] = {
arch/x86/events/intel/uncore_snbep.c
1594
static struct attribute *ivbep_uncore_pcu_formats_attr[] = {
arch/x86/events/intel/uncore_snbep.c
1608
static struct attribute *ivbep_uncore_qpi_formats_attr[] = {
arch/x86/events/intel/uncore_snbep.c
2080
static struct attribute *knl_uncore_ubox_formats_attr[] = {
arch/x86/events/intel/uncore_snbep.c
2110
static struct attribute *knl_uncore_cha_formats_attr[] = {
arch/x86/events/intel/uncore_snbep.c
2227
static struct attribute *knl_uncore_pcu_formats_attr[] = {
arch/x86/events/intel/uncore_snbep.c
2380
static struct attribute *knl_uncore_irp_formats_attr[] = {
arch/x86/events/intel/uncore_snbep.c
2577
static struct attribute *hswep_uncore_ubox_formats_attr[] = {
arch/x86/events/intel/uncore_snbep.c
2625
static struct attribute *hswep_uncore_cbox_formats_attr[] = {
arch/x86/events/intel/uncore_snbep.c
2814
static struct attribute *hswep_uncore_sbox_formats_attr[] = {
arch/x86/events/intel/uncore_snbep.c
3489
static struct attribute *skx_uncore_cha_formats_attr[] = {
arch/x86/events/intel/uncore_snbep.c
3616
static struct attribute *skx_uncore_iio_formats_attr[] = {
arch/x86/events/intel/uncore_snbep.c
3672
pmu_iio_mapping_visible(struct kobject *kobj, struct attribute *attr,
arch/x86/events/intel/uncore_snbep.c
3682
skx_iio_mapping_visible(struct kobject *kobj, struct attribute *attr, int die)
arch/x86/events/intel/uncore_snbep.c
3873
struct attribute **attrs = NULL;
arch/x86/events/intel/uncore_snbep.c
3923
struct attribute **attr = ag->attrs;
arch/x86/events/intel/uncore_snbep.c
4022
static struct attribute *skx_uncore_iio_freerunning_formats_attr[] = {
arch/x86/events/intel/uncore_snbep.c
4044
static struct attribute *skx_uncore_formats_attr[] = {
arch/x86/events/intel/uncore_snbep.c
4072
static struct attribute *skx_uncore_pcu_formats_attr[] = {
arch/x86/events/intel/uncore_snbep.c
4169
static struct attribute *skx_upi_uncore_formats_attr[] = {
arch/x86/events/intel/uncore_snbep.c
4201
skx_upi_mapping_visible(struct kobject *kobj, struct attribute *attr, int die)
arch/x86/events/intel/uncore_snbep.c
4545
static struct attribute *snr_uncore_cha_formats_attr[] = {
arch/x86/events/intel/uncore_snbep.c
4609
static struct attribute *snr_uncore_iio_formats_attr[] = {
arch/x86/events/intel/uncore_snbep.c
4626
snr_iio_mapping_visible(struct kobject *kobj, struct attribute *attr, int die)
arch/x86/events/intel/uncore_snbep.c
4870
static struct attribute *snr_m2m_uncore_formats_attr[] = {
arch/x86/events/intel/uncore_snbep.c
5257
icx_iio_mapping_visible(struct kobject *kobj, struct attribute *attr, int die)
arch/x86/events/intel/uncore_snbep.c
5458
static struct attribute *icx_upi_uncore_formats_attr[] = {
arch/x86/events/intel/uncore_snbep.c
5818
static struct attribute *spr_uncore_cha_formats_attr[] = {
arch/x86/events/intel/uncore_snbep.c
5846
static struct attribute *uncore_alias_attrs[] = {
arch/x86/events/intel/uncore_snbep.c
5873
static struct attribute *spr_uncore_raw_formats_attr[] = {
arch/x86/events/intel/uncore_snbep.c
6629
static struct attribute *dmr_imc_uncore_formats_attr[] = {
arch/x86/events/intel/uncore_snbep.c
6653
static struct attribute *dmr_sca_uncore_formats_attr[] = {
arch/x86/events/intel/uncore_snbep.c
6674
static struct attribute *dmr_cxlcm_uncore_formats_attr[] = {
arch/x86/events/intel/uncore_snbep.c
6781
static struct attribute *dmr_pcie4_uncore_formats_attr[] = {
arch/x86/events/intel/uncore_snbep.c
691
static struct attribute *snbep_uncore_formats_attr[] = {
arch/x86/events/intel/uncore_snbep.c
700
static struct attribute *snbep_uncore_ubox_formats_attr[] = {
arch/x86/events/intel/uncore_snbep.c
709
static struct attribute *snbep_uncore_cbox_formats_attr[] = {
arch/x86/events/intel/uncore_snbep.c
723
static struct attribute *snbep_uncore_pcu_formats_attr[] = {
arch/x86/events/intel/uncore_snbep.c
738
static struct attribute *snbep_uncore_qpi_formats_attr[] = {
arch/x86/events/msr.c
146
static struct attribute *attrs_therm[] = {
arch/x86/events/msr.c
169
static struct attribute *events_attrs[] = {
arch/x86/events/msr.c
180
static struct attribute *format_attrs[] = {
arch/x86/events/perf_event.h
905
struct attribute **format_attrs;
arch/x86/events/probe.c
10
not_visible(struct kobject *kobj, struct attribute *attr, int i)
arch/x86/events/probe.h
18
static struct attribute *attrs_##_name[] = { \
arch/x86/events/rapl.c
463
static struct attribute *attrs_empty[] = {
arch/x86/events/rapl.c
473
static struct attribute *rapl_formats_attr[] = {
arch/x86/events/rapl.c
495
static struct attribute *rapl_events_cores[] = {
arch/x86/events/rapl.c
507
static struct attribute *rapl_events_pkg[] = {
arch/x86/events/rapl.c
519
static struct attribute *rapl_events_ram[] = {
arch/x86/events/rapl.c
531
static struct attribute *rapl_events_gpu[] = {
arch/x86/events/rapl.c
543
static struct attribute *rapl_events_psys[] = {
arch/x86/events/rapl.c
555
static struct attribute *rapl_events_core[] = {
arch/x86/events/zhaoxin/core.c
443
static struct attribute *zx_arch_formats_attr[] = {
arch/x86/kernel/cpu/amd_cache_disable.c
220
struct attribute *attr, int unused)
arch/x86/kernel/cpu/amd_cache_disable.c
247
static struct attribute **amd_l3_attrs;
arch/x86/kernel/cpu/intel_epb.c
178
static struct attribute *intel_epb_attrs[] = {
arch/x86/kernel/cpu/mce/amd.c
1009
static ssize_t store(struct kobject *kobj, struct attribute *attr,
arch/x86/kernel/cpu/mce/amd.c
899
struct attribute attr;
arch/x86/kernel/cpu/mce/amd.c
987
static struct attribute *default_attrs[] = {
arch/x86/kernel/cpu/mce/amd.c
998
static ssize_t show(struct kobject *kobj, struct attribute *attr, char *buf)
arch/x86/kernel/cpu/microcode/core.c
803
static struct attribute *mc_default_attrs[] = {
arch/x86/kernel/cpu/microcode/core.c
873
static struct attribute *cpu_root_microcode_attrs[] = {
arch/x86/kernel/cpu/sgx/main.c
760
struct attribute *attr, int idx)
arch/x86/kernel/cpu/sgx/main.c
769
static struct attribute *arch_node_dev_attrs[] = {
arch/x86/kernel/cpu/umwait.c
197
static struct attribute *umwait_attrs[] = {
arch/x86/kernel/ksysfs.c
256
static struct attribute *setup_data_type_attrs[] = {
arch/x86/kernel/ksysfs.c
47
static struct attribute *boot_params_version_attrs[] = {
arch/x86/platform/efi/efi.c
134
&& (md->attribute & EFI_MEMORY_SP))
arch/x86/platform/efi/efi.c
136
else if (md->attribute & EFI_MEMORY_WB)
arch/x86/platform/efi/efi.c
187
(md->attribute & EFI_MEMORY_SP))
arch/x86/platform/efi/efi.c
521
prev_md->attribute != md->attribute) {
arch/x86/platform/efi/efi.c
531
md->attribute = 0;
arch/x86/platform/efi/efi.c
628
if (md->attribute & EFI_MEMORY_RUNTIME)
arch/x86/platform/efi/efi.c
645
(md->attribute & EFI_MEMORY_SP))
arch/x86/platform/efi/efi.c
907
umode_t efi_attr_is_visible(struct kobject *kobj, struct attribute *attr, int n)
arch/x86/platform/efi/efi_32.c
50
if (!(md->attribute & EFI_MEMORY_WB))
arch/x86/platform/efi/efi_64.c
293
if (!(md->attribute & EFI_MEMORY_WB))
arch/x86/platform/efi/efi_64.c
402
if (md->attribute & EFI_MEMORY_XP)
arch/x86/platform/efi/efi_64.c
405
if (!(md->attribute & EFI_MEMORY_RO))
arch/x86/platform/efi/memmap.c
173
m_attr = mem->attribute;
arch/x86/platform/efi/memmap.c
197
md->attribute |= m_attr;
arch/x86/platform/efi/memmap.c
202
md->attribute |= m_attr;
arch/x86/platform/efi/memmap.c
222
md->attribute |= m_attr;
arch/x86/platform/efi/memmap.c
247
md->attribute |= m_attr;
arch/x86/platform/efi/quirks.c
278
mr.attribute = md.attribute | EFI_MEMORY_RUNTIME;
arch/x86/platform/efi/quirks.c
377
md->attribute |= EFI_MEMORY_RUNTIME;
arch/x86/platform/efi/quirks.c
446
if (md->attribute & EFI_MEMORY_RUNTIME) {
arch/x86/platform/efi/quirks.c
522
if (!(md->attribute & EFI_MEMORY_RUNTIME) &&
arch/x86/platform/efi/runtime-map.c
24
struct attribute attr;
arch/x86/platform/efi/runtime-map.c
28
static inline struct map_attribute *to_map_attr(struct attribute *attr)
arch/x86/platform/efi/runtime-map.c
49
EFI_RUNTIME_U64_ATTR_SHOW(attribute);
arch/x86/platform/efi/runtime-map.c
56
static ssize_t map_attr_show(struct kobject *kobj, struct attribute *attr,
arch/x86/platform/efi/runtime-map.c
69
static struct map_attribute map_attribute_attr = __ATTR_RO_MODE(attribute, 0400);
arch/x86/platform/efi/runtime-map.c
74
static struct attribute *def_attrs[] = {
arch/x86/platform/olpc/olpc-xo1-sci.c
158
static struct attribute *lid_attrs[] = {
arch/x86/platform/ts5500/ts5500.c
193
static struct attribute *ts5500_attributes[] = {
block/blk-crypto-sysfs.c
102
static struct attribute *blk_crypto_mode_attrs[BLK_ENCRYPTION_MODE_MAX + 1];
block/blk-crypto-sysfs.c
105
struct attribute *attr, int n)
block/blk-crypto-sysfs.c
137
struct attribute *attr, char *page)
block/blk-crypto-sysfs.c
19
struct attribute attr;
block/blk-crypto-sysfs.c
29
static struct blk_crypto_attr *attr_to_crypto_attr(struct attribute *attr)
block/blk-crypto-sysfs.c
69
struct attribute *attr, int n)
block/blk-crypto-sysfs.c
84
static struct attribute *blk_crypto_attrs[] = {
block/blk-ia-ranges.c
29
struct attribute attr;
block/blk-ia-ranges.c
43
static struct attribute *blk_ia_range_attrs[] = {
block/blk-ia-ranges.c
51
struct attribute *attr, char *buf)
block/blk-integrity.c
329
static struct attribute *integrity_attrs[] = {
block/blk-mq-sysfs.c
117
static struct attribute *default_hw_ctx_attrs[] = {
block/blk-mq-sysfs.c
44
struct attribute attr;
block/blk-mq-sysfs.c
49
struct attribute *attr, char *page)
block/blk-sysfs.c
24
struct attribute attr;
block/blk-sysfs.c
703
static struct attribute *queue_attrs[] = {
block/blk-sysfs.c
762
static struct attribute *blk_mq_queue_attrs[] = {
block/blk-sysfs.c
782
static umode_t queue_attr_visible(struct kobject *kobj, struct attribute *attr,
block/blk-sysfs.c
797
struct attribute *attr, int n)
block/blk-sysfs.c
824
queue_attr_show(struct kobject *kobj, struct attribute *attr, char *page)
block/blk-sysfs.c
845
queue_attr_store(struct kobject *kobj, struct attribute *attr,
block/elevator.c
411
elv_attr_show(struct kobject *kobj, struct attribute *attr, char *page)
block/elevator.c
429
elv_attr_store(struct kobject *kobj, struct attribute *attr,
block/elevator.h
89
struct attribute attr;
block/genhd.c
1209
static struct attribute *disk_attrs[] = {
block/genhd.c
1236
static umode_t disk_visible(struct kobject *kobj, struct attribute *a, int n)
block/partitions/core.c
220
static struct attribute *part_attrs[] = {
drivers/accel/amdxdna/amdxdna_sysfs.c
42
static struct attribute *amdxdna_attrs[] = {
drivers/accel/habanalabs/common/sysfs.c
118
static struct attribute *hl_dev_vrm_attrs[] = {
drivers/accel/habanalabs/common/sysfs.c
459
static struct attribute *hl_dev_attrs[] = {
drivers/accel/habanalabs/common/sysfs.c
502
static struct attribute *hl_dev_inference_attrs[] = {
drivers/accel/habanalabs/common/sysfs.c
74
static struct attribute *hl_dev_clk_attrs[] = {
drivers/accel/habanalabs/gaudi/gaudi.c
9113
static struct attribute *gaudi_vrm_dev_attrs[] = {
drivers/accel/habanalabs/goya/goya_hwmgr.c
353
static struct attribute *goya_clk_dev_attrs[] = {
drivers/accel/habanalabs/goya/goya_hwmgr.c
377
static struct attribute *goya_vrm_dev_attrs[] = {
drivers/accel/ivpu/ivpu_sysfs.c
139
static struct attribute *ivpu_dev_attrs[] = {
drivers/accel/qaic/qaic_ras.c
538
static struct attribute *ras_attrs[] = {
drivers/accessibility/speakup/kobjects.c
945
static struct attribute *main_attrs[] = {
drivers/accessibility/speakup/kobjects.c
973
static struct attribute *i18n_attrs[] = {
drivers/accessibility/speakup/speakup_acntpc.c
88
static struct attribute *synth_attrs[] = {
drivers/accessibility/speakup/speakup_acntsa.c
74
static struct attribute *synth_attrs[] = {
drivers/accessibility/speakup/speakup_apollo.c
85
static struct attribute *synth_attrs[] = {
drivers/accessibility/speakup/speakup_audptr.c
76
static struct attribute *synth_attrs[] = {
drivers/accessibility/speakup/speakup_bns.c
70
static struct attribute *synth_attrs[] = {
drivers/accessibility/speakup/speakup_decext.c
98
static struct attribute *synth_attrs[] = {
drivers/accessibility/speakup/speakup_decpc.c
196
static struct attribute *synth_attrs[] = {
drivers/accessibility/speakup/speakup_dectlk.c
101
static struct attribute *synth_attrs[] = {
drivers/accessibility/speakup/speakup_dtlk.c
101
static struct attribute *synth_attrs[] = {
drivers/accessibility/speakup/speakup_dummy.c
83
static struct attribute *synth_attrs[] = {
drivers/accessibility/speakup/speakup_keypc.c
81
static struct attribute *synth_attrs[] = {
drivers/accessibility/speakup/speakup_ltlk.c
83
static struct attribute *synth_attrs[] = {
drivers/accessibility/speakup/speakup_soft.c
108
static struct attribute *synth_attrs[] = {
drivers/accessibility/speakup/speakup_spkout.c
76
static struct attribute *synth_attrs[] = {
drivers/accessibility/speakup/speakup_txprt.c
75
static struct attribute *synth_attrs[] = {
drivers/acpi/acpi_fpdt.c
107
static struct attribute *resume_attrs[] = {
drivers/acpi/acpi_fpdt.c
119
static struct attribute *suspend_attrs[] = {
drivers/acpi/acpi_fpdt.c
130
static struct attribute *boot_attrs[] = {
drivers/acpi/acpi_mrrm.c
142
static struct attribute *memory_range_attrs[] = {
drivers/acpi/acpi_pad.c
345
static struct attribute *acpi_pad_attrs[] = {
drivers/acpi/acpi_tad.c
252
static struct attribute *acpi_tad_time_attrs[] = {
drivers/acpi/acpi_tad.c
489
static struct attribute *acpi_tad_attrs[] = {
drivers/acpi/acpi_tad.c
548
static struct attribute *acpi_tad_dc_attrs[] = {
drivers/acpi/acpi_video.c
1132
struct acpi_video_device_attrib *attribute;
drivers/acpi/acpi_video.c
1156
attribute = acpi_video_get_device_attr(video, device_id);
drivers/acpi/acpi_video.c
1158
if (attribute && (attribute->device_id_scheme || device_id_scheme)) {
drivers/acpi/acpi_video.c
1159
switch (attribute->display_type) {
drivers/acpi/acpi_video.c
1176
if (attribute->bios_can_detect)
drivers/acpi/acpica/aclocal.h
242
u8 attribute;
drivers/acpi/acpica/acobject.h
241
u8 attribute; /* From access_as keyword */\
drivers/acpi/acpica/dsfield.c
327
info->attribute = (u8)
drivers/acpi/acpica/dsfield.c
512
info.attribute = 0;
drivers/acpi/acpica/exprep.c
310
obj_desc->common_field.attribute = field_attribute;
drivers/acpi/acpica/exprep.c
418
info->attribute,
drivers/acpi/acpica/exserial.c
162
function = ACPI_READ | (obj_desc->field.attribute << 16);
drivers/acpi/acpica/exserial.c
173
accessor_type = obj_desc->field.attribute;
drivers/acpi/acpica/exserial.c
297
function = ACPI_WRITE | (obj_desc->field.attribute << 16);
drivers/acpi/acpica/exserial.c
308
accessor_type = obj_desc->field.attribute;
drivers/acpi/battery.c
686
static struct attribute *acpi_battery_attrs[] = {
drivers/acpi/bgrt.c
34
static struct attribute *bgrt_attributes[] = {
drivers/acpi/cppc_acpi.c
214
static struct attribute *cppc_attrs[] = {
drivers/acpi/device_sysfs.c
36
struct attribute attr;
drivers/acpi/device_sysfs.c
52
static struct attribute *acpi_data_node_default_attrs[] = {
drivers/acpi/device_sysfs.c
547
static struct attribute *acpi_attrs[] = {
drivers/acpi/device_sysfs.c
614
struct attribute *attr,
drivers/acpi/device_sysfs.c
62
struct attribute *attr, char *buf)
drivers/acpi/dock.c
556
static struct attribute *dock_attributes[] = {
drivers/acpi/dptf/dptf_pch_fivr.c
105
static struct attribute *fivr_attrs[] = {
drivers/acpi/dptf/dptf_power.c
100
static struct attribute *dptf_battery_attrs[] = {
drivers/acpi/dptf/dptf_power.c
84
static struct attribute *dptf_power_attrs[] = {
drivers/acpi/nfit/core.c
1343
static umode_t nfit_visible(struct kobject *kobj, struct attribute *a, int n)
drivers/acpi/nfit/core.c
1357
static struct attribute *acpi_nfit_attributes[] = {
drivers/acpi/nfit/core.c
1609
static struct attribute *acpi_nfit_dimm_attributes[] = {
drivers/acpi/nfit/core.c
1631
struct attribute *a, int n)
drivers/acpi/nfit/core.c
2191
static struct attribute *acpi_nfit_region_attributes[] = {
drivers/acpi/platform_profile.c
225
static struct attribute *profile_attrs[] = {
drivers/acpi/platform_profile.c
447
static struct attribute *platform_profile_attrs[] = {
drivers/acpi/platform_profile.c
458
static umode_t profile_class_is_visible(struct kobject *kobj, struct attribute *attr, int idx)
drivers/acpi/power.c
513
static struct attribute *attrs[] = {
drivers/acpi/prmt.c
82
if ((md->attribute & EFI_MEMORY_RUNTIME) &&
drivers/acpi/sbs.c
471
static struct attribute *acpi_battery_attrs[] = {
drivers/acpi/sysfs.c
584
static struct attribute **all_attrs;
drivers/acpi/sysfs.c
967
static struct attribute *hotplug_profile_attrs[] = {
drivers/acpi/x86/lpss.c
763
static struct attribute *lpss_attrs[] = {
drivers/amba/bus.c
126
static struct attribute *amba_dev_attrs[] = {
drivers/ata/ahci_imx.c
410
static struct attribute *fsl_sata_ahci_attrs[] = {
drivers/ata/ata_piix.c
1091
static struct attribute *piix_sidpr_shost_attrs[] = {
drivers/ata/libahci.c
113
static struct attribute *ahci_shost_attrs[] = {
drivers/ata/libahci.c
137
static struct attribute *ahci_sdev_attrs[] = {
drivers/ata/libata-sata.c
1172
static struct attribute *ata_ncq_sdev_attrs[] = {
drivers/ata/libata-scsi.c
336
static struct attribute *ata_common_sdev_attrs[] = {
drivers/atm/adummy.c
70
static struct attribute *adummy_attrs[] = {
drivers/atm/solos-pci.c
597
static struct attribute *solos_attrs[] = {
drivers/atm/solos-pci.c
607
static struct attribute *gpio_attrs[] = {
drivers/auxdisplay/line-display.c
325
static struct attribute *linedisp_attrs[] = {
drivers/auxdisplay/line-display.c
334
static umode_t linedisp_attr_is_visible(struct kobject *kobj, struct attribute *attr, int n)
drivers/base/auxiliary_sysfs.c
16
static struct attribute *auxiliary_irq_attrs[] = {
drivers/base/bus.c
105
static ssize_t drv_attr_show(struct kobject *kobj, struct attribute *attr,
drivers/base/bus.c
117
static ssize_t drv_attr_store(struct kobject *kobj, struct attribute *attr,
drivers/base/bus.c
150
static ssize_t bus_attr_show(struct kobject *kobj, struct attribute *attr,
drivers/base/bus.c
163
static ssize_t bus_attr_store(struct kobject *kobj, struct attribute *attr,
drivers/base/bus.c
528
static struct attribute *driver_override_dev_attrs[] = {
drivers/base/cacheinfo.c
758
static struct attribute *cache_default_attrs[] = {
drivers/base/cacheinfo.c
776
struct attribute *attr, int unused)
drivers/base/class.c
69
static ssize_t class_attr_show(struct kobject *kobj, struct attribute *attr,
drivers/base/class.c
81
static ssize_t class_attr_store(struct kobject *kobj, struct attribute *attr,
drivers/base/core.c
2413
static ssize_t dev_attr_show(struct kobject *kobj, struct attribute *attr,
drivers/base/core.c
2429
static ssize_t dev_attr_store(struct kobject *kobj, struct attribute *attr,
drivers/base/core.c
492
static struct attribute *devlink_attrs[] = {
drivers/base/cpu.c
181
static struct attribute *crash_note_cpu_attrs[] = {
drivers/base/cpu.c
513
static struct attribute *cpu_root_attrs[] = {
drivers/base/cpu.c
646
static struct attribute *cpu_root_vulnerabilities_attrs[] = {
drivers/base/devcoredump.c
231
static struct attribute *devcd_class_attrs[] = {
drivers/base/firmware_loader/sysfs.c
372
static struct attribute *fw_dev_attrs[] = {
drivers/base/firmware_loader/sysfs.c
64
static struct attribute *firmware_class_attrs[] = {
drivers/base/firmware_loader/sysfs.h
106
umode_t fw_upload_is_visible(struct kobject *kobj, struct attribute *attr, int n);
drivers/base/firmware_loader/sysfs_upload.c
125
fw_upload_is_visible(struct kobject *kobj, struct attribute *attr, int n)
drivers/base/memory.c
672
static struct attribute *memory_memblk_attrs[] = {
drivers/base/memory.c
920
static struct attribute *memory_root_attrs[] = {
drivers/base/node.c
202
static struct attribute *access_attrs[] = {
drivers/base/node.c
318
static struct attribute *cache_attrs[] = {
drivers/base/node.c
644
static struct attribute *node_dev_attrs[] = {
drivers/base/node.c
91
static struct attribute *node_init_access_node_attrs[] = {
drivers/base/node.c
95
static struct attribute *node_targ_access_node_attrs[] = {
drivers/base/node.c
967
static struct attribute *node_state_attrs[] = {
drivers/base/physical_location.c
131
static struct attribute *dev_attr_physical_location[] = {
drivers/base/platform.c
1308
static struct attribute *platform_dev_attrs[] = {
drivers/base/platform.c
1314
static umode_t platform_dev_attrs_visible(struct kobject *kobj, struct attribute *a,
drivers/base/power/sysfs.c
613
static struct attribute *power_attrs[] = {
drivers/base/power/sysfs.c
624
static struct attribute *wakeup_attrs[] = {
drivers/base/power/sysfs.c
646
static struct attribute *runtime_attrs[] = {
drivers/base/power/sysfs.c
664
static struct attribute *pm_qos_resume_latency_attrs[] = {
drivers/base/power/sysfs.c
673
static struct attribute *pm_qos_latency_tolerance_attrs[] = {
drivers/base/power/sysfs.c
682
static struct attribute *pm_qos_flags_attrs[] = {
drivers/base/power/wakeup_stats.c
117
static struct attribute *wakeup_source_attrs[] = {
drivers/base/soc.c
48
struct attribute *attr,
drivers/base/soc.c
91
static struct attribute *soc_attr[] = {
drivers/base/topology.c
152
static struct attribute *default_attrs[] = {
drivers/base/topology.c
172
struct attribute *attr, int unused)
drivers/bcma/main.c
62
static struct attribute *bcma_device_attrs[] = {
drivers/block/aoe/aoeblk.c
165
static struct attribute *aoe_attrs[] = {
drivers/block/floppy.c
4459
static struct attribute *floppy_dev_attrs[] = {
drivers/block/loop.c
714
static struct attribute *loop_attrs[] = {
drivers/block/mtip32xx/mtip32xx.c
2156
static struct attribute *mtip_disk_attrs[] = {
drivers/block/rbd.c
5236
static struct attribute *rbd_attrs[] = {
drivers/block/rbd.c
552
static struct attribute *rbd_bus_attrs[] = {
drivers/block/rbd.c
562
struct attribute *attr, int index)
drivers/block/rnbd/rnbd-clt-sysfs.c
446
static struct attribute *rnbd_dev_attrs[] = {
drivers/block/rnbd/rnbd-clt-sysfs.c
641
static struct attribute *default_attrs[] = {
drivers/block/rnbd/rnbd-clt.c
1658
const struct attribute *sysfs_self)
drivers/block/rnbd/rnbd-clt.c
1670
const struct attribute *sysfs_self)
drivers/block/rnbd/rnbd-clt.h
138
const struct attribute *sysfs_self);
drivers/block/rnbd/rnbd-srv-sysfs.c
158
static struct attribute *rnbd_srv_default_dev_sessions_attrs[] = {
drivers/block/virtio_blk.c
1132
static struct attribute *virtblk_attrs[] = {
drivers/block/virtio_blk.c
1139
struct attribute *a, int n)
drivers/block/xen-blkback/xenbus.c
410
static struct attribute *xen_vbdstat_attrs[] = {
drivers/block/zram/zram_drv.c
3007
static struct attribute *zram_disk_attrs[] = {
drivers/block/zram/zram_drv.c
3229
static struct attribute *zram_control_class_attrs[] = {
drivers/bus/brcmstb_gisb.c
394
static struct attribute *gisb_arb_sysfs_attrs[] = {
drivers/bus/bt1-apb.c
316
static struct attribute *bt1_apb_sysfs_attrs[] = {
drivers/bus/bt1-axi.c
213
static struct attribute *bt1_axi_sysfs_attrs[] = {
drivers/bus/fsl-mc/fsl-mc-bus.c
243
static struct attribute *fsl_mc_dev_attrs[] = {
drivers/bus/fsl-mc/fsl-mc-bus.c
338
static struct attribute *fsl_mc_bus_attrs[] = {
drivers/bus/mhi/host/init.c
154
static struct attribute *mhi_dev_attrs[] = {
drivers/bus/mips_cdmm.c
111
static struct attribute *mips_cdmm_dev_attrs[] = {
drivers/bus/moxtet.c
71
static struct attribute *moxtet_dev_attrs[] = {
drivers/bus/mvebu-mbus.c
878
unsigned int attribute,
drivers/bus/mvebu-mbus.c
884
if (!mvebu_mbus_window_conflicts(s, base, size, target, attribute)) {
drivers/bus/mvebu-mbus.c
886
target, attribute);
drivers/bus/mvebu-mbus.c
890
return mvebu_mbus_alloc_window(s, base, size, remap, target, attribute);
drivers/bus/mvebu-mbus.c
894
int mvebu_mbus_add_window_by_id(unsigned int target, unsigned int attribute,
drivers/bus/mvebu-mbus.c
897
return mvebu_mbus_add_window_remap_by_id(target, attribute, base,
drivers/cache/sifive_ccache.c
187
static struct attribute *priv_attrs[] = {
drivers/cdx/cdx.c
521
static umode_t cdx_dev_attrs_are_visible(struct kobject *kobj, struct attribute *a, int n)
drivers/cdx/cdx.c
533
static umode_t cdx_bus_attrs_are_visible(struct kobject *kobj, struct attribute *a, int n)
drivers/cdx/cdx.c
545
static struct attribute *cdx_dev_attrs[] = {
drivers/cdx/cdx.c
564
static struct attribute *cdx_bus_dev_attrs[] = {
drivers/cdx/cdx.c
641
static struct attribute *cdx_bus_attrs[] = {
drivers/char/bsr.c
101
static struct attribute *bsr_dev_attrs[] = {
drivers/char/hw_random/core.c
506
static struct attribute *rng_dev_attrs[] = {
drivers/char/hw_random/histb-rng.c
112
static struct attribute *histb_rng_attrs[] = {
drivers/char/hw_random/s390-trng.c
123
static struct attribute *trng_dev_attrs[] = {
drivers/char/ipmi/ipmi_msghandler.c
2950
static struct attribute *bmc_dev_attrs[] = {
drivers/char/ipmi/ipmi_msghandler.c
2965
struct attribute *attr, int idx)
drivers/char/ipmi/ipmi_si_intf.c
1695
static struct attribute *ipmi_si_dev_attrs[] = {
drivers/char/ipmi/ipmi_ssif.c
1235
static struct attribute *ipmi_ssif_dev_attrs[] = {
drivers/char/tlclk.c
745
static struct attribute *tlclk_attrs[] = {
drivers/char/tpm/tpm-chip.c
450
struct attribute **i;
drivers/char/tpm/tpm-chip.c
468
struct attribute **i;
drivers/char/tpm/tpm-sysfs.c
327
static struct attribute *tpm1_dev_attrs[] = {
drivers/char/tpm/tpm-sysfs.c
342
static struct attribute *tpm2_dev_attrs[] = {
drivers/char/tpm/tpm-sysfs.c
457
static struct attribute *pcr_group_attrs_##_hash[] = { \
drivers/char/tpm/tpm_ppi.c
394
static struct attribute *ppi_attrs[] = {
drivers/char/virtio_console.c
1252
static struct attribute *port_sysfs_entries[] = {
drivers/clk/clk-si5341.c
1548
static const struct attribute *si5341_attributes[] = {
drivers/comedi/comedi_fops.c
595
static struct attribute *comedi_dev_attrs[] = {
drivers/cpufreq/amd-pstate.c
1434
static struct attribute *pstate_global_attributes[] = {
drivers/cpufreq/cpufreq.c
1010
static ssize_t store(struct kobject *kobj, struct attribute *attr,
drivers/cpufreq/cpufreq.c
974
static struct attribute *cpufreq_attrs[] = {
drivers/cpufreq/cpufreq.c
994
static ssize_t show(struct kobject *kobj, struct attribute *attr, char *buf)
drivers/cpufreq/cpufreq_conservative.c
259
static struct attribute *cs_attrs[] = {
drivers/cpufreq/cpufreq_governor_attr_set.c
11
static inline struct governor_attr *to_gov_attr(struct attribute *attr)
drivers/cpufreq/cpufreq_governor_attr_set.c
16
static ssize_t governor_show(struct kobject *kobj, struct attribute *attr,
drivers/cpufreq/cpufreq_governor_attr_set.c
24
static ssize_t governor_store(struct kobject *kobj, struct attribute *attr,
drivers/cpufreq/cpufreq_ondemand.c
308
static struct attribute *od_attrs[] = {
drivers/cpufreq/cpufreq_stats.c
173
static struct attribute *default_attrs[] = {
drivers/cpufreq/intel_pstate.c
1807
static struct attribute *intel_pstate_attributes[] = {
drivers/cpufreq/powernv-cpufreq.c
415
static struct attribute *throttle_attrs[] = {
drivers/cpuidle/sysfs.c
107
static struct attribute *cpuidle_attrs[] = {
drivers/cpuidle/sysfs.c
146
struct attribute attr;
drivers/cpuidle/sysfs.c
167
static ssize_t cpuidle_show(struct kobject *kobj, struct attribute *attr,
drivers/cpuidle/sysfs.c
182
static ssize_t cpuidle_store(struct kobject *kobj, struct attribute *attr,
drivers/cpuidle/sysfs.c
216
struct attribute attr;
drivers/cpuidle/sysfs.c
330
static struct attribute *cpuidle_state_default_attrs[] = {
drivers/cpuidle/sysfs.c
374
static struct attribute *cpuidle_state_s2idle_attrs[] = {
drivers/cpuidle/sysfs.c
413
static ssize_t cpuidle_state_show(struct kobject *kobj, struct attribute *attr,
drivers/cpuidle/sysfs.c
427
static ssize_t cpuidle_state_store(struct kobject *kobj, struct attribute *attr,
drivers/cpuidle/sysfs.c
543
struct attribute attr;
drivers/cpuidle/sysfs.c
565
static ssize_t cpuidle_driver_show(struct kobject *kobj, struct attribute *attr,
drivers/cpuidle/sysfs.c
578
static ssize_t cpuidle_driver_store(struct kobject *kobj, struct attribute *attr,
drivers/cpuidle/sysfs.c
598
static struct attribute *cpuidle_driver_default_attrs[] = {
drivers/crypto/atmel-sha204a.c
141
static struct attribute *atmel_sha204a_attrs[] = {
drivers/crypto/ccp/hsti.c
50
static struct attribute *psp_security_attrs[] = {
drivers/crypto/ccp/hsti.c
63
static umode_t psp_security_is_visible(struct kobject *kobj, struct attribute *attr, int idx)
drivers/crypto/ccp/sp-pci.c
62
static struct attribute *psp_firmware_attrs[] = {
drivers/crypto/ccp/sp-pci.c
68
static umode_t psp_firmware_is_visible(struct kobject *kobj, struct attribute *attr, int idx)
drivers/crypto/intel/qat/qat_common/adf_sysfs.c
324
static struct attribute *qat_attrs[] = {
drivers/crypto/intel/qat/qat_common/adf_sysfs_ras_counters.c
79
static struct attribute *qat_ras_attrs[] = {
drivers/crypto/intel/qat/qat_common/adf_sysfs_rl.c
423
static struct attribute *qat_rl_attrs[] = {
drivers/crypto/marvell/octeontx/otx_cptvf_main.c
769
static struct attribute *otx_cptvf_attrs[] = {
drivers/crypto/marvell/octeontx2/otx2_cptpf_main.c
563
static struct attribute *cptpf_attrs[] = {
drivers/crypto/nx/nx-common-pseries.c
957
static struct attribute *nx842_sysfs_entries[] = {
drivers/crypto/nx/nx-common-pseries.c
991
static struct attribute *nxcop_caps_sysfs_entries[] = {
drivers/crypto/omap-aes.c
1085
static struct attribute *omap_aes_attrs[] = {
drivers/crypto/omap-sham.c
2038
static struct attribute *omap_sham_attrs[] = {
drivers/cxl/core/memdev.c
415
static struct attribute *cxl_memdev_attributes[] = {
drivers/cxl/core/memdev.c
444
static struct attribute *cxl_memdev_pmem_attributes[] = {
drivers/cxl/core/memdev.c
469
static struct attribute *cxl_memdev_ram_attributes[] = {
drivers/cxl/core/memdev.c
475
static struct attribute *cxl_memdev_security_attributes[] = {
drivers/cxl/core/memdev.c
482
static umode_t cxl_memdev_visible(struct kobject *kobj, struct attribute *a,
drivers/cxl/core/memdev.c
495
static umode_t cxl_ram_visible(struct kobject *kobj, struct attribute *a, int n)
drivers/cxl/core/memdev.c
514
static umode_t cxl_pmem_visible(struct kobject *kobj, struct attribute *a, int n)
drivers/cxl/core/memdev.c
534
struct attribute *a, int n)
drivers/cxl/core/port.c
2467
static struct attribute *cxl_bus_attributes[] = {
drivers/cxl/core/port.c
314
static struct attribute *cxl_decoder_base_attrs[] = {
drivers/cxl/core/port.c
327
static struct attribute *cxl_decoder_root_attrs[] = {
drivers/cxl/core/port.c
354
static umode_t cxl_root_decoder_visible(struct kobject *kobj, struct attribute *a, int n)
drivers/cxl/core/port.c
384
static struct attribute *cxl_decoder_switch_attrs[] = {
drivers/cxl/core/port.c
402
static struct attribute *cxl_decoder_endpoint_attrs[] = {
drivers/cxl/core/port.c
575
static struct attribute *cxl_port_attrs[] = {
drivers/cxl/core/port.c
90
static struct attribute *cxl_base_attributes[] = {
drivers/cxl/core/region.c
2353
static struct attribute *target_attrs[] = {
drivers/cxl/core/region.c
2374
struct attribute *a, int n)
drivers/cxl/core/region.c
73
static struct attribute *access0_coordinate_attrs[] = {
drivers/cxl/core/region.c
770
static struct attribute *cxl_region_attrs[] = {
drivers/cxl/core/region.c
782
static umode_t cxl_region_visible(struct kobject *kobj, struct attribute *a,
drivers/cxl/core/region.c
86
static struct attribute *access1_coordinate_attrs[] = {
drivers/cxl/core/region.c
96
struct kobject *kobj, struct attribute *a, int n) \
drivers/cxl/mem.c
209
static umode_t cxl_mem_visible(struct kobject *kobj, struct attribute *a, int n)
drivers/cxl/mem.c
223
static struct attribute *cxl_mem_attrs[] = {
drivers/cxl/pci.c
833
static struct attribute *cxl_rcd_attrs[] = {
drivers/cxl/pci.c
840
static umode_t cxl_rcd_visible(struct kobject *kobj, struct attribute *a, int n)
drivers/cxl/pmem.c
69
static struct attribute *cxl_dimm_attributes[] = {
drivers/cxl/pmem.c
78
struct attribute *a, int n)
drivers/dax/bus.c
1364
static umode_t dev_dax_visible(struct kobject *kobj, struct attribute *a, int n)
drivers/dax/bus.c
1382
static struct attribute *dev_dax_attributes[] = {
drivers/dax/bus.c
149
static struct attribute *dax_drv_attrs[] = {
drivers/dax/bus.c
587
static umode_t dax_region_visible(struct kobject *kobj, struct attribute *a,
drivers/dax/bus.c
602
static struct attribute *dax_region_attributes[] = {
drivers/dax/bus.c
776
static struct attribute *dax_mapping_attributes[] = {
drivers/devfreq/devfreq-event.c
459
static struct attribute *devfreq_event_attrs[] = {
drivers/devfreq/devfreq.c
1798
static struct attribute *devfreq_attrs[] = {
drivers/devfreq/event/rockchip-dfi.c
363
static struct attribute *ddr_perf_cpumask_attrs[] = {
drivers/devfreq/event/rockchip-dfi.c
401
static struct attribute *ddr_perf_events_attrs[] = {
drivers/devfreq/event/rockchip-dfi.c
424
static struct attribute *ddr_perf_format_attrs[] = {
drivers/devfreq/governor_userspace.c
78
static struct attribute *dev_entries[] = {
drivers/devfreq/hisi_uncore_freq.c
549
static struct attribute *hisi_uncore_freq_attrs[] = {
drivers/dibs/dibs_main.c
171
static struct attribute *dibs_dev_attrs[] = {
drivers/dma/dmaengine.c
226
static struct attribute *dma_dev_attrs[] = {
drivers/dma/idxd/cdev.c
89
static struct attribute *cdev_file_attributes[] = {
drivers/dma/idxd/cdev.c
96
static umode_t cdev_file_attr_visible(struct kobject *kobj, struct attribute *a, int n)
drivers/dma/idxd/compat.c
81
static struct attribute *dsa_drv_compat_attrs[] = {
drivers/dma/idxd/perfmon.c
29
static struct attribute *perfmon_format_attrs[] = {
drivers/dma/idxd/sysfs.c
1320
static struct attribute *idxd_wq_attributes[] = {
drivers/dma/idxd/sysfs.c
1347
static bool idxd_wq_attr_max_batch_size_invisible(struct attribute *attr,
drivers/dma/idxd/sysfs.c
1356
struct attribute *attr, int n)
drivers/dma/idxd/sysfs.c
1728
static bool idxd_device_attr_max_batch_size_invisible(struct attribute *attr,
drivers/dma/idxd/sysfs.c
1736
static bool idxd_device_attr_read_buffers_invisible(struct attribute *attr,
drivers/dma/idxd/sysfs.c
1750
static bool idxd_device_attr_iaa_cap_invisible(struct attribute *attr,
drivers/dma/idxd/sysfs.c
1758
static bool idxd_device_attr_event_log_size_invisible(struct attribute *attr,
drivers/dma/idxd/sysfs.c
1765
static bool idxd_device_attr_dsacaps_invisible(struct attribute *attr,
drivers/dma/idxd/sysfs.c
1774
struct attribute *attr, int n)
drivers/dma/idxd/sysfs.c
1797
static struct attribute *idxd_device_attributes[] = {
drivers/dma/idxd/sysfs.c
507
static struct attribute *idxd_group_attributes[] = {
drivers/dma/idxd/sysfs.c
523
static bool idxd_group_attr_progress_limit_invisible(struct attribute *attr,
drivers/dma/idxd/sysfs.c
531
static bool idxd_group_attr_read_buffers_invisible(struct attribute *attr,
drivers/dma/idxd/sysfs.c
548
struct attribute *attr, int n)
drivers/dma/idxd/sysfs.c
73
static struct attribute *idxd_engine_attributes[] = {
drivers/dma/ioat/dma.h
144
struct attribute attr;
drivers/dma/ioat/sysfs.c
153
static struct attribute *ioat_attrs[] = {
drivers/dma/ioat/sysfs.c
42
ioat_attr_show(struct kobject *kobj, struct attribute *attr, char *page)
drivers/dma/ioat/sysfs.c
56
ioat_attr_store(struct kobject *kobj, struct attribute *attr,
drivers/edac/amd64_edac.c
587
static struct attribute *dbg_attrs[] = {
drivers/edac/amd64_edac.c
800
static struct attribute *inj_attrs[] = {
drivers/edac/amd64_edac.c
809
static umode_t inj_is_visible(struct kobject *kobj, struct attribute *attr, int idx)
drivers/edac/ecs.c
30
struct attribute *ecs_attrs[ECS_MAX_ATTRS + 1];
drivers/edac/ecs.c
92
static umode_t ecs_attr_visible(struct kobject *kobj, struct attribute *a, int attr_id)
drivers/edac/edac_device.h
102
struct attribute attr;
drivers/edac/edac_device.h
103
ssize_t (*show)(struct kobject *, struct attribute *, char *);
drivers/edac/edac_device.h
88
struct attribute attr;
drivers/edac/edac_device_sysfs.c
108
struct attribute attr;
drivers/edac/edac_device_sysfs.c
118
struct attribute *attr, char *buffer)
drivers/edac/edac_device_sysfs.c
130
struct attribute *attr,
drivers/edac/edac_device_sysfs.c
166
static struct attribute *device_ctrl_attrs[] = {
drivers/edac/edac_device_sysfs.c
340
struct attribute attr;
drivers/edac/edac_device_sysfs.c
347
struct attribute *attr, char *buffer)
drivers/edac/edac_device_sysfs.c
359
struct attribute *attr,
drivers/edac/edac_device_sysfs.c
392
static struct attribute *device_instance_attrs[] = {
drivers/edac/edac_device_sysfs.c
416
struct attribute *attr, char *data)
drivers/edac/edac_device_sysfs.c
424
struct attribute *attr, char *data)
drivers/edac/edac_device_sysfs.c
450
struct attribute *attr, char *buffer)
drivers/edac/edac_device_sysfs.c
475
static struct attribute *device_block_attrs[] = {
drivers/edac/edac_device_sysfs.c
579
(struct attribute *) sysfs_attrib);
drivers/edac/edac_device_sysfs.c
739
(struct attribute*) sysfs_attrib);
drivers/edac/edac_device_sysfs.c
768
(struct attribute *) sysfs_attrib);
drivers/edac/edac_mc_sysfs.c
235
static struct attribute *dimm_attrs[] = {
drivers/edac/edac_mc_sysfs.c
509
static struct attribute *mci_attrs[] = {
drivers/edac/edac_mc_sysfs.c
524
struct attribute *attr, int idx)
drivers/edac/edac_pci_sysfs.c
110
struct attribute *attr,
drivers/edac/edac_pci_sysfs.c
138
static struct attribute *pci_instance_attrs[] = {
drivers/edac/edac_pci_sysfs.c
232
struct attribute attr;
drivers/edac/edac_pci_sysfs.c
239
static ssize_t edac_pci_dev_show(struct kobject *kobj, struct attribute *attr,
drivers/edac/edac_pci_sysfs.c
251
struct attribute *attr, const char *buffer,
drivers/edac/edac_pci_sysfs.c
296
static struct attribute *edac_pci_attrs[] = {
drivers/edac/edac_pci_sysfs.c
91
struct attribute attr;
drivers/edac/edac_pci_sysfs.c
98
struct attribute *attr, char *buffer)
drivers/edac/fsl_ddr_edac.c
166
static struct attribute *fsl_ddr_dev_attrs[] = {
drivers/edac/highbank_mc_edac.c
116
static struct attribute *highbank_dev_attrs[] = {
drivers/edac/i7core_edac.c
1068
static struct attribute *i7core_addrmatch_attrs[] = {
drivers/edac/i7core_edac.c
1102
static struct attribute *i7core_udimm_counters_attrs[] = {
drivers/edac/i7core_edac.c
1146
static struct attribute *i7core_dev_attrs[] = {
drivers/edac/mem_repair.c
157
static umode_t mem_repair_attr_visible(struct kobject *kobj, struct attribute *a, int attr_id)
drivers/edac/mem_repair.c
44
struct attribute *mem_repair_attrs[MR_MAX_ATTRS + 1];
drivers/edac/octeon_edac-lmc.c
212
static struct attribute *octeon_dev_attrs[] = {
drivers/edac/scrub.c
31
struct attribute *scrub_attrs[SCRUB_MAX_ATTRS + 1];
drivers/edac/scrub.c
89
static umode_t scrub_attr_visible(struct kobject *kobj, struct attribute *a, int attr_id)
drivers/extcon/extcon.c
1016
static struct attribute *extcon_attrs[] = {
drivers/extcon/extcon.c
227
struct attribute *attrs[3]; /* to be fed to attr_g.attrs */
drivers/extcon/extcon.h
64
struct attribute **attrs_muex;
drivers/firewire/sbp2.c
1582
static struct attribute *sbp2_scsi_sysfs_attrs[] = {
drivers/firmware/arm_ffa/bus.c
103
static struct attribute *ffa_device_attributes_attrs[] = {
drivers/firmware/arm_scmi/bus.c
318
static struct attribute *scmi_device_attributes_attrs[] = {
drivers/firmware/arm_scmi/driver.c
3427
static struct attribute *versions_attrs[] = {
drivers/firmware/arm_scpi.c
854
static struct attribute *versions_attrs[] = {
drivers/firmware/dmi-id.c
148
static struct attribute *sys_dmi_attributes[DMI_STRING_MAX+2];
drivers/firmware/dmi-sysfs.c
199
struct attribute *attr;
drivers/firmware/dmi-sysfs.c
216
struct attribute *attr,
drivers/firmware/dmi-sysfs.c
292
static struct attribute *dmi_sysfs_sel_attrs[] = {
drivers/firmware/dmi-sysfs.c
514
static struct attribute *dmi_sysfs_entry_attrs[] = {
drivers/firmware/dmi-sysfs.c
53
struct attribute attr;
drivers/firmware/dmi-sysfs.c
68
struct attribute attr;
drivers/firmware/dmi-sysfs.c
93
static struct dmi_sysfs_attribute *to_attr(struct attribute *attr)
drivers/firmware/dmi-sysfs.c
99
struct attribute *_attr, char *buf)
drivers/firmware/edd.c
105
edd_attr_show(struct kobject * kobj, struct attribute *attr, char *buf)
drivers/firmware/edd.c
55
struct attribute attr;
drivers/firmware/efi/arm-runtime.c
113
if (!(md->attribute & EFI_MEMORY_SP))
drivers/firmware/efi/arm-runtime.c
64
if (!(md->attribute & EFI_MEMORY_RUNTIME))
drivers/firmware/efi/efi-init.c
152
return (md->attribute & EFI_MEMORY_WB);
drivers/firmware/efi/efi-init.c
218
(md->attribute & EFI_MEMORY_SP))
drivers/firmware/efi/efi-init.c
30
if (md->attribute & (EFI_MEMORY_WB|EFI_MEMORY_WT|EFI_MEMORY_WC))
drivers/firmware/efi/efi-init.c
45
if (!(md->attribute & EFI_MEMORY_RUNTIME))
drivers/firmware/efi/efi.c
173
static struct attribute *efi_subsys_attrs[] = {
drivers/firmware/efi/efi.c
182
umode_t __weak efi_attr_is_visible(struct kobject *kobj, struct attribute *attr,
drivers/firmware/efi/efi.c
518
if (md->attribute & EFI_MEMORY_MORE_RELIABLE) {
drivers/firmware/efi/efi.c
946
attr = md->attribute;
drivers/firmware/efi/efi.c
995
return md->attribute;
drivers/firmware/efi/esrt.c
133
static struct attribute *esre1_attrs[] = {
drivers/firmware/efi/esrt.c
203
static struct attribute *esrt_attrs[] = {
drivers/firmware/efi/esrt.c
220
struct attribute *attr, int n)
drivers/firmware/efi/esrt.c
253
(!(md.attribute & EFI_MEMORY_RUNTIME) &&
drivers/firmware/efi/esrt.c
76
struct attribute attr;
drivers/firmware/efi/esrt.c
85
static struct esre_attribute *to_attr(struct attribute *attr)
drivers/firmware/efi/esrt.c
91
struct attribute *_attr, char *buf)
drivers/firmware/efi/libstub/efi-stub.c
240
if (!(in->attribute & EFI_MEMORY_RUNTIME))
drivers/firmware/efi/libstub/efistub.h
651
__aligned_u64 attribute;
drivers/firmware/efi/libstub/fdt.c
324
if (p->attribute & EFI_MEMORY_RUNTIME)
drivers/firmware/efi/libstub/randomalloc.c
122
!(md->attribute & EFI_MEMORY_MORE_RELIABLE))
drivers/firmware/efi/libstub/randomalloc.c
28
if (md->attribute & EFI_MEMORY_HOT_PLUGGABLE)
drivers/firmware/efi/libstub/randomalloc.c
32
(md->attribute & EFI_MEMORY_SP))
drivers/firmware/efi/libstub/randomalloc.c
93
if (md->attribute & EFI_MEMORY_MORE_RELIABLE)
drivers/firmware/efi/libstub/relocate.c
56
if (desc->attribute & EFI_MEMORY_HOT_PLUGGABLE)
drivers/firmware/efi/libstub/relocate.c
60
(desc->attribute & EFI_MEMORY_SP))
drivers/firmware/efi/libstub/x86-stub.c
618
(d->attribute & EFI_MEMORY_SP))
drivers/firmware/efi/memattr.c
103
if (!(md->attribute & EFI_MEMORY_RUNTIME))
drivers/firmware/efi/riscv-runtime.c
39
if (!(md->attribute & EFI_MEMORY_RUNTIME))
drivers/firmware/efi/riscv-runtime.c
83
if (!(md->attribute & EFI_MEMORY_SP))
drivers/firmware/google/cbmem.c
76
static struct attribute *attrs[] = {
drivers/firmware/google/gsmi.c
609
static const struct attribute *gsmi_attrs[] = {
drivers/firmware/memmap.c
387
static inline struct memmap_attribute *to_memmap_attr(struct attribute *attr)
drivers/firmware/memmap.c
393
struct attribute *attr, char *buf)
drivers/firmware/memmap.c
42
struct attribute *attr, char *buf);
drivers/firmware/memmap.c
55
struct attribute attr;
drivers/firmware/memmap.c
66
static struct attribute *def_attrs[] = {
drivers/firmware/meson/meson_sm.c
282
static struct attribute *meson_sm_sysfs_attrs[] = {
drivers/firmware/qemu_fw_cfg.c
356
struct attribute attr;
drivers/firmware/qemu_fw_cfg.c
361
static inline struct fw_cfg_sysfs_attribute *to_attr(struct attribute *attr)
drivers/firmware/qemu_fw_cfg.c
424
static struct attribute *fw_cfg_sysfs_entry_attrs[] = {
drivers/firmware/qemu_fw_cfg.c
433
static ssize_t fw_cfg_sysfs_attr_show(struct kobject *kobj, struct attribute *a,
drivers/firmware/stratix10-rsu.c
689
static struct attribute *rsu_attrs[] = {
drivers/firmware/turris-mox-rwtm.c
133
static struct attribute *turris_mox_rwtm_attrs[] = {
drivers/firmware/xilinx/zynqmp.c
2022
static struct attribute *zynqmp_firmware_attrs[] = {
drivers/fpga/dfl-afu-error.c
182
static struct attribute *port_err_attrs[] = {
drivers/fpga/dfl-afu-error.c
190
struct attribute *attr, int n)
drivers/fpga/dfl-afu-main.c
375
static struct attribute *port_hdr_attrs[] = {
drivers/fpga/dfl-afu-main.c
389
struct attribute *attr, int n)
drivers/fpga/dfl-afu-main.c
482
static struct attribute *port_afu_attrs[] = {
drivers/fpga/dfl-afu-main.c
488
struct attribute *attr, int n)
drivers/fpga/dfl-fme-error.c
284
static struct attribute *fme_global_err_attrs[] = {
drivers/fpga/dfl-fme-error.c
297
struct attribute *attr, int n)
drivers/fpga/dfl-fme-main.c
130
static struct attribute *fme_hdr_attrs[] = {
drivers/fpga/dfl-fme-main.c
301
static struct attribute *thermal_extra_attrs[] = {
drivers/fpga/dfl-fme-main.c
307
struct attribute *attr, int index)
drivers/fpga/dfl-fme-main.c
533
static struct attribute *power_extra_attrs[] = {
drivers/fpga/dfl-fme-perf.c
190
static struct attribute *fme_perf_cpumask_attrs[] = {
drivers/fpga/dfl-fme-perf.c
221
static struct attribute *fme_perf_format_attrs[] = {
drivers/fpga/dfl-fme-perf.c
238
static struct attribute *fme_perf_events_attrs_empty[] = {
drivers/fpga/dfl-fme-perf.c
564
static struct attribute *fme_perf_basic_events_attrs[] = {
drivers/fpga/dfl-fme-perf.c
592
static struct attribute *fme_perf_cache_events_attrs[] = {
drivers/fpga/dfl-fme-perf.c
607
struct attribute *attr, int n)
drivers/fpga/dfl-fme-perf.c
652
static struct attribute *fme_perf_fabric_events_attrs[] = {
drivers/fpga/dfl-fme-perf.c
673
struct attribute *attr, int n)
drivers/fpga/dfl-fme-perf.c
710
static struct attribute *fme_perf_vtd_events_attrs[] = {
drivers/fpga/dfl-fme-perf.c
747
static struct attribute *fme_perf_vtd_sip_events_attrs[] = {
drivers/fpga/dfl-n3000-nios.c
287
static struct attribute *n3000_nios_attrs[] = {
drivers/fpga/dfl.c
311
static struct attribute *dfl_dev_attrs[] = {
drivers/fpga/fpga-bridge.c
314
static struct attribute *fpga_bridge_attrs[] = {
drivers/fpga/fpga-mgr.c
659
static struct attribute *fpga_mgr_attrs[] = {
drivers/fpga/fpga-region.c
177
static struct attribute *fpga_region_attrs[] = {
drivers/fpga/intel-m10-bmc-sec-update.c
241
static struct attribute *m10bmc_security_attrs[] = {
drivers/fpga/zynqmp-fpga.c
94
static struct attribute *zynqmp_fpga_attrs[] = {
drivers/fsi/fsi-core.c
1348
static struct attribute *master_attrs[] = {
drivers/fsi/fsi-core.c
902
static struct attribute *cfam_attr[] = {
drivers/gnss/core.c
361
static struct attribute *gnss_attrs[] = {
drivers/gpio/gpio-aggregator.c
1572
static struct attribute *gpio_aggregator_attrs[] = {
drivers/gpio/gpio-sim.c
366
struct attribute **attrs;
drivers/gpio/gpiolib-sysfs.c
400
static umode_t gpio_is_visible(struct kobject *kobj, struct attribute *attr,
drivers/gpio/gpiolib-sysfs.c
579
static struct attribute *gpiochip_attrs[] = {
drivers/gpio/gpiolib-sysfs.c
588
static struct attribute *gpiochip_ext_attrs[] = {
drivers/gpio/gpiolib-sysfs.c
656
static struct attribute *gpio_class_attrs[] = {
drivers/gpio/gpiolib-sysfs.c
733
struct attribute **attrs;
drivers/gpio/gpiolib-sysfs.c
78
struct attribute *class_attrs[GPIO_SYSFS_LINE_CLASS_ATTR_SIZE];
drivers/gpio/gpiolib-sysfs.c
83
struct attribute *chip_attrs[GPIO_SYSFS_LINE_CHIP_ATTR_SIZE];
drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c
1833
static struct attribute *amdgpu_vbios_version_attrs[] = {
drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c
1838
struct attribute *attr,
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
362
static struct attribute *amdgpu_board_attrs[] = {
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
368
struct attribute *attr, int n)
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
499
static struct attribute *amdgpu_uma_attrs[] = {
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
1009
static struct attribute *ip_die_entry_attrs[] = {
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
1018
struct attribute *attr,
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
864
struct attribute attr;
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
931
static struct attribute *ip_hw_instance_attrs[ARRAY_SIZE(ip_hw_attr) + 1];
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
938
struct attribute *attr,
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
991
struct attribute attr;
drivers/gpu/drm/amd/amdgpu/amdgpu_fru_eeprom.c
385
static const struct attribute *amdgpu_fru_attributes[] = {
drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c
81
static struct attribute *amdgpu_gtt_mgr_attributes[] = {
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
4328
static struct attribute *flash_attrs[] = {
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
4334
static umode_t amdgpu_flash_attr_is_visible(struct kobject *kobj, struct attribute *attr, int idx)
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
2054
struct attribute *attrs[] = {
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
2303
struct attribute *attrs[] = {
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
804
static struct attribute *fw_attrs[] = {
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
824
struct attribute *attr, int idx)
drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
217
static struct attribute *amdgpu_vram_mgr_attributes[] = {
drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
227
struct attribute *attr, int i)
drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.c
1012
struct attribute *attr, int n)
drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.c
1024
static struct attribute *amdgpu_xcp_attrs[] = {
drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.c
707
struct attribute attr;
drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.c
724
static struct attribute *xcp_cfg_res_sysfs_attrs[] = {
drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.c
754
struct attribute *attr, char *buf)
drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.c
756
struct amdgpu_xcp_res_sysfs_attribute *attribute;
drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.c
759
attribute = to_xcp_attr(attr);
drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.c
762
if (!attribute->show)
drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.c
765
return attribute->show(xcp_res, buf);
drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.c
895
static const struct attribute *xcp_attrs[] = {
drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c
398
static struct attribute amdgpu_xgmi_hive_id = {
drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c
403
static struct attribute *amdgpu_xgmi_hive_attrs[] = {
drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c
410
struct attribute *attr, char *buf)
drivers/gpu/drm/amd/amdkfd/kfd_priv.h
793
struct attribute attr_vram;
drivers/gpu/drm/amd/amdkfd/kfd_priv.h
798
struct attribute attr_sdma;
drivers/gpu/drm/amd/amdkfd/kfd_priv.h
804
struct attribute attr_evict;
drivers/gpu/drm/amd/amdkfd/kfd_priv.h
831
struct attribute attr_cu_occupancy;
drivers/gpu/drm/amd/amdkfd/kfd_priv.h
835
struct attribute attr_faults;
drivers/gpu/drm/amd/amdkfd/kfd_priv.h
836
struct attribute attr_page_in;
drivers/gpu/drm/amd/amdkfd/kfd_priv.h
837
struct attribute attr_page_out;
drivers/gpu/drm/amd/amdkfd/kfd_priv.h
987
struct attribute attr_pasid;
drivers/gpu/drm/amd/amdkfd/kfd_process.c
265
static int kfd_get_cu_occupancy(struct attribute *attr, char *buffer)
drivers/gpu/drm/amd/amdkfd/kfd_process.c
327
static ssize_t kfd_procfs_show(struct kobject *kobj, struct attribute *attr,
drivers/gpu/drm/amd/amdkfd/kfd_process.c
404
struct attribute *attr, char *buffer)
drivers/gpu/drm/amd/amdkfd/kfd_process.c
422
struct attribute *attr, char *buffer)
drivers/gpu/drm/amd/amdkfd/kfd_process.c
448
struct attribute *attr, char *buf)
drivers/gpu/drm/amd/amdkfd/kfd_process.c
470
static struct attribute attr_queue_size = {
drivers/gpu/drm/amd/amdkfd/kfd_process.c
475
static struct attribute attr_queue_type = {
drivers/gpu/drm/amd/amdkfd/kfd_process.c
480
static struct attribute attr_queue_gpuid = {
drivers/gpu/drm/amd/amdkfd/kfd_process.c
485
static struct attribute *procfs_queue_attrs[] = {
drivers/gpu/drm/amd/amdkfd/kfd_process.c
544
static void kfd_sysfs_create_file(struct kobject *kobj, struct attribute *attr,
drivers/gpu/drm/amd/amdkfd/kfd_topology.c
212
static ssize_t sysprops_show(struct kobject *kobj, struct attribute *attr,
drivers/gpu/drm/amd/amdkfd/kfd_topology.c
251
static ssize_t iolink_show(struct kobject *kobj, struct attribute *attr,
drivers/gpu/drm/amd/amdkfd/kfd_topology.c
293
static ssize_t mem_show(struct kobject *kobj, struct attribute *attr,
drivers/gpu/drm/amd/amdkfd/kfd_topology.c
325
static ssize_t kfd_cache_show(struct kobject *kobj, struct attribute *attr,
drivers/gpu/drm/amd/amdkfd/kfd_topology.c
404
static ssize_t node_show(struct kobject *kobj, struct attribute *attr,
drivers/gpu/drm/amd/amdkfd/kfd_topology.c
559
static void kfd_remove_sysfs_file(struct kobject *kobj, struct attribute *attr)
drivers/gpu/drm/amd/amdkfd/kfd_topology.c
651
struct attribute **attrs;
drivers/gpu/drm/amd/amdkfd/kfd_topology.c
805
attrs = (struct attribute **)(perf->attr_group + 1);
drivers/gpu/drm/amd/amdkfd/kfd_topology.h
113
struct attribute attr;
drivers/gpu/drm/amd/amdkfd/kfd_topology.h
134
struct attribute attr;
drivers/gpu/drm/amd/amdkfd/kfd_topology.h
161
struct attribute attr_gpuid;
drivers/gpu/drm/amd/amdkfd/kfd_topology.h
162
struct attribute attr_name;
drivers/gpu/drm/amd/amdkfd/kfd_topology.h
163
struct attribute attr_props;
drivers/gpu/drm/amd/amdkfd/kfd_topology.h
180
struct attribute attr_genid;
drivers/gpu/drm/amd/amdkfd/kfd_topology.h
181
struct attribute attr_props;
drivers/gpu/drm/amd/amdkfd/kfd_topology.h
95
struct attribute attr;
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
7728
static struct attribute *amdgpu_attrs[] = {
drivers/gpu/drm/amd/pm/amdgpu_pm.c
2349
static struct attribute *board_attrs[] = {
drivers/gpu/drm/amd/pm/amdgpu_pm.c
2355
static umode_t amdgpu_board_attr_visible(struct kobject *kobj, struct attribute *attr, int n)
drivers/gpu/drm/amd/pm/amdgpu_pm.c
2517
static struct attribute *pm_policy_attrs[] = {
drivers/gpu/drm/amd/pm/amdgpu_pm.c
2524
struct attribute *attr, int n)
drivers/gpu/drm/amd/pm/amdgpu_pm.c
3645
static struct attribute *hwmon_attributes[] = {
drivers/gpu/drm/amd/pm/amdgpu_pm.c
3696
struct attribute *attr, int index)
drivers/gpu/drm/amd/pm/amdgpu_pm.c
44
struct kobj_attribute attribute;
drivers/gpu/drm/amd/pm/amdgpu_pm.c
4523
struct od_attribute *attribute, *attribute_next;
drivers/gpu/drm/amd/pm/amdgpu_pm.c
4532
list_for_each_entry_safe(attribute, attribute_next,
drivers/gpu/drm/amd/pm/amdgpu_pm.c
4533
&container->attribute, entry) {
drivers/gpu/drm/amd/pm/amdgpu_pm.c
4534
list_del(&attribute->entry);
drivers/gpu/drm/amd/pm/amdgpu_pm.c
4536
&attribute->attribute.attr);
drivers/gpu/drm/amd/pm/amdgpu_pm.c
4537
kfree(attribute);
drivers/gpu/drm/amd/pm/amdgpu_pm.c
4588
struct od_attribute *attribute;
drivers/gpu/drm/amd/pm/amdgpu_pm.c
4607
INIT_LIST_HEAD(&top_set->attribute);
drivers/gpu/drm/amd/pm/amdgpu_pm.c
4632
attribute = kzalloc_obj(*attribute);
drivers/gpu/drm/amd/pm/amdgpu_pm.c
4633
if (!attribute) {
drivers/gpu/drm/amd/pm/amdgpu_pm.c
4637
list_add(&attribute->entry, &top_set->attribute);
drivers/gpu/drm/amd/pm/amdgpu_pm.c
4639
attribute->attribute.attr.mode =
drivers/gpu/drm/amd/pm/amdgpu_pm.c
4641
attribute->attribute.attr.name = container->name;
drivers/gpu/drm/amd/pm/amdgpu_pm.c
4642
attribute->attribute.show =
drivers/gpu/drm/amd/pm/amdgpu_pm.c
4644
attribute->attribute.store =
drivers/gpu/drm/amd/pm/amdgpu_pm.c
4647
&attribute->attribute.attr);
drivers/gpu/drm/amd/pm/amdgpu_pm.c
4666
INIT_LIST_HEAD(&sub_set->attribute);
drivers/gpu/drm/amd/pm/amdgpu_pm.c
4682
attribute = kzalloc_obj(*attribute);
drivers/gpu/drm/amd/pm/amdgpu_pm.c
4683
if (!attribute) {
drivers/gpu/drm/amd/pm/amdgpu_pm.c
4687
list_add(&attribute->entry, &sub_set->attribute);
drivers/gpu/drm/amd/pm/amdgpu_pm.c
4689
attribute->attribute.attr.mode =
drivers/gpu/drm/amd/pm/amdgpu_pm.c
4691
attribute->attribute.attr.name = feature->name;
drivers/gpu/drm/amd/pm/amdgpu_pm.c
4692
attribute->attribute.show =
drivers/gpu/drm/amd/pm/amdgpu_pm.c
4694
attribute->attribute.store =
drivers/gpu/drm/amd/pm/amdgpu_pm.c
4697
&attribute->attribute.attr);
drivers/gpu/drm/amd/pm/amdgpu_pm.c
51
struct list_head attribute;
drivers/gpu/drm/arm/display/komeda/komeda_dev.c
97
static struct attribute *komeda_sysfs_entries[] = {
drivers/gpu/drm/arm/malidp_drv.c
660
static struct attribute *mali_dp_attrs[] = {
drivers/gpu/drm/aspeed/aspeed_gfx_drv.c
307
static struct attribute *aspeed_sysfs_entries[] = {
drivers/gpu/drm/bridge/lontium-lt9611uxc.c
725
static struct attribute *lt9611uxc_attrs[] = {
drivers/gpu/drm/display/drm_dp_aux_bus.c
146
static struct attribute *dp_aux_ep_dev_attrs[] = {
drivers/gpu/drm/display/drm_dp_aux_dev.c
122
static struct attribute *drm_dp_aux_attrs[] = {
drivers/gpu/drm/drm_privacy_screen.c
360
static struct attribute *drm_privacy_screen_attrs[] = {
drivers/gpu/drm/drm_sysfs.c
312
static struct attribute *connector_dev_attrs[] = {
drivers/gpu/drm/drm_sysfs.c
521
static struct attribute *display_attrs[] = {
drivers/gpu/drm/drm_sysfs.c
527
struct attribute *a, int n)
drivers/gpu/drm/exynos/exynos_drm_vidi.c
226
static struct attribute *vidi_attrs[] = {
drivers/gpu/drm/i915/gt/intel_gt_sysfs.c
64
static struct attribute *id_attrs[] = {
drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.c
100
struct attribute *attr, char *buff) \
drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.c
120
struct attribute *attr, \
drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.c
228
static struct attribute *rc6_attrs[] = {
drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.c
234
static struct attribute *rc6p_attrs[] = {
drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.c
240
static struct attribute *media_rc6_attrs[] = {
drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.c
245
static struct attribute *rc6_dev_attrs[] = {
drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.c
251
static struct attribute *rc6p_dev_attrs[] = {
drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.c
257
static struct attribute *media_rc6_dev_attrs[] = {
drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.c
28
sysfs_gt_attribute_w_func(struct kobject *kobj, struct attribute *attr,
drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.c
427
static const struct attribute * const gen6_rps_attrs[] = GEN6_RPS_ATTR;
drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.c
428
static const struct attribute * const gen6_gt_attrs[] = GEN6_GT_ATTR;
drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.c
507
struct attribute attr;
drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.c
53
sysfs_gt_attribute_r_func(struct kobject *kobj, struct attribute *attr,
drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.c
545
static const struct attribute *throttle_reason_attrs[] = {
drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.c
712
static const struct attribute *media_perf_power_attrs[] = {
drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.c
788
static const struct attribute * const gen6_gt_rps_attrs[] = {
drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.c
842
static const struct attribute * const rps_defaults_attrs[] = {
drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.c
852
const struct attribute * const *attrs;
drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.c
853
struct attribute *vlv_attr;
drivers/gpu/drm/i915/gt/sysfs_engines.c
451
static const struct attribute * const files[] = {
drivers/gpu/drm/i915/gt/sysfs_engines.c
487
static const struct attribute * const files[] = {
drivers/gpu/drm/i915/gvt/kvmgt.c
1399
static struct attribute *intel_vgpu_attrs[] = {
drivers/gpu/drm/i915/i915_hwmon.c
256
static struct attribute *hwm_attributes[] = {
drivers/gpu/drm/i915/i915_hwmon.c
262
struct attribute *attr, int index)
drivers/gpu/drm/i915/i915_perf_types.h
91
struct attribute *attrs[2];
drivers/gpu/drm/i915/i915_pmu.c
1007
struct attribute **attr = NULL, **attr_iter;
drivers/gpu/drm/i915/i915_pmu.c
1135
struct attribute **attr_iter = pmu->events_attr_group.attrs;
drivers/gpu/drm/i915/i915_pmu.c
909
static struct attribute *i915_pmu_format_attrs[] = {
drivers/gpu/drm/i915/i915_pmu.c
980
static struct attribute **
drivers/gpu/drm/nouveau/nouveau_hwmon.c
193
static struct attribute *pwm_fan_sensor_attrs[] = {
drivers/gpu/drm/nouveau/nouveau_hwmon.c
202
static struct attribute *temp1_auto_point_sensor_attrs[] = {
drivers/gpu/drm/panel/panel-dsi-cm.c
260
static struct attribute *dsicm_attrs[] = {
drivers/gpu/drm/panel/panel-sony-acx565akm.c
255
static struct attribute *acx565akm_cabc_attrs[] = {
drivers/gpu/drm/panel/panel-tpo-td043mtea1.c
285
static struct attribute *td043mtea1_attrs[] = {
drivers/gpu/drm/panfrost/panfrost_drv.c
1059
static struct attribute *panfrost_attrs[] = {
drivers/gpu/drm/panthor/panthor_drv.c
1764
static struct attribute *panthor_attrs[] = {
drivers/gpu/drm/radeon/radeon_pm.c
760
static struct attribute *hwmon_attributes[] = {
drivers/gpu/drm/radeon/radeon_pm.c
774
struct attribute *attr, int index)
drivers/gpu/drm/sysfb/efidrm.c
54
u64 attribute = EFI_MEMORY_UC | EFI_MEMORY_WC |
drivers/gpu/drm/sysfb/efidrm.c
68
attribute &= md.attribute;
drivers/gpu/drm/sysfb/efidrm.c
69
if (attribute) {
drivers/gpu/drm/sysfb/efidrm.c
71
mem_flags &= attribute;
drivers/gpu/drm/v3d/v3d_sysfs.c
47
static struct attribute *v3d_sysfs_entries[] = {
drivers/gpu/drm/xe/xe_device_sysfs.c
151
static struct attribute *late_bind_attrs[] = {
drivers/gpu/drm/xe/xe_device_sysfs.c
158
struct attribute *attr, int n)
drivers/gpu/drm/xe/xe_device_sysfs.c
257
static struct attribute *auto_link_downgrade_attrs[] = {
drivers/gpu/drm/xe/xe_device_sysfs.c
68
static struct attribute *vram_attrs[] = {
drivers/gpu/drm/xe/xe_gt_ccs_mode.c
165
static const struct attribute *gt_ccs_mode_attrs[] = {
drivers/gpu/drm/xe/xe_gt_freq.c
245
static const struct attribute *freq_attrs[] = {
drivers/gpu/drm/xe/xe_gt_idle.c
316
static const struct attribute *gt_idle_attrs[] = {
drivers/gpu/drm/xe/xe_gt_throttle.c
126
struct attribute **pother;
drivers/gpu/drm/xe/xe_gt_throttle.c
179
static struct attribute *throttle_attrs[] = {
drivers/gpu/drm/xe/xe_gt_throttle.c
204
static struct attribute *cri_throttle_attrs[] = {
drivers/gpu/drm/xe/xe_guc_hwconfig.c
133
u32 attribute = hwconfig[i++];
drivers/gpu/drm/xe/xe_guc_hwconfig.c
138
attribute, len_dw, num_dw - i);
drivers/gpu/drm/xe/xe_guc_hwconfig.c
150
drm_printf(p, "[%2u] = %u\n", attribute, hwconfig[i]);
drivers/gpu/drm/xe/xe_guc_hwconfig.c
152
drm_printf(p, "[%2u] = { %*ph }\n", attribute,
drivers/gpu/drm/xe/xe_guc_hwconfig.c
167
int xe_guc_hwconfig_lookup_u32(struct xe_guc *guc, u32 attribute, u32 *val)
drivers/gpu/drm/xe/xe_guc_hwconfig.c
189
if (key != attribute) {
drivers/gpu/drm/xe/xe_guc_hwconfig.h
18
int xe_guc_hwconfig_lookup_u32(struct xe_guc *guc, u32 attribute, u32 *val);
drivers/gpu/drm/xe/xe_hw_engine_class_sysfs.c
41
struct attribute *attr,
drivers/gpu/drm/xe/xe_hw_engine_class_sysfs.c
512
static const struct attribute *defaults[] = {
drivers/gpu/drm/xe/xe_hw_engine_class_sysfs.c
525
static const struct attribute * const files[] = {
drivers/gpu/drm/xe/xe_hw_engine_class_sysfs.c
57
struct attribute *attr,
drivers/gpu/drm/xe/xe_hwmon.c
679
static struct attribute *hwmon_attributes[] = {
drivers/gpu/drm/xe/xe_hwmon.c
688
struct attribute *attr, int index)
drivers/gpu/drm/xe/xe_oa.c
78
struct attribute *attrs[2];
drivers/gpu/drm/xe/xe_pmu.c
408
static struct attribute *pmu_format_attrs[] = {
drivers/gpu/drm/xe/xe_pmu.c
438
static struct attribute *pmu_attr_ ##v_[] = { \
drivers/gpu/drm/xe/xe_pmu.c
443
struct attribute *attr, int idx) \
drivers/gpu/drm/xe/xe_pmu.c
478
static struct attribute *pmu_empty_event_attrs[] = {
drivers/gpu/drm/xe/xe_sriov_pf_sysfs.c
180
static struct attribute *bulk_profile_dev_attrs[] = {
drivers/gpu/drm/xe/xe_sriov_pf_sysfs.c
273
static struct attribute *profile_vf_attrs[] = {
drivers/gpu/drm/xe/xe_sriov_pf_sysfs.c
281
struct attribute *attr, int index)
drivers/gpu/drm/xe/xe_sriov_pf_sysfs.c
323
static struct attribute *control_vf_attrs[] = {
drivers/gpu/drm/xe/xe_sriov_pf_sysfs.c
329
struct attribute *attr, int index)
drivers/gpu/drm/xe/xe_sriov_pf_sysfs.c
389
static ssize_t xe_sriov_dev_attr_show(struct kobject *kobj, struct attribute *attr, char *buf)
drivers/gpu/drm/xe/xe_sriov_pf_sysfs.c
401
static ssize_t xe_sriov_dev_attr_store(struct kobject *kobj, struct attribute *attr,
drivers/gpu/drm/xe/xe_sriov_pf_sysfs.c
415
static ssize_t xe_sriov_vf_attr_show(struct kobject *kobj, struct attribute *attr, char *buf)
drivers/gpu/drm/xe/xe_sriov_pf_sysfs.c
430
static ssize_t xe_sriov_vf_attr_store(struct kobject *kobj, struct attribute *attr,
drivers/gpu/drm/xe/xe_sriov_pf_sysfs.c
76
struct attribute attr;
drivers/gpu/drm/xe/xe_sriov_pf_sysfs.c
95
struct attribute attr;
drivers/gpu/drm/xe/xe_survivability_mode.c
242
static umode_t survivability_info_attrs_visible(struct kobject *kobj, struct attribute *attr,
drivers/gpu/drm/xe/xe_survivability_mode.c
263
static struct attribute *survivability_info_attrs[] = {
drivers/gpu/drm/xe/xe_vram_freq.c
76
static struct attribute *freq_attrs[] = {
drivers/greybus/bundle.c
58
static struct attribute *bundle_attrs[] = {
drivers/greybus/control.c
420
static struct attribute *control_attrs[] = {
drivers/greybus/hd.c
42
static struct attribute *bus_attrs[] = {
drivers/greybus/interface.c
592
static struct attribute *interface_unipro_attrs[] = {
drivers/greybus/interface.c
598
static struct attribute *interface_greybus_attrs[] = {
drivers/greybus/interface.c
605
static struct attribute *interface_power_attrs[] = {
drivers/greybus/interface.c
613
static struct attribute *interface_common_attrs[] = {
drivers/greybus/interface.c
620
struct attribute *attr, int n)
drivers/greybus/interface.c
635
struct attribute *attr, int n)
drivers/greybus/interface.c
649
struct attribute *attr, int n)
drivers/greybus/module.c
67
static struct attribute *module_attrs[] = {
drivers/greybus/svc.c
249
static struct attribute *svc_attrs[] = {
drivers/hid/amd-sfh-hid/amd_sfh_pcie.c
363
static umode_t sfh_attr_is_visible(struct kobject *kobj, struct attribute *attr, int idx)
drivers/hid/amd-sfh-hid/amd_sfh_pcie.c
374
static struct attribute *sfh_attrs[] = {
drivers/hid/hid-appletb-kbd.c
146
static struct attribute *appletb_kbd_attrs[] = {
drivers/hid/hid-core.c
2634
static struct attribute *hid_drv_attrs[] = {
drivers/hid/hid-core.c
2857
static struct attribute *hid_dev_attrs[] = {
drivers/hid/hid-corsair-void.c
622
static struct attribute *corsair_void_attrs[] = {
drivers/hid/hid-corsair.c
409
static struct attribute *k90_attrs[] = {
drivers/hid/hid-cp2112.c
1043
.attrs = (struct attribute *[]){
drivers/hid/hid-cp2112.c
1064
struct attribute **attr;
drivers/hid/hid-ft260.c
945
.attrs = (struct attribute *[]) {
drivers/hid/hid-gt683r.c
208
static struct attribute *gt683r_led_attrs[] = {
drivers/hid/hid-lenovo.c
1115
static struct attribute *lenovo_attributes_tpkbd[] = {
drivers/hid/hid-lenovo.c
1305
static struct attribute *lenovo_attributes_tp10ubkbd[] = {
drivers/hid/hid-lenovo.c
711
static struct attribute *lenovo_attributes_cptkbd[] = {
drivers/hid/hid-logitech-hidpp.c
4301
static struct attribute *sysfs_attrs[] = {
drivers/hid/hid-multitouch.c
497
static struct attribute *sysfs_attrs[] = {
drivers/hid/hid-ntrig.c
430
static struct attribute *sysfs_attrs[] = {
drivers/hid/hid-nvidia-shield.c
1028
static struct attribute *shield_device_attrs[] = {
drivers/hid/hid-playstation.c
1007
static struct attribute *ps_device_attrs[] = {
drivers/hid/hid-roccat-arvo.c
246
static struct attribute *arvo_attrs[] = {
drivers/hid/hid-roccat-isku.c
110
static struct attribute *isku_attrs[] = {
drivers/hid/hid-roccat-kone.c
599
static struct attribute *kone_attrs[] = {
drivers/hid/hid-roccat-koneplus.c
317
static struct attribute *koneplus_attrs[] = {
drivers/hid/hid-roccat-kovaplus.c
373
static struct attribute *kovaplus_attrs[] = {
drivers/hid/hid-roccat-pyra.c
329
static struct attribute *pyra_attrs[] = {
drivers/hid/hid-sensor-custom.c
189
sensor_inst->power_state->attribute.report_id,
drivers/hid/hid-sensor-custom.c
190
sensor_inst->power_state->attribute.index,
drivers/hid/hid-sensor-custom.c
194
sensor_inst->report_state->attribute.report_id,
drivers/hid/hid-sensor-custom.c
195
sensor_inst->report_state->attribute.index,
drivers/hid/hid-sensor-custom.c
200
sensor_inst->power_state->attribute.logical_minimum;
drivers/hid/hid-sensor-custom.c
202
sensor_inst->power_state->attribute.report_id,
drivers/hid/hid-sensor-custom.c
203
sensor_inst->power_state->attribute.index,
drivers/hid/hid-sensor-custom.c
215
sensor_inst->report_state->attribute.logical_minimum;
drivers/hid/hid-sensor-custom.c
217
sensor_inst->report_state->attribute.report_id,
drivers/hid/hid-sensor-custom.c
218
sensor_inst->report_state->attribute.index,
drivers/hid/hid-sensor-custom.c
268
static struct attribute *enable_sensor_attrs[] = {
drivers/hid/hid-sensor-custom.c
281
struct hid_sensor_hub_attribute_info *attribute;
drivers/hid/hid-sensor-custom.c
303
attribute = &sensor_inst->fields[field_index].attribute;
drivers/hid/hid-sensor-custom.c
304
report_id = attribute->report_id;
drivers/hid/hid-sensor-custom.c
31
struct hid_sensor_hub_attribute_info attribute;
drivers/hid/hid-sensor-custom.c
319
if (i + attribute->size > ret) {
drivers/hid/hid-sensor-custom.c
325
switch (attribute->size) {
drivers/hid/hid-sensor-custom.c
328
i += attribute->size;
drivers/hid/hid-sensor-custom.c
332
i += attribute->size;
drivers/hid/hid-sensor-custom.c
336
i += attribute->size;
drivers/hid/hid-sensor-custom.c
34
struct attribute *attrs[HID_CUSTOM_TOTAL_ATTRS];
drivers/hid/hid-sensor-custom.c
356
value = sensor_inst->fields[field_index].attribute.units;
drivers/hid/hid-sensor-custom.c
358
value = sensor_inst->fields[field_index].attribute.unit_expo;
drivers/hid/hid-sensor-custom.c
360
value = sensor_inst->fields[field_index].attribute.size;
drivers/hid/hid-sensor-custom.c
362
value = sensor_inst->fields[field_index].attribute.
drivers/hid/hid-sensor-custom.c
365
value = sensor_inst->fields[field_index].attribute.
drivers/hid/hid-sensor-custom.c
404
report_id = sensor_inst->fields[field_index].attribute.
drivers/hid/hid-sensor-custom.c
491
sensor_field->attribute.usage_id = sensor_inst->hsdev->usage;
drivers/hid/hid-sensor-custom.c
493
sensor_field->attribute.attrib_id = field->logical;
drivers/hid/hid-sensor-custom.c
495
sensor_field->attribute.attrib_id = field->usage[0].hid;
drivers/hid/hid-sensor-custom.c
497
sensor_field->attribute.index = index;
drivers/hid/hid-sensor-custom.c
498
sensor_field->attribute.report_id = report->id;
drivers/hid/hid-sensor-custom.c
499
sensor_field->attribute.units = field->unit;
drivers/hid/hid-sensor-custom.c
500
sensor_field->attribute.unit_expo = field->unit_exponent;
drivers/hid/hid-sensor-custom.c
501
sensor_field->attribute.size = (field->report_size / 8);
drivers/hid/hid-sensor-custom.c
502
sensor_field->attribute.logical_minimum = field->logical_minimum;
drivers/hid/hid-sensor-custom.c
503
sensor_field->attribute.logical_maximum = field->logical_maximum;
drivers/hid/hid-sensor-custom.c
508
sensor_field->attribute.index,
drivers/hid/hid-sensor-custom.c
509
sensor_field->attribute.attrib_id);
drivers/hid/hid-sensor-custom.c
513
"input-%x-%x", sensor_field->attribute.index,
drivers/hid/hid-sensor-custom.c
514
sensor_field->attribute.attrib_id);
drivers/hid/hid-sensor-custom.c
615
if (sensor_inst->fields[i].attribute.attrib_id ==
drivers/hid/hid-sensor-custom.c
618
else if (sensor_inst->fields[i].attribute.attrib_id ==
drivers/hid/hid-sensor-custom.c
66
static struct attribute hid_custom_attrs[HID_CUSTOM_TOTAL_ATTRS] = {
drivers/hid/hid-vivaldi-common.c
114
static struct attribute *vivaldi_sysfs_attrs[] = {
drivers/hid/hid-vivaldi-common.c
119
static umode_t vivaldi_is_visible(struct kobject *kobj, struct attribute *attr,
drivers/hid/intel-ish-hid/ipc/pci-ish.c
449
static struct attribute *ish_firmware_attrs[] = {
drivers/hid/intel-ish-hid/ipc/pci-ish.c
455
static umode_t firmware_is_visible(struct kobject *kobj, struct attribute *attr,
drivers/hid/intel-ish-hid/ishtp/bus.c
366
static struct attribute *ishtp_cl_dev_attrs[] = {
drivers/hid/wacom_sys.c
1191
static struct attribute *cintiq_led_attrs[] = {
drivers/hid/wacom_sys.c
1202
static struct attribute *intuos4_led_attrs[] = {
drivers/hid/wacom_sys.c
1223
static struct attribute *intuos5_led_attrs[] = {
drivers/hid/wacom_sys.c
1234
static struct attribute *generic_led_attrs[] = {
drivers/hid/wacom_sys.c
1909
static struct attribute *remote##SET_ID##_serial_attrs[] = { \
drivers/hid/wacom_sys.c
1999
static const struct attribute *remote_unpair_attrs[] = {
drivers/hsi/hsi_core.c
27
static struct attribute *hsi_bus_dev_attrs[] = {
drivers/hv/vmbus_drv.c
1637
struct attribute attr;
drivers/hv/vmbus_drv.c
1653
struct attribute *attr, char *buf)
drivers/hv/vmbus_drv.c
1655
const struct vmbus_chan_attribute *attribute
drivers/hv/vmbus_drv.c
1660
if (!attribute->show)
drivers/hv/vmbus_drv.c
1663
return attribute->show(chan, buf);
drivers/hv/vmbus_drv.c
1667
struct attribute *attr, const char *buf,
drivers/hv/vmbus_drv.c
1670
const struct vmbus_chan_attribute *attribute
drivers/hv/vmbus_drv.c
1675
if (!attribute->store)
drivers/hv/vmbus_drv.c
1678
return attribute->store(chan, buf, count);
drivers/hv/vmbus_drv.c
1969
static struct attribute *vmbus_chan_attrs[] = {
drivers/hv/vmbus_drv.c
1998
struct attribute *attr, int idx)
drivers/hv/vmbus_drv.c
573
static struct attribute *vmbus_dev_attrs[] = {
drivers/hv/vmbus_drv.c
611
struct attribute *attr, int idx)
drivers/hv/vmbus_drv.c
644
static struct attribute *vmbus_bus_attrs[] = {
drivers/hv/vmbus_drv.c
845
static struct attribute *vmbus_drv_attrs[] = {
drivers/hwmon/acpi_power_meter.c
675
struct attribute *attr, int idx)
drivers/hwmon/acpi_power_meter.c
705
static struct attribute *power_extra_attrs[] = {
drivers/hwmon/ad7314.c
101
static struct attribute *ad7314_attrs[] = {
drivers/hwmon/ad7414.c
161
static struct attribute *ad7414_attrs[] = {
drivers/hwmon/ad7418.c
187
static struct attribute *ad7416_attrs[] = {
drivers/hwmon/ad7418.c
195
static struct attribute *ad7417_attrs[] = {
drivers/hwmon/ad7418.c
207
static struct attribute *ad7418_attrs[] = {
drivers/hwmon/adc128d818.c
248
struct attribute *attr, int index)
drivers/hwmon/adc128d818.c
312
static struct attribute *adc128_attrs[] = {
drivers/hwmon/adm1025.c
388
static struct attribute *adm1025_attributes[] = {
drivers/hwmon/adm1025.c
428
static struct attribute *adm1025_attributes_in4[] = {
drivers/hwmon/adm1026.c
1404
static struct attribute *adm1026_attributes[] = {
drivers/hwmon/adm1026.c
1541
static struct attribute *adm1026_attributes_temp3[] = {
drivers/hwmon/adm1026.c
1561
static struct attribute *adm1026_attributes_in8_9[] = {
drivers/hwmon/adm1029.c
272
static struct attribute *adm1029_attrs[] = {
drivers/hwmon/adm1031.c
896
static struct attribute *adm1031_attributes[] = {
drivers/hwmon/adm1031.c
942
static struct attribute *adm1031_attributes_opt[] = {
drivers/hwmon/adm9240.c
259
static struct attribute *adm9240_attrs[] = {
drivers/hwmon/ads7828.c
78
static struct attribute *ads7828_attrs[] = {
drivers/hwmon/ads7871.c
142
static struct attribute *ads7871_attrs[] = {
drivers/hwmon/adt7411.c
189
static struct attribute *adt7411_attrs[] = {
drivers/hwmon/adt7462.c
1590
static struct attribute *adt7462_attrs[] = {
drivers/hwmon/adt7470.c
1059
static struct attribute *adt7470_attrs[] = {
drivers/hwmon/adt7475.c
1195
static struct attribute *adt7475_attrs[] = {
drivers/hwmon/adt7475.c
1263
static struct attribute *fan4_attrs[] = {
drivers/hwmon/adt7475.c
1270
static struct attribute *pwm2_attrs[] = {
drivers/hwmon/adt7475.c
1281
static struct attribute *in0_attrs[] = {
drivers/hwmon/adt7475.c
1289
static struct attribute *in3_attrs[] = {
drivers/hwmon/adt7475.c
1297
static struct attribute *in4_attrs[] = {
drivers/hwmon/adt7475.c
1305
static struct attribute *in5_attrs[] = {
drivers/hwmon/adt7475.c
1313
static struct attribute *in6_attrs[] = {
drivers/hwmon/adt7475.c
1321
static struct attribute *vid_attrs[] = {
drivers/hwmon/amc6821.c
690
static struct attribute *amc6821_attrs[] = {
drivers/hwmon/applesmc.c
1140
struct attribute *attr;
drivers/hwmon/asb100.c
597
static struct attribute *asb100_attributes[] = {
drivers/hwmon/aspeed-pwm-tacho.c
628
struct attribute *a, int index)
drivers/hwmon/aspeed-pwm-tacho.c
639
struct attribute *a, int index)
drivers/hwmon/aspeed-pwm-tacho.c
657
static struct attribute *pwm_dev_attrs[] = {
drivers/hwmon/aspeed-pwm-tacho.c
690
static struct attribute *fan_dev_attrs[] = {
drivers/hwmon/asus_atk0110.c
1160
struct attribute **attrs;
drivers/hwmon/asus_atk0110.c
1165
attrs = devm_kcalloc(dev, len, sizeof(struct attribute *), GFP_KERNEL);
drivers/hwmon/atxp1.c
240
static struct attribute *atxp1_attrs[] = {
drivers/hwmon/axi-fan-control.c
434
static struct attribute *axi_fan_control_attrs[] = {
drivers/hwmon/coretemp.c
85
struct attribute *attrs[TOTAL_ATTRS + 1];
drivers/hwmon/da9052-hwmon.c
299
struct attribute *attr, int index)
drivers/hwmon/da9052-hwmon.c
350
static struct attribute *da9052_attrs[] = {
drivers/hwmon/da9055-hwmon.c
217
static struct attribute *da9055_attrs[] = {
drivers/hwmon/dme1737.c
1256
static struct attribute *dme1737_pwm_chmod_attr[];
drivers/hwmon/dme1737.c
1257
static void dme1737_chmod_file(struct device*, struct attribute*, umode_t);
drivers/hwmon/dme1737.c
1649
static struct attribute *dme1737_attr[] = {
drivers/hwmon/dme1737.c
1716
static struct attribute *dme1737_temp_offset_attr[] = {
drivers/hwmon/dme1737.c
1732
static struct attribute *dme1737_vid_attr[] = {
drivers/hwmon/dme1737.c
1747
static struct attribute *dme1737_zone3_attr[] = {
drivers/hwmon/dme1737.c
1765
static struct attribute *dme1737_zone_hyst_attr[] = {
drivers/hwmon/dme1737.c
1781
static struct attribute *dme1737_in7_attr[] = {
drivers/hwmon/dme1737.c
1798
static struct attribute *dme1737_pwm1_attr[] = {
drivers/hwmon/dme1737.c
1808
static struct attribute *dme1737_pwm2_attr[] = {
drivers/hwmon/dme1737.c
1818
static struct attribute *dme1737_pwm3_attr[] = {
drivers/hwmon/dme1737.c
1828
static struct attribute *dme1737_pwm5_attr[] = {
drivers/hwmon/dme1737.c
1834
static struct attribute *dme1737_pwm6_attr[] = {
drivers/hwmon/dme1737.c
1855
static struct attribute *dme1737_auto_pwm_min_attr[] = {
drivers/hwmon/dme1737.c
1866
static struct attribute *dme1737_fan1_attr[] = {
drivers/hwmon/dme1737.c
1873
static struct attribute *dme1737_fan2_attr[] = {
drivers/hwmon/dme1737.c
1880
static struct attribute *dme1737_fan3_attr[] = {
drivers/hwmon/dme1737.c
1887
static struct attribute *dme1737_fan4_attr[] = {
drivers/hwmon/dme1737.c
1894
static struct attribute *dme1737_fan5_attr[] = {
drivers/hwmon/dme1737.c
1901
static struct attribute *dme1737_fan6_attr[] = {
drivers/hwmon/dme1737.c
1922
static struct attribute *dme1737_zone_chmod_attr[] = {
drivers/hwmon/dme1737.c
1941
static struct attribute *dme1737_zone3_chmod_attr[] = {
drivers/hwmon/dme1737.c
1957
static struct attribute *dme1737_pwm1_chmod_attr[] = {
drivers/hwmon/dme1737.c
1965
static struct attribute *dme1737_pwm2_chmod_attr[] = {
drivers/hwmon/dme1737.c
1973
static struct attribute *dme1737_pwm3_chmod_attr[] = {
drivers/hwmon/dme1737.c
1981
static struct attribute *dme1737_pwm5_chmod_attr[] = {
drivers/hwmon/dme1737.c
1986
static struct attribute *dme1737_pwm6_chmod_attr[] = {
drivers/hwmon/dme1737.c
2005
static struct attribute *dme1737_pwm_chmod_attr[] = {
drivers/hwmon/dme1737.c
2044
struct attribute *attr, umode_t mode)
drivers/hwmon/dme1737.c
2056
struct attribute **attr;
drivers/hwmon/ds1621.c
315
static struct attribute *ds1621_attributes[] = {
drivers/hwmon/ds1621.c
327
struct attribute *attr, int index)
drivers/hwmon/ds620.c
203
static struct attribute *ds620_attrs[] = {
drivers/hwmon/emc1403.c
65
static struct attribute *emc1403_attrs[] = {
drivers/hwmon/emc2103.c
502
static struct attribute *emc2103_attributes[] = {
drivers/hwmon/emc2103.c
524
static struct attribute *emc2103_attributes_temp3[] = {
drivers/hwmon/emc2103.c
535
static struct attribute *emc2103_attributes_temp4[] = {
drivers/hwmon/emc6w201.c
352
static struct attribute *emc6w201_attrs[] = {
drivers/hwmon/f71805f.c
1178
static struct attribute *f71805f_attributes[] = {
drivers/hwmon/f71805f.c
1278
static struct attribute *f71805f_attributes_optin[4][5] = {
drivers/hwmon/f71805f.c
1317
static struct attribute *f71805f_attributes_pwm_freq[] = {
drivers/hwmon/f71805f.c
1329
static struct attribute *f71805f_attr_pwm[] = {
drivers/hwmon/f71805f.c
712
static struct attribute *f71805f_attr_pwm[];
drivers/hwmon/f75375s.c
687
static struct attribute *f75375_attributes[] = {
drivers/hwmon/fam15h_power.c
292
struct attribute **fam15h_power_attrs;
drivers/hwmon/g760a.c
160
static struct attribute *g760a_attrs[] = {
drivers/hwmon/g762.c
1023
static struct attribute *g762_attrs[] = {
drivers/hwmon/gl518sm.c
507
static struct attribute *gl518_attributes[] = {
drivers/hwmon/gl518sm.c
554
static struct attribute *gl518_attributes_r80[] = {
drivers/hwmon/gl520sm.c
714
static struct attribute *gl520_attributes[] = {
drivers/hwmon/gl520sm.c
766
static struct attribute *gl520_attributes_in4[] = {
drivers/hwmon/gl520sm.c
775
static struct attribute *gl520_attributes_temp2[] = {
drivers/hwmon/gpio-fan.c
323
struct attribute *attr, int index)
drivers/hwmon/gpio-fan.c
336
static struct attribute *gpio_fan_attributes[] = {
drivers/hwmon/gsc-hwmon.c
123
static struct attribute *gsc_hwmon_attributes[] = {
drivers/hwmon/hih6130.c
199
static struct attribute *hih6130_attrs[] = {
drivers/hwmon/htu31.c
260
static struct attribute *htu31_attrs[] = {
drivers/hwmon/hwmon.c
118
static void hwmon_free_attrs(struct attribute **attrs)
drivers/hwmon/hwmon.c
512
static struct attribute *hwmon_genattr(const void *drvdata,
drivers/hwmon/hwmon.c
521
struct attribute *a;
drivers/hwmon/hwmon.c
832
struct attribute **attrs,
drivers/hwmon/hwmon.c
851
struct attribute *a;
drivers/hwmon/hwmon.c
87
static struct attribute *hwmon_dev_attrs[] = {
drivers/hwmon/hwmon.c
870
static struct attribute **
drivers/hwmon/hwmon.c
874
struct attribute **attrs;
drivers/hwmon/hwmon.c
929
struct attribute **attrs;
drivers/hwmon/hwmon.c
94
struct attribute *attr, int n)
drivers/hwmon/ibmpowernv.c
470
sizeof(struct attribute *),
drivers/hwmon/iio_hwmon.c
33
struct attribute **attrs;
drivers/hwmon/ina209.c
434
static struct attribute *ina209_attrs[] = {
drivers/hwmon/ina2xx.c
866
static struct attribute *ina2xx_attrs[] = {
drivers/hwmon/ina3221.c
725
static struct attribute *ina3221_attrs[] = {
drivers/hwmon/it87.c
2260
struct attribute *attr, int index)
drivers/hwmon/it87.c
2281
static struct attribute *it87_attributes_in[] = {
drivers/hwmon/it87.c
2344
struct attribute *attr, int index)
drivers/hwmon/it87.c
2374
static struct attribute *it87_attributes_temp[] = {
drivers/hwmon/it87.c
2411
struct attribute *attr, int index)
drivers/hwmon/it87.c
2425
static struct attribute *it87_attributes[] = {
drivers/hwmon/it87.c
2443
struct attribute *attr, int index)
drivers/hwmon/it87.c
2472
static struct attribute *it87_attributes_fan[] = {
drivers/hwmon/it87.c
2514
struct attribute *attr, int index)
drivers/hwmon/it87.c
2535
static struct attribute *it87_attributes_pwm[] = {
drivers/hwmon/it87.c
2575
struct attribute *attr, int index)
drivers/hwmon/it87.c
2604
static struct attribute *it87_attributes_auto_pwm[] = {
drivers/hwmon/lineage-pem.c
372
static struct attribute *pem_attributes[] = {
drivers/hwmon/lineage-pem.c
398
static struct attribute *pem_input_attributes[] = {
drivers/hwmon/lineage-pem.c
409
static struct attribute *pem_fan_attributes[] = {
drivers/hwmon/lm63.c
848
static struct attribute *lm63_attributes[] = {
drivers/hwmon/lm63.c
895
static struct attribute *lm63_attributes_temp2_type[] = {
drivers/hwmon/lm63.c
904
static struct attribute *lm63_attributes_extra_lut[] = {
drivers/hwmon/lm63.c
932
struct attribute *attr, int index)
drivers/hwmon/lm63.c
950
static struct attribute *lm63_attributes_fan1[] = {
drivers/hwmon/lm70.c
126
static struct attribute *lm70_attrs[] = {
drivers/hwmon/lm73.c
177
static struct attribute *lm73_attrs[] = {
drivers/hwmon/lm77.c
224
static struct attribute *lm77_attrs[] = {
drivers/hwmon/lm78.c
455
static struct attribute *lm78_attrs[] = {
drivers/hwmon/lm80.c
499
static struct attribute *lm80_attrs[] = {
drivers/hwmon/lm85.c
1290
static struct attribute *lm85_attributes[] = {
drivers/hwmon/lm85.c
1373
static struct attribute *lm85_attributes_minctl[] = {
drivers/hwmon/lm85.c
1384
static struct attribute *lm85_attributes_temp_off[] = {
drivers/hwmon/lm85.c
1395
static struct attribute *lm85_attributes_in4[] = {
drivers/hwmon/lm85.c
1407
static struct attribute *lm85_attributes_in567[] = {
drivers/hwmon/lm87.c
685
static struct attribute *lm87_attributes[] = {
drivers/hwmon/lm87.c
725
static struct attribute *lm87_attributes_in6[] = {
drivers/hwmon/lm87.c
737
static struct attribute *lm87_attributes_fan1[] = {
drivers/hwmon/lm87.c
749
static struct attribute *lm87_attributes_in7[] = {
drivers/hwmon/lm87.c
761
static struct attribute *lm87_attributes_fan2[] = {
drivers/hwmon/lm87.c
773
static struct attribute *lm87_attributes_temp3[] = {
drivers/hwmon/lm87.c
787
static struct attribute *lm87_attributes_in0_5[] = {
drivers/hwmon/lm87.c
803
static struct attribute *lm87_attributes_vid[] = {
drivers/hwmon/lm93.c
2340
static struct attribute *lm93_attrs[] = {
drivers/hwmon/ltc2945.c
428
static struct attribute *ltc2945_attrs[] = {
drivers/hwmon/ltc2990.c
154
struct attribute *a, int n)
drivers/hwmon/ltc2990.c
183
static struct attribute *ltc2990_attrs[] = {
drivers/hwmon/ltc4151.c
147
static struct attribute *ltc4151_attrs[] = {
drivers/hwmon/ltc4215.c
204
static struct attribute *ltc4215_attrs[] = {
drivers/hwmon/ltc4222.c
153
static struct attribute *ltc4222_attrs[] = {
drivers/hwmon/ltc4260.c
124
static struct attribute *ltc4260_attrs[] = {
drivers/hwmon/ltc4261.c
178
static struct attribute *ltc4261_attrs[] = {
drivers/hwmon/max1111.c
136
static struct attribute *max1111_attributes[] = {
drivers/hwmon/max1111.c
149
static struct attribute *max1110_attributes[] = {
drivers/hwmon/max16065.c
360
static struct attribute *max16065_basic_attributes[] = {
drivers/hwmon/max16065.c
424
static struct attribute *max16065_current_attributes[] = {
drivers/hwmon/max16065.c
431
static struct attribute *max16065_min_attributes[] = {
drivers/hwmon/max16065.c
447
static struct attribute *max16065_max_attributes[] = {
drivers/hwmon/max16065.c
464
struct attribute *a, int n)
drivers/hwmon/max16065.c
476
struct attribute *a, int index)
drivers/hwmon/max197.c
244
.attrs = (struct attribute *[]) {
drivers/hwmon/max31722.c
64
static struct attribute *max31722_attrs[] = {
drivers/hwmon/max31760.c
49
struct attribute *attrs[LUT_SIZE + 2];
drivers/hwmon/max31827.c
459
static struct attribute *max31827_attrs[] = {
drivers/hwmon/max6650.c
321
static umode_t max6650_attrs_visible(struct kobject *kobj, struct attribute *a,
drivers/hwmon/max6650.c
342
static struct attribute *max6650_attrs[] = {
drivers/hwmon/mc13783-adc.c
178
static struct attribute *mc13783_attr_base[] = {
drivers/hwmon/mc13783-adc.c
194
static struct attribute *mc13783_attr_16chans[] = {
drivers/hwmon/mc13783-adc.c
207
static struct attribute *mc13783_attr_ts[] = {
drivers/hwmon/menf21bmc_hwmon.c
158
static struct attribute *menf21bmc_hwmon_attrs[] = {
drivers/hwmon/nct6683.c
1107
static struct attribute *nct6683_attributes_other[] = {
drivers/hwmon/nct6683.c
407
umode_t (*is_visible)(struct kobject *, struct attribute *, int);
drivers/hwmon/nct6683.c
421
struct attribute **attrs;
drivers/hwmon/nct6683.c
682
struct attribute *attr, int index)
drivers/hwmon/nct6683.c
747
struct attribute *attr, int index)
drivers/hwmon/nct6683.c
865
struct attribute *attr, int index)
drivers/hwmon/nct6683.c
952
struct attribute *attr, int index)
drivers/hwmon/nct6775-core.c
1073
umode_t (*is_visible)(struct kobject *, struct attribute *, int);
drivers/hwmon/nct6775-core.c
1084
struct attribute **attrs;
drivers/hwmon/nct6775-core.c
1912
struct attribute *attr, int index)
drivers/hwmon/nct6775-core.c
2137
struct attribute *attr, int index)
drivers/hwmon/nct6775-core.c
2348
struct attribute *attr, int index)
drivers/hwmon/nct6775-core.c
2443
static umode_t nct6775_tsi_temp_is_visible(struct kobject *kobj, struct attribute *attr,
drivers/hwmon/nct6775-core.c
3283
struct attribute *attr, int index)
drivers/hwmon/nct6775-platform.c
802
struct attribute *attr, int index)
drivers/hwmon/nct6775-platform.c
828
static struct attribute *nct6775_attributes_other[] = {
drivers/hwmon/nct6775.h
219
static inline umode_t nct6775_attr_mode(struct nct6775_data *data, struct attribute *attr)
drivers/hwmon/nct7802.c
622
static struct attribute *nct7802_temp_attrs[] = {
drivers/hwmon/nct7802.c
681
struct attribute *attr, int index)
drivers/hwmon/nct7802.c
749
static struct attribute *nct7802_in_attrs[] = {
drivers/hwmon/nct7802.c
780
struct attribute *attr, int index)
drivers/hwmon/nct7802.c
837
static struct attribute *nct7802_fan_attrs[] = {
drivers/hwmon/nct7802.c
855
struct attribute *attr, int index)
drivers/hwmon/nct7802.c
875
static struct attribute *nct7802_pwm_attrs[] = {
drivers/hwmon/nct7802.c
934
static struct attribute *nct7802_auto_point_attrs[] = {
drivers/hwmon/nsa320-hwmon.c
142
static struct attribute *nsa320_attrs[] = {
drivers/hwmon/nzxt-kraken3.c
511
static umode_t kraken3_curve_props_are_visible(struct kobject *kobj, struct attribute *attr,
drivers/hwmon/nzxt-kraken3.c
608
static struct attribute *kraken3_curve_attrs[] = {
drivers/hwmon/occ/sysfs.c
141
static struct attribute *occ_attributes[] = {
drivers/hwmon/pc87360.c
1097
static struct attribute *pc8736x_temp_attr[][10] = {
drivers/hwmon/pc87360.c
1224
static struct attribute *pc8736x_fan_attr[][5] = {
drivers/hwmon/pc87360.c
647
static struct attribute *pc8736x_vin_attr_array[] = {
drivers/hwmon/pc87360.c
871
static struct attribute *pc8736x_therm_attr_array[] = {
drivers/hwmon/pc87427.c
489
static struct attribute *pc87427_attributes_fan[8][5] = {
drivers/hwmon/pc87427.c
664
static struct attribute *pc87427_attributes_pwm[4][3] = {
drivers/hwmon/pc87427.c
842
static struct attribute *pc87427_attributes_temp[6][10] = {
drivers/hwmon/pcf8591.c
157
static struct attribute *pcf8591_attributes[] = {
drivers/hwmon/pcf8591.c
169
static struct attribute *pcf8591_attributes_opt[] = {
drivers/hwmon/pmbus/inspur-ipsps.c
165
static struct attribute *ipsps_attrs[] = {
drivers/hwmon/pmbus/isl68137.c
184
static struct attribute *enable_attrs[] = {
drivers/hwmon/pmbus/pmbus_core.c
1276
static int pmbus_add_attribute(struct pmbus_data *data, struct attribute *attr)
drivers/hwmon/pmbus/pmbus_core.c
1342
a = &boolean->attribute;
drivers/hwmon/pmbus/pmbus_core.c
1430
a = &sensor->attribute;
drivers/hwmon/pmbus/pmbus_core.c
1478
a = &label->attribute;
drivers/hwmon/pmbus/pmbus_core.c
49
struct device_attribute attribute;
drivers/hwmon/pmbus/pmbus_core.c
59
container_of(_attr, struct pmbus_sensor, attribute)
drivers/hwmon/pmbus/pmbus_core.c
63
struct sensor_device_attribute attribute;
drivers/hwmon/pmbus/pmbus_core.c
68
container_of(_attr, struct pmbus_boolean, attribute)
drivers/hwmon/pmbus/pmbus_core.c
72
struct device_attribute attribute;
drivers/hwmon/pmbus/pmbus_core.c
76
container_of(_attr, struct pmbus_label, attribute)
drivers/hwmon/scpi-hwmon.c
36
struct attribute **attrs;
drivers/hwmon/sg2042-mcu.c
156
static struct attribute *sg2042_mcu_attrs[] = {
drivers/hwmon/sht15.c
785
static struct attribute *sht15_attrs[] = {
drivers/hwmon/sht21.c
241
static struct attribute *sht21_attrs[] = {
drivers/hwmon/sht3x.c
648
static struct attribute *sht3x_attrs[] = {
drivers/hwmon/sht4x.c
356
static struct attribute *sht4x_attrs[] = {
drivers/hwmon/shtc1.c
162
static struct attribute *shtc1_attrs[] = {
drivers/hwmon/sis5595.c
562
static struct attribute *sis5595_attributes[] = {
drivers/hwmon/sis5595.c
598
static struct attribute *sis5595_attributes_in4[] = {
drivers/hwmon/sis5595.c
610
static struct attribute *sis5595_attributes_temp1[] = {
drivers/hwmon/smsc47b397.c
195
static struct attribute *smsc47b397_attrs[] = {
drivers/hwmon/smsc47m1.c
452
static struct attribute *smsc47m1_attributes_fan1[] = {
drivers/hwmon/smsc47m1.c
464
static struct attribute *smsc47m1_attributes_fan2[] = {
drivers/hwmon/smsc47m1.c
476
static struct attribute *smsc47m1_attributes_fan3[] = {
drivers/hwmon/smsc47m1.c
488
static struct attribute *smsc47m1_attributes_pwm1[] = {
drivers/hwmon/smsc47m1.c
498
static struct attribute *smsc47m1_attributes_pwm2[] = {
drivers/hwmon/smsc47m1.c
508
static struct attribute *smsc47m1_attributes_pwm3[] = {
drivers/hwmon/smsc47m1.c
518
static struct attribute *smsc47m1_attributes[] = {
drivers/hwmon/smsc47m192.c
457
static struct attribute *smsc47m192_attributes[] = {
drivers/hwmon/smsc47m192.c
514
static struct attribute *smsc47m192_attributes_in4[] = {
drivers/hwmon/stts751.c
750
static struct attribute *stts751_attrs[] = {
drivers/hwmon/tc654.c
440
static struct attribute *tc654_attrs[] = {
drivers/hwmon/tc74.c
99
static struct attribute *tc74_attrs[] = {
drivers/hwmon/thmc50.c
270
static struct attribute *thmc50_attributes[] = {
drivers/hwmon/thmc50.c
292
static struct attribute *temp3_attributes[] = {
drivers/hwmon/tsc1641.c
657
static struct attribute *tsc1641_attrs[] = {
drivers/hwmon/ultra45_env.c
221
static struct attribute *env_attributes[] = {
drivers/hwmon/vexpress-hwmon.c
109
static struct attribute *vexpress_hwmon_attrs_amp[] = {
drivers/hwmon/vexpress-hwmon.c
128
static struct attribute *vexpress_hwmon_attrs_temp[] = {
drivers/hwmon/vexpress-hwmon.c
147
static struct attribute *vexpress_hwmon_attrs_power[] = {
drivers/hwmon/vexpress-hwmon.c
166
static struct attribute *vexpress_hwmon_attrs_energy[] = {
drivers/hwmon/vexpress-hwmon.c
68
struct attribute *attr, int index)
drivers/hwmon/vexpress-hwmon.c
89
static struct attribute *vexpress_hwmon_attrs_volt[] = {
drivers/hwmon/via-cputemp.c
96
static struct attribute *via_cputemp_attributes[] = {
drivers/hwmon/via686a.c
671
static struct attribute *via686a_attributes[] = {
drivers/hwmon/vt1211.c
950
static struct attribute *vt1211_in_attr[][5] = {
drivers/hwmon/vt1211.c
997
static struct attribute *vt1211_temp_attr[][5] = {
drivers/hwmon/vt8231.c
709
static struct attribute *vt8231_attributes_temps[6][5] = {
drivers/hwmon/vt8231.c
758
static struct attribute *vt8231_attributes_volts[6][5] = {
drivers/hwmon/vt8231.c
807
static struct attribute *vt8231_attributes[] = {
drivers/hwmon/w83627ehf.c
1109
struct attribute *a, int n)
drivers/hwmon/w83627ehf.c
1164
static struct attribute *w83627ehf_attrs[] = {
drivers/hwmon/w83627hf.c
1484
static struct attribute *w83627hf_attributes[] = {
drivers/hwmon/w83627hf.c
1641
static struct attribute *w83627hf_attributes_opt[] = {
drivers/hwmon/w83781d.c
1007
static struct attribute *w83781d_attributes_other[] = {
drivers/hwmon/w83781d.c
940
static struct attribute *w83781d_attributes[] = {
drivers/hwmon/w83781d.c
963
static struct attribute *w83781d_attributes_in1[] = {
drivers/hwmon/w83781d.c
971
static struct attribute *w83781d_attributes_in78[] = {
drivers/hwmon/w83781d.c
980
static struct attribute *w83781d_attributes_temp3[] = {
drivers/hwmon/w83781d.c
988
static struct attribute *w83781d_attributes_pwm12[] = {
drivers/hwmon/w83781d.c
998
static struct attribute *w83781d_attributes_pwm34[] = {
drivers/hwmon/w83791d.c
1201
static struct attribute *w83791d_attributes[] = {
drivers/hwmon/w83791d.c
1247
static struct attribute *w83791d_attributes_fanpwm45[] = {
drivers/hwmon/w83792d.c
1159
static struct attribute *w83792d_attributes_fan[4][7] = {
drivers/hwmon/w83792d.c
1202
static struct attribute *w83792d_attributes[] = {
drivers/hwmon/w83l786ng.c
652
static struct attribute *w83l786ng_attrs[] = {
drivers/hwmon/wm831x-hwmon.c
103
static struct attribute *wm831x_attrs[] = {
drivers/hwmon/wm8350-hwmon.c
56
static struct attribute *wm8350_attrs[] = {
drivers/hwmon/xgene-hwmon.c
397
static struct attribute *xgene_hwmon_attrs[] = {
drivers/hwtracing/coresight/coresight-catu.c
369
static struct attribute *catu_mgmt_attrs[] = {
drivers/hwtracing/coresight/coresight-cti-sysfs.c
1082
sizeof(struct attribute *), GFP_KERNEL);
drivers/hwtracing/coresight/coresight-cti-sysfs.c
165
static struct attribute *coresight_cti_attrs[] = {
drivers/hwtracing/coresight/coresight-cti-sysfs.c
239
static struct attribute *coresight_cti_mgmt_attrs[] = {
drivers/hwtracing/coresight/coresight-cti-sysfs.c
505
static struct attribute *coresight_cti_regs_attrs[] = {
drivers/hwtracing/coresight/coresight-cti-sysfs.c
878
static struct attribute *coresight_cti_channel_attrs[] = {
drivers/hwtracing/coresight/coresight-cti.h
93
struct attribute **con_attrs;
drivers/hwtracing/coresight/coresight-dummy.c
100
static struct attribute *coresight_dummy_attrs[] = {
drivers/hwtracing/coresight/coresight-etb10.c
657
static struct attribute *coresight_etb_mgmt_attrs[] = {
drivers/hwtracing/coresight/coresight-etb10.c
695
static struct attribute *coresight_etb_attrs[] = {
drivers/hwtracing/coresight/coresight-etm-perf.c
117
static struct attribute *etm_config_sinks_attr[] = {
drivers/hwtracing/coresight/coresight-etm-perf.c
126
static struct attribute *etm_config_events_attr[] = {
drivers/hwtracing/coresight/coresight-etm-perf.c
95
static struct attribute *etm_config_formats_attr[] = {
drivers/hwtracing/coresight/coresight-etm3x-sysfs.c
1203
static struct attribute *coresight_etm_attrs[] = {
drivers/hwtracing/coresight/coresight-etm3x-sysfs.c
1241
static struct attribute *coresight_etm_mgmt_attrs[] = {
drivers/hwtracing/coresight/coresight-etm4x-sysfs.c
2340
static struct attribute *coresight_etmv4_attrs[] = {
drivers/hwtracing/coresight/coresight-etm4x-sysfs.c
2516
struct attribute *attr, int unused)
drivers/hwtracing/coresight/coresight-etm4x-sysfs.c
2549
static struct attribute *coresight_etmv4_mgmt_attrs[] = {
drivers/hwtracing/coresight/coresight-etm4x-sysfs.c
2567
static struct attribute *coresight_etmv4_trcidr_attrs[] = {
drivers/hwtracing/coresight/coresight-funnel.c
207
static struct attribute *coresight_funnel_attrs[] = {
drivers/hwtracing/coresight/coresight-replicator.c
204
static struct attribute *replicator_mgmt_attrs[] = {
drivers/hwtracing/coresight/coresight-stm.c
624
static struct attribute *coresight_stm_attrs[] = {
drivers/hwtracing/coresight/coresight-stm.c
633
static struct attribute *coresight_stm_mgmt_attrs[] = {
drivers/hwtracing/coresight/coresight-sysfs.c
391
struct attribute *attr, int n)
drivers/hwtracing/coresight/coresight-sysfs.c
405
static struct attribute *coresight_sink_attrs[] = {
drivers/hwtracing/coresight/coresight-sysfs.c
417
static struct attribute *coresight_source_attrs[] = {
drivers/hwtracing/coresight/coresight-sysfs.c
429
static struct attribute *coresight_link_attrs[] = {
drivers/hwtracing/coresight/coresight-sysfs.c
440
static struct attribute *coresight_helper_attrs[] = {
drivers/hwtracing/coresight/coresight-sysfs.c
490
static struct attribute *coresight_conns_attrs[] = {
drivers/hwtracing/coresight/coresight-tmc-core.c
460
static struct attribute *coresight_tmc_mgmt_attrs[] = {
drivers/hwtracing/coresight/coresight-tmc-core.c
566
static struct attribute *coresight_tmc_attrs[] = {
drivers/hwtracing/coresight/coresight-tmc-etr.c
2078
static struct attribute *coresight_etr_attrs[] = {
drivers/hwtracing/coresight/coresight-tnoc.c
160
static struct attribute *coresight_tnoc_attrs[] = {
drivers/hwtracing/coresight/coresight-tnoc.c
166
struct attribute *attr, int idx)
drivers/hwtracing/coresight/coresight-tpda.c
515
static struct attribute *tpda_attrs[] = {
drivers/hwtracing/coresight/coresight-tpdm.c
1121
static struct attribute *tpdm_dsb_edge_attrs[] = {
drivers/hwtracing/coresight/coresight-tpdm.c
1152
static struct attribute *tpdm_dsb_trig_patt_attrs[] = {
drivers/hwtracing/coresight/coresight-tpdm.c
1172
static struct attribute *tpdm_dsb_patt_attrs[] = {
drivers/hwtracing/coresight/coresight-tpdm.c
1194
static struct attribute *tpdm_dsb_msr_attrs[] = {
drivers/hwtracing/coresight/coresight-tpdm.c
1230
static struct attribute *tpdm_cmb_trig_patt_attrs[] = {
drivers/hwtracing/coresight/coresight-tpdm.c
1238
static struct attribute *tpdm_cmb_patt_attrs[] = {
drivers/hwtracing/coresight/coresight-tpdm.c
1247
static struct attribute *tpdm_cmb_msr_attrs[] = {
drivers/hwtracing/coresight/coresight-tpdm.c
1283
static struct attribute *tpdm_mcmb_attrs[] = {
drivers/hwtracing/coresight/coresight-tpdm.c
1289
static struct attribute *tpdm_dsb_attrs[] = {
drivers/hwtracing/coresight/coresight-tpdm.c
1296
static struct attribute *tpdm_cmb_attrs[] = {
drivers/hwtracing/coresight/coresight-tpdm.c
199
struct attribute *attr, int n)
drivers/hwtracing/coresight/coresight-tpdm.c
211
struct attribute *attr, int n)
drivers/hwtracing/coresight/coresight-tpdm.c
223
struct attribute *attr, int n)
drivers/hwtracing/coresight/coresight-tpdm.c
239
struct attribute *attr, int n)
drivers/hwtracing/coresight/coresight-tpdm.c
256
struct attribute *attr, int n)
drivers/hwtracing/coresight/coresight-tpdm.c
688
static struct attribute *tpdm_attrs[] = {
drivers/hwtracing/coresight/coresight-trbe.c
1220
static struct attribute *arm_trbe_attrs[] = {
drivers/hwtracing/coresight/ultrasoc-smb.c
177
static struct attribute *smb_sink_attrs[] = {
drivers/hwtracing/intel_th/core.c
328
static struct attribute *intel_th_output_attrs[] = {
drivers/hwtracing/intel_th/gth.c
370
struct attribute **attrs;
drivers/hwtracing/intel_th/gth.c
412
struct attribute **attrs;
drivers/hwtracing/intel_th/msu.c
2111
static struct attribute *msc_output_attrs[] = {
drivers/hwtracing/intel_th/pti.c
138
static struct attribute *pti_output_attrs[] = {
drivers/hwtracing/intel_th/pti.c
290
static struct attribute *lpp_output_attrs[] = {
drivers/hwtracing/ptt/hisi_ptt.c
142
static struct attribute *hisi_ptt_tune_attrs[] = {
drivers/hwtracing/ptt/hisi_ptt.c
787
static struct attribute *hisi_ptt_cpumask_attrs[] = {
drivers/hwtracing/ptt/hisi_ptt.c
809
static struct attribute *hisi_ptt_pmu_format_attrs[] = {
drivers/hwtracing/ptt/hisi_ptt.c
840
static struct attribute *hisi_ptt_pmu_root_ports_attrs[] = {
drivers/hwtracing/ptt/hisi_ptt.c
858
static struct attribute *hisi_ptt_pmu_requesters_attrs[] = {
drivers/hwtracing/stm/core.c
1194
static struct attribute *stm_source_attrs[] = {
drivers/hwtracing/stm/core.c
78
static struct attribute *stm_attrs[] = {
drivers/i2c/i2c-core-base.c
1378
static struct attribute *i2c_adapter_attrs[] = {
drivers/i2c/i2c-core-base.c
691
static struct attribute *i2c_dev_attrs[] = {
drivers/i2c/i2c-dev.c
109
static struct attribute *i2c_attrs[] = {
drivers/i3c/master.c
301
static struct attribute *i3c_device_attrs[] = {
drivers/i3c/master.c
761
static struct attribute *i3c_masterdev_attrs[] = {
drivers/iio/accel/adxl372.c
1149
static struct attribute *adxl372_attributes[] = {
drivers/iio/accel/adxl380.c
1611
static struct attribute *adxl380_event_attributes[] = {
drivers/iio/accel/bma180.c
515
static struct attribute *bma180_attributes[] = {
drivers/iio/accel/bma400_core.c
375
static struct attribute *bma400_event_attributes[] = {
drivers/iio/accel/bmc150-accel-core.c
1036
static struct attribute *bmc150_accel_attributes[] = {
drivers/iio/accel/kxcjk-1013.c
1109
static struct attribute *kxcjk1013_attributes[] = {
drivers/iio/accel/kxsd9.c
131
static struct attribute *kxsd9_attributes[] = {
drivers/iio/accel/mma7455_core.c
197
static struct attribute *mma7455_attributes[] = {
drivers/iio/accel/mma7660.c
69
static struct attribute *mma7660_attributes[] = {
drivers/iio/accel/mma8452.c
1183
static struct attribute *mma8452_event_attributes[] = {
drivers/iio/accel/mma8452.c
1422
static struct attribute *mma8452_attributes[] = {
drivers/iio/accel/mxc4005.c
98
static struct attribute *mxc4005_attributes[] = {
drivers/iio/accel/sca3000.c
953
static struct attribute *sca3000_attributes[] = {
drivers/iio/accel/st_accel_core.c
1387
static struct attribute *st_accel_attributes[] = {
drivers/iio/accel/stk8312.c
116
static struct attribute *stk8312_attributes[] = {
drivers/iio/accel/stk8ba50.c
130
static struct attribute *stk8ba50_attributes[] = {
drivers/iio/adc/ad4062.c
320
static struct attribute *ad4062_event_attributes[] = {
drivers/iio/adc/ad7192.c
801
static struct attribute *ad7192_attributes[] = {
drivers/iio/adc/ad7192.c
810
static struct attribute *ad7195_attributes[] = {
drivers/iio/adc/ad7606.c
1002
static struct attribute *ad7606_attributes_os_and_range[] = {
drivers/iio/adc/ad7606.c
1012
static struct attribute *ad7606_attributes_os[] = {
drivers/iio/adc/ad7606.c
1021
static struct attribute *ad7606_attributes_range[] = {
drivers/iio/adc/ad7791.c
357
static struct attribute *ad7791_attributes[] = {
drivers/iio/adc/ad7793.c
378
static struct attribute *ad7793_attributes[] = {
drivers/iio/adc/ad7793.c
387
static struct attribute *ad7797_attributes[] = {
drivers/iio/adc/ad799x.c
533
static struct attribute *ad799x_event_attributes[] = {
drivers/iio/adc/hx711.c
409
static struct attribute *hx711_attributes[] = {
drivers/iio/adc/ina2xx-adc.c
904
static struct attribute *ina219_attributes[] = {
drivers/iio/adc/ina2xx-adc.c
911
static struct attribute *ina226_attributes[] = {
drivers/iio/adc/max11410.c
328
static struct attribute *max11410_attributes[] = {
drivers/iio/adc/max1363.c
1008
static struct attribute *max1363_event_attributes[] = {
drivers/iio/adc/max9611.c
438
static struct attribute *max9611_attributes[] = {
drivers/iio/adc/mcp3422.c
300
static struct attribute *mcp3422_attributes[] = {
drivers/iio/adc/mcp3564.c
1350
static struct attribute *mcp3564_attributes[] = {
drivers/iio/adc/mcp3564.c
1355
static struct attribute *mcp3564r_attributes[] = {
drivers/iio/adc/mxs-lradc-adc.c
352
static struct attribute *mxs_lradc_adc_attributes[] = {
drivers/iio/adc/nau7802.c
102
static struct attribute *nau7802_attributes[] = {
drivers/iio/adc/pac1934.c
1435
struct attribute **pac1934_custom_attr;
drivers/iio/adc/rtq6056.c
621
static struct attribute *rtq6056_attributes[] = {
drivers/iio/adc/ti-ads131e08.c
567
static struct attribute *ads131e08_attributes[] = {
drivers/iio/adc/ti-ads8688.c
140
static struct attribute *ads8688_attributes[] = {
drivers/iio/adc/vf610_adc.c
622
static struct attribute *vf610_attributes[] = {
drivers/iio/cdc/ad7150.c
515
static struct attribute *ad7150_event_attributes[] = {
drivers/iio/cdc/ad7746.c
446
static struct attribute *ad7746_attributes[] = {
drivers/iio/chemical/bme680_core.c
1033
static struct attribute *bme680_attributes[] = {
drivers/iio/chemical/mhz19b.c
214
static struct attribute *mhz19b_attrs[] = {
drivers/iio/chemical/scd30_core.c
438
static struct attribute *scd30_attrs[] = {
drivers/iio/chemical/scd4x.c
546
static struct attribute *scd4x_attrs[] = {
drivers/iio/chemical/sps30.c
277
static struct attribute *sps30_attrs[] = {
drivers/iio/chemical/vz89x.c
133
static struct attribute *vz89x_attributes[] = {
drivers/iio/dac/ad5360.c
304
static struct attribute *ad5360_attributes[] = {
drivers/iio/dac/ad5504.c
207
static struct attribute *ad5504_ev_attributes[] = {
drivers/iio/dac/mcp4725.c
142
static struct attribute *mcp4725_attributes[] = {
drivers/iio/dac/mcp4728.c
177
static struct attribute *mcp4728_attributes[] = {
drivers/iio/dac/mcp47feb02.c
535
static struct attribute *mcp47feb02_attributes[] = {
drivers/iio/dummy/iio_dummy_evgen.c
168
static struct attribute *iio_evgen_attrs[] = {
drivers/iio/frequency/ad9523.c
611
static struct attribute *ad9523_attributes[] = {
drivers/iio/gyro/adis16136.c
387
static struct attribute *adis16136_attributes[] = {
drivers/iio/gyro/bmg160_core.c
809
static struct attribute *bmg160_attributes[] = {
drivers/iio/gyro/fxas21002c_core.c
676
static struct attribute *fxas21002c_attributes[] = {
drivers/iio/gyro/mpu3050-core.c
749
static struct attribute *mpu3050_attributes[] = {
drivers/iio/gyro/st_gyro_core.c
425
static struct attribute *st_gyro_attributes[] = {
drivers/iio/health/afe4403.c
197
static struct attribute *afe440x_attributes[] = {
drivers/iio/health/afe4404.c
228
static struct attribute *afe440x_attributes[] = {
drivers/iio/humidity/hdc100x.c
82
static struct attribute *hdc100x_attributes[] = {
drivers/iio/humidity/hdc2010.c
74
static struct attribute *hdc2010_attributes[] = {
drivers/iio/humidity/hts221_core.c
530
static struct attribute *hts221_attributes[] = {
drivers/iio/humidity/htu21.c
163
static struct attribute *htu21_attributes[] = {
drivers/iio/humidity/si7020.c
213
static struct attribute *si7020_attributes[] = {
drivers/iio/imu/bmi160/bmi160_core.c
514
static struct attribute *bmi160_attrs[] = {
drivers/iio/imu/bmi270/bmi270_core.c
1031
static struct attribute *bmi270_event_attributes[] = {
drivers/iio/imu/bmi323/bmi323_core.c
768
static struct attribute *bmi323_event_attributes[] = {
drivers/iio/imu/bno055/bno055.c
1346
static struct attribute *bno055_attrs[] = {
drivers/iio/imu/fxos8700_core.c
592
static struct attribute *fxos8700_attrs[] = {
drivers/iio/imu/inv_mpu6050/inv_mpu_core.c
1701
static struct attribute *inv_attributes[] = {
drivers/iio/imu/kmx61.c
199
static struct attribute *kmx61_acc_attributes[] = {
drivers/iio/imu/kmx61.c
205
static struct attribute *kmx61_mag_attributes[] = {
drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c
2295
static struct attribute *st_lsm6dsx_acc_attributes[] = {
drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c
2317
static struct attribute *st_lsm6dsx_gyro_attributes[] = {
drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_shub.c
711
static struct attribute *st_lsm6dsx_shub_attributes[] = {
drivers/iio/industrialio-buffer.c
1467
static struct attribute *iio_buffer_attrs[] = {
drivers/iio/industrialio-buffer.c
1477
static struct attribute *iio_buffer_wrap_attr(struct iio_buffer *buffer,
drivers/iio/industrialio-buffer.c
1478
struct attribute *attr)
drivers/iio/industrialio-buffer.c
1503
struct attribute **buffer_attrs,
drivers/iio/industrialio-buffer.c
1509
struct attribute **attrs;
drivers/iio/industrialio-buffer.c
2116
struct attribute **attr;
drivers/iio/industrialio-buffer.c
2204
(struct attribute *)&id_attr->dev_attr.attr;
drivers/iio/industrialio-buffer.c
2209
struct attribute *wrapped;
drivers/iio/industrialio-core.c
1551
struct attribute **attr, *clk = NULL;
drivers/iio/industrialio-event.c
580
struct attribute **attr;
drivers/iio/industrialio-trigger.c
497
static struct attribute *iio_trigger_consumer_attrs[] = {
drivers/iio/industrialio-trigger.c
60
static struct attribute *iio_trig_dev_attrs[] = {
drivers/iio/inkern.c
707
enum iio_chan_info_enum attribute)
drivers/iio/inkern.c
715
return iio_channel_read(chan, val, val2, attribute);
drivers/iio/inkern.c
783
enum iio_chan_info_enum attribute)
drivers/iio/inkern.c
791
return iio_channel_read_avail(chan, vals, type, length, attribute);
drivers/iio/inkern.c
950
enum iio_chan_info_enum attribute)
drivers/iio/inkern.c
958
return iio_channel_write(chan, val, val2, attribute);
drivers/iio/light/adux1020.c
678
static struct attribute *adux1020_attributes[] = {
drivers/iio/light/al3010.c
68
static struct attribute *al3010_attributes[] = {
drivers/iio/light/al3320a.c
81
static struct attribute *al3320a_attributes[] = {
drivers/iio/light/apds9306.c
296
static struct attribute *apds9306_event_attributes[] = {
drivers/iio/light/apds9960.c
377
static struct attribute *apds9960_attributes[] = {
drivers/iio/light/bh1750.c
212
static struct attribute *bh1750_attributes[] = {
drivers/iio/light/cm32181.c
416
static struct attribute *cm32181_attributes[] = {
drivers/iio/light/cm3232.c
310
static struct attribute *cm3232_attributes[] = {
drivers/iio/light/cm3323.c
70
static struct attribute *cm3323_attributes[] = {
drivers/iio/light/cm36651.c
601
static struct attribute *cm36651_attributes[] = {
drivers/iio/light/isl29018.c
505
static struct attribute *isl29018_attributes[] = {
drivers/iio/light/isl29018.c
512
static struct attribute *isl29023_attributes[] = {
drivers/iio/light/isl29028.c
494
static struct attribute *isl29028_attributes[] = {
drivers/iio/light/isl29125.c
203
static struct attribute *isl29125_attributes[] = {
drivers/iio/light/lm3533-als.c
672
static struct attribute *lm3533_als_event_attributes[] = {
drivers/iio/light/lm3533-als.c
693
static struct attribute *lm3533_als_attributes[] = {
drivers/iio/light/ltr501.c
1153
static struct attribute *ltr501_attributes[] = {
drivers/iio/light/ltr501.c
1161
static struct attribute *ltr301_attributes[] = {
drivers/iio/light/lv0104cs.c
450
static struct attribute *lv0104cs_attributes[] = {
drivers/iio/light/max44000.c
390
static struct attribute *max44000_attributes[] = {
drivers/iio/light/max44009.c
290
static struct attribute *max44009_attributes[] = {
drivers/iio/light/opt3001.c
268
static struct attribute *opt3001_attributes[] = {
drivers/iio/light/pa12203001.c
90
static struct attribute *pa12203001_attrs[] = {
drivers/iio/light/rpr0521.c
218
static struct attribute *rpr0521_attributes[] = {
drivers/iio/light/si1133.c
864
static struct attribute *si1133_attributes[] = {
drivers/iio/light/si1145.c
962
static struct attribute *si1132_attributes[] = {
drivers/iio/light/si1145.c
968
static struct attribute *si114x_attributes[] = {
drivers/iio/light/stk3310.c
199
static struct attribute *stk3310_attributes[] = {
drivers/iio/light/tcs3414.c
230
static struct attribute *tcs3414_attributes[] = {
drivers/iio/light/tcs3472.c
423
static struct attribute *tcs3472_attributes[] = {
drivers/iio/light/tsl2583.c
607
static struct attribute *sysfs_attrs_ctrl[] = {
drivers/iio/light/tsl2591.c
653
static struct attribute *tsl2591_event_attrs_ctrl[] = {
drivers/iio/light/tsl2772.c
1424
static struct attribute *tsl2772_ALS_device_attrs[] = {
drivers/iio/light/tsl2772.c
1431
static struct attribute *tsl2772_PRX_device_attrs[] = {
drivers/iio/light/tsl2772.c
1436
static struct attribute *tsl2772_ALSPRX_device_attrs[] = {
drivers/iio/light/tsl2772.c
1443
static struct attribute *tsl2772_PRX2_device_attrs[] = {
drivers/iio/light/tsl2772.c
1448
static struct attribute *tsl2772_ALSPRX2_device_attrs[] = {
drivers/iio/light/tsl4531.c
56
static struct attribute *tsl4531_attributes[] = {
drivers/iio/light/us5182d.c
147
static struct attribute *us5182d_attrs[] = {
drivers/iio/light/vcnl4035.c
334
static struct attribute *vcnl4035_attributes[] = {
drivers/iio/light/veml6030.c
216
static struct attribute *veml6030_event_attributes[] = {
drivers/iio/light/vl6180.c
397
static struct attribute *vl6180_attributes[] = {
drivers/iio/light/zopt2201.c
469
static struct attribute *zopt2201_attributes[] = {
drivers/iio/magnetometer/bmc150_magn.c
617
static struct attribute *bmc150_magn_attributes[] = {
drivers/iio/magnetometer/hmc5843_core.c
522
static struct attribute *hmc5843_attributes[] = {
drivers/iio/magnetometer/mag3110.c
450
static struct attribute *mag3110_attributes[] = {
drivers/iio/magnetometer/mmc35240.c
158
static struct attribute *mmc35240_attributes[] = {
drivers/iio/magnetometer/rm3100-core.c
259
static struct attribute *rm3100_attributes[] = {
drivers/iio/magnetometer/st_magn_core.c
561
static struct attribute *st_magn_attributes[] = {
drivers/iio/potentiometer/ad5110.c
190
static struct attribute *ad5110_attributes[] = {
drivers/iio/pressure/hp206c.c
340
static struct attribute *hp206c_attributes[] = {
drivers/iio/pressure/ms5611_core.c
47
static struct attribute *ms5611_attributes[] = {
drivers/iio/pressure/ms5637.c
130
static struct attribute *ms5637_attributes[] = {
drivers/iio/pressure/st_pressure_core.c
699
static struct attribute *st_press_attributes[] = {
drivers/iio/pressure/t5403.c
196
static struct attribute *t5403_attributes[] = {
drivers/iio/pressure/zpa2326.c
1458
static struct attribute *zpa2326_attributes[] = {
drivers/iio/proximity/as3935.c
169
static struct attribute *as3935_attributes[] = {
drivers/iio/proximity/isl29501.c
580
static struct attribute *isl29501_attributes[] = {
drivers/iio/proximity/srf08.c
400
static struct attribute *srf08_attributes[] = {
drivers/iio/proximity/sx9500.c
583
static struct attribute *sx9500_attributes[] = {
drivers/iio/resolver/ad2s1210.c
1091
static struct attribute *ad2s1210_event_attributes[] = {
drivers/iio/temperature/max31856.c
386
static struct attribute *max31856_attributes[] = {
drivers/iio/temperature/max31865.c
272
static struct attribute *max31865_attributes[] = {
drivers/iio/temperature/tmp006.c
169
static struct attribute *tmp006_attributes[] = {
drivers/iio/temperature/tmp007.c
355
static struct attribute *tmp007_attributes[] = {
drivers/iio/temperature/tsys02d.c
108
static struct attribute *tsys02d_attributes[] = {
drivers/iio/trigger/iio-trig-hrtimer.c
84
static struct attribute *iio_hrtimer_attrs[] = {
drivers/iio/trigger/iio-trig-sysfs.c
113
static struct attribute *iio_sysfs_trigger_attrs[] = {
drivers/iio/trigger/iio-trig-sysfs.c
65
static struct attribute *iio_sysfs_trig_attrs[] = {
drivers/iio/trigger/stm32-timer-trigger.c
378
static struct attribute *stm32_trigger_attrs[] = {
drivers/infiniband/core/cm.c
4303
static struct attribute *cm_counter_attrs_##_group[] = { \
drivers/infiniband/core/sa_query.c
1444
void ib_sa_unpack_path(void *attribute, struct sa_path_rec *rec)
drivers/infiniband/core/sa_query.c
1446
ib_unpack(path_rec_table, ARRAY_SIZE(path_rec_table), attribute, rec);
drivers/infiniband/core/sa_query.c
1450
void ib_sa_pack_path(struct sa_path_rec *rec, void *attribute)
drivers/infiniband/core/sa_query.c
1452
ib_pack(path_rec_table, ARRAY_SIZE(path_rec_table), rec, attribute);
drivers/infiniband/core/sa_query.c
1456
void ib_sa_pack_service(struct sa_service_rec *rec, void *attribute)
drivers/infiniband/core/sa_query.c
1459
attribute);
drivers/infiniband/core/sa_query.c
1463
void ib_sa_unpack_service(void *attribute, struct sa_service_rec *rec)
drivers/infiniband/core/sa_query.c
1465
ib_unpack(service_rec_table, ARRAY_SIZE(service_rec_table), attribute,
drivers/infiniband/core/sysfs.c
1051
struct attribute **attr_list;
drivers/infiniband/core/sysfs.c
106
struct attribute *attr, char *buf)
drivers/infiniband/core/sysfs.c
119
struct attribute *attr,
drivers/infiniband/core/sysfs.c
1342
static struct attribute *ib_dev_attrs[] = {
drivers/infiniband/core/sysfs.c
196
struct attribute *attr, char *buf)
drivers/infiniband/core/sysfs.c
376
static struct attribute *port_default_attrs[] = {
drivers/infiniband/core/sysfs.c
621
static struct attribute *pma_attrs[] = {
drivers/infiniband/core/sysfs.c
642
static struct attribute *pma_attrs_ext[] = {
drivers/infiniband/core/sysfs.c
667
static struct attribute *pma_attrs_noietf[] = {
drivers/infiniband/core/user_mad.c
1236
static struct attribute *umad_class_dev_attrs[] = {
drivers/infiniband/core/user_mad.c
1255
static struct attribute *umad_class_attrs[] = {
drivers/infiniband/core/uverbs_main.c
1120
static struct attribute *ib_dev_attrs[] = {
drivers/infiniband/hw/bnxt_re/main.c
1065
static struct attribute *bnxt_re_attributes[] = {
drivers/infiniband/hw/cxgb4/provider.c
413
static struct attribute *c4iw_class_attributes[] = {
drivers/infiniband/hw/hfi1/sysfs.c
129
static struct attribute *port_cc_attributes[] = {
drivers/infiniband/hw/hfi1/sysfs.c
195
static struct attribute *port_sc2vl_attributes[] = {
drivers/infiniband/hw/hfi1/sysfs.c
292
static struct attribute *port_sl2sc_attributes[] = {
drivers/infiniband/hw/hfi1/sysfs.c
375
static struct attribute *port_vl2mtu_attributes[] = {
drivers/infiniband/hw/hfi1/sysfs.c
545
static struct attribute *hfi1_attributes[] = {
drivers/infiniband/hw/hfi1/sysfs.c
570
struct attribute attr;
drivers/infiniband/hw/hfi1/sysfs.c
575
static ssize_t sde_show(struct kobject *kobj, struct attribute *attr, char *buf)
drivers/infiniband/hw/hfi1/sysfs.c
588
static ssize_t sde_store(struct kobject *kobj, struct attribute *attr,
drivers/infiniband/hw/ionic/ionic_ibdev.c
192
static struct attribute *ionic_rdma_attributes[] = {
drivers/infiniband/hw/mlx4/main.c
2042
static struct attribute *mlx4_class_attributes[] = {
drivers/infiniband/hw/mlx4/mlx4_ib.h
899
struct attribute *attr);
drivers/infiniband/hw/mlx4/mlx4_ib.h
901
struct attribute *attr);
drivers/infiniband/hw/mlx4/sysfs.c
203
struct attribute *attr)
drivers/infiniband/hw/mlx4/sysfs.c
216
struct attribute *attr)
drivers/infiniband/hw/mlx4/sysfs.c
380
struct attribute *a;
drivers/infiniband/hw/mlx4/sysfs.c
393
struct attribute attr;
drivers/infiniband/hw/mlx4/sysfs.c
400
struct attribute *attr, char *buf)
drivers/infiniband/hw/mlx4/sysfs.c
412
struct attribute *attr,
drivers/infiniband/hw/mlx4/sysfs.c
491
static struct attribute **
drivers/infiniband/hw/mlx4/sysfs.c
498
struct attribute **tab_attr;
drivers/infiniband/hw/mlx4/sysfs.c
502
tab_attr = kzalloc_objs(struct attribute *, 1 + len);
drivers/infiniband/hw/mlx5/main.c
2902
static struct attribute *mlx5_class_attributes[] = {
drivers/infiniband/hw/mthca/mthca_provider.c
985
static struct attribute *mthca_dev_attributes[] = {
drivers/infiniband/hw/ocrdma/ocrdma_main.c
122
static struct attribute *ocrdma_attributes[] = {
drivers/infiniband/hw/qedr/main.c
143
static struct attribute *qedr_attributes[] = {
drivers/infiniband/hw/usnic/usnic_ib_sysfs.c
163
static struct attribute *usnic_class_attributes[] = {
drivers/infiniband/hw/usnic/usnic_ib_sysfs.c
178
struct attribute attr;
drivers/infiniband/hw/usnic/usnic_ib_sysfs.c
186
usnic_ib_qpn_attr_show(struct kobject *kobj, struct attribute *attr, char *buf)
drivers/infiniband/hw/usnic/usnic_ib_sysfs.c
240
static struct attribute *usnic_ib_qpn_default_attrs[] = {
drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c
89
static struct attribute *pvrdma_class_attributes[] = {
drivers/infiniband/sw/rxe/rxe_verbs.c
1443
static struct attribute *rxe_dev_attributes[] = {
drivers/infiniband/ulp/rtrs/rtrs-clt-sysfs.c
320
static struct attribute *rtrs_clt_stats_attrs[] = {
drivers/infiniband/ulp/rtrs/rtrs-clt-sysfs.c
410
static struct attribute *rtrs_clt_path_attrs[] = {
drivers/infiniband/ulp/rtrs/rtrs-clt-sysfs.c
481
const struct attribute *sysfs_self)
drivers/infiniband/ulp/rtrs/rtrs-clt-sysfs.c
490
static struct attribute *rtrs_clt_attrs[] = {
drivers/infiniband/ulp/rtrs/rtrs-clt.c
2952
const struct attribute *sysfs_self)
drivers/infiniband/ulp/rtrs/rtrs-clt.h
207
const struct attribute *sysfs_self);
drivers/infiniband/ulp/rtrs/rtrs-clt.h
247
const struct attribute *sysfs_self);
drivers/infiniband/ulp/rtrs/rtrs-srv-sysfs.c
129
static struct attribute *rtrs_srv_path_attrs[] = {
drivers/infiniband/ulp/rtrs/rtrs-srv-sysfs.c
146
static struct attribute *rtrs_srv_stats_attrs[] = {
drivers/infiniband/ulp/srp/ib_srp.c
1026
struct attribute **attr;
drivers/infiniband/ulp/srp/ib_srp.c
3044
static struct attribute *srp_host_attrs[] = {
drivers/infiniband/ulp/srp/ib_srp.c
3169
static struct attribute *srp_class_attrs[];
drivers/infiniband/ulp/srp/ib_srp.c
3949
static struct attribute *srp_class_attrs[] = {
drivers/input/gameport/gameport.c
497
static struct attribute *gameport_device_attrs[] = {
drivers/input/gameport/gameport.c
717
static struct attribute *gameport_driver_attrs[] = {
drivers/input/input-poller.c
203
struct attribute *attr, int n)
drivers/input/input-poller.c
211
static struct attribute *input_poller_attrs[] = {
drivers/input/input.c
1435
static struct attribute *input_dev_attrs[] = {
drivers/input/input.c
1464
static struct attribute *input_dev_id_attrs[] = {
drivers/input/input.c
1529
static struct attribute *input_dev_caps_attrs[] = {
drivers/input/keyboard/atkbd.c
295
static struct attribute *atkbd_attributes[] = {
drivers/input/keyboard/atkbd.c
320
struct attribute *attr, int i)
drivers/input/keyboard/cros_ec_keyb.c
675
static struct attribute *cros_ec_keyb_attrs[] = {
drivers/input/keyboard/cros_ec_keyb.c
681
struct attribute *attr,
drivers/input/keyboard/gpio_keys.c
351
static struct attribute *gpio_keys_attrs[] = {
drivers/input/keyboard/lm8323.c
545
static struct attribute *lm8323_pwm_attrs[] = {
drivers/input/keyboard/lm8323.c
615
static struct attribute *lm8323_attrs[] = {
drivers/input/keyboard/omap-keypad.c
174
static struct attribute *omap_kp_attrs[] = {
drivers/input/misc/adxl34x.c
635
static struct attribute *adxl34x_attributes[] = {
drivers/input/misc/ati_remote2.c
758
static struct attribute *ati_remote2_attrs[] = {
drivers/input/misc/axp20x-pek.c
191
static struct attribute *axp20x_attrs[] = {
drivers/input/misc/ideapad_slidebar.c
185
static struct attribute *ideapad_attrs[] = {
drivers/input/misc/ims-pcu.c
1211
static struct attribute *ims_pcu_attrs[] = {
drivers/input/misc/ims-pcu.c
1225
struct attribute *attr, int n)
drivers/input/misc/ims-pcu.c
1450
static struct attribute *ims_pcu_ofn_attrs[] = {
drivers/input/misc/ims-pcu.c
1464
struct attribute *attr, int n)
drivers/input/misc/iqs269a.c
1792
static struct attribute *iqs269_attrs[] = {
drivers/input/misc/kxtj9.c
333
static struct attribute *kxtj9_attrs[] = {
drivers/input/misc/kxtj9.c
339
struct attribute *attr, int n)
drivers/input/misc/yealink.c
745
static struct attribute *yld_attrs[] = {
drivers/input/mouse/cyapa.c
1223
static struct attribute *cyapa_attrs[] = {
drivers/input/mouse/cyapa.c
807
static struct attribute *cyapa_power_wakeup_entries[] = {
drivers/input/mouse/cyapa.c
922
static struct attribute *cyapa_power_runtime_entries[] = {
drivers/input/mouse/elan_i2c_core.c
769
static struct attribute *elan_sysfs_entries[] = {
drivers/input/mouse/elan_i2c_core.c
890
static struct attribute *elan_baseline_sysfs_entries[] = {
drivers/input/mouse/elantech.c
1352
static struct attribute *elantech_attrs[] = {
drivers/input/mouse/psmouse-base.c
97
static struct attribute *psmouse_dev_attrs[] = {
drivers/input/mouse/sentelic.c
620
static struct attribute *fsp_attributes[] = {
drivers/input/mouse/trackpoint.c
205
struct attribute *attr)
drivers/input/mouse/trackpoint.c
215
struct attribute *attr, int n)
drivers/input/mouse/trackpoint.c
224
static struct attribute *trackpoint_attrs[] = {
drivers/input/rmi4/rmi_f01.c
326
static struct attribute *rmi_f01_attrs[] = {
drivers/input/rmi4/rmi_f34.c
506
static struct attribute *rmi_firmware_attrs[] = {
drivers/input/serio/serio.c
418
static struct attribute *serio_device_id_attrs[] = {
drivers/input/serio/serio.c
437
static struct attribute *serio_device_attrs[] = {
drivers/input/serio/serio.c
736
static struct attribute *serio_driver_attrs[] = {
drivers/input/tablet/aiptek.c
1620
static struct attribute *aiptek_dev_attrs[] = {
drivers/input/touchscreen/ad7877.c
584
static struct attribute *ad7877_attributes[] = {
drivers/input/touchscreen/ad7877.c
600
struct attribute *attr, int n)
drivers/input/touchscreen/ad7879.c
386
static struct attribute *ad7879_attributes[] = {
drivers/input/touchscreen/ads7846.c
532
static umode_t ads7846_is_visible(struct kobject *kobj, struct attribute *attr,
drivers/input/touchscreen/ads7846.c
546
static struct attribute *ads7846_attributes[] = {
drivers/input/touchscreen/ads7846.c
639
static struct attribute *ads784x_attrs[] = {
drivers/input/touchscreen/atmel_mxt_ts.c
3065
static struct attribute *mxt_attrs[] = {
drivers/input/touchscreen/edt-ft5x06.c
569
static struct attribute *edt_ft5x06_attrs[] = {
drivers/input/touchscreen/elants_i2c.c
1302
static struct attribute *elants_i2c_attrs[] = {
drivers/input/touchscreen/exc3000.c
333
static struct attribute *exc3000_attrs[] = {
drivers/input/touchscreen/hideep.c
955
static struct attribute *hideep_ts_attrs[] = {
drivers/input/touchscreen/hycon-hy46xx.c
262
static struct attribute *hycon_hy46xx_attrs[] = {
drivers/input/touchscreen/ili210x.c
908
static struct attribute *ili210x_attrs[] = {
drivers/input/touchscreen/ili210x.c
919
struct attribute *attr, int index)
drivers/input/touchscreen/ilitek_ts_i2c.c
540
static struct attribute *ilitek_sysfs_attrs[] = {
drivers/input/touchscreen/iqs5xx.c
958
static struct attribute *iqs5xx_attrs[] = {
drivers/input/touchscreen/iqs5xx.c
965
struct attribute *attr, int i)
drivers/input/touchscreen/iqs7211.c
2414
static struct attribute *iqs7211_attrs[] = {
drivers/input/touchscreen/melfas_mip4.c
1414
static struct attribute *mip4_attrs[] = {
drivers/input/touchscreen/raydium_i2c_ts.c
1007
static struct attribute *raydium_i2c_attrs[] = {
drivers/input/touchscreen/rohm_bu21023.c
830
static struct attribute *rohm_ts_attrs[] = {
drivers/input/touchscreen/s6sy761.c
285
static struct attribute *s6sy761_sysfs_attrs[] = {
drivers/input/touchscreen/stmfts.c
510
static struct attribute *stmfts_sysfs_attrs[] = {
drivers/input/touchscreen/sun4i-ts.c
227
static struct attribute *sun4i_ts_attrs[] = {
drivers/input/touchscreen/tsc200x-core.c
327
static struct attribute *tsc200x_attrs[] = {
drivers/input/touchscreen/tsc200x-core.c
333
struct attribute *attr, int n)
drivers/input/touchscreen/usbtouchscreen.c
463
static struct attribute *mtouch_attrs[] = {
drivers/input/touchscreen/wdt87xx_i2c.c
939
static struct attribute *wdt87xx_attrs[] = {
drivers/iommu/amd/init.c
2103
static struct attribute *amd_iommu_attrs[] = {
drivers/iommu/intel/iommu.c
2447
static struct attribute *intel_iommu_attrs[] = {
drivers/iommu/intel/perfmon.c
129
static struct attribute *_name##_attr[] = { \
drivers/iommu/intel/perfmon.c
135
_name##_is_visible(struct kobject *kobj, struct attribute *attr, int i) \
drivers/iommu/intel/perfmon.c
16
static struct attribute *iommu_pmu_format_attrs[] = {
drivers/iommu/intel/perfmon.c
28
static struct attribute *attrs_empty[] = {
drivers/iommu/intel/perfmon.c
55
static struct attribute *_name##_attr[] = { \
drivers/iommu/intel/perfmon.c
61
_name##_is_visible(struct kobject *kobj, struct attribute *attr, int i) \
drivers/iommu/iommu-sysfs.c
18
static struct attribute *devices_attr[] = {
drivers/iommu/iommu.c
805
struct attribute *__attr, char *buf)
drivers/iommu/iommu.c
817
struct attribute *__attr,
drivers/iommu/iommu.c
86
struct attribute attr;
drivers/ipack/ipack.c
180
static struct attribute *ipack_attrs[] = {
drivers/isdn/mISDN/core.c
131
static struct attribute *mISDN_attrs[] = {
drivers/leds/led-class-flash.c
213
static struct attribute *led_flash_strobe_attrs[] = {
drivers/leds/led-class-flash.c
218
static struct attribute *led_flash_timeout_attrs[] = {
drivers/leds/led-class-flash.c
224
static struct attribute *led_flash_brightness_attrs[] = {
drivers/leds/led-class-flash.c
230
static struct attribute *led_flash_fault_attrs[] = {
drivers/leds/led-class-multicolor.c
113
static struct attribute *led_multicolor_attrs[] = {
drivers/leds/led-class.c
98
static struct attribute *led_class_attrs[] = {
drivers/leds/leds-aw200xx.c
179
static struct attribute *dim_attrs[] = {
drivers/leds/leds-blinkm.c
291
static struct attribute *blinkm_attrs[] = {
drivers/leds/leds-lm3530.c
402
static struct attribute *lm3530_attrs[] = {
drivers/leds/leds-lm3533.c
597
static struct attribute *lm3533_led_attributes[] = {
drivers/leds/leds-lm3533.c
609
struct attribute *attr, int n)
drivers/leds/leds-lm355x.c
386
static struct attribute *lm355x_indicator_attrs[] = {
drivers/leds/leds-lm3642.c
280
static struct attribute *lm3642_flash_attrs[] = {
drivers/leds/leds-lm3642.c
286
static struct attribute *lm3642_torch_attrs[] = {
drivers/leds/leds-lp5521.c
205
static struct attribute *lp5521_attributes[] = {
drivers/leds/leds-lp5523.c
280
static struct attribute *lp5523_attributes[] = {
drivers/leds/leds-lp5562.c
358
static struct attribute *lp5562_attributes[] = {
drivers/leds/leds-lp5569.c
450
static struct attribute *lp5569_attributes[] = {
drivers/leds/leds-lp55xx-common.c
428
static struct attribute *lp55xx_led_attrs[] = {
drivers/leds/leds-lp55xx-common.c
920
static struct attribute *lp55xx_engine_attributes[] = {
drivers/leds/leds-max8997.c
227
static struct attribute *max8997_attrs[] = {
drivers/leds/leds-netxbig.c
270
static struct attribute *netxbig_led_attrs[] = {
drivers/leds/leds-ns2.c
169
static struct attribute *ns2_led_attrs[] = {
drivers/leds/leds-ss4200.c
476
static struct attribute *nasgpio_led_attrs[] = {
drivers/leds/leds-turris-omnia.c
361
static struct attribute *omnia_led_controller_attrs[] = {
drivers/leds/leds-wm831x-status.c
202
static struct attribute *wm831x_status_attrs[] = {
drivers/leds/trigger/ledtrig-activity.c
181
static struct attribute *activity_led_attrs[] = {
drivers/leds/trigger/ledtrig-backlight.c
95
static struct attribute *bl_trig_attrs[] = {
drivers/leds/trigger/ledtrig-gpio.c
69
static struct attribute *gpio_trig_attrs[] = {
drivers/leds/trigger/ledtrig-heartbeat.c
122
static struct attribute *heartbeat_trig_attrs[] = {
drivers/leds/trigger/ledtrig-netdev.c
498
struct attribute *attr, int n)
drivers/leds/trigger/ledtrig-netdev.c
529
static struct attribute *netdev_trig_link_speed_attrs[] = {
drivers/leds/trigger/ledtrig-netdev.c
544
static struct attribute *netdev_trig_attrs[] = {
drivers/leds/trigger/ledtrig-oneshot.c
121
static struct attribute *oneshot_trig_attrs[] = {
drivers/leds/trigger/ledtrig-pattern.c
406
struct attribute *attr, int index)
drivers/leds/trigger/ledtrig-pattern.c
421
static struct attribute *pattern_trig_attrs[] = {
drivers/leds/trigger/ledtrig-timer.c
71
static struct attribute *timer_trig_attrs[] = {
drivers/leds/trigger/ledtrig-transient.c
155
static struct attribute *transient_trig_attrs[] = {
drivers/leds/trigger/ledtrig-tty.c
299
static struct attribute *ledtrig_tty_attrs[] = {
drivers/macintosh/macio_sysfs.c
66
static struct attribute *macio_dev_attrs[] = {
drivers/mcb/mcb-core.c
142
static struct attribute *mcb_bus_attrs[] = {
drivers/md/bcache/stats.c
81
static struct attribute *bch_stats_attrs[] = {
drivers/md/bcache/super.c
2890
static const struct attribute *files[] = {
drivers/md/bcache/sysfs.c
1169
static struct attribute *bch_cache_attrs[] = {
drivers/md/bcache/sysfs.c
502
static struct attribute *bch_cached_dev_attrs[] = {
drivers/md/bcache/sysfs.c
603
static struct attribute *bch_flash_dev_attrs[] = {
drivers/md/bcache/sysfs.c
954
static struct attribute *bch_cache_set_attrs[] = {
drivers/md/bcache/sysfs.c
982
static struct attribute *bch_cache_set_internal_attrs[] = {
drivers/md/bcache/sysfs.h
16
static ssize_t fn ## _show(struct kobject *kobj, struct attribute *attr,\
drivers/md/bcache/sysfs.h
20
static ssize_t fn ## _store(struct kobject *kobj, struct attribute *attr,\
drivers/md/bcache/sysfs.h
44
static struct attribute sysfs_##_name = \
drivers/md/dm-sysfs.c
104
static struct attribute *dm_attrs[] = {
drivers/md/dm-sysfs.c
14
struct attribute attr;
drivers/md/dm-sysfs.c
23
static ssize_t dm_attr_show(struct kobject *kobj, struct attribute *attr,
drivers/md/dm-sysfs.c
48
static ssize_t dm_attr_store(struct kobject *kobj, struct attribute *attr,
drivers/md/md-bitmap.c
2958
static struct attribute *md_bitmap_attrs[] = {
drivers/md/md-llbitmap.c
1551
static struct attribute *md_llbitmap_attrs[] = {
drivers/md/md.c
3018
struct attribute attr;
drivers/md/md.c
3692
static struct attribute *rdev_default_attrs[] = {
drivers/md/md.c
3708
rdev_attr_show(struct kobject *kobj, struct attribute *attr, char *page)
drivers/md/md.c
3721
rdev_attr_store(struct kobject *kobj, struct attribute *attr,
drivers/md/md.c
6027
static struct attribute *md_default_attrs[] = {
drivers/md/md.c
6056
static struct attribute *md_redundancy_attrs[] = {
drivers/md/md.c
6085
md_attr_show(struct kobject *kobj, struct attribute *attr, char *page)
drivers/md/md.c
6106
md_attr_store(struct kobject *kobj, struct attribute *attr,
drivers/md/md.h
799
struct attribute attr;
drivers/md/raid5.c
7238
static struct attribute *raid5_attrs[] = {
drivers/media/dvb-frontends/dib9000.c
1012
static int dib9000_risc_apb_access_read(struct dib9000_state *state, u32 address, u16 attribute, const u8 * tx, u32 txlen, u8 * b, u32 len)
drivers/media/dvb-frontends/dib9000.c
1024
dib9000_mbx_send_attr(state, OUT_MSG_BRIDGE_APB_R, mb, 2, attribute);
drivers/media/dvb-frontends/dib9000.c
1025
switch (dib9000_mbx_get_message_attr(state, IN_MSG_END_BRIDGE_APB_RW, mb, &s, attribute)) {
drivers/media/dvb-frontends/dib9000.c
1039
static int dib9000_risc_apb_access_write(struct dib9000_state *state, u32 address, u16 attribute, const u8 * b, u32 len)
drivers/media/dvb-frontends/dib9000.c
1058
dib9000_mbx_send_attr(state, OUT_MSG_BRIDGE_APB_W, mb, (3 + len) / 2, attribute);
drivers/media/dvb-frontends/dib9000.c
1059
return dib9000_mbx_get_message_attr(state, IN_MSG_END_BRIDGE_APB_RW, mb, &s, attribute) == 1 ? 0 : -EINVAL;
drivers/media/dvb-frontends/dib9000.c
208
static int dib9000_risc_apb_access_read(struct dib9000_state *state, u32 address, u16 attribute, const u8 * tx, u32 txlen, u8 * b, u32 len);
drivers/media/dvb-frontends/dib9000.c
209
static int dib9000_risc_apb_access_write(struct dib9000_state *state, u32 address, u16 attribute, const u8 * b, u32 len);
drivers/media/dvb-frontends/dib9000.c
233
static int dib9000_read16_attr(struct dib9000_state *state, u16 reg, u8 *b, u32 len, u16 attribute)
drivers/media/dvb-frontends/dib9000.c
240
return dib9000_risc_apb_access_read(state, reg, attribute, NULL, 0, b, len);
drivers/media/dvb-frontends/dib9000.c
255
if (attribute & DATA_BUS_ACCESS_MODE_8BIT)
drivers/media/dvb-frontends/dib9000.c
257
if (attribute & DATA_BUS_ACCESS_MODE_NO_ADDRESS_INCREMENT)
drivers/media/dvb-frontends/dib9000.c
273
if (!(attribute & DATA_BUS_ACCESS_MODE_NO_ADDRESS_INCREMENT))
drivers/media/dvb-frontends/dib9000.c
307
static inline u16 dib9000_read_word_attr(struct dib9000_state *state, u16 reg, u16 attribute)
drivers/media/dvb-frontends/dib9000.c
310
attribute) != 0)
drivers/media/dvb-frontends/dib9000.c
315
#define dib9000_read16_noinc_attr(state, reg, b, len, attribute) dib9000_read16_attr(state, reg, b, len, (attribute) | DATA_BUS_ACCESS_MODE_NO_ADDRESS_INCREMENT)
drivers/media/dvb-frontends/dib9000.c
317
static int dib9000_write16_attr(struct dib9000_state *state, u16 reg, const u8 *buf, u32 len, u16 attribute)
drivers/media/dvb-frontends/dib9000.c
325
(state, reg, DATA_BUS_ACCESS_MODE_16BIT | DATA_BUS_ACCESS_MODE_NO_ADDRESS_INCREMENT | attribute, buf, len) != 0)
drivers/media/dvb-frontends/dib9000.c
339
if (attribute & DATA_BUS_ACCESS_MODE_8BIT)
drivers/media/dvb-frontends/dib9000.c
341
if (attribute & DATA_BUS_ACCESS_MODE_NO_ADDRESS_INCREMENT)
drivers/media/dvb-frontends/dib9000.c
354
if (!(attribute & DATA_BUS_ACCESS_MODE_NO_ADDRESS_INCREMENT))
drivers/media/dvb-frontends/dib9000.c
382
static inline int dib9000_write_word_attr(struct dib9000_state *state, u16 reg, u16 val, u16 attribute)
drivers/media/dvb-frontends/dib9000.c
385
return dib9000_write16_attr(state, reg, b, 2, attribute);
drivers/media/dvb-frontends/dib9000.c
390
#define dib9000_write16_noinc_attr(state, reg, buf, len, attribute) dib9000_write16_attr(state, reg, buf, len, DATA_BUS_ACCESS_MODE_NO_ADDRESS_INCREMENT | (attribute))
drivers/media/pci/mgb4/mgb4_sysfs.h
12
extern struct attribute *mgb4_pci_attrs[];
drivers/media/pci/mgb4/mgb4_sysfs.h
13
extern struct attribute *mgb4_fpdl3_in_attrs[];
drivers/media/pci/mgb4/mgb4_sysfs.h
14
extern struct attribute *mgb4_gmsl3_in_attrs[];
drivers/media/pci/mgb4/mgb4_sysfs.h
15
extern struct attribute *mgb4_gmsl1_in_attrs[];
drivers/media/pci/mgb4/mgb4_sysfs.h
16
extern struct attribute *mgb4_fpdl3_out_attrs[];
drivers/media/pci/mgb4/mgb4_sysfs.h
17
extern struct attribute *mgb4_gmsl3_out_attrs[];
drivers/media/pci/mgb4/mgb4_sysfs.h
18
extern struct attribute *mgb4_gmsl1_out_attrs[];
drivers/media/pci/mgb4/mgb4_sysfs_in.c
730
struct attribute *mgb4_fpdl3_in_attrs[] = {
drivers/media/pci/mgb4/mgb4_sysfs_in.c
754
struct attribute *mgb4_gmsl3_in_attrs[] = {
drivers/media/pci/mgb4/mgb4_sysfs_in.c
780
struct attribute *mgb4_gmsl1_in_attrs[] = {
drivers/media/pci/mgb4/mgb4_sysfs_out.c
717
struct attribute *mgb4_fpdl3_out_attrs[] = {
drivers/media/pci/mgb4/mgb4_sysfs_out.c
737
struct attribute *mgb4_gmsl3_out_attrs[] = {
drivers/media/pci/mgb4/mgb4_sysfs_out.c
746
struct attribute *mgb4_gmsl1_out_attrs[] = {
drivers/media/pci/mgb4/mgb4_sysfs_pci.c
64
struct attribute *mgb4_pci_attrs[] = {
drivers/media/rc/imon.c
917
static struct attribute *imon_display_sysfs_entries[] = {
drivers/media/rc/imon.c
926
static struct attribute *imon_rf_sysfs_entries[] = {
drivers/media/rc/rc-main.c
1656
static struct attribute *rc_dev_rw_protocol_attrs[] = {
drivers/media/rc/rc-main.c
1665
static struct attribute *rc_dev_ro_protocol_attrs[] = {
drivers/media/rc/rc-main.c
1674
static struct attribute *rc_dev_filter_attrs[] = {
drivers/media/rc/rc-main.c
1684
static struct attribute *rc_dev_wakeup_filter_attrs[] = {
drivers/media/usb/pvrusb2/pvrusb2-sysfs.c
63
struct attribute *attr_gen[8];
drivers/media/v4l2-core/v4l2-dev.c
88
static struct attribute *video_device_attrs[] = {
drivers/memory/brcmstb_dpfe.c
212
static struct attribute *dpfe_v2_attrs[] = {
drivers/memory/brcmstb_dpfe.c
221
static struct attribute *dpfe_v3_attrs[] = {
drivers/memory/brcmstb_memc.c
115
static struct attribute *dev_attrs[] = {
drivers/memory/bt1-l2-ctl.c
251
static struct attribute *l2_ctl_sysfs_attrs[] = {
drivers/memory/dfl-emif.c
147
static struct attribute *dfl_emif_attrs[] = {
drivers/memory/dfl-emif.c
184
struct attribute *attr, int n)
drivers/memstick/core/memstick.c
158
static struct attribute *memstick_dev_attrs[] = {
drivers/memstick/core/mspro_block.c
212
static struct mspro_sys_attr *mspro_from_sysfs_attr(struct attribute *attr)
drivers/message/fusion/mptscsih.c
3210
static struct attribute *mptscsih_host_attrs[] = {
drivers/mfd/ab8500-core.c
967
static struct attribute *ab8500_sysfs_entries[] = {
drivers/mfd/ab8500-core.c
974
static struct attribute *ab8505_sysfs_entries[] = {
drivers/mfd/ab8500-core.c
979
static struct attribute *ab9540_sysfs_entries[] = {
drivers/mfd/cgbc-core.c
292
static struct attribute *cgbc_attrs[] = {
drivers/mfd/gateworks-gsc.c
146
static struct attribute *gsc_attrs[] = {
drivers/mfd/intel-m10-bmc-core.c
170
static struct attribute *m10bmc_attrs[] = {
drivers/mfd/intel_pmc_bxt.c
228
static struct attribute *intel_pmc_attrs[] = {
drivers/mfd/intel_soc_pmic_bxtwc.c
417
static struct attribute *bxtwc_attrs[] = {
drivers/mfd/janz-cmodio.c
162
static struct attribute *cmodio_sysfs_attrs[] = {
drivers/mfd/kempld-core.c
364
static struct attribute *pld_attrs[] = {
drivers/mfd/lm3533-core.c
342
static struct attribute *lm3533_attributes[] = {
drivers/mfd/lm3533-core.c
357
struct attribute *attr, int n)
drivers/mfd/tps65911-comparator.c
95
struct attribute comp_attr = attr->attr;
drivers/mfd/upboard-fpga.c
264
static struct attribute *upboard_fpga_attrs[] = {
drivers/misc/ad525x_dpot.c
559
static const struct attribute *dpot_attrib_wipers[] = {
drivers/misc/ad525x_dpot.c
569
static const struct attribute *dpot_attrib_eeprom[] = {
drivers/misc/ad525x_dpot.c
579
static const struct attribute *dpot_attrib_otp[] = {
drivers/misc/ad525x_dpot.c
589
static const struct attribute *dpot_attrib_otp_en[] = {
drivers/misc/ad525x_dpot.c
599
static const struct attribute *dpot_attrib_tolerance[] = {
drivers/misc/ad525x_dpot.c
625
static struct attribute *ad525x_attributes_commands[] = {
drivers/misc/apds9802als.c
182
static struct attribute *mid_att_als[] = {
drivers/misc/apds990x.c
1029
static struct attribute *sysfs_attrs_ctrl[] = {
drivers/misc/bh1770glc.c
1140
static struct attribute *sysfs_attrs[] = {
drivers/misc/c2port/core.c
858
static struct attribute *c2port_attrs[] = {
drivers/misc/ds1682.c
145
.attrs = (struct attribute *[]) {
drivers/misc/dw-xdata-pcie.c
281
static struct attribute *xdata_attrs[] = {
drivers/misc/eeprom/at25.c
197
static struct attribute *at25_attrs[] = {
drivers/misc/eeprom/m24lr.c
463
static struct attribute *m24lr_ctl_dev_attrs[] = {
drivers/misc/enclosure.c
446
static struct attribute *enclosure_class_attrs[] = {
drivers/misc/enclosure.c
657
static struct attribute *enclosure_component_attrs[] = {
drivers/misc/gehc-achc.c
490
static struct attribute *gehc_achc_attrs[] = {
drivers/misc/genwqe/card_sysfs.c
238
static struct attribute *genwqe_attributes[] = {
drivers/misc/genwqe/card_sysfs.c
253
static struct attribute *genwqe_normal_attributes[] = {
drivers/misc/genwqe/card_sysfs.c
270
struct attribute *attr, int n)
drivers/misc/hmc6352.c
92
static struct attribute *mid_att_compass[] = {
drivers/misc/ics932s401.c
344
static struct attribute *ics932s401_attr[] = {
drivers/misc/isl29003.c
335
static struct attribute *isl29003_attributes[] = {
drivers/misc/isl29020.c
131
static struct attribute *mid_att_als[] = {
drivers/misc/keba/cp500.c
319
static struct attribute *cp500_attrs[] = {
drivers/misc/lis3lv02d/lis3lv02d.c
855
static struct attribute *lis3lv02d_attrs[] = {
drivers/misc/mei/bus.c
1247
static struct attribute *mei_cldev_attrs[] = {
drivers/misc/mei/main.c
1182
static struct attribute *mei_attrs[] = {
drivers/misc/pvpanic/pvpanic.c
169
static struct attribute *pvpanic_dev_attrs[] = {
drivers/misc/smpro-errmon.c
531
static struct attribute *smpro_errmon_attrs[] = {
drivers/misc/smpro-misc.c
107
static struct attribute *smpro_misc_attrs[] = {
drivers/misc/tifm_core.c
145
static struct attribute *tifm_dev_attrs[] = {
drivers/misc/tsl2550.c
289
static struct attribute *tsl2550_attributes[] = {
drivers/misc/uacce/uacce.c
445
static struct attribute *uacce_dev_attrs[] = {
drivers/misc/uacce/uacce.c
458
struct attribute *attr, int n)
drivers/misc/xilinx_tmr_manager.c
112
static struct attribute *xtmr_manager_dev_attrs[] = {
drivers/mmc/core/block.c
336
static struct attribute *mmc_disk_attrs[] = {
drivers/mmc/core/block.c
343
struct attribute *a, int n)
drivers/mmc/core/bus.c
52
static struct attribute *mmc_dev_attrs[] = {
drivers/mmc/core/mmc.c
852
static struct attribute *mmc_std_attrs[] = {
drivers/mmc/core/sd.c
768
static struct attribute *sd_std_attrs[] = {
drivers/mmc/core/sd.c
795
static umode_t sd_std_is_visible(struct kobject *kobj, struct attribute *attr,
drivers/mmc/core/sdio.c
55
static struct attribute *sdio_std_attrs[] = {
drivers/mmc/core/sdio_bus.c
67
static struct attribute *sdio_dev_attrs[] = {
drivers/most/core.c
331
struct attribute *attr, int index)
drivers/most/core.c
364
static struct attribute *channel_attrs[] = {
drivers/most/core.c
433
static struct attribute *interface_attrs[] = {
drivers/most/core.c
715
static struct attribute *mc_attrs[] = {
drivers/most/most_usb.c
899
static struct attribute *dci_attrs[] = {
drivers/mtd/mtdcore.c
342
static struct attribute *mtd_attrs[] = {
drivers/mtd/mtdpart.c
231
static const struct attribute *mtd_partition_attrs[] = {
drivers/mtd/sm_ftl.c
104
struct attribute **attributes = ftl->disk_attributes->attrs;
drivers/mtd/sm_ftl.c
56
struct attribute **attributes;
drivers/mtd/sm_ftl.c
81
attributes = kzalloc_objs(struct attribute *, NUM_ATTRIBUTES + 1);
drivers/mtd/spi-nor/sysfs.c
45
static struct attribute *spi_nor_sysfs_entries[] = {
drivers/mtd/spi-nor/sysfs.c
73
struct attribute *attr, int n)
drivers/mtd/ubi/build.c
108
static struct attribute *ubi_class_attrs[] = {
drivers/mtd/ubi/build.c
392
static struct attribute *ubi_dev_attrs[] = {
drivers/mtd/ubi/vmt.c
104
static struct attribute *volume_dev_attrs[] = {
drivers/net/arcnet/com20020-pci.c
108
static struct attribute *com20020_state_attrs[] = {
drivers/net/bonding/bond_sysfs.c
753
static struct attribute *per_bond_attrs[] = {
drivers/net/bonding/bond_sysfs_slave.c
105
static const struct attribute *slave_attrs[] = {
drivers/net/bonding/bond_sysfs_slave.c
120
struct attribute *attr, char *buf)
drivers/net/bonding/bond_sysfs_slave.c
14
struct attribute attr;
drivers/net/can/at91_can.c
1006
static struct attribute *at91_sysfs_attrs[] = {
drivers/net/can/grcan.c
1544
static const struct attribute *const sysfs_grcan_attrs[] = {
drivers/net/can/grcan.c
1554
.attrs = (struct attribute **)sysfs_grcan_attrs,
drivers/net/can/janz-ican3.c
1875
static struct attribute *ican3_sysfs_attrs[] = {
drivers/net/can/softing/softing_main.c
598
static const struct attribute *const netdev_sysfs_attrs[] = {
drivers/net/can/softing/softing_main.c
605
.attrs = (struct attribute **)netdev_sysfs_attrs,
drivers/net/can/softing/softing_main.c
713
static struct attribute *softing_pdev_attrs[] = {
drivers/net/can/usb/peak_usb/pcan_usb_core.c
68
static struct attribute *peak_usb_sysfs_attrs[] = {
drivers/net/ethernet/broadcom/bnxt/bnxt_hwmon.c
184
static struct attribute *bnxt_temp_extra_attrs[] = {
drivers/net/ethernet/broadcom/bnxt/bnxt_hwmon.c
191
struct attribute *attr, int index)
drivers/net/ethernet/broadcom/tg3.c
10914
static struct attribute *tg3_attrs[] = {
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
786
static struct attribute *cxgb3_attrs[] = {
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
870
static struct attribute *offload_attrs[] = {
drivers/net/ethernet/emulex/benet/be_main.c
5747
static struct attribute *be_hwmon_attrs[] = {
drivers/net/ethernet/fungible/funcore/fun_hci.h
1227
__u8 attribute;
drivers/net/ethernet/fungible/funcore/fun_hci.h
1238
.subop = (_subop), .attribute = (_attribute), \
drivers/net/ethernet/fungible/funeth/funeth_main.c
160
.u.write.attribute = attr,
drivers/net/ethernet/ibm/ibmveth.c
1938
static struct attribute veth_active_attr;
drivers/net/ethernet/ibm/ibmveth.c
1939
static struct attribute veth_num_attr;
drivers/net/ethernet/ibm/ibmveth.c
1940
static struct attribute veth_size_attr;
drivers/net/ethernet/ibm/ibmveth.c
1943
struct attribute *attr, char *buf)
drivers/net/ethernet/ibm/ibmveth.c
1978
static ssize_t veth_pool_store(struct kobject *kobj, struct attribute *attr,
drivers/net/ethernet/ibm/ibmveth.c
2084
struct attribute veth_##_name##_attr = { \
drivers/net/ethernet/ibm/ibmveth.c
2092
static struct attribute *veth_pool_attrs[] = {
drivers/net/ethernet/intel/igb/igb.h
477
struct attribute *attrs[E1000_MAX_SENSORS * 4 + 1];
drivers/net/ethernet/intel/ixgbe/ixgbe.h
541
struct attribute *attrs[IXGBE_MAX_SENSORS * 4 + 1];
drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c
53
static struct attribute *sf_device_attrs[] = {
drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c
50
struct attribute *attrs[MLXSW_HWMON_ATTR_COUNT + 1];
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c
1281
static struct attribute *qlcnic_hwmon_attrs[] = {
drivers/net/ethernet/sfc/bitfield.h
47
#define EFX_VAL(field, attribute) field ## _ ## attribute
drivers/net/ethernet/sfc/falcon/bitfield.h
45
#define EF4_VAL(field, attribute) field ## _ ## attribute
drivers/net/ethernet/sfc/mcdi_mon.c
358
hwmon->group.attrs = kzalloc_objs(struct attribute *, n_attrs + 1);
drivers/net/ethernet/sfc/siena/bitfield.h
45
#define EFX_VAL(field, attribute) field ## _ ## attribute
drivers/net/ethernet/sfc/siena/mcdi_mon.c
358
hwmon->group.attrs = kzalloc_objs(struct attribute *, n_attrs + 1);
drivers/net/ethernet/xilinx/ll_temac_main.c
1270
static struct attribute *temac_device_attrs[] = {
drivers/net/ipa/ipa_sysfs.c
105
struct attribute *attr, int n)
drivers/net/ipa/ipa_sysfs.c
143
static struct attribute *ipa_endpoint_id_attrs[] = {
drivers/net/ipa/ipa_sysfs.c
165
static struct attribute *ipa_modem_attrs[] = {
drivers/net/ipa/ipa_sysfs.c
59
static struct attribute *ipa_attrs[] = {
drivers/net/ipa/ipa_sysfs.c
93
static struct attribute *ipa_feature_attrs[] = {
drivers/net/netdevsim/bus.c
124
static struct attribute *nsim_bus_dev_attrs[] = {
drivers/net/netdevsim/bus.c
407
static struct attribute *nsim_bus_attrs[] = {
drivers/net/phy/mdio_bus.c
281
static struct attribute *mdio_bus_statistics_attrs[] = {
drivers/net/phy/mdio_bus.c
989
static struct attribute *mdio_bus_device_statistics_attrs[] = {
drivers/net/phy/phy_device.c
604
static struct attribute *phy_dev_attrs[] = {
drivers/net/phy/phy_device.c
658
static struct attribute *phy_mmd_attrs[] = {
drivers/net/phy/phy_device.c
694
struct attribute *attr, int index)
drivers/net/tun.c
2681
static struct attribute *tun_dev_attrs[] = {
drivers/net/usb/cdc_ncm.c
380
static struct attribute *cdc_ncm_sysfs_attrs[] = {
drivers/net/usb/hso.c
508
static struct attribute *hso_serial_dev_attrs[] = {
drivers/net/usb/qmi_wwan.c
241
static struct attribute *qmi_wwan_sysfs_qmimux_attrs[] = {
drivers/net/usb/qmi_wwan.c
525
static struct attribute *qmi_wwan_sysfs_attrs[] = {
drivers/net/virtio_net.c
6552
static struct attribute *virtio_net_mrg_rx_attrs[] = {
drivers/net/wireless/ath/ath10k/thermal.c
120
static struct attribute *ath10k_hwmon_attrs[] = {
drivers/net/wireless/ath/ath11k/thermal.c
121
static struct attribute *ath11k_hwmon_attrs[] = {
drivers/net/wireless/ath/ath5k/sysfs.c
81
static struct attribute *ath5k_sysfs_entries_ani[] = {
drivers/net/wireless/intel/ipw2x00/ipw2100.c
4272
static struct attribute *ipw2100_sysfs_entries[] = {
drivers/net/wireless/intel/ipw2x00/ipw2200.c
11404
static struct attribute *ipw_sysfs_entries[] = {
drivers/net/wireless/intel/iwlegacy/3945-mac.c
3376
static struct attribute *il3945_sysfs_entries[] = {
drivers/net/wireless/intel/iwlegacy/4965-mac.c
4623
static struct attribute *il_sysfs_entries[] = {
drivers/net/wireless/marvell/libertas/mesh.c
326
static struct attribute *lbs_mesh_sysfs_entries[] = {
drivers/net/wireless/marvell/libertas/mesh.c
801
static struct attribute *boot_opts_attrs[] = {
drivers/net/wireless/marvell/libertas/mesh.c
813
static struct attribute *mesh_ie_attrs[] = {
drivers/net/wireless/mediatek/mt76/mt7615/init.c
42
static struct attribute *mt7615_hwmon_attrs[] = {
drivers/net/wireless/mediatek/mt76/mt7915/init.c
113
static struct attribute *mt7915_hwmon_attrs[] = {
drivers/net/wireless/mediatek/mt76/mt7921/init.c
38
static struct attribute *mt7921_hwmon_attrs[] = {
drivers/net/wireless/mediatek/mt76/mt7925/init.c
39
static struct attribute *mt7925_hwmon_attrs[] = {
drivers/net/wireless/mediatek/mt76/mt7996/init.c
160
static struct attribute *mt7996_hwmon_attrs[] = {
drivers/net/wwan/t7xx/t7xx_pci.c
169
static struct attribute *t7xx_attr[] = {
drivers/net/wwan/wwan_core.c
120
static struct attribute *wwan_dev_attrs[] = {
drivers/net/wwan/wwan_core.c
364
static struct attribute *wwan_port_attrs[] = {
drivers/net/xen-netfront.c
2613
static struct attribute *xennet_dev_attrs[] = {
drivers/ntb/hw/idt/ntb_hw_idt.c
2057
static struct attribute *idt_temp_attrs[] = {
drivers/nvdimm/btt_devs.c
142
static struct attribute *nd_btt_attributes[] = {
drivers/nvdimm/bus.c
656
static struct attribute *nd_device_attributes[] = {
drivers/nvdimm/bus.c
698
static struct attribute *nd_numa_attributes[] = {
drivers/nvdimm/bus.c
704
static umode_t nd_numa_attr_visible(struct kobject *kobj, struct attribute *a,
drivers/nvdimm/core.c
348
static struct attribute *nvdimm_bus_attributes[] = {
drivers/nvdimm/core.c
465
static umode_t nvdimm_bus_firmware_visible(struct kobject *kobj, struct attribute *a, int n)
drivers/nvdimm/core.c
485
static struct attribute *nvdimm_bus_firmware_attributes[] = {
drivers/nvdimm/dimm_devs.c
400
static struct attribute *nvdimm_attributes[] = {
drivers/nvdimm/dimm_devs.c
410
static umode_t nvdimm_visible(struct kobject *kobj, struct attribute *a, int n)
drivers/nvdimm/dimm_devs.c
517
static struct attribute *nvdimm_firmware_attributes[] = {
drivers/nvdimm/dimm_devs.c
523
static umode_t nvdimm_firmware_visible(struct kobject *kobj, struct attribute *a, int n)
drivers/nvdimm/namespace_devs.c
1360
static struct attribute *nd_namespace_attributes[] = {
drivers/nvdimm/namespace_devs.c
1376
struct attribute *a, int n)
drivers/nvdimm/nd_perf.c
184
struct attribute **attrs_group;
drivers/nvdimm/nd_perf.c
191
attrs_group = kzalloc(2 * sizeof(struct attribute *), GFP_KERNEL);
drivers/nvdimm/nd_perf.c
71
static struct attribute *nvdimm_events_attr[] = {
drivers/nvdimm/nd_perf.c
98
static struct attribute *nvdimm_pmu_format_attr[] = {
drivers/nvdimm/pfn_devs.c
251
static struct attribute *nd_pfn_attributes[] = {
drivers/nvdimm/pmem.c
396
static umode_t dax_visible(struct kobject *kobj, struct attribute *a, int n)
drivers/nvdimm/pmem.c
405
static struct attribute *dax_attributes[] = {
drivers/nvdimm/region_devs.c
615
static struct attribute *nd_region_attributes[] = {
drivers/nvdimm/region_devs.c
636
static umode_t region_visible(struct kobject *kobj, struct attribute *a, int n)
drivers/nvdimm/region_devs.c
750
static umode_t mapping_visible(struct kobject *kobj, struct attribute *a, int n)
drivers/nvdimm/region_devs.c
760
static struct attribute *mapping_attributes[] = {
drivers/nvme/host/fc.c
3861
static struct attribute *nvme_fc_attrs[] = {
drivers/nvme/host/pci.c
2778
struct attribute *a, int n)
drivers/nvme/host/pci.c
2796
static struct attribute *nvme_pci_attrs[] = {
drivers/nvme/host/sysfs.c
249
static struct attribute *nvme_ns_attrs[] = {
drivers/nvme/host/sysfs.c
270
struct attribute *a, int n)
drivers/nvme/host/sysfs.c
323
static struct attribute dummy_attr = {
drivers/nvme/host/sysfs.c
327
static struct attribute *nvme_ns_mpath_attrs[] = {
drivers/nvme/host/sysfs.c
340
struct attribute *attr, int n)
drivers/nvme/host/sysfs.c
744
static struct attribute *nvme_dev_attrs[] = {
drivers/nvme/host/sysfs.c
777
struct attribute *a, int n)
drivers/nvme/host/sysfs.c
844
static struct attribute *nvme_tls_attrs[] = {
drivers/nvme/host/sysfs.c
852
struct attribute *a, int n)
drivers/nvme/host/sysfs.c
935
static struct attribute *nvme_subsys_attrs[] = {
drivers/nvme/target/fcloop.c
1675
static struct attribute *fcloop_dev_attrs[] = {
drivers/nvmem/core.c
206
static struct attribute *nvmem_attrs[] = {
drivers/nvmem/core.c
318
struct attribute *attr, int i)
drivers/parisc/pdc_stable.c
433
pdcspath_attr_show(struct kobject *kobj, struct attribute *attr, char *buf)
drivers/parisc/pdc_stable.c
453
pdcspath_attr_store(struct kobject *kobj, struct attribute *attr,
drivers/parisc/pdc_stable.c
478
static struct attribute *paths_subsys_attrs[] = {
drivers/parisc/pdc_stable.c
959
static struct attribute *pdcs_subsys_attrs[] = {
drivers/parisc/pdc_stable.c
97
struct attribute attr;
drivers/pci/controller/pci-mvebu.c
448
unsigned int target, unsigned int attribute,
drivers/pci/controller/pci-mvebu.c
458
ret = mvebu_mbus_add_window_remap_by_id(target, attribute, base,
drivers/pci/controller/pci-mvebu.c
482
unsigned int target, unsigned int attribute,
drivers/pci/controller/pci-mvebu.c
507
ret = mvebu_pcie_add_windows(port, target, attribute, desired->base,
drivers/pci/doe.c
109
static struct attribute *pci_doe_sysfs_feature_attrs[] = {
drivers/pci/hotplug/rpadlpar_sysfs.c
92
static struct attribute *default_attrs[] = {
drivers/pci/ide.c
763
static struct attribute *pci_ide_attrs[] = {
drivers/pci/ide.c
768
static umode_t pci_ide_attr_visible(struct kobject *kobj, struct attribute *a, int n)
drivers/pci/iov.c
290
static struct attribute *sriov_vf_dev_attrs[] = {
drivers/pci/iov.c
298
struct attribute *a, int n)
drivers/pci/iov.c
589
static struct attribute *sriov_pf_dev_attrs[] = {
drivers/pci/iov.c
603
struct attribute *a, int n)
drivers/pci/p2pdma.c
193
static struct attribute *p2pmem_attrs[] = {
drivers/pci/pci-driver.c
292
static struct attribute *pci_drv_attrs[] = {
drivers/pci/pci-label.c
109
static struct attribute *smbios_attrs[] = {
drivers/pci/pci-label.c
115
static umode_t smbios_attr_is_visible(struct kobject *kobj, struct attribute *a,
drivers/pci/pci-label.c
210
static struct attribute *acpi_attrs[] = {
drivers/pci/pci-label.c
216
static umode_t acpi_attr_is_visible(struct kobject *kobj, struct attribute *a,
drivers/pci/pci-label.c
59
enum smbios_attr_enum attribute)
drivers/pci/pci-label.c
75
if (attribute == SMBIOS_ATTR_INSTANCE_SHOW)
drivers/pci/pci-label.c
78
else if (attribute == SMBIOS_ATTR_LABEL_SHOW)
drivers/pci/pci-sysfs.c
1449
static struct attribute *pci_dev_reset_attrs[] = {
drivers/pci/pci-sysfs.c
1455
struct attribute *a, int n)
drivers/pci/pci-sysfs.c
1571
static struct attribute *pci_dev_reset_method_attrs[] = {
drivers/pci/pci-sysfs.c
1667
static struct attribute *resource_resize_attrs[] = {
drivers/pci/pci-sysfs.c
1678
struct attribute *a, int n)
drivers/pci/pci-sysfs.c
1734
static struct attribute *pci_dev_dev_attrs[] = {
drivers/pci/pci-sysfs.c
1741
struct attribute *a, int n)
drivers/pci/pci-sysfs.c
1755
static struct attribute *pci_dev_hp_attrs[] = {
drivers/pci/pci-sysfs.c
1762
struct attribute *a, int n)
drivers/pci/pci-sysfs.c
1774
struct attribute *a, int n)
drivers/pci/pci-sysfs.c
1786
struct attribute *a, int n)
drivers/pci/pci-sysfs.c
479
static struct attribute *pci_bus_attrs[] = {
drivers/pci/pci-sysfs.c
645
static struct attribute *pci_dev_attrs[] = {
drivers/pci/pci-sysfs.c
677
static struct attribute *pci_bridge_attrs[] = {
drivers/pci/pci-sysfs.c
684
static struct attribute *pcie_dev_attrs[] = {
drivers/pci/pci-sysfs.c
692
static struct attribute *pcibus_attrs[] = {
drivers/pci/pci.h
475
struct attribute attr;
drivers/pci/pcie/aer.c
608
static struct attribute *aer_stats_attrs[] __ro_after_init = {
drivers/pci/pcie/aer.c
619
struct attribute *a, int n)
drivers/pci/pcie/aer.c
721
static struct attribute *aer_attrs[] = {
drivers/pci/pcie/aer.c
730
struct attribute *a, int n)
drivers/pci/pcie/aspm.c
1703
static struct attribute *aspm_ctrl_attrs[] = {
drivers/pci/pcie/aspm.c
1715
struct attribute *a, int n)
drivers/pci/slot.c
18
struct attribute *attr, char *buf)
drivers/pci/slot.c
21
struct pci_slot_attribute *attribute = to_pci_slot_attr(attr);
drivers/pci/slot.c
22
return attribute->show ? attribute->show(slot, buf) : -EIO;
drivers/pci/slot.c
26
struct attribute *attr, const char *buf, size_t len)
drivers/pci/slot.c
29
struct pci_slot_attribute *attribute = to_pci_slot_attr(attr);
drivers/pci/slot.c
30
return attribute->store ? attribute->store(slot, buf, len) : -EIO;
drivers/pci/slot.c
93
static struct attribute *pci_slot_default_attrs[] = {
drivers/pci/switch/switchtec.c
450
static struct attribute *switchtec_device_attrs[] = {
drivers/pci/tsm.c
569
struct attribute *attr, int n)
drivers/pci/tsm.c
604
static struct attribute *pci_tsm_attrs[] = {
drivers/pci/tsm.c
629
static struct attribute *pci_tsm_auth_attrs[] = {
drivers/pcmcia/ds.c
1113
static struct attribute *pcmcia_dev_attrs[] = {
drivers/pcmcia/rsrc_nonstatic.c
1196
static struct attribute *pccard_rsrc_attributes[] = {
drivers/pcmcia/socket_sysfs.c
204
static struct attribute *pccard_socket_attributes[] = {
drivers/peci/sysfs.c
38
static struct attribute *peci_bus_attrs[] = {
drivers/peci/sysfs.c
70
static struct attribute *peci_device_attrs[] = {
drivers/perf/alibaba_uncore_drw_pmu.c
146
static struct attribute *ali_drw_pmu_events_attrs[] = {
drivers/perf/alibaba_uncore_drw_pmu.c
208
static struct attribute *ali_drw_pmu_format_attr[] = {
drivers/perf/alibaba_uncore_drw_pmu.c
230
static struct attribute *ali_drw_pmu_cpumask_attrs[] = {
drivers/perf/alibaba_uncore_drw_pmu.c
240
struct attribute *attr, int n)
drivers/perf/alibaba_uncore_drw_pmu.c
247
static struct attribute *ali_drw_pmu_identifier_attrs[] = {
drivers/perf/amlogic/meson_ddr_pmu_core.c
200
static struct attribute *meson_ddr_perf_cpumask_attrs[] = {
drivers/perf/amlogic/meson_ddr_pmu_core.c
283
static struct attribute *ddr_perf_events_attrs[COUNTER_MAX_ID * 3];
drivers/perf/amlogic/meson_ddr_pmu_core.c
291
struct attribute *attr,
drivers/perf/amlogic/meson_ddr_pmu_core.c
330
static struct attribute *meson_ddr_perf_identifier_attrs[] = {
drivers/perf/amlogic/meson_ddr_pmu_core.c
416
struct attribute **dst = ddr_perf_events_attrs;
drivers/perf/amlogic/meson_ddr_pmu_core.c
438
static void fmt_attr_fill(struct attribute **fmt_attr)
drivers/perf/amlogic/meson_g12_ddr_pmu.c
86
static struct attribute *g12_pmu_format_attrs[] = {
drivers/perf/apple_m1_cpu_pmu.c
204
static struct attribute *m1_pmu_event_attrs[] = {
drivers/perf/apple_m1_cpu_pmu.c
217
static struct attribute *m1_pmu_format_attrs[] = {
drivers/perf/arm-cci.c
1360
static struct attribute *pmu_attrs[] = {
drivers/perf/arm-cci.c
211
static struct attribute *cci400_pmu_format_attrs[] = {
drivers/perf/arm-cci.c
217
static struct attribute *cci400_r0_pmu_event_attrs[] = {
drivers/perf/arm-cci.c
252
static struct attribute *cci400_r1_pmu_event_attrs[] = {
drivers/perf/arm-cci.c
447
static struct attribute *cci5xx_pmu_format_attrs[] = {
drivers/perf/arm-cci.c
453
static struct attribute *cci5xx_pmu_event_attrs[] = {
drivers/perf/arm-cci.c
86
struct attribute **format_attrs;
drivers/perf/arm-cci.c
87
struct attribute **event_attrs;
drivers/perf/arm-ccn.c
235
static struct attribute *arm_ccn_pmu_format_attrs[] = {
drivers/perf/arm-ccn.c
357
struct attribute *attr, int index)
drivers/perf/arm-ccn.c
431
static struct attribute
drivers/perf/arm-ccn.c
515
static struct attribute *arm_ccn_pmu_cmp_mask_attrs[] = {
drivers/perf/arm-ccn.c
547
static struct attribute *arm_ccn_pmu_cpumask_attrs[] = {
drivers/perf/arm-cmn.c
1300
static struct attribute *arm_cmn_format_attrs[] = {
drivers/perf/arm-cmn.c
1346
static struct attribute *arm_cmn_other_attrs[] = {
drivers/perf/arm-cmn.c
700
struct attribute *attr,
drivers/perf/arm-cmn.c
897
static struct attribute *arm_cmn_event_attrs[] = {
drivers/perf/arm-ni.c
171
struct attribute *attr, int unused)
drivers/perf/arm-ni.c
187
static struct attribute *arm_ni_event_attrs[] = {
drivers/perf/arm-ni.c
225
static struct attribute *arm_ni_format_attrs[] = {
drivers/perf/arm-ni.c
261
static struct attribute *arm_ni_other_attrs[] = {
drivers/perf/arm_cspmu/ampere_cspmu.c
103
static struct attribute *ampereone_mcu_format_attrs[] = {
drivers/perf/arm_cspmu/ampere_cspmu.c
111
static struct attribute **
drivers/perf/arm_cspmu/ampere_cspmu.c
119
static struct attribute **
drivers/perf/arm_cspmu/ampere_cspmu.c
22
struct attribute **event_attr;
drivers/perf/arm_cspmu/ampere_cspmu.c
23
struct attribute **format_attr;
drivers/perf/arm_cspmu/ampere_cspmu.c
40
static struct attribute *ampereone_mcu_pmu_event_attrs[] = {
drivers/perf/arm_cspmu/arm_cspmu.c
149
static struct attribute *arm_cspmu_event_attrs[] = {
drivers/perf/arm_cspmu/arm_cspmu.c
154
static struct attribute **
drivers/perf/arm_cspmu/arm_cspmu.c
157
struct attribute **attrs;
drivers/perf/arm_cspmu/arm_cspmu.c
167
struct attribute *attr, int unused)
drivers/perf/arm_cspmu/arm_cspmu.c
183
static struct attribute *arm_cspmu_format_attrs[] = {
drivers/perf/arm_cspmu/arm_cspmu.c
190
static struct attribute **
drivers/perf/arm_cspmu/arm_cspmu.c
193
struct attribute **attrs;
drivers/perf/arm_cspmu/arm_cspmu.c
223
static struct attribute *arm_cspmu_identifier_attrs[] = {
drivers/perf/arm_cspmu/arm_cspmu.c
311
static struct attribute *arm_cspmu_cpumask_attrs[] = {
drivers/perf/arm_cspmu/arm_cspmu.h
175
struct attribute **(*get_event_attrs)(const struct arm_cspmu *cspmu);
drivers/perf/arm_cspmu/arm_cspmu.h
177
struct attribute **(*get_format_attrs)(const struct arm_cspmu *cspmu);
drivers/perf/arm_cspmu/arm_cspmu.h
198
struct attribute *attr, int unused);
drivers/perf/arm_cspmu/nvidia_cspmu.c
108
static struct attribute *mcf_pmu_event_attrs[] = {
drivers/perf/arm_cspmu/nvidia_cspmu.c
127
static struct attribute *generic_pmu_event_attrs[] = {
drivers/perf/arm_cspmu/nvidia_cspmu.c
132
static struct attribute *scf_pmu_format_attrs[] = {
drivers/perf/arm_cspmu/nvidia_cspmu.c
137
static struct attribute *pcie_pmu_format_attrs[] = {
drivers/perf/arm_cspmu/nvidia_cspmu.c
143
static struct attribute *nvlink_c2c_pmu_format_attrs[] = {
drivers/perf/arm_cspmu/nvidia_cspmu.c
149
static struct attribute *cnvlink_pmu_format_attrs[] = {
drivers/perf/arm_cspmu/nvidia_cspmu.c
155
static struct attribute *generic_pmu_format_attrs[] = {
drivers/perf/arm_cspmu/nvidia_cspmu.c
162
static struct attribute **
drivers/perf/arm_cspmu/nvidia_cspmu.c
170
static struct attribute **
drivers/perf/arm_cspmu/nvidia_cspmu.c
44
struct attribute **event_attr;
drivers/perf/arm_cspmu/nvidia_cspmu.c
45
struct attribute **format_attr;
drivers/perf/arm_cspmu/nvidia_cspmu.c
60
static struct attribute *scf_pmu_event_attrs[] = {
drivers/perf/arm_dmc620_pmu.c
131
static struct attribute *dmc620_pmu_events_attrs[] = {
drivers/perf/arm_dmc620_pmu.c
220
static struct attribute *dmc620_pmu_formats_attrs[] = {
drivers/perf/arm_dmc620_pmu.c
247
static struct attribute *dmc620_pmu_cpumask_attrs[] = {
drivers/perf/arm_dsu_pmu.c
163
static struct attribute *dsu_pmu_format_attrs[] = {
drivers/perf/arm_dsu_pmu.c
173
static struct attribute *dsu_pmu_event_attrs[] = {
drivers/perf/arm_dsu_pmu.c
186
dsu_pmu_event_attr_is_visible(struct kobject *kobj, struct attribute *attr,
drivers/perf/arm_dsu_pmu.c
204
static struct attribute *dsu_pmu_cpumask_attrs[] = {
drivers/perf/arm_pmu.c
578
static struct attribute *armpmu_common_attrs[] = {
drivers/perf/arm_pmuv3.c
172
static struct attribute *armv8_pmuv3_event_attrs[] = {
drivers/perf/arm_pmuv3.c
272
struct attribute *attr, int unused)
drivers/perf/arm_pmuv3.c
360
static struct attribute *armv8_pmuv3_format_attrs[] = {
drivers/perf/arm_pmuv3.c
454
static struct attribute *armv8_pmuv3_caps_attrs[] = {
drivers/perf/arm_pmuv3.c
463
static umode_t caps_is_visible(struct kobject *kobj, struct attribute *attr, int i)
drivers/perf/arm_smmuv3_pmu.c
546
static struct attribute *smmu_pmu_cpumask_attrs[] = {
drivers/perf/arm_smmuv3_pmu.c
570
static struct attribute *smmu_pmu_events[] = {
drivers/perf/arm_smmuv3_pmu.c
583
struct attribute *attr, int unused)
drivers/perf/arm_smmuv3_pmu.c
613
struct attribute *attr,
drivers/perf/arm_smmuv3_pmu.c
627
static struct attribute *smmu_pmu_identifier_attrs[] = {
drivers/perf/arm_smmuv3_pmu.c
643
static struct attribute *smmu_pmu_formats[] = {
drivers/perf/arm_spe_pmu.c
185
static struct attribute *arm_spe_pmu_cap_attr[] = {
drivers/perf/arm_spe_pmu.c
282
static struct attribute *arm_spe_pmu_formats_attr[] = {
drivers/perf/arm_spe_pmu.c
306
struct attribute *attr,
drivers/perf/arm_spe_pmu.c
350
static struct attribute *arm_spe_pmu_attrs[] = {
drivers/perf/arm_v7_pmu.c
535
static struct attribute *armv7_pmu_format_attrs[] = {
drivers/perf/arm_v7_pmu.c
570
static struct attribute *armv7_pmuv1_event_attrs[] = {
drivers/perf/arm_v7_pmu.c
610
static struct attribute *armv7_pmuv2_event_attrs[] = {
drivers/perf/cxl_pmu.c
230
static struct attribute *cxl_pmu_format_attr[] = {
drivers/perf/cxl_pmu.c
252
struct attribute *attr, int a)
drivers/perf/cxl_pmu.c
339
static struct attribute *cxl_pmu_event_attrs[] = {
drivers/perf/cxl_pmu.c
465
static umode_t cxl_pmu_event_is_visible(struct kobject *kobj, struct attribute *attr, int a)
drivers/perf/cxl_pmu.c
500
static struct attribute *cxl_pmu_cpumask_attrs[] = {
drivers/perf/dwc_pcie_pmu.c
124
static struct attribute *dwc_pcie_pmu_cpumask_attrs[] = {
drivers/perf/dwc_pcie_pmu.c
143
static struct attribute *dwc_pcie_format_attrs[] = {
drivers/perf/dwc_pcie_pmu.c
192
static struct attribute *dwc_pcie_pmu_time_event_attrs[] = {
drivers/perf/fsl_imx8_ddr_perf.c
153
struct attribute *attr,
drivers/perf/fsl_imx8_ddr_perf.c
167
static struct attribute *ddr_perf_identifier_attrs[] = {
drivers/perf/fsl_imx8_ddr_perf.c
223
static struct attribute *ddr_perf_filter_cap_attr[] = {
drivers/perf/fsl_imx8_ddr_perf.c
246
static struct attribute *ddr_perf_cpumask_attrs[] = {
drivers/perf/fsl_imx8_ddr_perf.c
268
static struct attribute *ddr_perf_events_attrs[] = {
drivers/perf/fsl_imx8_ddr_perf.c
311
struct attribute *attr, int n)
drivers/perf/fsl_imx8_ddr_perf.c
343
static struct attribute *ddr_perf_format_attrs[] = {
drivers/perf/fsl_imx9_ddr_perf.c
148
static struct attribute *ddr_perf_identifier_attrs[] = {
drivers/perf/fsl_imx9_ddr_perf.c
168
static struct attribute *ddr_perf_cpumask_attrs[] = {
drivers/perf/fsl_imx9_ddr_perf.c
211
static struct attribute *ddr_perf_events_attrs[] = {
drivers/perf/fsl_imx9_ddr_perf.c
321
struct attribute *attr, int unused)
drivers/perf/fsl_imx9_ddr_perf.c
350
static struct attribute *ddr_perf_format_attrs[] = {
drivers/perf/fujitsu_uncore_pmu.c
299
static struct attribute *fujitsu_uncore_pmu_formats[] = {
drivers/perf/fujitsu_uncore_pmu.c
321
static struct attribute *fujitsu_uncore_mac_pmu_events[] = {
drivers/perf/fujitsu_uncore_pmu.c
347
static struct attribute *fujitsu_uncore_pci_pmu_events[] = {
drivers/perf/fujitsu_uncore_pmu.c
381
static struct attribute *fujitsu_uncore_pmu_cpumask_attrs[] = {
drivers/perf/hisilicon/hisi_pcie_pmu.c
736
static struct attribute *hisi_pcie_pmu_events_attr[] = {
drivers/perf/hisilicon/hisi_pcie_pmu.c
763
static struct attribute *hisi_pcie_pmu_format_attr[] = {
drivers/perf/hisilicon/hisi_pcie_pmu.c
780
static struct attribute *hisi_pcie_pmu_bus_attrs[] = {
drivers/perf/hisilicon/hisi_pcie_pmu.c
791
static struct attribute *hisi_pcie_pmu_cpumask_attrs[] = {
drivers/perf/hisilicon/hisi_pcie_pmu.c
800
static struct attribute *hisi_pcie_pmu_identifier_attrs[] = {
drivers/perf/hisilicon/hisi_uncore_cpa_pmu.c
204
static struct attribute *hisi_cpa_pmu_format_attr[] = {
drivers/perf/hisilicon/hisi_uncore_cpa_pmu.c
214
static struct attribute *hisi_cpa_pmu_events_attr[] = {
drivers/perf/hisilicon/hisi_uncore_ddrc_pmu.c
271
static struct attribute *hisi_ddrc_pmu_v1_format_attr[] = {
drivers/perf/hisilicon/hisi_uncore_ddrc_pmu.c
281
static struct attribute *hisi_ddrc_pmu_v2_format_attr[] = {
drivers/perf/hisilicon/hisi_uncore_ddrc_pmu.c
291
static struct attribute *hisi_ddrc_pmu_v1_events_attr[] = {
drivers/perf/hisilicon/hisi_uncore_ddrc_pmu.c
308
static struct attribute *hisi_ddrc_pmu_v2_events_attr[] = {
drivers/perf/hisilicon/hisi_uncore_hha_pmu.c
335
static struct attribute *hisi_hha_pmu_v1_format_attr[] = {
drivers/perf/hisilicon/hisi_uncore_hha_pmu.c
345
static struct attribute *hisi_hha_pmu_v2_format_attr[] = {
drivers/perf/hisilicon/hisi_uncore_hha_pmu.c
359
static struct attribute *hisi_hha_pmu_v1_events_attr[] = {
drivers/perf/hisilicon/hisi_uncore_hha_pmu.c
394
static struct attribute *hisi_hha_pmu_v2_events_attr[] = {
drivers/perf/hisilicon/hisi_uncore_l3c_pmu.c
616
static struct attribute *hisi_l3c_pmu_v1_format_attr[] = {
drivers/perf/hisilicon/hisi_uncore_l3c_pmu.c
626
static struct attribute *hisi_l3c_pmu_v2_format_attr[] = {
drivers/perf/hisilicon/hisi_uncore_l3c_pmu.c
641
static struct attribute *hisi_l3c_pmu_v3_format_attr[] = {
drivers/perf/hisilicon/hisi_uncore_l3c_pmu.c
655
static struct attribute *hisi_l3c_pmu_v1_events_attr[] = {
drivers/perf/hisilicon/hisi_uncore_l3c_pmu.c
677
static struct attribute *hisi_l3c_pmu_v2_events_attr[] = {
drivers/perf/hisilicon/hisi_uncore_l3c_pmu.c
690
static struct attribute *hisi_l3c_pmu_v3_events_attr[] = {
drivers/perf/hisilicon/hisi_uncore_mn_pmu.c
185
static struct attribute *hisi_mn_pmu_format_attr[] = {
drivers/perf/hisilicon/hisi_uncore_mn_pmu.c
195
static struct attribute *hisi_mn_pmu_events_attr[] = {
drivers/perf/hisilicon/hisi_uncore_noc_pmu.c
244
static struct attribute *hisi_noc_pmu_format_attrs[] = {
drivers/perf/hisilicon/hisi_uncore_noc_pmu.c
256
static struct attribute *hisi_noc_pmu_events_attrs[] = {
drivers/perf/hisilicon/hisi_uncore_pa_pmu.c
303
static struct attribute *hisi_pa_pmu_v2_format_attr[] = {
drivers/perf/hisilicon/hisi_uncore_pa_pmu.c
318
static struct attribute *hisi_pa_pmu_v2_events_attr[] = {
drivers/perf/hisilicon/hisi_uncore_pa_pmu.c
330
static struct attribute *hisi_pa_pmu_v3_events_attr[] = {
drivers/perf/hisilicon/hisi_uncore_pa_pmu.c
345
static struct attribute *hisi_h60pa_pmu_events_attr[] = {
drivers/perf/hisilicon/hisi_uncore_pmu.c
63
static struct attribute *hisi_pmu_cpumask_attrs[] = {
drivers/perf/hisilicon/hisi_uncore_pmu.c
87
static struct attribute *hisi_pmu_identifier_attrs[] = {
drivers/perf/hisilicon/hisi_uncore_sllc_pmu.c
367
static struct attribute *hisi_sllc_pmu_v2_format_attr[] = {
drivers/perf/hisilicon/hisi_uncore_sllc_pmu.c
382
static struct attribute *hisi_sllc_pmu_v2_events_attr[] = {
drivers/perf/hisilicon/hisi_uncore_uc_pmu.c
401
static struct attribute *hisi_uc_pmu_format_attr[] = {
drivers/perf/hisilicon/hisi_uncore_uc_pmu.c
415
static struct attribute *hisi_uc_pmu_events_attr[] = {
drivers/perf/hisilicon/hns3_pmu.c
507
static struct attribute *hns3_pmu_events_attr[] = {
drivers/perf/hisilicon/hns3_pmu.c
574
static struct attribute *hns3_pmu_filter_mode_attr[] = {
drivers/perf/hisilicon/hns3_pmu.c
651
static struct attribute *hns3_pmu_format_attr[] = {
drivers/perf/hisilicon/hns3_pmu.c
669
static struct attribute *hns3_pmu_cpumask_attrs[] = {
drivers/perf/hisilicon/hns3_pmu.c
678
static struct attribute *hns3_pmu_identifier_attrs[] = {
drivers/perf/hisilicon/hns3_pmu.c
687
static struct attribute *hns3_pmu_bdf_range_attrs[] = {
drivers/perf/hisilicon/hns3_pmu.c
697
static struct attribute *hns3_pmu_hw_clk_freq_attrs[] = {
drivers/perf/hisilicon/hns3_pmu.c
885
struct attribute *attr;
drivers/perf/marvell_cn10k_ddr_pmu.c
204
static struct attribute *cn10k_ddr_perf_events_attrs[] = {
drivers/perf/marvell_cn10k_ddr_pmu.c
265
static struct attribute *odyssey_ddr_perf_events_attrs[] = {
drivers/perf/marvell_cn10k_ddr_pmu.c
351
static struct attribute *cn10k_ddr_perf_format_attrs[] = {
drivers/perf/marvell_cn10k_ddr_pmu.c
373
static struct attribute *cn10k_ddr_perf_cpumask_attrs[] = {
drivers/perf/marvell_cn10k_tad_pmu.c
180
static struct attribute *tad_pmu_event_attrs[] = {
drivers/perf/marvell_cn10k_tad_pmu.c
226
static struct attribute *ody_tad_pmu_event_attrs[] = {
drivers/perf/marvell_cn10k_tad_pmu.c
246
static struct attribute *tad_pmu_format_attrs[] = {
drivers/perf/marvell_cn10k_tad_pmu.c
266
static struct attribute *tad_pmu_cpumask_attrs[] = {
drivers/perf/marvell_pem_pmu.c
112
static struct attribute *pem_perf_events_attrs[] = {
drivers/perf/marvell_pem_pmu.c
150
static struct attribute *pem_perf_format_attrs[] = {
drivers/perf/marvell_pem_pmu.c
173
static struct attribute *pem_perf_cpumask_attrs[] = {
drivers/perf/qcom_l2_pmu.c
647
static struct attribute *l2_cache_pmu_cpumask_attrs[] = {
drivers/perf/qcom_l2_pmu.c
661
static struct attribute *l2_cache_pmu_formats[] = {
drivers/perf/qcom_l2_pmu.c
685
static struct attribute *l2_cache_pmu_events[] = {
drivers/perf/qcom_l3_pmu.c
618
static struct attribute *qcom_l3_cache_pmu_formats[] = {
drivers/perf/qcom_l3_pmu.c
643
static struct attribute *qcom_l3_cache_pmu_events[] = {
drivers/perf/qcom_l3_pmu.c
671
static struct attribute *qcom_l3_cache_pmu_cpumask_attrs[] = {
drivers/perf/riscv_pmu_sbi.c
71
static struct attribute *riscv_arch_formats_attr[] = {
drivers/perf/starfive_starlink_pmu.c
111
static struct attribute *starlink_pmu_event_attrs[] = {
drivers/perf/starfive_starlink_pmu.c
139
static struct attribute *starlink_pmu_cpumask_attrs[] = {
drivers/perf/starfive_starlink_pmu.c
90
static struct attribute *starlink_pmu_format_attrs[] = {
drivers/perf/thunderx2_pmu.c
140
static struct attribute *l3c_pmu_format_attrs[] = {
drivers/perf/thunderx2_pmu.c
145
static struct attribute *dmc_pmu_format_attrs[] = {
drivers/perf/thunderx2_pmu.c
150
static struct attribute *ccpi2_pmu_format_attrs[] = {
drivers/perf/thunderx2_pmu.c
195
static struct attribute *l3c_pmu_events_attrs[] = {
drivers/perf/thunderx2_pmu.c
212
static struct attribute *dmc_pmu_events_attrs[] = {
drivers/perf/thunderx2_pmu.c
225
static struct attribute *ccpi2_pmu_events_attrs[] = {
drivers/perf/thunderx2_pmu.c
261
static struct attribute *tx2_pmu_cpumask_attrs[] = {
drivers/perf/xgene_pmu.c
171
static struct attribute *l3c_pmu_format_attrs[] = {
drivers/perf/xgene_pmu.c
177
static struct attribute *iob_pmu_format_attrs[] = {
drivers/perf/xgene_pmu.c
183
static struct attribute *mcb_pmu_format_attrs[] = {
drivers/perf/xgene_pmu.c
189
static struct attribute *mc_pmu_format_attrs[] = {
drivers/perf/xgene_pmu.c
214
static struct attribute *l3c_pmu_v3_format_attrs[] = {
drivers/perf/xgene_pmu.c
219
static struct attribute *iob_pmu_v3_format_attrs[] = {
drivers/perf/xgene_pmu.c
224
static struct attribute *iob_slow_pmu_v3_format_attrs[] = {
drivers/perf/xgene_pmu.c
229
static struct attribute *mcb_pmu_v3_format_attrs[] = {
drivers/perf/xgene_pmu.c
234
static struct attribute *mc_pmu_v3_format_attrs[] = {
drivers/perf/xgene_pmu.c
279
static struct attribute *l3c_pmu_events_attrs[] = {
drivers/perf/xgene_pmu.c
297
static struct attribute *iob_pmu_events_attrs[] = {
drivers/perf/xgene_pmu.c
314
static struct attribute *mcb_pmu_events_attrs[] = {
drivers/perf/xgene_pmu.c
324
static struct attribute *mc_pmu_events_attrs[] = {
drivers/perf/xgene_pmu.c
377
static struct attribute *l3c_pmu_v3_events_attrs[] = {
drivers/perf/xgene_pmu.c
420
static struct attribute *iob_fast_pmu_v3_events_attrs[] = {
drivers/perf/xgene_pmu.c
463
static struct attribute *iob_slow_pmu_v3_events_attrs[] = {
drivers/perf/xgene_pmu.c
476
static struct attribute *mcb_pmu_v3_events_attrs[] = {
drivers/perf/xgene_pmu.c
516
static struct attribute *mc_pmu_v3_events_attrs[] = {
drivers/perf/xgene_pmu.c
603
static struct attribute *xgene_pmu_cpumask_attrs[] = {
drivers/phy/broadcom/phy-brcm-usb.c
276
static struct attribute *brcm_usb_phy_attrs[] = {
drivers/platform/arm64/acer-aspire1-ec.c
440
static struct attribute *aspire_ec_attrs[] = {
drivers/platform/arm64/huawei-gaokun-ec.c
539
static struct attribute *gaokun_ec_attrs[] = {
drivers/platform/chrome/chromeos_acpi.c
207
static struct attribute *first_level_attrs[] = {
drivers/platform/chrome/chromeos_acpi.c
27
struct attribute *attr, int n) \
drivers/platform/chrome/chromeos_acpi.c
54
static struct attribute *attrs_##_group[] = { \
drivers/platform/chrome/cros_ec_lightbar.c
598
static struct attribute *__lb_cmds_attrs[] = {
drivers/platform/chrome/cros_ec_sysfs.c
367
static struct attribute *__ec_attrs[] = {
drivers/platform/chrome/cros_ec_sysfs.c
378
struct attribute *a, int n)
drivers/platform/chrome/wilco_ec/sysfs.c
228
static struct attribute *wilco_dev_attrs[] = {
drivers/platform/cznic/turris-omnia-mcu-base.c
167
static struct attribute *omnia_mcu_base_attrs[] = {
drivers/platform/cznic/turris-omnia-mcu-base.c
180
struct attribute *a, int n)
drivers/platform/cznic/turris-omnia-mcu-gpio.c
1001
static struct attribute *omnia_mcu_gpio_attrs[] = {
drivers/platform/cznic/turris-omnia-mcu-sys-off-wakeup.c
195
static struct attribute *omnia_mcu_poweroff_attrs[] = {
drivers/platform/cznic/turris-omnia-mcu-sys-off-wakeup.c
200
static umode_t poweroff_attrs_visible(struct kobject *kobj, struct attribute *a,
drivers/platform/mellanox/mlxbf-bootctl.c
929
static struct attribute *mlxbf_bootctl_attrs[] = {
drivers/platform/mellanox/mlxbf-pmc.c
133
struct attribute *block_attr[MLXBF_PMC_MAX_ATTRS];
drivers/platform/mellanox/mlxreg-hotplug.c
330
sizeof(struct attribute *),
drivers/platform/mellanox/mlxreg-hotplug.c
62
struct attribute *mlxreg_hotplug_attr[MLXREG_HOTPLUG_ATTRS_MAX + 1];
drivers/platform/mellanox/mlxreg-io.c
186
sizeof(struct attribute *),
drivers/platform/mellanox/mlxreg-io.c
39
struct attribute *mlxreg_io_attr[MLXREG_IO_ATT_NUM + 1];
drivers/platform/mips/cpu_hwmon.c
84
static struct attribute *cpu_hwmon_attributes[] = {
drivers/platform/mips/cpu_hwmon.c
97
struct attribute *attr, int i)
drivers/platform/surface/aggregator/bus.c
33
static struct attribute *ssam_device_attrs[] = {
drivers/platform/surface/aggregator/core.c
294
static struct attribute *ssam_sam_attrs[] = {
drivers/platform/surface/surface_aggregator_tabletsw.c
79
static struct attribute *ssam_tablet_sw_attrs[] = {
drivers/platform/wmi/core.c
872
static struct attribute *wmi_attrs[] = {
drivers/platform/wmi/core.c
891
static struct attribute *wmi_event_attrs[] = {
drivers/platform/wmi/core.c
916
static struct attribute *wmi_data_attrs[] = {
drivers/platform/wmi/core.c
923
static struct attribute *wmi_method_attrs[] = {
drivers/platform/x86/amd/hsmp/acpi.c
254
struct attribute *attr, int id)
drivers/platform/x86/amd/hsmp/acpi.c
543
static struct attribute *hsmp_dev_attr_list[] = {
drivers/platform/x86/amd/pmc/pmc.c
253
static umode_t pmc_attr_is_visible(struct kobject *kobj, struct attribute *attr, int idx)
drivers/platform/x86/amd/pmc/pmc.c
263
static struct attribute *pmc_attrs[] = {
drivers/platform/x86/amd/pmf/cnqf.c
419
struct attribute *attr, int n)
drivers/platform/x86/amd/pmf/cnqf.c
427
static struct attribute *cnqf_feature_attrs[] = {
drivers/platform/x86/amd/x3d_vcache.c
109
static struct attribute *amd_x3d_attrs[] = {
drivers/platform/x86/asus-armoury.h
111
static struct attribute *_attrname##_attrs[] = { \
drivers/platform/x86/asus-armoury.h
132
static struct attribute *_attrname##_attrs[] = { \
drivers/platform/x86/asus-armoury.h
149
static struct attribute *_attrname##_attrs[] = { \
drivers/platform/x86/asus-armoury.h
190
static struct attribute *_attrname##_attrs[] = { \
drivers/platform/x86/asus-armoury.h
208
static struct attribute *_attrname##_attrs[] = { \
drivers/platform/x86/asus-armoury.h
295
static struct attribute *_attrname##_attrs[] = { \
drivers/platform/x86/asus-laptop.c
1555
static struct attribute *asus_attributes[] = {
drivers/platform/x86/asus-laptop.c
1571
struct attribute *attr,
drivers/platform/x86/asus-wmi.c
1056
static struct attribute *kbd_rgb_mode_attrs[] = {
drivers/platform/x86/asus-wmi.c
1103
static struct attribute *kbd_rgb_state_attrs[] = {
drivers/platform/x86/asus-wmi.c
3275
static struct attribute *hwmon_attributes[] = {
drivers/platform/x86/asus-wmi.c
3292
struct attribute *attr, int idx)
drivers/platform/x86/asus-wmi.c
3865
static struct attribute *asus_fan_curve_attr[] = {
drivers/platform/x86/asus-wmi.c
3924
struct attribute *attr, int idx)
drivers/platform/x86/asus-wmi.c
4702
static struct attribute *platform_attributes[] = {
drivers/platform/x86/asus-wmi.c
4734
struct attribute *attr, int idx)
drivers/platform/x86/ayaneo-ec.c
435
static struct attribute *aya_mm_attrs[] = {
drivers/platform/x86/ayaneo-ec.c
442
struct attribute *attr, int n)
drivers/platform/x86/compal-laptop.c
691
static struct attribute *compal_platform_attrs[] = {
drivers/platform/x86/compal-laptop.c
704
static struct attribute *compal_hwmon_attrs[] = {
drivers/platform/x86/dell/alienware-wmi-base.c
330
struct attribute *attr, int n)
drivers/platform/x86/dell/alienware-wmi-base.c
344
static struct attribute *zone_attrs[] = {
drivers/platform/x86/dell/alienware-wmi-wmax.c
1063
static umode_t fan_boost_attr_visible(struct kobject *kobj, struct attribute *attr, int n)
drivers/platform/x86/dell/alienware-wmi-wmax.c
1077
static struct attribute *fan_boost_attrs[] = {
drivers/platform/x86/dell/alienware-wmi-wmax.c
447
static struct attribute *hdmi_attrs[] = {
drivers/platform/x86/dell/alienware-wmi-wmax.c
495
static struct attribute *amplifier_attrs[] = {
drivers/platform/x86/dell/alienware-wmi-wmax.c
566
static struct attribute *deepsleep_attrs[] = {
drivers/platform/x86/dell/dcdbas.c
653
static struct attribute *dcdbas_dev_attrs[] = {
drivers/platform/x86/dell/dell-laptop.c
1967
static struct attribute *kbd_led_attrs[] = {
drivers/platform/x86/dell/dell-laptop.c
1977
static struct attribute *kbd_led_als_attrs[] = {
drivers/platform/x86/dell/dell-laptop.c
2382
static struct attribute *dell_battery_attrs[] = {
drivers/platform/x86/dell/dell-smbios-base.c
30
static struct attribute **token_attrs;
drivers/platform/x86/dell/dell-wmi-privacy.c
181
static struct attribute *privacy_attrs[] = {
drivers/platform/x86/dell/dell-wmi-sysman/enum-attributes.c
100
static struct attribute *enumeration_attrs[] = {
drivers/platform/x86/dell/dell-wmi-sysman/int-attributes.c
104
static struct attribute *integer_attrs[] = {
drivers/platform/x86/dell/dell-wmi-sysman/passobj-attributes.c
126
static struct attribute *po_attrs[] = {
drivers/platform/x86/dell/dell-wmi-sysman/string-attributes.c
90
static struct attribute *str_attrs[] = {
drivers/platform/x86/dell/dell-wmi-sysman/sysman.c
223
static ssize_t wmi_sysman_attr_show(struct kobject *kobj, struct attribute *attr,
drivers/platform/x86/dell/dell-wmi-sysman/sysman.c
235
static ssize_t wmi_sysman_attr_store(struct kobject *kobj, struct attribute *attr,
drivers/platform/x86/eeepc-laptop.c
1063
static struct attribute *hwmon_attrs[] = {
drivers/platform/x86/eeepc-laptop.c
429
static struct attribute *platform_attributes[] = {
drivers/platform/x86/fujitsu-laptop.c
433
static struct attribute *fujitsu_pf_attributes[] = {
drivers/platform/x86/hdaps.c
453
static struct attribute *hdaps_attributes[] = {
drivers/platform/x86/hp/hp-bioscfg/enum-attributes.c
79
static struct attribute *enumeration_attrs[] = {
drivers/platform/x86/hp/hp-bioscfg/int-attributes.c
94
static struct attribute *integer_attrs[] = {
drivers/platform/x86/hp/hp-bioscfg/order-list-attributes.c
84
static struct attribute *ordered_list_attrs[] = {
drivers/platform/x86/hp/hp-bioscfg/passwdobj-attributes.c
169
static struct attribute *password_attrs[] = {
drivers/platform/x86/hp/hp-bioscfg/spmobj-attributes.c
330
static struct attribute *secure_platform_attrs[] = {
drivers/platform/x86/hp/hp-bioscfg/string-attributes.c
87
static struct attribute *string_attrs[] = {
drivers/platform/x86/hp/hp-bioscfg/surestart-attributes.c
112
static struct attribute *sure_start_attrs[] = {
drivers/platform/x86/hp/hp-wmi.c
1089
static struct attribute *hp_wmi_attrs[] = {
drivers/platform/x86/hp/tc1100-wmi.c
153
static struct attribute *tc1100_attributes[] = {
drivers/platform/x86/intel/ifs/ifs.h
414
extern struct attribute *plat_ifs_attrs[];
drivers/platform/x86/intel/ifs/ifs.h
415
extern struct attribute *plat_ifs_array_attrs[];
drivers/platform/x86/intel/ifs/sysfs.c
140
struct attribute *plat_ifs_attrs[] = {
drivers/platform/x86/intel/ifs/sysfs.c
150
struct attribute *plat_ifs_array_attrs[] = {
drivers/platform/x86/intel/int1092/intel_sar.c
196
static struct attribute *intcsar_attrs[] = {
drivers/platform/x86/intel/pmc/core.c
120
struct attribute *attr,
drivers/platform/x86/intel/pmc/core.c
178
static struct attribute *pmc_attrs[] = {
drivers/platform/x86/intel/pmt/class.c
165
static struct attribute *intel_pmt_attrs[] = {
drivers/platform/x86/intel/pmt/class.c
173
struct attribute *attr, int n)
drivers/platform/x86/intel/pmt/crashlog.c
432
static struct attribute *pmt_crashlog_type1_ver0_attrs[] = {
drivers/platform/x86/intel/pmt/crashlog.c
438
static struct attribute *pmt_crashlog_type1_ver2_attrs[] = {
drivers/platform/x86/intel/pmt/discovery.c
271
static struct attribute *pmt_feature_rmid_attrs[] = {
drivers/platform/x86/intel/pmt/discovery.c
288
static struct attribute *pmt_feature_watcher_attrs[] = {
drivers/platform/x86/intel/pmt/discovery.c
304
static struct attribute *pmt_feature_command_attrs[] = {
drivers/platform/x86/intel/pmt/discovery.c
319
static struct attribute *pmt_feature_guids_attrs[] = {
drivers/platform/x86/intel/sdsi.c
572
static struct attribute *sdsi_attrs[] = {
drivers/platform/x86/intel/uncore-frequency/uncore-frequency-common.h
93
struct attribute *uncore_attrs[15];
drivers/platform/x86/intel/vsec_tpmi.c
396
pfs->pfs_header.attribute, pfs->vsec_offset, locked, disabled,
drivers/platform/x86/intel/vsec_tpmi.c
82
u64 attribute:2;
drivers/platform/x86/intel/wmi/sbl-fw-update.c
95
static struct attribute *firmware_update_attrs[] = {
drivers/platform/x86/intel/wmi/thunderbolt.c
46
static struct attribute *tbt_attrs[] = {
drivers/platform/x86/lenovo/ideapad-laptop.c
879
static struct attribute *ideapad_attributes[] = {
drivers/platform/x86/lenovo/ideapad-laptop.c
890
struct attribute *attr,
drivers/platform/x86/lenovo/think-lmi.c
1007
static struct attribute *auth_attrs[] = {
drivers/platform/x86/lenovo/think-lmi.c
1224
struct attribute *attr, int n)
drivers/platform/x86/lenovo/think-lmi.c
1235
static struct attribute *tlmi_attrs[] = {
drivers/platform/x86/lenovo/think-lmi.c
972
struct attribute *attr, int n)
drivers/platform/x86/lenovo/thinkpad_acpi.c
10288
static struct attribute *proxsensor_attributes[] = {
drivers/platform/x86/lenovo/thinkpad_acpi.c
10295
struct attribute *attr, int n)
drivers/platform/x86/lenovo/thinkpad_acpi.c
10879
static struct attribute *kbdlang_attributes[] = {
drivers/platform/x86/lenovo/thinkpad_acpi.c
10885
struct attribute *attr, int n)
drivers/platform/x86/lenovo/thinkpad_acpi.c
10976
static struct attribute *dprc_attributes[] = {
drivers/platform/x86/lenovo/thinkpad_acpi.c
10982
struct attribute *attr, int n)
drivers/platform/x86/lenovo/thinkpad_acpi.c
11070
struct attribute *attr, int n)
drivers/platform/x86/lenovo/thinkpad_acpi.c
11075
static struct attribute *auxmac_attributes[] = {
drivers/platform/x86/lenovo/thinkpad_acpi.c
11240
static struct attribute *hwdd_attributes[] = {
drivers/platform/x86/lenovo/thinkpad_acpi.c
11247
struct attribute *attr, int n)
drivers/platform/x86/lenovo/thinkpad_acpi.c
11287
static struct attribute *tpacpi_driver_attributes[] = {
drivers/platform/x86/lenovo/thinkpad_acpi.c
11302
struct attribute *attr, int n)
drivers/platform/x86/lenovo/thinkpad_acpi.c
3006
static struct attribute *adaptive_kbd_attributes[] = {
drivers/platform/x86/lenovo/thinkpad_acpi.c
3012
struct attribute *attr, int n)
drivers/platform/x86/lenovo/thinkpad_acpi.c
3024
static struct attribute *hotkey_attributes[] = {
drivers/platform/x86/lenovo/thinkpad_acpi.c
3044
struct attribute *attr, int n)
drivers/platform/x86/lenovo/thinkpad_acpi.c
4209
static struct attribute *bluetooth_attributes[] = {
drivers/platform/x86/lenovo/thinkpad_acpi.c
4215
struct attribute *attr, int n)
drivers/platform/x86/lenovo/thinkpad_acpi.c
4465
static struct attribute *wan_attributes[] = {
drivers/platform/x86/lenovo/thinkpad_acpi.c
4470
static umode_t wan_attr_is_visible(struct kobject *kobj, struct attribute *attr,
drivers/platform/x86/lenovo/thinkpad_acpi.c
5444
static struct attribute *cmos_attributes[] = {
drivers/platform/x86/lenovo/thinkpad_acpi.c
5450
struct attribute *attr, int n)
drivers/platform/x86/lenovo/thinkpad_acpi.c
6285
static struct attribute *thermal_temp_input_attr[] = {
drivers/platform/x86/lenovo/thinkpad_acpi.c
6308
struct attribute *attr, int n)
drivers/platform/x86/lenovo/thinkpad_acpi.c
6360
static struct attribute *temp_label_attributes[] = {
drivers/platform/x86/lenovo/thinkpad_acpi.c
6367
struct attribute *attr, int n)
drivers/platform/x86/lenovo/thinkpad_acpi.c
8784
static struct attribute *fan_attributes[] = {
drivers/platform/x86/lenovo/thinkpad_acpi.c
8792
static umode_t fan_attr_is_visible(struct kobject *kobj, struct attribute *attr,
drivers/platform/x86/lenovo/thinkpad_acpi.c
8812
static struct attribute *fan_driver_attributes[] = {
drivers/platform/x86/lenovo/thinkpad_acpi.c
9974
static struct attribute *tpacpi_battery_attrs[] = {
drivers/platform/x86/lenovo/wmi-other.c
929
static struct attribute *_attrname##_attrs[] = { \
drivers/platform/x86/lg-laptop.c
555
static struct attribute *dev_attributes[] = {
drivers/platform/x86/msi-ec.c
1260
static struct attribute *msi_battery_attrs[] = {
drivers/platform/x86/msi-laptop.c
534
static struct attribute *msipf_attributes[] = {
drivers/platform/x86/msi-laptop.c
545
static struct attribute *msipf_old_attributes[] = {
drivers/platform/x86/oxpec.c
330
struct attribute *attr, int n)
drivers/platform/x86/oxpec.c
440
struct attribute *attr, int n)
drivers/platform/x86/oxpec.c
893
static struct attribute *oxp_tt_toggle_attrs[] = {
drivers/platform/x86/oxpec.c
903
static struct attribute *oxp_tt_led_attrs[] = {
drivers/platform/x86/panasonic-laptop.c
793
static umode_t pcc_sysfs_is_visible(struct kobject *kobj, struct attribute *attr, int idx)
drivers/platform/x86/panasonic-laptop.c
811
static struct attribute *pcc_sysfs_entries[] = {
drivers/platform/x86/quickstart.c
68
static struct attribute *quickstart_attrs[] = {
drivers/platform/x86/samsung-galaxybook.c
1001
struct attribute **attrs;
drivers/platform/x86/samsung-laptop.c
1304
struct attribute *attr, int idx)
drivers/platform/x86/samsung-laptop.c
994
static struct attribute *platform_attributes[] = {
drivers/platform/x86/silicom-platform.c
711
static struct attribute *silicom_attrs[] = {
drivers/platform/x86/sony-laptop.c
3837
static struct attribute *spic_attributes[] = {
drivers/platform/x86/system76_acpi.c
256
static struct attribute *system76_battery_attrs[] = {
drivers/platform/x86/system76_acpi.c
392
static struct attribute *system76_kb_led_color_attrs[] = {
drivers/platform/x86/toshiba_acpi.c
2432
static struct attribute *toshiba_attributes[] = {
drivers/platform/x86/toshiba_acpi.c
2452
struct attribute *attr, int idx)
drivers/platform/x86/toshiba_acpi.c
3116
static struct attribute *toshiba_acpi_battery_attrs[] = {
drivers/platform/x86/toshiba_haps.c
119
static struct attribute *haps_attributes[] = {
drivers/platform/x86/uniwill/uniwill-acpi.c
883
static struct attribute *uniwill_attrs[] = {
drivers/platform/x86/uniwill/uniwill-acpi.c
896
static umode_t uniwill_attr_is_visible(struct kobject *kobj, struct attribute *attr, int n)
drivers/platform/x86/uv_sysfs.c
152
struct attribute attr;
drivers/platform/x86/uv_sysfs.c
170
static struct attribute *uv_hub_attrs[] = {
drivers/platform/x86/uv_sysfs.c
188
static ssize_t hub_type_show(struct kobject *kobj, struct attribute *attr,
drivers/platform/x86/uv_sysfs.c
316
struct attribute attr;
drivers/platform/x86/uv_sysfs.c
326
static struct attribute *uv_port_attrs[] = {
drivers/platform/x86/uv_sysfs.c
340
static ssize_t uv_port_type_show(struct kobject *kobj, struct attribute *attr,
drivers/platform/x86/uv_sysfs.c
487
struct attribute attr;
drivers/platform/x86/uv_sysfs.c
514
struct attribute *attr, char *buf)
drivers/platform/x86/uv_sysfs.c
773
static struct attribute *base_attrs[] = {
drivers/platform/x86/uv_sysfs.c
819
static struct attribute *hubless_base_attrs[] = {
drivers/pnp/interface.c
456
static struct attribute *pnp_dev_attrs[] = {
drivers/power/supply/ab8500_fg.c
2440
struct attribute attr;
drivers/power/supply/ab8500_fg.c
2492
ab8500_fg_show(struct kobject *kobj, struct attribute *attr, char *buf)
drivers/power/supply/ab8500_fg.c
2506
ab8500_fg_store(struct kobject *kobj, struct attribute *attr, const char *buf,
drivers/power/supply/ab8500_fg.c
2526
static struct attribute *ab8500_fg_attrs[] = {
drivers/power/supply/bq2415x_charger.c
1462
static struct attribute *bq2415x_sysfs_attrs[] = {
drivers/power/supply/bq24190_charger.c
453
static struct attribute *
drivers/power/supply/bq24257_charger.c
832
static struct attribute *bq24257_charger_sysfs_attrs[] = {
drivers/power/supply/ds2780_battery.c
721
static struct attribute *ds2780_sysfs_attrs[] = {
drivers/power/supply/ds2781_battery.c
724
static struct attribute *ds2781_sysfs_attrs[] = {
drivers/power/supply/huawei-gaokun-battery.c
544
static struct attribute *gaokun_psy_features_attrs[] = {
drivers/power/supply/lp8788-charger.c
645
static struct attribute *lp8788_charger_sysfs_attrs[] = {
drivers/power/supply/ltc4162-l-charger.c
928
static struct attribute *ltc4162l_sysfs_entries[] = {
drivers/power/supply/max1720x_battery.c
490
static struct attribute *max1720x_attrs[] = {
drivers/power/supply/max8971_charger.c
537
static struct attribute *max8971_attrs[] = {
drivers/power/supply/mp2629_charger.c
548
static struct attribute *mp2629_charger_sysfs_attrs[] = {
drivers/power/supply/olpc_battery.c
582
static struct attribute *olpc_bat_sysfs_attrs[] = {
drivers/power/supply/power_supply_sysfs.c
235
static struct attribute *
drivers/power/supply/power_supply_sysfs.c
459
struct attribute *attr,
drivers/power/supply/power_supply_sysfs.c
488
static struct attribute *power_supply_extension_attrs[] = {
drivers/power/supply/rt9467-charger.c
828
static struct attribute *rt9467_sysfs_attrs[] = {
drivers/power/supply/rt9471.c
710
static struct attribute *rt9471_sysfs_attrs[] = {
drivers/power/supply/rt9756.c
613
static struct attribute *rt9756_sysfs_attrs[] = {
drivers/power/supply/surface_battery.c
712
static struct attribute *spwr_battery_attrs[] = {
drivers/powercap/intel_rapl_common.c
1869
static struct attribute *attrs_empty[] = {
drivers/powercap/intel_rapl_common.c
1907
static struct attribute *pmu_cpumask_attrs[] = {
drivers/powercap/intel_rapl_common.c
1917
static struct attribute *pmu_format_attr[] = {
drivers/powercap/intel_rapl_common.c
1959
static struct attribute *pmu_attr_##_name[] = { \
drivers/powercap/intel_rapl_common.c
1965
static umode_t is_visible_##_name(struct kobject *kobj, struct attribute *attr, int event) \
drivers/powercap/powercap_sys.c
469
static struct attribute *powercap_attrs[] = {
drivers/pps/generators/sysfs.c
61
static struct attribute *pps_gen_attrs[] = {
drivers/pps/sysfs.c
82
static struct attribute *pps_attrs[] = {
drivers/ps3/ps3-sys-manager.c
261
u32 attribute;
drivers/ps3/ps3-sys-manager.c
276
payload.attribute = attr;
drivers/ptp/ptp_ocp.c
3442
ptp_ocp_timecard_tty_is_visible(struct kobject *kobj, struct attribute *attr, int n)
drivers/ptp/ptp_ocp.c
3466
static struct attribute *ptp_ocp_timecard_tty_attrs[] = {
drivers/ptp/ptp_ocp.c
3715
static struct attribute *fb_timecard_signal##_nr##_attrs[] = { \
drivers/ptp/ptp_ocp.c
3740
static struct attribute *fb_timecard_freq##_nr##_attrs[] = { \
drivers/ptp/ptp_ocp.c
3883
static struct attribute *fb_timecard_attrs[] = {
drivers/ptp/ptp_ocp.c
3921
static struct attribute *art_timecard_attrs[] = {
drivers/ptp/ptp_ocp.c
3953
static struct attribute *adva_timecard_attrs[] = {
drivers/ptp/ptp_private.h
58
struct attribute **pin_attr;
drivers/ptp/ptp_sysfs.c
321
static struct attribute *ptp_attrs[] = {
drivers/ptp/ptp_sysfs.c
342
struct attribute *attr, int n)
drivers/pwm/core.c
1310
static struct attribute *pwm_attrs[] = {
drivers/pwm/core.c
1454
static struct attribute *pwm_chip_attrs[] = {
drivers/rapidio/rio-sysfs.c
260
struct attribute *attr, int n)
drivers/rapidio/rio-sysfs.c
314
static struct attribute *rio_bus_attrs[] = {
drivers/rapidio/rio-sysfs.c
353
static struct attribute *rio_mport_attrs[] = {
drivers/rapidio/rio-sysfs.c
97
static struct attribute *rio_dev_attrs[] = {
drivers/regulator/core.c
5606
static struct attribute *regulator_dev_attrs[] = {
drivers/regulator/core.c
5649
struct attribute *attr, int idx)
drivers/regulator/userspace-consumer.c
101
static umode_t attr_visible(struct kobject *kobj, struct attribute *attr, int idx)
drivers/regulator/userspace-consumer.c
95
static struct attribute *attributes[] = {
drivers/regulator/virtual.c
272
static struct attribute *regulator_virtual_attributes[] = {
drivers/remoteproc/remoteproc_sysfs.c
222
static umode_t rproc_is_visible(struct kobject *kobj, struct attribute *attr,
drivers/remoteproc/remoteproc_sysfs.c
238
static struct attribute *rproc_attrs[] = {
drivers/rpmsg/qcom_glink_native.c
1849
static struct attribute *qcom_glink_attrs[] = {
drivers/rpmsg/qcom_smd.c
1465
static struct attribute *qcom_smd_edge_attrs[] = {
drivers/rpmsg/rpmsg_char.c
390
static struct attribute *rpmsg_eptdev_attrs[] = {
drivers/rpmsg/rpmsg_core.c
402
static struct attribute *rpmsg_dev_attrs[] = {
drivers/rtc/rtc-ab8500.c
298
static struct attribute *ab8500_rtc_attrs[] = {
drivers/rtc/rtc-abx80x.c
501
static struct attribute *rtc_calib_attrs[] = {
drivers/rtc/rtc-ds1307.c
1243
static struct attribute *rtc_freq_test_attrs[] = {
drivers/rtc/rtc-ds1307.c
1384
static struct attribute *ds3231_hwmon_attrs[] = {
drivers/rtc/rtc-ds1343.c
188
static struct attribute *ds1343_attrs[] = {
drivers/rtc/rtc-ds1685.c
1043
static struct attribute*
drivers/rtc/rtc-ep93xx.c
112
static struct attribute *ep93xx_rtc_attrs[] = {
drivers/rtc/rtc-isl1208.c
768
static struct attribute *isl1208_rtc_attrs[] = {
drivers/rtc/rtc-isl1208.c
779
static struct attribute *isl1219_rtc_attrs[] = {
drivers/rtc/rtc-pcf2127.c
1007
static struct attribute *pcf2127_attrs[] = {
drivers/rtc/rtc-pcf2127.c
1012
static struct attribute *pcf2131_attrs[] = {
drivers/rtc/rtc-rv3028.c
172
static struct attribute *rv3028_attrs[] = {
drivers/rtc/rtc-rv3029c2.c
669
static struct attribute *rv3029_hwmon_attrs[] = {
drivers/rtc/rtc-rx8025.c
514
static struct attribute *rx8025_attrs[] = {
drivers/rtc/sysfs.c
250
static struct attribute *rtc_attrs[] = {
drivers/rtc/sysfs.c
277
struct attribute *attr, int n)
drivers/s390/block/dasd_devmap.c
2415
static struct attribute * dasd_attrs[] = {
drivers/s390/block/dasd_devmap.c
2455
static struct attribute *capacity_attrs[] = {
drivers/s390/block/dasd_devmap.c
2467
static struct attribute *ext_pool_attrs[] = {
drivers/s390/block/dasd_devmap.c
2529
static struct attribute *paths_info_attrs[] = {
drivers/s390/block/dcssblk.c
523
static struct attribute *dcssblk_dev_attrs[] = {
drivers/s390/char/con3215.c
800
static struct attribute *con3215_drv_attrs[] = {
drivers/s390/char/raw3270.c
1151
static struct attribute *raw3270_attrs[] = {
drivers/s390/char/sclp.c
1238
static struct attribute *sclp_drv_attrs[] = {
drivers/s390/char/sclp_cpi_sys.c
369
static struct attribute *cpi_attrs[] = {
drivers/s390/char/sclp_mem.c
315
static struct attribute *sclp_mem_attrs[] = {
drivers/s390/char/sclp_ocf.c
124
static struct attribute *ocf_attrs[] = {
drivers/s390/char/sclp_sd.c
450
static struct attribute *sclp_sd_file_default_attrs[] = {
drivers/s390/char/tape_core.c
169
static struct attribute *tape_attrs[] = {
drivers/s390/char/vmlogrdr.c
654
static struct attribute *vmlogrdr_drv_attrs[] = {
drivers/s390/char/vmlogrdr.c
666
static struct attribute *vmlogrdr_attrs[] = {
drivers/s390/cio/ccwgroup.c
199
static struct attribute *ccwgroup_dev_attrs[] = {
drivers/s390/cio/chp.c
460
static struct attribute *chp_attrs[] = {
drivers/s390/cio/cmf.c
1037
static struct attribute *cmf_attributes[] = {
drivers/s390/cio/cmf.c
1055
static struct attribute *cmf_attributes_ext[] = {
drivers/s390/cio/css.c
353
static struct attribute *subch_attrs[] = {
drivers/s390/cio/css.c
419
static struct attribute *io_subchannel_type_attrs[] = {
drivers/s390/cio/css.c
937
static umode_t cm_enable_mode(struct kobject *kobj, struct attribute *attr,
drivers/s390/cio/css.c
943
static struct attribute *cssdev_attrs[] = {
drivers/s390/cio/css.c
953
static struct attribute *cssdev_cm_attrs[] = {
drivers/s390/cio/device.c
598
static struct attribute *io_subchannel_attrs[] = {
drivers/s390/cio/device.c
608
static struct attribute * ccwdev_attrs[] = {
drivers/s390/cio/scm.c
109
static struct attribute *scmdev_attrs[] = {
drivers/s390/crypto/ap_bus.c
1772
static struct attribute *ap_bus_attrs[] = {
drivers/s390/crypto/ap_card.c
195
static struct attribute *ap_card_dev_attrs[] = {
drivers/s390/crypto/ap_queue.c
1156
static struct attribute *ap_queue_dev_sb_attrs[] = {
drivers/s390/crypto/ap_queue.c
888
static struct attribute *ap_queue_dev_attrs[] = {
drivers/s390/crypto/vfio_ap_drv.c
35
static struct attribute *matrix_dev_attrs[] = {
drivers/s390/crypto/vfio_ap_ops.c
1788
static struct attribute *vfio_ap_mdev_attrs[] = {
drivers/s390/crypto/vfio_ap_ops.c
2352
static struct attribute *vfio_queue_attrs[] = {
drivers/s390/crypto/zcrypt_api.c
305
static struct attribute *zcdn_dev_attrs[] = {
drivers/s390/crypto/zcrypt_card.c
126
static struct attribute *zcrypt_card_attrs[] = {
drivers/s390/crypto/zcrypt_cex4.c
196
static struct attribute *cca_queue_attrs[] = {
drivers/s390/crypto/zcrypt_cex4.c
314
static struct attribute *ep11_card_attrs[] = {
drivers/s390/crypto/zcrypt_cex4.c
411
static struct attribute *ep11_queue_attrs[] = {
drivers/s390/crypto/zcrypt_cex4.c
96
static struct attribute *cca_card_attrs[] = {
drivers/s390/crypto/zcrypt_queue.c
93
static struct attribute *zcrypt_queue_attrs[] = {
drivers/s390/net/ctcm_main.c
1694
static struct attribute *ctcm_drv_attrs[] = {
drivers/s390/net/ctcm_sysfs.c
195
static struct attribute *ctcm_attr[] = {
drivers/s390/net/qeth_core_main.c
6497
static struct attribute *qeth_drv_attrs[] = {
drivers/s390/net/qeth_core_sys.c
636
static struct attribute *qeth_blkt_device_attrs[] = {
drivers/s390/net/qeth_core_sys.c
648
static struct attribute *qeth_dev_extended_attrs[] = {
drivers/s390/net/qeth_core_sys.c
665
static struct attribute *qeth_dev_attrs[] = {
drivers/s390/net/qeth_l2_sys.c
238
static struct attribute *qeth_l2_bridgeport_attrs[] = {
drivers/s390/net/qeth_l2_sys.c
362
static struct attribute *qeth_l2_vnicc_attrs[] = {
drivers/s390/net/qeth_l3_sys.c
271
static struct attribute *qeth_l3_device_attrs[] = {
drivers/s390/net/qeth_l3_sys.c
554
static struct attribute *qeth_ipato_device_attrs[] = {
drivers/s390/net/qeth_l3_sys.c
661
static struct attribute *qeth_vipa_device_attrs[] = {
drivers/s390/net/qeth_l3_sys.c
768
static struct attribute *qeth_rxip_device_attrs[] = {
drivers/s390/scsi/zfcp_sysfs.c
419
static struct attribute *zfcp_adapter_attrs[] = {
drivers/s390/scsi/zfcp_sysfs.c
509
static struct attribute *zfcp_port_attrs[] = {
drivers/s390/scsi/zfcp_sysfs.c
527
static struct attribute *zfcp_unit_attrs[] = {
drivers/s390/scsi/zfcp_sysfs.c
675
static struct attribute *zfcp_sdev_attrs[] = {
drivers/s390/scsi/zfcp_sysfs.c
794
static struct attribute *zfcp_sysfs_shost_attrs[] = {
drivers/s390/scsi/zfcp_sysfs.c
911
static struct attribute *zfcp_sysfs_diag_attrs[] = {
drivers/scsi/3w-9xxx.c
200
static struct attribute *twa_host_attrs[] = {
drivers/scsi/3w-sas.c
201
static struct attribute *twl_host_attrs[] = {
drivers/scsi/3w-xxxx.c
535
static struct attribute *tw_host_attrs[] = {
drivers/scsi/53c700.c
2085
STATIC struct attribute *NCR_700_dev_attrs[] = {
drivers/scsi/aacraid/linit.c
1448
static struct attribute *aac_host_attrs[] = {
drivers/scsi/aacraid/linit.c
608
static struct attribute *aac_dev_attrs[] = {
drivers/scsi/arcmsr/arcmsr_attr.c
390
static struct attribute *arcmsr_host_attrs[] = {
drivers/scsi/be2iscsi/be_main.c
167
static struct attribute *beiscsi_attrs[] = {
drivers/scsi/bfa/bfad_attr.c
944
static struct attribute *bfad_im_host_attrs[] = {
drivers/scsi/bfa/bfad_attr.c
969
static struct attribute *bfad_im_vport_attrs[] = {
drivers/scsi/bnx2fc/bnx2fc_fcoe.c
2932
static struct attribute *bnx2fc_host_attrs[] = {
drivers/scsi/bnx2i/bnx2i_sysfs.c
145
static struct attribute *bnx2i_dev_attributes[] = {
drivers/scsi/csiostor/csio_scsi.c
1463
static struct attribute *csio_fcoe_lport_attrs[] = {
drivers/scsi/csiostor/csio_scsi.c
1484
static struct attribute *csio_fcoe_vport_attrs[] = {
drivers/scsi/fcoe/fcoe_sysfs.c
537
static struct attribute *fcoe_ctlr_lesb_attrs[] = {
drivers/scsi/fcoe/fcoe_sysfs.c
552
static struct attribute *fcoe_ctlr_attrs[] = {
drivers/scsi/fcoe/fcoe_sysfs.c
572
static struct attribute *fcoe_fcf_attrs[] = {
drivers/scsi/fcoe/fcoe_sysfs.c
656
static struct attribute *fcoe_bus_attrs[] = {
drivers/scsi/fnic/fnic_attrs.c
42
static struct attribute *fnic_host_attrs[] = {
drivers/scsi/hisi_sas/hisi_sas_v1_hw.c
1730
static struct attribute *host_v1_hw_attrs[] = {
drivers/scsi/hisi_sas/hisi_sas_v2_hw.c
3542
static struct attribute *host_v2_hw_attrs[] = {
drivers/scsi/hisi_sas/hisi_sas_v3_hw.c
2990
static struct attribute *host_v3_hw_attrs[] = {
drivers/scsi/hpsa.c
933
static struct attribute *hpsa_sdev_attrs[] = {
drivers/scsi/hpsa.c
945
static struct attribute *hpsa_shost_attrs[] = {
drivers/scsi/hptiop.c
1146
static struct attribute *hptiop_host_attrs[] = {
drivers/scsi/ibmvscsi/ibmvfc.c
3678
static struct attribute *ibmvfc_host_attrs[] = {
drivers/scsi/ibmvscsi/ibmvscsi.c
2072
static struct attribute *ibmvscsi_host_attrs[] = {
drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c
3985
static struct attribute *ibmvscsis_dev_attrs[] = {
drivers/scsi/ipr.c
4147
static struct attribute *ipr_ioa_attrs[] = {
drivers/scsi/ipr.c
4634
static struct attribute *ipr_dev_attrs[] = {
drivers/scsi/isci/init.c
141
static struct attribute *isci_host_attrs[] = {
drivers/scsi/iscsi_boot_sysfs.c
108
struct attribute *attr, int i)
drivers/scsi/iscsi_boot_sysfs.c
173
static struct attribute *ethernet_attrs[] = {
drivers/scsi/iscsi_boot_sysfs.c
191
struct attribute *attr, int i)
drivers/scsi/iscsi_boot_sysfs.c
24
struct attribute attr;
drivers/scsi/iscsi_boot_sysfs.c
254
static struct attribute *initiator_attrs[] = {
drivers/scsi/iscsi_boot_sysfs.c
266
struct attribute *attr, int i)
drivers/scsi/iscsi_boot_sysfs.c
307
static struct attribute *acpitbl_attrs[] = {
drivers/scsi/iscsi_boot_sysfs.c
315
struct attribute *attr, int i)
drivers/scsi/iscsi_boot_sysfs.c
33
struct attribute *attr, char *buf)
drivers/scsi/iscsi_boot_sysfs.c
91
static struct attribute *target_attrs[] = {
drivers/scsi/libsas/sas_ata.c
1018
static struct attribute *sas_ata_sdev_attrs[] = {
drivers/scsi/libsas/sas_ata.c
1025
struct attribute *attr, int i)
drivers/scsi/lpfc/lpfc_attr.c
6133
static struct attribute *lpfc_hba_attrs[] = {
drivers/scsi/lpfc/lpfc_attr.c
6266
static struct attribute *lpfc_vport_attrs[] = {
drivers/scsi/megaraid/megaraid_mbox.c
310
static struct attribute *megaraid_shost_attrs[] = {
drivers/scsi/megaraid/megaraid_mbox.c
320
static struct attribute *megaraid_sdev_attrs[] = {
drivers/scsi/megaraid/megaraid_sas_base.c
3491
static struct attribute *megaraid_host_attrs[] = {
drivers/scsi/mpi3mr/mpi3mr_app.c
3281
static struct attribute *mpi3mr_host_attrs[] = {
drivers/scsi/mpi3mr/mpi3mr_app.c
3470
static struct attribute *mpi3mr_dev_attrs[] = {
drivers/scsi/mpt3sas/mpt3sas_ctl.c
4260
static struct attribute *mpt3sas_host_attrs[] = {
drivers/scsi/mpt3sas/mpt3sas_ctl.c
4403
static struct attribute *mpt3sas_dev_attrs[] = {
drivers/scsi/mvsas/mv_init.c
753
static struct attribute *mvst_host_attrs[] = {
drivers/scsi/myrb.c
2184
static struct attribute *myrb_sdev_attrs[] = {
drivers/scsi/myrb.c
2194
static struct attribute *myrb_shost_attrs[] = {
drivers/scsi/myrs.c
1287
static struct attribute *myrs_sdev_attrs[] = {
drivers/scsi/myrs.c
1513
static struct attribute *myrs_shost_attrs[] = {
drivers/scsi/ncr53c8xx.c
8043
static struct attribute *ncr53c8xx_host_attrs[] = {
drivers/scsi/pcmcia/sym53c500_cs.c
661
static struct attribute *SYM53C500_shost_attrs[] = {
drivers/scsi/pm8001/pm8001_ctl.c
1005
static struct attribute *pm8001_host_attrs[] = {
drivers/scsi/pmcraid.c
3651
static struct attribute *pmcraid_host_attrs[] = {
drivers/scsi/qedf/qedf_attr.c
63
static struct attribute *qedf_host_attrs[] = {
drivers/scsi/qedi/qedi_sysfs.c
45
static struct attribute *qedi_shost_attrs[] = {
drivers/scsi/qla2xxx/qla_attr.c
2473
static struct attribute *qla2x00_host_attrs[] = {
drivers/scsi/qla2xxx/qla_attr.c
2524
struct attribute *attr, int i)
drivers/scsi/qla2xxx/qla_fw.h
1700
uint8_t attribute;
drivers/scsi/qla2xxx/qla_sup.c
2772
if (ha->flags.secure_adapter && region.attribute) {
drivers/scsi/qla2xxx/qla_sup.c
2944
if (region.attribute && buf_size_without_sfub) {
drivers/scsi/qla2xxx/qla_sup.c
735
if (region->attribute)
drivers/scsi/qla4xxx/ql4_attr.c
333
static struct attribute *qla4xxx_host_attrs[] = {
drivers/scsi/scsi_debug.c
8437
static struct attribute *sdebug_drv_attrs[] = {
drivers/scsi/scsi_sysfs.c
1239
struct attribute *attr, int i)
drivers/scsi/scsi_sysfs.c
1291
static struct attribute *scsi_sdev_attrs[] = {
drivers/scsi/scsi_sysfs.c
406
static struct attribute *scsi_sysfs_shost_attrs[] = {
drivers/scsi/scsi_transport_fc.c
1362
static struct attribute *fc_rport_encryption_attrs[] = {
drivers/scsi/scsi_transport_fc.c
1404
static struct attribute *fc_rport_statistics_attrs[] = {
drivers/scsi/scsi_transport_fc.c
2241
static struct attribute *fc_statistics_attrs[] = {
drivers/scsi/scsi_transport_iscsi.c
1079
static struct attribute *iscsi_flashnode_conn_attrs[] = {
drivers/scsi/scsi_transport_iscsi.c
1110
struct attribute *attr,
drivers/scsi/scsi_transport_iscsi.c
151
static struct attribute *iscsi_transport_attrs[] = {
drivers/scsi/scsi_transport_iscsi.c
195
static struct attribute *iscsi_endpoint_attrs[] = {
drivers/scsi/scsi_transport_iscsi.c
4218
static struct attribute *iscsi_conn_attrs[] = {
drivers/scsi/scsi_transport_iscsi.c
4254
struct attribute *attr, int i)
drivers/scsi/scsi_transport_iscsi.c
442
struct attribute *attr, int i)
drivers/scsi/scsi_transport_iscsi.c
4487
static struct attribute *iscsi_session_attrs[] = {
drivers/scsi/scsi_transport_iscsi.c
4537
struct attribute *attr, int i)
drivers/scsi/scsi_transport_iscsi.c
4672
static struct attribute *iscsi_host_attrs[] = {
drivers/scsi/scsi_transport_iscsi.c
4683
struct attribute *attr, int i)
drivers/scsi/scsi_transport_iscsi.c
612
static struct attribute *iscsi_iface_attrs[] = {
drivers/scsi/scsi_transport_iscsi.c
870
static struct attribute *iscsi_flashnode_sess_attrs[] = {
drivers/scsi/scsi_transport_iscsi.c
908
struct attribute *attr,
drivers/scsi/scsi_transport_spi.c
1436
static struct attribute *host_attributes[] = {
drivers/scsi/scsi_transport_spi.c
1454
struct attribute *attr = &dev_attr_signalling.attr;
drivers/scsi/scsi_transport_spi.c
1471
struct attribute *attr, int i)
drivers/scsi/scsi_transport_spi.c
1532
static struct attribute *target_attributes[] = {
drivers/scsi/sd.c
729
static struct attribute *sd_disk_attrs[] = {
drivers/scsi/smartpqi/smartpqi_init.c
7149
static struct attribute *pqi_shost_attrs[] = {
drivers/scsi/smartpqi/smartpqi_init.c
7581
static struct attribute *pqi_sdev_attrs[] = {
drivers/scsi/snic/snic_attrs.c
56
static struct attribute *snic_host_attrs[] = {
drivers/scsi/st.c
4659
static struct attribute *st_drv_attrs[] = {
drivers/scsi/st.c
4946
static struct attribute *st_dev_attrs[] = {
drivers/scsi/st.c
4956
static struct attribute *st_stats_attrs[] = {
drivers/siox/siox-core.c
482
static struct attribute *siox_device_attrs[] = {
drivers/siox/siox-core.c
663
static struct attribute *siox_master_attrs[] = {
drivers/soc/aspeed/aspeed-uart-routing.c
268
static struct attribute *ast2500_uart_routing_attrs[] = {
drivers/soc/aspeed/aspeed-uart-routing.c
473
static struct attribute *ast2600_uart_routing_attrs[] = {
drivers/soc/hisilicon/kunpeng_hccs.c
1028
static struct attribute *hccs_port_default_attrs[] = {
drivers/soc/hisilicon/kunpeng_hccs.c
1104
static struct attribute *hccs_die_default_attrs[] = {
drivers/soc/hisilicon/kunpeng_hccs.c
1207
static struct attribute *hccs_chip_default_attrs[] = {
drivers/soc/hisilicon/kunpeng_hccs.c
898
static ssize_t hccs_show(struct kobject *k, struct attribute *attr, char *buf)
drivers/soc/qcom/rmtfs_mem.c
63
static struct attribute *qcom_rmtfs_mem_attrs[] = {
drivers/soc/tegra/fuse/fuse-tegra.c
400
static struct attribute *tegra_soc_attr[] = {
drivers/soc/tegra/fuse/fuse-tegra.c
427
static struct attribute *tegra194_soc_attr[] = {
drivers/soc/ux500/ux500-soc-id.c
160
static struct attribute *ux500_soc_attrs[] = {
drivers/soc/versatile/soc-integrator.c
91
static struct attribute *integrator_attrs[] = {
drivers/soc/versatile/soc-realview.c
75
static struct attribute *realview_attrs[] = {
drivers/soundwire/master.c
88
static struct attribute *master_node_attrs[] = {
drivers/soundwire/sysfs_slave.c
104
static struct attribute *slave_attrs[] = {
drivers/soundwire/sysfs_slave.c
113
static struct attribute *slave_dev_attrs[] = {
drivers/soundwire/sysfs_slave.c
173
static struct attribute *dp0_attrs[] = {
drivers/soundwire/sysfs_slave.c
183
static umode_t dp0_attr_visible(struct kobject *kobj, struct attribute *attr,
drivers/soundwire/sysfs_slave.c
249
static struct attribute *slave_status_attrs[] = {
drivers/soundwire/sysfs_slave_dpn.c
169
struct attribute **dpn_attrs;
drivers/soundwire/sysfs_slave_dpn.c
176
sizeof(struct attribute *),
drivers/soundwire/sysfs_slave_dpn.c
29
struct attribute **res, \
drivers/spi/spi-bcm63xx-hsspi.c
218
static struct attribute *bcm63xx_hsspi_attrs[] = {
drivers/spi/spi-bcmbca-hsspi.c
162
static struct attribute *bcmbca_hsspi_attrs[] = {
drivers/spi/spi-intel.c
1463
static struct attribute *intel_spi_attrs[] = {
drivers/spi/spi.c
212
static struct attribute *spi_dev_attrs[] = {
drivers/spi/spi.c
222
static struct attribute *spi_device_statistics_attrs[] = {
drivers/spi/spi.c
265
static struct attribute *spi_controller_statistics_attrs[] = {
drivers/spi/spi.c
3130
static struct attribute *spi_target_attrs[] = {
drivers/ssb/main.c
378
static struct attribute *ssb_device_attrs[] = {
drivers/staging/greybus/audio_manager_module.c
136
static struct attribute *gb_audio_module_default_attrs[] = {
drivers/staging/greybus/audio_manager_module.c
22
struct attribute attr;
drivers/staging/greybus/audio_manager_module.c
32
struct attribute *attr, char *buf)
drivers/staging/greybus/audio_manager_module.c
34
struct gb_audio_manager_module_attribute *attribute;
drivers/staging/greybus/audio_manager_module.c
37
attribute = to_gb_audio_module_attr(attr);
drivers/staging/greybus/audio_manager_module.c
40
if (!attribute->show)
drivers/staging/greybus/audio_manager_module.c
43
return attribute->show(module, attribute, buf);
drivers/staging/greybus/audio_manager_module.c
47
struct attribute *attr,
drivers/staging/greybus/audio_manager_module.c
50
struct gb_audio_manager_module_attribute *attribute;
drivers/staging/greybus/audio_manager_module.c
53
attribute = to_gb_audio_module_attr(attr);
drivers/staging/greybus/audio_manager_module.c
56
if (!attribute->store)
drivers/staging/greybus/audio_manager_module.c
59
return attribute->store(module, attribute, buf, len);
drivers/staging/greybus/gbphy.c
38
static struct attribute *gbphy_dev_attrs[] = {
drivers/staging/greybus/light.c
28
struct attribute **attrs;
drivers/staging/greybus/loopback.c
316
static struct attribute *loopback_attrs[] = {
drivers/staging/greybus/vibrator.c
102
static struct attribute *vibrator_attrs[] = {
drivers/staging/iio/adc/ad7816.c
241
static struct attribute *ad7816_attributes[] = {
drivers/staging/iio/adc/ad7816.c
333
static struct attribute *ad7816_event_attributes[] = {
drivers/staging/iio/addac/adt7316.c
1634
static struct attribute *adt7316_attributes[] = {
drivers/staging/iio/addac/adt7316.c
1676
static struct attribute *adt7516_attributes[] = {
drivers/staging/iio/addac/adt7316.c
2049
static struct attribute *adt7316_event_attributes[] = {
drivers/staging/iio/addac/adt7316.c
2064
static struct attribute *adt7516_event_attributes[] = {
drivers/staging/iio/frequency/ad9832.c
270
static struct attribute *ad9832_attributes[] = {
drivers/staging/iio/frequency/ad9834.c
339
static struct attribute *ad9834_attributes[] = {
drivers/staging/iio/frequency/ad9834.c
358
static struct attribute *ad9833_attributes[] = {
drivers/staging/iio/impedance-analyzer/ad5933.c
484
static struct attribute *ad5933_attributes[] = {
drivers/staging/most/dim2/dim2.c
138
static struct attribute *dim2_attrs[] = {
drivers/tee/optee/core.c
109
static struct attribute *optee_dev_attrs[] = {
drivers/tee/tee_core.c
1141
static struct attribute *tee_dev_attrs[] = {
drivers/tee/tee_core.c
1169
static struct attribute *tee_revision_attrs[] = {
drivers/tee/tee_core.c
1175
struct attribute *attr, int n)
drivers/thermal/intel/int340x_thermal/int3400_thermal.c
242
static struct attribute *uuid_attrs[] = {
drivers/thermal/intel/int340x_thermal/int3400_thermal.c
99
static struct attribute *imok_attr[] = {
drivers/thermal/intel/int340x_thermal/platform_temperature_control.c
59
struct attribute *ptc_attrs[PTC_MAX_ATTRS];
drivers/thermal/intel/int340x_thermal/processor_thermal_device.c
100
static struct attribute *power_limit_attrs[] = {
drivers/thermal/intel/int340x_thermal/processor_thermal_device.c
116
static umode_t power_limit_attr_visible(struct kobject *kobj, struct attribute *attr, int unused)
drivers/thermal/intel/int340x_thermal/processor_thermal_rfim.c
306
static struct attribute *dlvr_attrs[] = {
drivers/thermal/intel/int340x_thermal/processor_thermal_rfim.c
330
static struct attribute *fivr_attrs[] = {
drivers/thermal/intel/int340x_thermal/processor_thermal_rfim.c
423
static struct attribute *dvfs_attrs[] = {
drivers/thermal/intel/int340x_thermal/processor_thermal_wt_hint.c
203
static umode_t workload_hint_attr_visible(struct kobject *kobj, struct attribute *attr, int unused)
drivers/thermal/intel/int340x_thermal/processor_thermal_wt_hint.c
220
static struct attribute *workload_hint_attrs[] = {
drivers/thermal/intel/int340x_thermal/processor_thermal_wt_req.c
94
static struct attribute *workload_req_attrs[] = {
drivers/thermal/intel/therm_throt.c
181
static struct attribute *thermal_throttle_attrs[] = {
drivers/thermal/thermal_sysfs.c
342
static struct attribute *thermal_zone_dev_attrs[] = {
drivers/thermal/thermal_sysfs.c
365
static struct attribute *thermal_zone_mode_attrs[] = {
drivers/thermal/thermal_sysfs.c
392
struct attribute **attrs;
drivers/thermal/thermal_sysfs.c
566
static struct attribute *cooling_device_attrs[] = {
drivers/thermal/thermal_sysfs.c
762
static struct attribute *cooling_device_stats_attrs[] = {
drivers/thunderbolt/domain.c
276
static struct attribute *domain_attrs[] = {
drivers/thunderbolt/domain.c
285
struct attribute *attr, int n)
drivers/thunderbolt/retimer.c
345
static umode_t retimer_is_visible(struct kobject *kobj, struct attribute *attr,
drivers/thunderbolt/retimer.c
358
static struct attribute *retimer_attrs[] = {
drivers/thunderbolt/switch.c
2207
static struct attribute *switch_attrs[] = {
drivers/thunderbolt/switch.c
2228
struct attribute *attr, int n)
drivers/thunderbolt/usb4_port.c
252
static struct attribute *service_attrs[] = {
drivers/thunderbolt/usb4_port.c
259
struct attribute *attr, int n)
drivers/thunderbolt/usb4_port.c
67
static struct attribute *common_attrs[] = {
drivers/thunderbolt/xdomain.c
1842
static struct attribute *xdomain_attrs[] = {
drivers/thunderbolt/xdomain.c
970
static struct attribute *tb_service_attrs[] = {
drivers/tty/hvc/hvc_iucv.c
1024
static struct attribute *hvc_iucv_dev_attrs[] = {
drivers/tty/hvc/hvcs.c
437
static struct attribute *hvcs_dev_attrs[] = {
drivers/tty/hvc/hvcs.c
471
static struct attribute *hvcs_attrs[] = {
drivers/tty/serdev/core.c
41
static struct attribute *serdev_device_attrs[] = {
drivers/tty/serial/8250/8250_aspeed_vuart.c
208
static struct attribute *aspeed_vuart_attrs[] = {
drivers/tty/serial/8250/8250_port.c
3063
static struct attribute *serial8250_dev_attrs[] = {
drivers/tty/serial/serial_core.c
3005
static struct attribute *tty_dev_attrs[] = {
drivers/tty/tty_io.c
3588
static struct attribute *cons_dev_attrs[] = {
drivers/tty/vcc.c
537
static struct attribute *vcc_sysfs_entries[] = {
drivers/tty/vt/vt.c
3866
static struct attribute *vt_dev_attrs[] = {
drivers/tty/vt/vt.c
4241
static struct attribute *con_dev_attrs[] = {
drivers/ufs/core/ufs-sysfs.c
1034
static struct attribute *ufs_power_info_attrs[] = {
drivers/ufs/core/ufs-sysfs.c
1144
static struct attribute *ufs_sysfs_device_descriptor[] = {
drivers/ufs/core/ufs-sysfs.c
1189
static struct attribute *ufs_sysfs_interconnect_descriptor[] = {
drivers/ufs/core/ufs-sysfs.c
1251
static struct attribute *ufs_sysfs_geometry_descriptor[] = {
drivers/ufs/core/ufs-sysfs.c
1301
static struct attribute *ufs_sysfs_health_descriptor[] = {
drivers/ufs/core/ufs-sysfs.c
1372
static struct attribute *ufs_sysfs_power_descriptor[] = {
drivers/ufs/core/ufs-sysfs.c
1479
static struct attribute *ufs_sysfs_string_descriptors[] = {
drivers/ufs/core/ufs-sysfs.c
1542
static struct attribute *ufs_sysfs_device_flags[] = {
drivers/ufs/core/ufs-sysfs.c
1756
static struct attribute *ufs_sysfs_attributes[] = {
drivers/ufs/core/ufs-sysfs.c
1938
static struct attribute *ufs_sysfs_hid[] = {
drivers/ufs/core/ufs-sysfs.c
1949
struct attribute *attr, int n)
drivers/ufs/core/ufs-sysfs.c
2014
static struct attribute *ufs_sysfs_unit_descriptor[] = {
drivers/ufs/core/ufs-sysfs.c
2033
static umode_t ufs_unit_descriptor_is_visible(struct kobject *kobj, struct attribute *attr, int n)
drivers/ufs/core/ufs-sysfs.c
2088
static struct attribute *ufs_sysfs_lun_attributes[] = {
drivers/ufs/core/ufs-sysfs.c
625
static struct attribute *ufs_sysfs_ufshcd_attrs[] = {
drivers/ufs/core/ufs-sysfs.c
672
static struct attribute *ufs_sysfs_capabilities_attrs[] = {
drivers/ufs/core/ufs-sysfs.c
723
static struct attribute *ufs_sysfs_ufshci_cap_attrs[] = {
drivers/ufs/core/ufs-sysfs.c
952
static struct attribute *ufs_sysfs_monitor_attrs[] = {
drivers/uio/uio.c
102
static ssize_t map_type_show(struct kobject *kobj, struct attribute *attr,
drivers/uio/uio.c
162
struct attribute attr;
drivers/uio/uio.c
176
static struct attribute *portio_attrs[] = {
drivers/uio/uio.c
191
static ssize_t portio_type_show(struct kobject *kobj, struct attribute *attr,
drivers/uio/uio.c
266
static struct attribute *uio_attrs[] = {
drivers/uio/uio.c
73
struct attribute attr;
drivers/uio/uio.c
87
static struct attribute *map_attrs[] = {
drivers/uio/uio_fsl_elbc_gpcm.c
74
static struct attribute *uio_fsl_elbc_gpcm_attrs[] = {
drivers/uio/uio_pci_generic_sva.c
166
static struct attribute *uio_pci_sva_attrs[] = {
drivers/usb/atm/cxacru.c
541
static struct attribute *cxacru_attrs[] = {
drivers/usb/atm/ueagle-atm.c
2467
static struct attribute *uea_attrs[] = {
drivers/usb/chipidea/core.c
1042
static struct attribute *ci_attrs[] = {
drivers/usb/chipidea/otg_fsm.c
184
static struct attribute *inputs_attrs[] = {
drivers/usb/class/usblp.c
1129
static struct attribute *usblp_attrs[] = {
drivers/usb/class/usbtmc.c
1888
static struct attribute *usbtmc_attrs[] = {
drivers/usb/common/ulpi.c
118
static struct attribute *ulpi_dev_attrs[] = {
drivers/usb/core/endpoint.c
119
static struct attribute *ep_dev_attrs[] = {
drivers/usb/core/endpoint.c
30
struct attribute attr;
drivers/usb/core/ledtrig-usbport.c
114
static struct attribute *ports_attrs[] = {
drivers/usb/core/port.c
307
static struct attribute *port_dev_attrs[] = {
drivers/usb/core/port.c
327
static struct attribute *port_dev_usb3_attrs[] = {
drivers/usb/core/sysfs.c
1039
static struct attribute *usb_bus_attrs[] = {
drivers/usb/core/sysfs.c
1246
static struct attribute *intf_attrs[] = {
drivers/usb/core/sysfs.c
1262
static struct attribute *intf_assoc_attrs[] = {
drivers/usb/core/sysfs.c
1272
struct attribute *a, int n)
drivers/usb/core/sysfs.c
1299
static struct attribute *intf_wireless_status_attrs[] = {
drivers/usb/core/sysfs.c
1305
struct attribute *a, int n)
drivers/usb/core/sysfs.c
618
static struct attribute *usb2_hardware_lpm_attr[] = {
drivers/usb/core/sysfs.c
629
static struct attribute *usb3_hardware_lpm_attr[] = {
drivers/usb/core/sysfs.c
639
static struct attribute *power_attrs[] = {
drivers/usb/core/sysfs.c
780
static struct attribute *dev_attrs[] = {
drivers/usb/core/sysfs.c
822
static struct attribute *dev_string_attrs[] = {
drivers/usb/core/sysfs.c
830
struct attribute *a, int n)
drivers/usb/gadget/function/f_mass_storage.c
2848
static struct attribute *fsg_lun_dev_attrs[] = {
drivers/usb/gadget/function/f_mass_storage.c
2857
struct attribute *attr, int idx)
drivers/usb/gadget/udc/core.c
1863
static struct attribute *usb_udc_attrs[] = {
drivers/usb/host/xhci-dbgcap.c
1408
static struct attribute *dbc_dev_attrs[] = {
drivers/usb/misc/cypress_cy7c63.c
200
static struct attribute *cypress_attrs[] = {
drivers/usb/misc/cytherm.c
293
static struct attribute *cytherm_attrs[] = {
drivers/usb/misc/lvstest.c
313
static struct attribute *lvs_attrs[] = {
drivers/usb/misc/onboard_usb_dev.c
278
static struct attribute *onboard_dev_attrs[] = {
drivers/usb/misc/onboard_usb_dev.c
284
struct attribute *attr,
drivers/usb/misc/qcom_eud.c
107
static struct attribute *eud_attrs[] = {
drivers/usb/misc/trancevibrator.c
76
static struct attribute *tv_attrs[] = {
drivers/usb/misc/usbsevseg.c
293
static struct attribute *sevseg_attrs[] = {
drivers/usb/musb/musb_core.c
1967
static struct attribute *musb_attrs[] = {
drivers/usb/phy/phy-tahvo.c
312
static struct attribute *tahvo_attrs[] = {
drivers/usb/phy/phy-twl6030-usb.c
199
static struct attribute *twl6030_attrs[] = {
drivers/usb/roles/class.c
247
usb_role_switch_is_visible(struct kobject *kobj, struct attribute *attr, int n)
drivers/usb/roles/class.c
306
static struct attribute *usb_role_switch_attrs[] = {
drivers/usb/serial/bus.c
129
static struct attribute *usb_serial_drv_attrs[] = {
drivers/usb/serial/ftdi_sio.c
1691
static struct attribute *ftdi_attrs[] = {
drivers/usb/serial/ftdi_sio.c
1697
static umode_t ftdi_is_visible(struct kobject *kobj, struct attribute *attr, int idx)
drivers/usb/serial/usb-serial.c
783
static struct attribute *usb_serial_port_attrs[] = {
drivers/usb/storage/scsiglue.c
604
static struct attribute *usb_sdev_attrs[] = {
drivers/usb/typec/altmodes/displayport.c
741
static struct attribute *displayport_attrs[] = {
drivers/usb/typec/bus.c
444
static struct attribute *typec_attrs[] = {
drivers/usb/typec/bus.c
449
static umode_t typec_is_visible(struct kobject *kobj, struct attribute *attr, int n)
drivers/usb/typec/bus.h
19
struct attribute *attrs[5];
drivers/usb/typec/class.c
1209
static struct attribute *typec_plug_attrs[] = {
drivers/usb/typec/class.c
1214
static umode_t typec_plug_attr_is_visible(struct kobject *kobj, struct attribute *attr, int n)
drivers/usb/typec/class.c
1369
static struct attribute *typec_cable_attrs[] = {
drivers/usb/typec/class.c
155
static struct attribute *usb_pd_id_attrs[] = {
drivers/usb/typec/class.c
1655
static struct attribute *port_attrs[] = {
drivers/usb/typec/class.c
1660
static umode_t port_attr_is_visible(struct kobject *kobj, struct attribute *attr, int n)
drivers/usb/typec/class.c
2032
static struct attribute *typec_attrs[] = {
drivers/usb/typec/class.c
2048
struct attribute *attr, int n)
drivers/usb/typec/class.c
524
static struct attribute *typec_altmode_attrs[] = {
drivers/usb/typec/class.c
534
struct attribute *attr, int n)
drivers/usb/typec/class.c
830
static struct attribute *typec_partner_attrs[] = {
drivers/usb/typec/class.c
840
static umode_t typec_partner_attr_is_visible(struct kobject *kobj, struct attribute *attr, int n)
drivers/usb/typec/pd.c
129
static struct attribute *source_fixed_supply_attrs[] = {
drivers/usb/typec/pd.c
142
static umode_t fixed_attr_is_visible(struct kobject *kobj, struct attribute *attr, int n)
drivers/usb/typec/pd.c
166
static struct attribute *sink_fixed_supply_attrs[] = {
drivers/usb/typec/pd.c
208
static struct attribute *source_variable_supply_attrs[] = {
drivers/usb/typec/pd.c
222
static struct attribute *sink_variable_supply_attrs[] = {
drivers/usb/typec/pd.c
253
static struct attribute *source_battery_attrs[] = {
drivers/usb/typec/pd.c
267
static struct attribute *sink_battery_attrs[] = {
drivers/usb/typec/pd.c
333
static struct attribute *source_pps_attrs[] = {
drivers/usb/typec/pd.c
348
static struct attribute *sink_pps_attrs[] = {
drivers/usb/typec/pd.c
413
static struct attribute *source_spr_avs_attrs[] = {
drivers/usb/typec/pd.c
427
static struct attribute *sink_spr_avs_attrs[] = {
drivers/usb/typec/pd.c
633
static struct attribute *pd_attrs[] = {
drivers/usb/typec/pd.c
639
static umode_t pd_attr_is_visible(struct kobject *kobj, struct attribute *attr, int n)
drivers/usb/typec/ucsi/ucsi_ccg.c
1400
static umode_t ucsi_ccg_attrs_is_visible(struct kobject *kobj, struct attribute *attr, int idx)
drivers/usb/typec/ucsi/ucsi_ccg.c
1413
static struct attribute *ucsi_ccg_attrs[] = {
drivers/usb/usbip/stub_dev.c
145
static struct attribute *usbip_attrs[] = {
drivers/usb/usbip/vhci_sysfs.c
500
struct attribute **attrs;
drivers/usb/usbip/vhci_sysfs.c
503
attrs = kzalloc_objs(struct attribute *, (vhci_num_controllers + 5));
drivers/usb/usbip/vudc_sysfs.c
249
static struct attribute *dev_attrs[] = {
drivers/vdpa/vdpa.c
108
static struct attribute *vdpa_dev_attrs[] = {
drivers/vdpa/vdpa_user/vduse_dev.c
1715
struct attribute attr;
drivers/vdpa/vdpa_user/vduse_dev.c
1723
static struct attribute *vq_attrs[] = {
drivers/vdpa/vdpa_user/vduse_dev.c
1729
static ssize_t vq_attr_show(struct kobject *kobj, struct attribute *attr,
drivers/vdpa/vdpa_user/vduse_dev.c
1743
static ssize_t vq_attr_store(struct kobject *kobj, struct attribute *attr,
drivers/vdpa/vdpa_user/vduse_dev.c
2046
static struct attribute *vduse_dev_attrs[] = {
drivers/vfio/mdev/mdev_sysfs.c
126
static struct attribute *mdev_types_core_attrs[] = {
drivers/vfio/mdev/mdev_sysfs.c
136
struct attribute *attr, int n)
drivers/vfio/mdev/mdev_sysfs.c
18
struct attribute attr;
drivers/vfio/mdev/mdev_sysfs.c
262
static struct attribute *mdev_device_attrs[] = {
drivers/vfio/mdev/mdev_sysfs.c
32
struct attribute *__attr, char *buf)
drivers/vfio/mdev/mdev_sysfs.c
44
struct attribute *__attr,
drivers/video/backlight/adp5520_bl.c
265
static struct attribute *adp5520_bl_attributes[] = {
drivers/video/backlight/adp8860_bl.c
632
static struct attribute *adp8860_bl_attributes[] = {
drivers/video/backlight/adp8870_bl.c
816
static struct attribute *adp8870_bl_attributes[] = {
drivers/video/backlight/backlight.c
315
static struct attribute *bl_device_attrs[] = {
drivers/video/backlight/lcd.c
167
static struct attribute *lcd_device_attrs[] = {
drivers/video/backlight/lm3533_bl.c
219
static struct attribute *lm3533_bl_attributes[] = {
drivers/video/backlight/lm3533_bl.c
229
struct attribute *attr, int n)
drivers/video/backlight/lp855x_bl.c
313
static struct attribute *lp855x_attributes[] = {
drivers/video/backlight/lp8788_bl.c
116
static struct attribute *lp8788_attributes[] = {
drivers/video/backlight/sky81452-backlight.c
169
static struct attribute *sky81452_bl_attribute[] = {
drivers/video/fbdev/core/bitblit.c
161
u32 attribute = get_attribute(info, scr_readw(s));
drivers/video/fbdev/core/bitblit.c
176
if (attribute) {
drivers/video/fbdev/core/bitblit.c
209
bit_putcs_aligned(vc, info, s, attribute, cnt, pitch,
drivers/video/fbdev/core/bitblit.c
212
bit_putcs_unaligned(vc, info, s, attribute, cnt,
drivers/video/fbdev/core/bitblit.c
25
static void update_attr(u8 *dst, u8 *src, int attribute,
drivers/video/fbdev/core/bitblit.c
268
int attribute, use_sw = vc->vc_cursor_type & CUR_SW;
drivers/video/fbdev/core/bitblit.c
278
attribute = get_attribute(info, c);
drivers/video/fbdev/core/bitblit.c
287
if (attribute) {
drivers/video/fbdev/core/bitblit.c
295
update_attr(dst, src, attribute, vc);
drivers/video/fbdev/core/bitblit.c
36
if (attribute & FBCON_ATTRIBUTE_UNDERLINE && i >= offset)
drivers/video/fbdev/core/bitblit.c
38
if (attribute & FBCON_ATTRIBUTE_BOLD)
drivers/video/fbdev/core/bitblit.c
40
if (attribute & FBCON_ATTRIBUTE_REVERSE)
drivers/video/fbdev/core/fbcon.c
3319
static struct attribute *fbcon_device_attrs[] = {
drivers/video/fbdev/core/fbcon.h
210
int attribute = 0;
drivers/video/fbdev/core/fbcon.h
214
attribute |= FBCON_ATTRIBUTE_UNDERLINE;
drivers/video/fbdev/core/fbcon.h
216
attribute |= FBCON_ATTRIBUTE_REVERSE;
drivers/video/fbdev/core/fbcon.h
218
attribute |= FBCON_ATTRIBUTE_BOLD;
drivers/video/fbdev/core/fbcon.h
221
return attribute;
drivers/video/fbdev/core/fbcon_ccw.c
140
u32 attribute = get_attribute(info, scr_readw(s));
drivers/video/fbdev/core/fbcon_ccw.c
154
if (attribute) {
drivers/video/fbdev/core/fbcon_ccw.c
175
ccw_putcs_aligned(vc, info, s, attribute, cnt, pitch,
drivers/video/fbdev/core/fbcon_ccw.c
228
int attribute, use_sw = vc->vc_cursor_type & CUR_SW;
drivers/video/fbdev/core/fbcon_ccw.c
239
attribute = get_attribute(info, c);
drivers/video/fbdev/core/fbcon_ccw.c
248
if (attribute) {
drivers/video/fbdev/core/fbcon_ccw.c
25
static void ccw_update_attr(u8 *dst, u8 *src, int attribute,
drivers/video/fbdev/core/fbcon_ccw.c
256
ccw_update_attr(dst, src, attribute, vc);
drivers/video/fbdev/core/fbcon_ccw.c
43
if (attribute & FBCON_ATTRIBUTE_UNDERLINE) {
drivers/video/fbdev/core/fbcon_ccw.c
51
if (attribute & FBCON_ATTRIBUTE_BOLD && i)
drivers/video/fbdev/core/fbcon_ccw.c
54
if (attribute & FBCON_ATTRIBUTE_REVERSE)
drivers/video/fbdev/core/fbcon_cw.c
125
u32 attribute = get_attribute(info, scr_readw(s));
drivers/video/fbdev/core/fbcon_cw.c
139
if (attribute) {
drivers/video/fbdev/core/fbcon_cw.c
158
cw_putcs_aligned(vc, info, s, attribute, cnt, pitch,
drivers/video/fbdev/core/fbcon_cw.c
211
int attribute, use_sw = vc->vc_cursor_type & CUR_SW;
drivers/video/fbdev/core/fbcon_cw.c
222
attribute = get_attribute(info, c);
drivers/video/fbdev/core/fbcon_cw.c
231
if (attribute) {
drivers/video/fbdev/core/fbcon_cw.c
239
cw_update_attr(dst, src, attribute, vc);
drivers/video/fbdev/core/fbcon_cw.c
25
static void cw_update_attr(u8 *dst, u8 *src, int attribute,
drivers/video/fbdev/core/fbcon_cw.c
35
if (attribute & FBCON_ATTRIBUTE_UNDERLINE && !j)
drivers/video/fbdev/core/fbcon_cw.c
37
if (attribute & FBCON_ATTRIBUTE_BOLD && i)
drivers/video/fbdev/core/fbcon_cw.c
39
if (attribute & FBCON_ATTRIBUTE_REVERSE)
drivers/video/fbdev/core/fbcon_ud.c
162
u32 attribute = get_attribute(info, scr_readw(s));
drivers/video/fbdev/core/fbcon_ud.c
177
if (attribute) {
drivers/video/fbdev/core/fbcon_ud.c
200
ud_putcs_aligned(vc, info, s, attribute, cnt, pitch,
drivers/video/fbdev/core/fbcon_ud.c
203
ud_putcs_unaligned(vc, info, s, attribute, cnt, pitch,
drivers/video/fbdev/core/fbcon_ud.c
25
static void ud_update_attr(u8 *dst, u8 *src, int attribute,
drivers/video/fbdev/core/fbcon_ud.c
258
int attribute, use_sw = vc->vc_cursor_type & CUR_SW;
drivers/video/fbdev/core/fbcon_ud.c
270
attribute = get_attribute(info, c);
drivers/video/fbdev/core/fbcon_ud.c
279
if (attribute) {
drivers/video/fbdev/core/fbcon_ud.c
287
ud_update_attr(dst, src, attribute, vc);
drivers/video/fbdev/core/fbcon_ud.c
37
if (attribute & FBCON_ATTRIBUTE_UNDERLINE && i < offset)
drivers/video/fbdev/core/fbcon_ud.c
39
if (attribute & FBCON_ATTRIBUTE_BOLD)
drivers/video/fbdev/core/fbcon_ud.c
41
if (attribute & FBCON_ATTRIBUTE_REVERSE)
drivers/video/fbdev/core/fbsysfs.c
433
static struct attribute *fb_device_attrs[] = {
drivers/video/fbdev/efifb.c
336
static struct attribute *efifb_attrs[] = {
drivers/video/fbdev/efifb.c
473
md.attribute &= EFI_MEMORY_UC | EFI_MEMORY_WC |
drivers/video/fbdev/efifb.c
475
if (md.attribute) {
drivers/video/fbdev/efifb.c
477
mem_flags &= md.attribute;
drivers/video/fbdev/gbefb.c
1077
static struct attribute *gbefb_attrs[] = {
drivers/video/fbdev/omap/omapfb_main.c
1361
static struct attribute *panel_attrs[] = {
drivers/video/fbdev/omap/omapfb_main.c
1385
static struct attribute *ctrl_attrs[] = {
drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c
535
static struct attribute *dsicm_attrs[] = {
drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c
490
static struct attribute *bldev_attrs[] = {
drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td043mtea1.c
268
static struct attribute *tpo_td043_attrs[] = {
drivers/video/fbdev/omap2/omapfb/dss/display-sysfs.c
234
struct attribute attr;
drivers/video/fbdev/omap2/omapfb/dss/display-sysfs.c
258
static struct attribute *display_sysfs_attrs[] = {
drivers/video/fbdev/omap2/omapfb/dss/display-sysfs.c
271
static ssize_t display_attr_show(struct kobject *kobj, struct attribute *attr,
drivers/video/fbdev/omap2/omapfb/dss/display-sysfs.c
286
static ssize_t display_attr_store(struct kobject *kobj, struct attribute *attr,
drivers/video/fbdev/omap2/omapfb/dss/manager-sysfs.c
417
struct attribute attr;
drivers/video/fbdev/omap2/omapfb/dss/manager-sysfs.c
449
static struct attribute *manager_sysfs_attrs[] = {
drivers/video/fbdev/omap2/omapfb/dss/manager-sysfs.c
463
static ssize_t manager_attr_show(struct kobject *kobj, struct attribute *attr,
drivers/video/fbdev/omap2/omapfb/dss/manager-sysfs.c
478
static ssize_t manager_attr_store(struct kobject *kobj, struct attribute *attr,
drivers/video/fbdev/omap2/omapfb/dss/overlay-sysfs.c
353
struct attribute attr;
drivers/video/fbdev/omap2/omapfb/dss/overlay-sysfs.c
381
static struct attribute *overlay_sysfs_attrs[] = {
drivers/video/fbdev/omap2/omapfb/dss/overlay-sysfs.c
396
static ssize_t overlay_attr_show(struct kobject *kobj, struct attribute *attr,
drivers/video/fbdev/omap2/omapfb/dss/overlay-sysfs.c
411
static ssize_t overlay_attr_store(struct kobject *kobj, struct attribute *attr,
drivers/video/fbdev/sh_mobile_lcdcfb.c
1346
static struct attribute *overlay_sysfs_attrs[] __maybe_unused = {
drivers/video/fbdev/sm501fb.c
1282
static struct attribute *sm501fb_attrs[] = {
drivers/video/fbdev/uvesafb.c
1657
static struct attribute *uvesafb_dev_attrs[] = {
drivers/video/fbdev/wm8505fb.c
179
static struct attribute *wm8505fb_attrs[] = {
drivers/virt/acrn/hsm.c
466
static umode_t acrn_attr_visible(struct kobject *kobj, struct attribute *a, int n)
drivers/virt/acrn/hsm.c
474
static struct attribute *acrn_attrs[] = {
drivers/virt/vboxguest/vboxguest_linux.c
275
static struct attribute *vbg_pci_attrs[] = {
drivers/virtio/virtio.c
64
static struct attribute *virtio_dev_attrs[] = {
drivers/w1/slaves/w1_ds2405.c
201
static struct attribute *w1_ds2405_attrs[] = {
drivers/w1/slaves/w1_ds2423.c
114
static struct attribute *w1_f1d_attrs[] = {
drivers/w1/slaves/w1_ds28e04.c
361
static struct attribute *w1_f1C_attrs[] = {
drivers/w1/slaves/w1_ds28e17.c
664
static struct attribute *w1_f19_attrs[] = {
drivers/w1/slaves/w1_therm.c
384
static struct attribute *w1_therm_attrs[] = {
drivers/w1/slaves/w1_therm.c
396
static struct attribute *w1_ds18s20_attrs[] = {
drivers/w1/slaves/w1_therm.c
407
static struct attribute *w1_ds28ea00_attrs[] = {
drivers/w1/w1.c
104
static struct attribute *w1_slave_attrs[] = {
drivers/w1/w1.c
540
static struct attribute *w1_master_default_attrs[] = {
drivers/watchdog/aspeed_wdt.c
358
static struct attribute *bswitch_attrs[] = {
drivers/watchdog/watchdog_dev.c
619
static umode_t wdt_is_visible(struct kobject *kobj, struct attribute *attr,
drivers/watchdog/watchdog_dev.c
635
static struct attribute *wdt_attrs[] = {
drivers/watchdog/ziirave_wdt.c
561
static struct attribute *ziirave_wdt_attrs[] = {
drivers/xen/efi.c
327
out_md->attribute = info->mem.attr;
drivers/xen/pcpu.c
139
static struct attribute *pcpu_dev_attrs[] = {
drivers/xen/pcpu.c
145
struct attribute *attr, int idx)
drivers/xen/sys-hypervisor.c
120
static struct attribute *version_attrs[] = {
drivers/xen/sys-hypervisor.c
234
static struct attribute *xen_compile_attrs[] = {
drivers/xen/sys-hypervisor.c
31
struct attribute attr;
drivers/xen/sys-hypervisor.c
385
static struct attribute *xen_properties_attrs[] = {
drivers/xen/sys-hypervisor.c
440
.attrs = (struct attribute *[FLAG_COUNT + 1]){}
drivers/xen/sys-hypervisor.c
557
static struct attribute *xen_pmu_attrs[] = {
drivers/xen/sys-hypervisor.c
631
struct attribute *attr,
drivers/xen/sys-hypervisor.c
642
struct attribute *attr,
drivers/xen/xen-balloon.c
207
static struct attribute *balloon_attrs[] = {
drivers/xen/xen-balloon.c
222
static struct attribute *balloon_info_attrs[] = {
drivers/xen/xenbus/xenbus_probe.c
258
static struct attribute *xenbus_attrs[] = {
drivers/xen/xenbus/xenbus_probe.c
492
static struct attribute *xenbus_dev_attrs[] = {
drivers/zorro/zorro-sysfs.c
72
static struct attribute *zorro_device_attrs[] = {
fs/9p/v9fs.c
615
static struct attribute *v9fs_attrs[] = {
fs/btrfs/sysfs.c
1023
static struct attribute *space_info_attrs[] = {
fs/btrfs/sysfs.c
1066
static const struct attribute *allocation_attrs[] = {
fs/btrfs/sysfs.c
110
static struct kobj_attribute *attr_to_btrfs_attr(struct attribute *attr)
fs/btrfs/sysfs.c
116
struct attribute *attr)
fs/btrfs/sysfs.c
1549
static const struct attribute *btrfs_attrs[] = {
fs/btrfs/sysfs.c
1625
struct attribute *attrs[2];
fs/btrfs/sysfs.c
1786
struct attribute *a = btrfs_supported_feature_attrs[i];
fs/btrfs/sysfs.c
2107
static struct attribute *devid_attrs[] = {
fs/btrfs/sysfs.c
2455
static struct attribute *qgroups_attrs[] = {
fs/btrfs/sysfs.c
2519
static struct attribute *qgroup_attrs[] = {
fs/btrfs/sysfs.c
260
struct attribute *attr, int unused)
fs/btrfs/sysfs.c
316
static struct attribute *btrfs_supported_feature_attrs[] = {
fs/btrfs/sysfs.c
450
static struct attribute *btrfs_supported_static_feature_attrs[] = {
fs/btrfs/sysfs.c
622
static const struct attribute *discard_attrs[] = {
fs/btrfs/sysfs.c
641
static const struct attribute *btrfs_debug_mount_attrs[] = {
fs/btrfs/sysfs.c
650
static struct attribute *btrfs_debug_feature_attrs[] = {
fs/btrfs/sysfs.c
723
static struct attribute *raid_attrs[] = {
fs/dlm/lockspace.c
113
struct attribute attr;
fs/dlm/lockspace.c
150
static struct attribute *dlm_attrs[] = {
fs/dlm/lockspace.c
161
static ssize_t dlm_attr_show(struct kobject *kobj, struct attribute *attr,
fs/dlm/lockspace.c
169
static ssize_t dlm_attr_store(struct kobject *kobj, struct attribute *attr,
fs/ecryptfs/main.c
769
static struct attribute *attributes[] = {
fs/erofs/sysfs.c
101
static struct attribute *erofs_feat_attrs[] = {
fs/erofs/sysfs.c
128
struct attribute *attr, char *buf)
fs/erofs/sysfs.c
152
static ssize_t erofs_attr_store(struct kobject *kobj, struct attribute *attr,
fs/erofs/sysfs.c
26
struct attribute attr;
fs/erofs/sysfs.c
70
static struct attribute *erofs_sb_attrs[] = {
fs/erofs/sysfs.c
80
static struct attribute *erofs_attrs[] = {
fs/ext4/sysfs.c
295
static struct attribute *ext4_attrs[] = {
fs/ext4/sysfs.c
372
static struct attribute *ext4_feat_attrs[] = {
fs/ext4/sysfs.c
455
struct attribute *attr, char *buf)
fs/ext4/sysfs.c
548
struct attribute *attr,
fs/ext4/sysfs.c
56
struct attribute attr;
fs/f2fs/sysfs.c
1012
struct attribute *attr, char *buf)
fs/f2fs/sysfs.c
1021
static ssize_t f2fs_attr_store(struct kobject *kobj, struct attribute *attr,
fs/f2fs/sysfs.c
1039
struct attribute *attr, char *buf)
fs/f2fs/sysfs.c
1048
struct attribute *attr,
fs/f2fs/sysfs.c
1392
static struct attribute *f2fs_attrs[] = {
fs/f2fs/sysfs.c
1521
static struct attribute *f2fs_feat_attrs[] = {
fs/f2fs/sysfs.c
1566
static struct attribute *f2fs_stat_attrs[] = {
fs/f2fs/sysfs.c
1593
static struct attribute *f2fs_sb_feat_attrs[] = {
fs/f2fs/sysfs.c
1616
static struct attribute *f2fs_tune_attrs[] = {
fs/f2fs/sysfs.c
1670
struct attribute *attr, char *buf)
fs/f2fs/sysfs.c
1679
static ssize_t f2fs_stat_attr_store(struct kobject *kobj, struct attribute *attr,
fs/f2fs/sysfs.c
1708
struct attribute *attr, char *buf)
fs/f2fs/sysfs.c
56
struct attribute attr;
fs/f2fs/sysfs.c
67
struct attribute attr;
fs/fuse/cuse.c
599
static struct attribute *cuse_class_dev_attrs[] = {
fs/fuse/virtio_fs.c
185
static struct attribute *virtio_fs_attrs[] = {
fs/fuse/virtio_fs.c
264
static struct attribute *virtio_fs_vq_attrs[] = {
fs/gfs2/sys.c
31
struct attribute attr;
fs/gfs2/sys.c
355
static struct attribute *gfs2_attrs[] = {
fs/gfs2/sys.c
36
static ssize_t gfs2_attr_show(struct kobject *kobj, struct attribute *attr,
fs/gfs2/sys.c
44
static ssize_t gfs2_attr_store(struct kobject *kobj, struct attribute *attr,
fs/gfs2/sys.c
596
static struct attribute *lock_module_attrs[] = {
fs/gfs2/sys.c
689
static struct attribute *tune_attrs[] = {
fs/nfs/sysfs.c
138
static struct attribute *nfs_netns_client_attrs[] = {
fs/nilfs2/sysfs.c
1099
static struct attribute *nilfs_feature_attrs[] = {
fs/nilfs2/sysfs.c
126
static struct attribute *nilfs_snapshot_attrs[] = {
fs/nilfs2/sysfs.c
135
struct attribute *attr, char *buf)
fs/nilfs2/sysfs.c
146
struct attribute *attr,
fs/nilfs2/sysfs.c
226
static struct attribute *nilfs_mounted_snapshots_attrs[] = {
fs/nilfs2/sysfs.c
24
struct attribute *attr, char *buf) \
fs/nilfs2/sysfs.c
336
static struct attribute *nilfs_checkpoints_attrs[] = {
fs/nilfs2/sysfs.c
35
struct attribute *attr, \
fs/nilfs2/sysfs.c
426
static struct attribute *nilfs_segments_attrs[] = {
fs/nilfs2/sysfs.c
679
static struct attribute *nilfs_segctor_attrs[] = {
fs/nilfs2/sysfs.c
816
static struct attribute *nilfs_superblock_attrs[] = {
fs/nilfs2/sysfs.c
946
static struct attribute *nilfs_dev_attrs[] = {
fs/nilfs2/sysfs.c
959
struct attribute *attr, char *buf)
fs/nilfs2/sysfs.c
970
struct attribute *attr,
fs/nilfs2/sysfs.h
55
struct attribute attr; \
fs/nilfs2/sysfs.h
66
struct attribute attr; \
fs/nilfs2/sysfs.h
82
struct attribute attr; \
fs/ocfs2/cluster/masklog.c
123
static struct attribute *mlog_default_attrs[MLOG_MAX_BITS] = {NULL, };
fs/ocfs2/cluster/masklog.c
126
static ssize_t mlog_show(struct kobject *obj, struct attribute *attr,
fs/ocfs2/cluster/masklog.c
134
static ssize_t mlog_store(struct kobject *obj, struct attribute *attr,
fs/ocfs2/cluster/masklog.c
86
struct attribute attr;
fs/ocfs2/cluster/sys.c
29
static struct attribute *o2cb_attrs[] = {
fs/ocfs2/filecheck.c
108
ocfs2_filecheck_show(struct kobject *kobj, struct attribute *attr, char *buf)
fs/ocfs2/filecheck.c
122
ocfs2_filecheck_store(struct kobject *kobj, struct attribute *attr,
fs/ocfs2/filecheck.c
91
static struct attribute *ocfs2_filecheck_attrs[] = {
fs/ocfs2/stackglue.c
605
static struct attribute *ocfs2_attrs[] = {
fs/orangefs/orangefs-sysfs.c
1023
static struct attribute *ccache_orangefs_default_attrs[] = {
fs/orangefs/orangefs-sysfs.c
1070
static struct attribute *ncache_orangefs_default_attrs[] = {
fs/orangefs/orangefs-sysfs.c
1111
static struct attribute *pc_orangefs_default_attrs[] = {
fs/orangefs/orangefs-sysfs.c
1145
static struct attribute *stats_orangefs_default_attrs[] = {
fs/orangefs/orangefs-sysfs.c
166
struct attribute attr;
fs/orangefs/orangefs-sysfs.c
177
struct attribute *attr,
fs/orangefs/orangefs-sysfs.c
180
struct orangefs_attribute *attribute;
fs/orangefs/orangefs-sysfs.c
182
attribute = container_of(attr, struct orangefs_attribute, attr);
fs/orangefs/orangefs-sysfs.c
183
if (!attribute->show)
fs/orangefs/orangefs-sysfs.c
185
return attribute->show(kobj, attribute, buf);
fs/orangefs/orangefs-sysfs.c
189
struct attribute *attr,
fs/orangefs/orangefs-sysfs.c
193
struct orangefs_attribute *attribute;
fs/orangefs/orangefs-sysfs.c
199
attribute = container_of(attr, struct orangefs_attribute, attr);
fs/orangefs/orangefs-sysfs.c
200
if (!attribute->store)
fs/orangefs/orangefs-sysfs.c
202
return attribute->store(kobj, attribute, buf, len);
fs/orangefs/orangefs-sysfs.c
874
static struct attribute *orangefs_default_attrs[] = {
fs/orangefs/orangefs-sysfs.c
929
static struct attribute *acache_orangefs_default_attrs[] = {
fs/orangefs/orangefs-sysfs.c
976
static struct attribute *capcache_orangefs_default_attrs[] = {
fs/smb/server/server.c
521
static struct attribute *ksmbd_control_class_attrs[] = {
fs/smb/server/smb2pdu.c
764
static int smb2_get_dos_mode(struct kstat *stat, int attribute)
fs/smb/server/smb2pdu.c
770
(attribute & (FILE_ATTRIBUTE_HIDDEN | FILE_ATTRIBUTE_SYSTEM));
fs/smb/server/smb2pdu.c
772
attr = (attribute & 0x00005137) | FILE_ATTRIBUTE_ARCHIVE;
fs/sysfs/file.c
274
const struct attribute *attr, umode_t mode, kuid_t uid,
fs/sysfs/file.c
327
const struct attribute *attr = &battr->attr;
fs/sysfs/file.c
364
int sysfs_create_file_ns(struct kobject *kobj, const struct attribute *attr,
fs/sysfs/file.c
378
int sysfs_create_files(struct kobject *kobj, const struct attribute * const *ptr)
fs/sysfs/file.c
399
const struct attribute *attr, const char *group)
fs/sysfs/file.c
432
int sysfs_chmod_file(struct kobject *kobj, const struct attribute *attr,
fs/sysfs/file.c
464
const struct attribute *attr)
fs/sysfs/file.c
507
void sysfs_remove_file_ns(struct kobject *kobj, const struct attribute *attr,
fs/sysfs/file.c
523
bool sysfs_remove_file_self(struct kobject *kobj, const struct attribute *attr)
fs/sysfs/file.c
540
void sysfs_remove_files(struct kobject *kobj, const struct attribute * const *ptr)
fs/sysfs/file.c
556
const struct attribute *attr, const char *group)
fs/sysfs/group.c
23
struct attribute *const *attr;
fs/sysfs/group.c
372
struct attribute *const *attr;
fs/sysfs/group.c
403
struct attribute *const *attr;
fs/sysfs/group.c
517
struct attribute *const *attr;
fs/sysfs/group.c
52
struct attribute *const *attr;
fs/sysfs/sysfs.h
31
const struct attribute *attr, umode_t amode, kuid_t uid,
fs/ubifs/sysfs.c
21
struct attribute attr;
fs/ubifs/sysfs.c
39
static struct attribute *ubifs_attrs[] = {
fs/ubifs/sysfs.c
48
struct attribute *attr, char *buf)
fs/xfs/xfs_error.c
104
static struct attribute *xfs_errortag_attrs[] = {
fs/xfs/xfs_error.c
32
struct attribute attr;
fs/xfs/xfs_error.c
37
to_attr(struct attribute *attr)
fs/xfs/xfs_error.c
53
struct attribute *attr,
fs/xfs/xfs_error.c
77
struct attribute *attr,
fs/xfs/xfs_sysfs.c
19
struct attribute attr;
fs/xfs/xfs_sysfs.c
26
to_attr(struct attribute *attr)
fs/xfs/xfs_sysfs.c
316
static struct attribute *xfs_dbg_attrs[] = {
fs/xfs/xfs_sysfs.c
380
static struct attribute *xfs_stats_attrs[] = {
fs/xfs/xfs_sysfs.c
43
struct attribute *attr,
fs/xfs/xfs_sysfs.c
455
static struct attribute *xfs_log_attrs[] = {
fs/xfs/xfs_sysfs.c
54
struct attribute *attr,
fs/xfs/xfs_sysfs.c
611
static struct attribute *xfs_error_attrs[] = {
fs/xfs/xfs_sysfs.c
68
static struct attribute *xfs_mp_attrs[] = {
fs/xfs/xfs_sysfs.c
752
static struct attribute *xfs_zoned_attrs[] = {
fs/zonefs/sysfs.c
14
struct attribute attr;
fs/zonefs/sysfs.c
24
struct attribute *attr, char *buf)
fs/zonefs/sysfs.c
61
static struct attribute *zonefs_sysfs_attrs[] = {
include/linux/cacheinfo.h
11
struct attribute;
include/linux/cdx/bitfield.h
18
#define CDX_VAL(field, attribute) field ## _ ## attribute
include/linux/cpufreq.h
318
struct attribute attr;
include/linux/cpufreq.h
697
struct attribute attr;
include/linux/device.h
106
struct attribute attr;
include/linux/device/bus.h
123
struct attribute attr;
include/linux/device/class.h
168
struct attribute attr;
include/linux/device/driver.h
145
struct attribute attr;
include/linux/efi.h
1352
umode_t efi_attr_is_visible(struct kobject *kobj, struct attribute *attr, int n);
include/linux/efi.h
145
u64 attribute;
include/linux/efi.h
582
u64 attribute;
include/linux/firewire.h
170
struct attribute *attrs[13];
include/linux/iio/consumer.h
266
int val2, enum iio_chan_info_enum attribute);
include/linux/iio/consumer.h
280
int *val2, enum iio_chan_info_enum attribute);
include/linux/iio/consumer.h
347
enum iio_chan_info_enum attribute);
include/linux/kobject.h
140
struct attribute attr;
include/linux/mbus.h
91
unsigned int attribute,
include/linux/mbus.h
94
int mvebu_mbus_add_window_by_id(unsigned int target, unsigned int attribute,
include/linux/module.h
55
struct attribute attr;
include/linux/power/charger-manager.h
119
struct attribute *attrs[4];
include/linux/powercap.h
146
struct attribute **zone_dev_attrs;
include/linux/sysfs.h
109
struct attribute *, int);
include/linux/sysfs.h
111
const struct attribute *, int);
include/linux/sysfs.h
119
struct attribute **attrs;
include/linux/sysfs.h
120
const struct attribute *const *attrs_const;
include/linux/sysfs.h
170
struct kobject *kobj, struct attribute *attr, int n) \
include/linux/sysfs.h
202
struct kobject *kobj, struct attribute *a, int n) \
include/linux/sysfs.h
293
struct attribute **: \
include/linux/sysfs.h
295
const struct attribute *const *: \
include/linux/sysfs.h
312
struct attribute attr;
include/linux/sysfs.h
393
ssize_t (*show)(struct kobject *, struct attribute *, char *);
include/linux/sysfs.h
394
ssize_t (*store)(struct kobject *, struct attribute *, const char *, size_t);
include/linux/sysfs.h
412
const struct attribute *attr,
include/linux/sysfs.h
415
const struct attribute * const *attr);
include/linux/sysfs.h
417
const struct attribute *attr, umode_t mode);
include/linux/sysfs.h
419
const struct attribute *attr);
include/linux/sysfs.h
421
void sysfs_remove_file_ns(struct kobject *kobj, const struct attribute *attr,
include/linux/sysfs.h
423
bool sysfs_remove_file_self(struct kobject *kobj, const struct attribute *attr);
include/linux/sysfs.h
424
void sysfs_remove_files(struct kobject *kobj, const struct attribute * const *attr);
include/linux/sysfs.h
458
const struct attribute *attr, const char *group);
include/linux/sysfs.h
460
const struct attribute *attr, const char *group);
include/linux/sysfs.h
539
const struct attribute *attr,
include/linux/sysfs.h
546
const struct attribute * const *attr)
include/linux/sysfs.h
552
const struct attribute *attr, umode_t mode)
include/linux/sysfs.h
559
const struct attribute *attr)
include/linux/sysfs.h
569
const struct attribute *attr,
include/linux/sysfs.h
575
const struct attribute *attr)
include/linux/sysfs.h
581
const struct attribute * const *attr)
include/linux/sysfs.h
660
const struct attribute *attr, const char *group)
include/linux/sysfs.h
666
const struct attribute *attr, const char *group)
include/linux/sysfs.h
772
const struct attribute *attr)
include/linux/sysfs.h
778
const struct attribute *attr)
include/net/netdev_rx_queue.h
39
struct attribute attr;
include/rdma/ib_sa.h
534
void ib_sa_pack_path(struct sa_path_rec *rec, void *attribute);
include/rdma/ib_sa.h
540
void ib_sa_pack_service(struct sa_service_rec *rec, void *attribute);
include/rdma/ib_sa.h
546
void ib_sa_unpack_service(void *attribute, struct sa_service_rec *rec);
include/rdma/ib_sa.h
552
void ib_sa_unpack_path(void *attribute, struct sa_path_rec *rec);
include/rdma/ib_sysfs.h
13
struct attribute attr;
include/soc/amlogic/meson_ddr_pmu.h
50
struct attribute **fmt_attr;
include/sound/soc-dapm.h
673
extern struct attribute *snd_soc_dapm_dev_attrs[];
kernel/cgroup/cgroup.c
7517
static struct attribute *cgroup_sysfs_attrs[] = {
kernel/cpu.c
2845
static struct attribute *cpuhp_cpu_attrs[] = {
kernel/cpu.c
2878
static struct attribute *cpuhp_cpu_root_attrs[] = {
kernel/cpu.c
2998
static struct attribute *cpuhp_smt_attrs[] = {
kernel/events/core.c
11467
static struct attribute *kprobe_attrs[] = {
kernel/events/core.c
11525
static struct attribute *uprobe_attrs[] = {
kernel/events/core.c
12627
static struct attribute *pmu_dev_attrs[] = {
kernel/events/core.c
12635
static umode_t pmu_dev_is_visible(struct kobject *kobj, struct attribute *a, int n)
kernel/irq/irqdesc.c
341
static struct attribute *irq_attrs[] = {
kernel/irq/msi.c
488
static struct attribute *msi_dev_attrs[] = {
kernel/kexec_core.c
1309
static struct attribute *kexec_attrs[] = {
kernel/ksysfs.c
191
static struct attribute * kernel_attrs[] = {
kernel/livepatch/core.c
486
static struct attribute *klp_patch_attrs[] = {
kernel/livepatch/core.c
506
static struct attribute *klp_object_attrs[] = {
kernel/locking/test-ww_mutex.c
724
static struct attribute *attrs[] = {
kernel/padata.c
831
struct attribute attr;
kernel/padata.c
832
ssize_t (*show)(struct padata_instance *, const struct attribute *, char *);
kernel/padata.c
833
ssize_t (*store)(struct padata_instance *, const struct attribute *,
kernel/padata.c
838
const struct attribute *attr, char *buf)
kernel/padata.c
856
const struct attribute *attr,
kernel/padata.c
897
static const struct attribute *const padata_default_attrs[] = {
kernel/padata.c
905
struct attribute *attr, char *buf)
kernel/padata.c
919
static ssize_t padata_sysfs_store(struct kobject *kobj, struct attribute *attr,
kernel/params.c
565
const struct param_attribute *attribute = to_param_attr(mattr);
kernel/params.c
567
if (!attribute->param->ops->get)
kernel/params.c
571
count = attribute->param->ops->get(buf, attribute->param);
kernel/params.c
582
const struct param_attribute *attribute = to_param_attr(mattr);
kernel/params.c
584
if (!attribute->param->ops->set)
kernel/params.c
588
if (param_check_unsafe(attribute->param))
kernel/params.c
589
err = attribute->param->ops->set(buf, attribute->param);
kernel/params.c
628
struct attribute **new_attrs;
kernel/params.c
881
struct attribute *attr,
kernel/params.c
884
const struct module_attribute *attribute;
kernel/params.c
888
attribute = to_module_attr(attr);
kernel/params.c
891
if (!attribute->show)
kernel/params.c
894
ret = attribute->show(attribute, mk, buf);
kernel/params.c
900
struct attribute *attr,
kernel/params.c
903
const struct module_attribute *attribute;
kernel/params.c
907
attribute = to_module_attr(attr);
kernel/params.c
910
if (!attribute->store)
kernel/params.c
913
ret = attribute->store(attribute, mk, buf, len);
kernel/power/hibernate.c
1407
static struct attribute *g[] = {
kernel/power/main.c
1075
static struct attribute * g[] = {
kernel/power/main.c
541
static struct attribute *suspend_attrs[] = {
kernel/power/main.c
561
static umode_t suspend_attr_is_visible(struct kobject *kobj, struct attribute *attr, int idx)
kernel/power/swap.c
1678
static struct attribute *g[] = {
kernel/reboot.c
1355
static struct attribute *reboot_attrs[] = {
kernel/sched/cpufreq_schedutil.c
614
static struct attribute *sugov_attrs[] = {
kernel/sched/ext.c
3728
static struct attribute *scx_global_attrs[] = {
kernel/sched/ext.c
3818
static struct attribute *scx_sched_attrs[] = {
kernel/time/clocksource.c
1462
static struct attribute *clocksource_attrs[] = {
kernel/time/timekeeping.c
3067
static struct attribute *aux_clock_enable_attrs[] = {
kernel/trace/blktrace.c
1949
static struct attribute *blk_trace_attrs[] = {
kernel/trace/preemptirq_delay_test.c
183
static struct attribute *attrs[] = {
kernel/workqueue.c
7177
static struct attribute *wq_sysfs_attrs[] = {
kernel/workqueue.c
7444
static struct attribute *wq_sysfs_cpumask_attrs[] = {
lib/kobject.c
820
static ssize_t kobj_attr_show(struct kobject *kobj, struct attribute *attr,
lib/kobject.c
832
static ssize_t kobj_attr_store(struct kobject *kobj, struct attribute *attr,
lib/test_firmware.c
1480
static struct attribute *test_dev_attrs[] = {
lib/test_kmod.c
1045
static struct attribute *test_dev_attrs[] = {
mm/backing-dev.c
459
static struct attribute *bdi_dev_attrs[] = {
mm/cma_sysfs.c
92
static struct attribute *cma_attrs[] = {
mm/damon/sysfs-common.c
94
static struct attribute *damon_sysfs_ul_range_attrs[] = {
mm/damon/sysfs-schemes.c
1014
static struct attribute *damon_sysfs_watermarks_attrs[] = {
mm/damon/sysfs-schemes.c
110
static struct attribute *damon_sysfs_scheme_region_attrs[] = {
mm/damon/sysfs-schemes.c
1235
static struct attribute *damos_sysfs_quota_goal_attrs[] = {
mm/damon/sysfs-schemes.c
1357
static struct attribute *damos_sysfs_quota_goals_attrs[] = {
mm/damon/sysfs-schemes.c
1465
static struct attribute *damon_sysfs_weights_attrs[] = {
mm/damon/sysfs-schemes.c
1630
static struct attribute *damon_sysfs_quotas_attrs[] = {
mm/damon/sysfs-schemes.c
1732
static struct attribute *damon_sysfs_access_pattern_attrs[] = {
mm/damon/sysfs-schemes.c
1809
static struct attribute *damos_sysfs_dest_attrs[] = {
mm/damon/sysfs-schemes.c
181
static struct attribute *damon_sysfs_scheme_regions_attrs[] = {
mm/damon/sysfs-schemes.c
1929
static struct attribute *damos_sysfs_dests_attrs[] = {
mm/damon/sysfs-schemes.c
2353
static struct attribute *damon_sysfs_scheme_attrs[] = {
mm/damon/sysfs-schemes.c
2476
static struct attribute *damon_sysfs_schemes_attrs[] = {
mm/damon/sysfs-schemes.c
328
static struct attribute *damon_sysfs_stats_attrs[] = {
mm/damon/sysfs-schemes.c
689
static struct attribute *damon_sysfs_scheme_filter_attrs[] = {
mm/damon/sysfs-schemes.c
823
static struct attribute *damon_sysfs_scheme_filters_attrs[] = {
mm/damon/sysfs.c
1070
static struct attribute *damon_sysfs_context_attrs[] = {
mm/damon/sysfs.c
1198
static struct attribute *damon_sysfs_contexts_attrs[] = {
mm/damon/sysfs.c
1880
static struct attribute *damon_sysfs_kdamond_attrs[] = {
mm/damon/sysfs.c
195
static struct attribute *damon_sysfs_regions_attrs[] = {
mm/damon/sysfs.c
2024
static struct attribute *damon_sysfs_kdamonds_attrs[] = {
mm/damon/sysfs.c
2075
static struct attribute *damon_sysfs_ui_dir_attrs[] = {
mm/damon/sysfs.c
301
static struct attribute *damon_sysfs_target_attrs[] = {
mm/damon/sysfs.c
427
static struct attribute *damon_sysfs_targets_attrs[] = {
mm/damon/sysfs.c
581
static struct attribute *damon_sysfs_intervals_goal_attrs[] = {
mm/damon/sysfs.c
736
static struct attribute *damon_sysfs_intervals_attrs[] = {
mm/damon/sysfs.c
77
static struct attribute *damon_sysfs_region_attrs[] = {
mm/damon/sysfs.c
827
static struct attribute *damon_sysfs_attrs_attrs[] = {
mm/huge_memory.c
479
static struct attribute *hugepage_attr[] = {
mm/huge_memory.c
565
static struct attribute *anon_ctrl_attrs[] = {
mm/huge_memory.c
574
static struct attribute *file_ctrl_attrs[] = {
mm/huge_memory.c
585
static struct attribute *any_ctrl_attrs[] = {
mm/huge_memory.c
644
static struct attribute *anon_stats_attrs[] = {
mm/huge_memory.c
667
static struct attribute *file_stats_attrs[] = {
mm/huge_memory.c
681
static struct attribute *any_stats_attrs[] = {
mm/hugetlb_sysfs.c
280
static struct attribute *hstate_attrs[] = {
mm/hugetlb_sysfs.c
296
static struct attribute *hstate_demote_attrs[] = {
mm/hugetlb_sysfs.c
358
static struct attribute *per_node_hstate_attrs[] = {
mm/khugepaged.c
317
static struct attribute *khugepaged_attr[] = {
mm/ksm.c
3939
static struct attribute *ksm_attrs[] = {
mm/memory-failure.c
117
static struct attribute *memory_failure_attr[] = {
mm/memory-tiers.c
183
static struct attribute *memtier_dev_attrs[] = {
mm/memory-tiers.c
977
static struct attribute *numa_attrs[] = {
mm/shmem.c
5392
static struct attribute *tmpfs_attributes[] = {
mm/slub.c
8881
struct attribute attr;
mm/slub.c
9284
static struct attribute *slab_attrs[] = {
mm/slub.c
9366
struct attribute *attr,
mm/slub.c
9369
struct slab_attribute *attribute;
mm/slub.c
9372
attribute = to_slab_attr(attr);
mm/slub.c
9375
if (!attribute->show)
mm/slub.c
9378
return attribute->show(s, buf);
mm/slub.c
9382
struct attribute *attr,
mm/slub.c
9385
struct slab_attribute *attribute;
mm/slub.c
9388
attribute = to_slab_attr(attr);
mm/slub.c
9391
if (!attribute->store)
mm/slub.c
9394
return attribute->store(s, buf, len);
mm/swap_state.c
949
static struct attribute *swap_attrs[] = {
mm/vmscan.c
5289
static struct attribute *lru_gen_attrs[] = {
net/bluetooth/hci_sysfs.c
105
static struct attribute *bt_host_attrs[] = {
net/bridge/br_sysfs_br.c
935
static struct attribute *bridge_attrs[] = {
net/bridge/br_sysfs_if.c
25
struct attribute attr;
net/bridge/br_sysfs_if.c
302
struct attribute *attr, char *buf)
net/bridge/br_sysfs_if.c
314
struct attribute *attr,
net/core/net-sysfs.c
1151
static struct attribute *rx_queue_default_attrs[] __ro_after_init = {
net/core/net-sysfs.c
1375
struct attribute attr;
net/core/net-sysfs.c
1376
ssize_t (*show)(struct kobject *kobj, struct attribute *attr,
net/core/net-sysfs.c
1378
ssize_t (*store)(struct kobject *kobj, struct attribute *attr,
net/core/net-sysfs.c
1388
struct attribute *attr, char *buf)
net/core/net-sysfs.c
1390
const struct netdev_queue_attribute *attribute
net/core/net-sysfs.c
1394
if (!attribute->show)
net/core/net-sysfs.c
1397
return attribute->show(kobj, attr, queue, buf);
net/core/net-sysfs.c
1401
struct attribute *attr,
net/core/net-sysfs.c
1404
const struct netdev_queue_attribute *attribute
net/core/net-sysfs.c
1408
if (!attribute->store)
net/core/net-sysfs.c
1411
return attribute->store(kobj, attr, queue, buf, count);
net/core/net-sysfs.c
1419
static ssize_t tx_timeout_show(struct kobject *kobj, struct attribute *attr,
net/core/net-sysfs.c
1438
static ssize_t traffic_class_show(struct kobject *kobj, struct attribute *attr,
net/core/net-sysfs.c
1476
static ssize_t tx_maxrate_show(struct kobject *kobj, struct attribute *attr,
net/core/net-sysfs.c
1482
static ssize_t tx_maxrate_store(struct kobject *kobj, struct attribute *attr,
net/core/net-sysfs.c
1563
static ssize_t bql_show_hold_time(struct kobject *kobj, struct attribute *attr,
net/core/net-sysfs.c
1571
static ssize_t bql_set_hold_time(struct kobject *kobj, struct attribute *attr,
net/core/net-sysfs.c
1592
static ssize_t bql_show_stall_thrs(struct kobject *kobj, struct attribute *attr,
net/core/net-sysfs.c
1600
static ssize_t bql_set_stall_thrs(struct kobject *kobj, struct attribute *attr,
net/core/net-sysfs.c
1628
static ssize_t bql_show_stall_max(struct kobject *kobj, struct attribute *attr,
net/core/net-sysfs.c
1634
static ssize_t bql_set_stall_max(struct kobject *kobj, struct attribute *attr,
net/core/net-sysfs.c
1645
static ssize_t bql_show_stall_cnt(struct kobject *kobj, struct attribute *attr,
net/core/net-sysfs.c
1656
static ssize_t bql_show_inflight(struct kobject *kobj, struct attribute *attr,
net/core/net-sysfs.c
1669
struct attribute *attr, \
net/core/net-sysfs.c
1676
struct attribute *attr, \
net/core/net-sysfs.c
1691
static struct attribute *dql_attrs[] __ro_after_init = {
net/core/net-sysfs.c
1763
static ssize_t xps_cpus_show(struct kobject *kobj, struct attribute *attr,
net/core/net-sysfs.c
1800
static ssize_t xps_cpus_store(struct kobject *kobj, struct attribute *attr,
net/core/net-sysfs.c
1843
static ssize_t xps_rxqs_show(struct kobject *kobj, struct attribute *attr,
net/core/net-sysfs.c
1869
static ssize_t xps_rxqs_store(struct kobject *kobj, struct attribute *attr,
net/core/net-sysfs.c
1914
static struct attribute *netdev_queue_default_attrs[] __ro_after_init = {
net/core/net-sysfs.c
700
static struct attribute *netdev_phys_attrs[] __ro_after_init = {
net/core/net-sysfs.c
708
struct attribute *attr, int index)
net/core/net-sysfs.c
75
static int sysfs_rtnl_lock(struct kobject *kobj, struct attribute *attr,
net/core/net-sysfs.c
773
static struct attribute *net_class_attrs[] __ro_after_init = {
net/core/net-sysfs.c
864
static struct attribute *netstat_attrs[] __ro_after_init = {
net/core/net-sysfs.c
897
static struct attribute *wireless_attrs[] = {
net/core/net-sysfs.c
929
static ssize_t rx_queue_attr_show(struct kobject *kobj, struct attribute *attr,
net/core/net-sysfs.c
932
const struct rx_queue_attribute *attribute = to_rx_queue_attr(attr);
net/core/net-sysfs.c
935
if (!attribute->show)
net/core/net-sysfs.c
938
return attribute->show(queue, buf);
net/core/net-sysfs.c
941
static ssize_t rx_queue_attr_store(struct kobject *kobj, struct attribute *attr,
net/core/net-sysfs.c
944
const struct rx_queue_attribute *attribute = to_rx_queue_attr(attr);
net/core/net-sysfs.c
947
if (!attribute->store)
net/core/net-sysfs.c
950
return attribute->store(queue, buf, count);
net/dsa/conduit.c
413
static struct attribute *dsa_user_attrs[] = {
net/ieee802154/sysfs.c
54
static struct attribute *pmib_attrs[] = {
net/rfkill/core.c
833
static struct attribute *rfkill_dev_attrs[] = {
net/sunrpc/sysfs.c
581
static struct attribute *rpc_sysfs_rpc_clnt_attrs[] = {
net/sunrpc/sysfs.c
607
static struct attribute *rpc_sysfs_xprt_attrs[] = {
net/sunrpc/sysfs.c
625
static struct attribute *rpc_sysfs_xprt_switch_attrs[] = {
net/wireless/sysfs.c
68
static struct attribute *ieee80211_attrs[] = {
samples/kobject/kobject-example.c
92
static struct attribute *attrs[] = {
samples/kobject/kset-example.c
176
static const struct attribute *const foo_default_attrs[] = {
samples/kobject/kset-example.c
184
const struct attribute *attr,
samples/kobject/kset-example.c
39
struct attribute attr;
samples/kobject/kset-example.c
54
struct attribute *attr,
samples/kobject/kset-example.c
57
const struct foo_attribute *attribute;
samples/kobject/kset-example.c
60
attribute = to_foo_attr(attr);
samples/kobject/kset-example.c
63
if (!attribute->show)
samples/kobject/kset-example.c
66
return attribute->show(foo, attribute, buf);
samples/kobject/kset-example.c
74
struct attribute *attr,
samples/kobject/kset-example.c
77
const struct foo_attribute *attribute;
samples/kobject/kset-example.c
80
attribute = to_foo_attr(attr);
samples/kobject/kset-example.c
83
if (!attribute->store)
samples/kobject/kset-example.c
86
return attribute->store(foo, attribute, buf, len);
samples/vfio-mdev/mbochs.c
1316
static struct attribute *mdev_dev_attrs[] = {
samples/vfio-mdev/mdpy.c
618
static struct attribute *mdev_dev_attrs[] = {
samples/vfio-mdev/mtty.c
1891
static struct attribute *mdev_dev_attrs[] = {
scripts/gendwarfksyms/dwarf.c
218
#define DEFINE_PROCESS_UDATA_ATTRIBUTE(attribute) \
scripts/gendwarfksyms/dwarf.c
219
static void process_##attribute##_attr(struct die *cache, \
scripts/gendwarfksyms/dwarf.c
223
if (get_udata_attr(die, DW_AT_##attribute, &value)) \
scripts/gendwarfksyms/dwarf.c
224
process_fmt(cache, " " #attribute "(%" PRIu64 ")", \
security/selinux/ss/policydb.c
1503
typdatum->attribute = 1;
security/selinux/ss/policydb.c
1775
if (upper->attribute) {
security/selinux/ss/policydb.c
3231
if (typdatum->attribute)
security/selinux/ss/policydb.h
115
unsigned char attribute; /* attribute ?*/
security/selinux/ss/services.c
1532
if (!typdatum || typdatum->attribute)
sound/ac97/bus.c
267
static struct attribute *ac97_controller_device_attrs[] = {
sound/ac97/bus.c
458
static struct attribute *ac97_dev_attrs[] = {
sound/aoa/soundbus/soundbus.h
199
extern struct attribute *soundbus_dev_attrs[];
sound/aoa/soundbus/sysfs.c
43
struct attribute *soundbus_dev_attrs[] = {
sound/core/control_led.c
435
static struct attribute *snd_ctl_led_dev_attrs[] = {
sound/core/control_led.c
628
static struct attribute *snd_ctl_led_card_attrs[] = {
sound/core/init.c
819
static struct attribute *card_dev_attrs[] = {
sound/core/pcm.c
1030
static struct attribute *pcm_dev_attrs[] = {
sound/firewire/oxfw/oxfw-spkr.c
108
buf[5] = attribute; /* control attribute */
sound/firewire/oxfw/oxfw-spkr.c
86
enum control_attribute attribute,
sound/hda/common/sysfs.c
708
static struct attribute *hda_dev_attrs[] = {
sound/hda/core/sysfs.c
109
static ssize_t widget_attr_show(struct kobject *kobj, struct attribute *attr,
sound/hda/core/sysfs.c
125
static ssize_t widget_attr_store(struct kobject *kobj, struct attribute *attr,
sound/hda/core/sysfs.c
280
static struct attribute *widget_node_attrs[] = {
sound/hda/core/sysfs.c
293
static struct attribute *widget_afg_attrs[] = {
sound/hda/core/sysfs.c
56
static struct attribute *hdac_dev_attrs[] = {
sound/hda/core/sysfs.c
88
struct attribute attr;
sound/pci/asihpi/hpi6205.c
247
} else if (phm->u.c.attribute == HPI_METER_PEAK) {
sound/pci/asihpi/hpi_internal.h
1132
u16 attribute;
sound/pci/asihpi/hpi_internal.h
820
u16 attribute; /* control attribute or property */
sound/pci/asihpi/hpi_internal.h
828
u16 attribute; /* control attribute or property */
sound/pci/asihpi/hpicmn.c
325
if (phm->u.c.attribute == HPI_METER_PEAK) {
sound/pci/asihpi/hpicmn.c
328
} else if (phm->u.c.attribute == HPI_METER_RMS) {
sound/pci/asihpi/hpicmn.c
345
if (phm->u.c.attribute == HPI_VOLUME_GAIN) {
sound/pci/asihpi/hpicmn.c
348
} else if (phm->u.c.attribute == HPI_VOLUME_MUTE) {
sound/pci/asihpi/hpicmn.c
365
if (phm->u.c.attribute == HPI_MULTIPLEXER_SOURCE) {
sound/pci/asihpi/hpicmn.c
373
if (phm->u.c.attribute == HPI_CHANNEL_MODE_MODE)
sound/pci/asihpi/hpicmn.c
379
if (phm->u.c.attribute == HPI_LEVEL_GAIN) {
sound/pci/asihpi/hpicmn.c
386
if (phm->u.c.attribute == HPI_TUNER_FREQ)
sound/pci/asihpi/hpicmn.c
388
else if (phm->u.c.attribute == HPI_TUNER_BAND)
sound/pci/asihpi/hpicmn.c
390
else if (phm->u.c.attribute == HPI_TUNER_LEVEL_AVG)
sound/pci/asihpi/hpicmn.c
403
if (phm->u.c.attribute == HPI_AESEBURX_ERRORSTATUS)
sound/pci/asihpi/hpicmn.c
405
else if (phm->u.c.attribute == HPI_AESEBURX_FORMAT)
sound/pci/asihpi/hpicmn.c
411
if (phm->u.c.attribute == HPI_AESEBUTX_FORMAT)
sound/pci/asihpi/hpicmn.c
417
if (phm->u.c.attribute == HPI_TONEDETECTOR_STATE)
sound/pci/asihpi/hpicmn.c
423
if (phm->u.c.attribute == HPI_SILENCEDETECTOR_STATE) {
sound/pci/asihpi/hpicmn.c
429
if (phm->u.c.attribute == HPI_MICROPHONE_PHANTOM_POWER)
sound/pci/asihpi/hpicmn.c
435
if (phm->u.c.attribute == HPI_SAMPLECLOCK_SOURCE)
sound/pci/asihpi/hpicmn.c
437
else if (phm->u.c.attribute == HPI_SAMPLECLOCK_SOURCE_INDEX) {
sound/pci/asihpi/hpicmn.c
445
} else if (phm->u.c.attribute == HPI_SAMPLECLOCK_SAMPLERATE)
sound/pci/asihpi/hpicmn.c
456
attribute)))) {
sound/pci/asihpi/hpicmn.c
462
if (phm->u.c.attribute == HPI_PAD_PROGRAM_ID)
sound/pci/asihpi/hpicmn.c
464
else if (phm->u.c.attribute == HPI_PAD_PROGRAM_TYPE)
sound/pci/asihpi/hpicmn.c
469
attribute) - 1;
sound/pci/asihpi/hpicmn.c
517
phm->u.c.attribute);
sound/pci/asihpi/hpicmn.c
560
if (phm->u.c.attribute == HPI_VOLUME_GAIN) {
sound/pci/asihpi/hpicmn.c
563
} else if (phm->u.c.attribute == HPI_VOLUME_MUTE) {
sound/pci/asihpi/hpicmn.c
572
if (phm->u.c.attribute == HPI_MULTIPLEXER_SOURCE) {
sound/pci/asihpi/hpicmn.c
579
if (phm->u.c.attribute == HPI_CHANNEL_MODE_MODE)
sound/pci/asihpi/hpicmn.c
583
if (phm->u.c.attribute == HPI_LEVEL_GAIN) {
sound/pci/asihpi/hpicmn.c
589
if (phm->u.c.attribute == HPI_MICROPHONE_PHANTOM_POWER)
sound/pci/asihpi/hpicmn.c
593
if (phm->u.c.attribute == HPI_AESEBUTX_FORMAT)
sound/pci/asihpi/hpicmn.c
597
if (phm->u.c.attribute == HPI_AESEBURX_FORMAT)
sound/pci/asihpi/hpicmn.c
601
if (phm->u.c.attribute == HPI_SAMPLECLOCK_SOURCE)
sound/pci/asihpi/hpicmn.c
603
else if (phm->u.c.attribute == HPI_SAMPLECLOCK_SOURCE_INDEX)
sound/pci/asihpi/hpicmn.c
605
else if (phm->u.c.attribute == HPI_SAMPLECLOCK_SAMPLERATE)
sound/pci/asihpi/hpidebug.c
42
phm->u.c.attribute);
sound/pci/asihpi/hpifunc.c
1318
hm.u.c.attribute = attrib;
sound/pci/asihpi/hpifunc.c
1335
hm.u.c.attribute = attrib;
sound/pci/asihpi/hpifunc.c
1353
hm.u.c.attribute = attrib;
sound/pci/asihpi/hpifunc.c
1379
hm.u.c.attribute = attrib;
sound/pci/asihpi/hpifunc.c
1400
hm.u.c.attribute = attrib;
sound/pci/asihpi/hpifunc.c
1410
static u16 hpi_control_get_string(const u32 h_control, const u16 attribute,
sound/pci/asihpi/hpifunc.c
1430
hm.u.c.attribute = attribute;
sound/pci/asihpi/hpifunc.c
1512
hm.u.c.attribute = HPI_AESEBURX_USERDATA;
sound/pci/asihpi/hpifunc.c
1531
hm.u.c.attribute = HPI_AESEBURX_CHANNELSTATUS;
sound/pci/asihpi/hpifunc.c
1628
hm.u.c.attribute = HPI_BITSTREAM_ACTIVITY;
sound/pci/asihpi/hpifunc.c
1680
hm.p.attribute = HPI_COBRANET_SET;
sound/pci/asihpi/hpifunc.c
1706
hm.p.attribute = HPI_COBRANET_GET;
sound/pci/asihpi/hpifunc.c
1738
hm.u.c.attribute = HPI_COBRANET_GET_STATUS;
sound/pci/asihpi/hpifunc.c
1924
hm.u.c.attribute = HPI_COMPANDER_THRESHOLD;
sound/pci/asihpi/hpifunc.c
1943
hm.u.c.attribute = HPI_COMPANDER_THRESHOLD;
sound/pci/asihpi/hpifunc.c
1974
hm.u.c.attribute = HPI_LEVEL_RANGE;
sound/pci/asihpi/hpifunc.c
2023
hm.u.c.attribute = HPI_METER_PEAK;
sound/pci/asihpi/hpifunc.c
2048
hm.u.c.attribute = HPI_METER_RMS;
sound/pci/asihpi/hpifunc.c
2156
hm.u.c.attribute = HPI_MULTIPLEXER_QUERYSOURCE;
sound/pci/asihpi/hpifunc.c
2200
hm.u.c.attribute = HPI_EQUALIZER_FILTER;
sound/pci/asihpi/hpifunc.c
2232
hm.u.c.attribute = HPI_EQUALIZER_FILTER;
sound/pci/asihpi/hpifunc.c
2249
hm.u.c.attribute = HPI_EQUALIZER_COEFFICIENTS;
sound/pci/asihpi/hpifunc.c
2563
hm.u.cu.attribute = HPI_TUNER_LEVEL_AVG;
sound/pci/asihpi/hpifunc.c
2579
hm.u.cu.attribute = HPI_TUNER_LEVEL_RAW;
sound/pci/asihpi/hpifunc.c
2692
hm.u.c.attribute = HPI_TUNER_RDS;
sound/pci/asihpi/hpifunc.c
2778
hm.u.c.attribute = HPI_VOLUME_RANGE;
sound/pci/asihpi/hpifunc.c
2810
hm.u.c.attribute = HPI_VOLUME_AUTOFADE;
sound/pci/asihpi/hpifunc.c
2844
hm.u.c.attribute = HPI_VOX_THRESHOLD;
sound/pci/asihpi/hpifunc.c
2861
hm.u.c.attribute = HPI_VOX_THRESHOLD;
sound/soc/codecs/cs43130.c
1800
static struct attribute *hpload_attrs[] = {
sound/soc/codecs/fs210x.c
1503
static struct attribute *fs210x_attrs[] = {
sound/soc/codecs/sma1303.c
1658
static struct attribute *sma1303_attr[] = {
sound/soc/intel/atom/sst/sst.c
261
static const struct attribute *sst_fw_version_attrs[] = {
sound/soc/intel/atom/sst/sst.c
267
.attrs = (struct attribute **)sst_fw_version_attrs,
sound/soc/intel/avs/sysfs.c
22
static struct attribute *avs_fw_attrs[] = {
sound/soc/intel/catpt/sysfs.c
43
static struct attribute *catpt_attrs[] = {
sound/soc/soc-core.c
101
struct attribute *attr, int idx)
sound/soc/soc-core.c
95
static struct attribute *soc_dev_attrs[] = {
sound/soc/soc-dapm.c
2830
struct attribute *snd_soc_dapm_dev_attrs[] = {
sound/soc/ti/omap-mcbsp-st.c
294
static const struct attribute *sidetone_attrs[] = {
sound/soc/ti/omap-mcbsp-st.c
300
.attrs = (struct attribute **)sidetone_attrs,
sound/soc/ti/omap-mcbsp.c
599
static const struct attribute *additional_attrs[] = {
sound/soc/ti/omap-mcbsp.c
607
.attrs = (struct attribute **)additional_attrs,
sound/usb/line6/pod.c
302
static struct attribute *pod_dev_attrs[] = {
sound/usb/line6/podhd.c
165
static struct attribute *podhd_dev_attrs[] = {
sound/usb/mixer.c
3439
int attribute, int value, int index)
sound/usb/mixer.c
3474
switch (attribute) {
sound/usb/mixer.c
3497
attribute);
tools/testing/cxl/test/mem.c
1308
static struct attribute *cxl_mock_mem_core_attrs[] = {
tools/testing/cxl/test/mem.c
1865
static struct attribute *cxl_mock_mem_attrs[] = {
tools/testing/nvdimm/test/ndtest.c
396
static struct attribute *ndtest_region_attributes[] = {
tools/testing/nvdimm/test/ndtest.c
552
static struct attribute *dimm_attributes[] = {
tools/testing/nvdimm/test/ndtest.c
655
struct attribute *a, int n)
tools/testing/nvdimm/test/ndtest.c
701
static struct attribute *ndtest_nvdimm_attributes[] = {
tools/testing/nvdimm/test/ndtest.c
802
static struct attribute *of_node_attributes[] = {
tools/testing/nvdimm/test/nfit.c
1816
static struct attribute *nfit_test_dimm_attributes[] = {
tools/testing/selftests/cgroup/test_memcontrol.c
486
const char *attribute = min ? "memory.min" : "memory.low";
tools/testing/selftests/cgroup/test_memcontrol.c
511
if (cg_read_long(parent[0], attribute)) {
tools/testing/selftests/cgroup/test_memcontrol.c
551
if (cg_write(parent[1], attribute, "50M"))
tools/testing/selftests/cgroup/test_memcontrol.c
553
if (cg_write(children[0], attribute, "75M"))
tools/testing/selftests/cgroup/test_memcontrol.c
555
if (cg_write(children[1], attribute, "25M"))
tools/testing/selftests/cgroup/test_memcontrol.c
557
if (cg_write(children[2], attribute, "0"))
tools/testing/selftests/cgroup/test_memcontrol.c
559
if (cg_write(children[3], attribute, "500M"))
tools/testing/selftests/kvm/lib/kvm_util.c
1823
struct kvm_device_attr attribute = {
tools/testing/selftests/kvm/lib/kvm_util.c
1829
return ioctl(dev_fd, KVM_HAS_DEVICE_ATTR, &attribute);
tools/thermal/tmon/tmon.h
70
int attribute; /* programmability etc. */