Home
last modified time | relevance | path

Searched refs:mattr (Results 1 – 11 of 11) sorted by relevance

/Linux-v4.19/drivers/edac/
Dedac_mc_sysfs.c145 struct device_attribute *mattr, char *data) in csrow_ue_count_show() argument
153 struct device_attribute *mattr, char *data) in csrow_ce_count_show() argument
161 struct device_attribute *mattr, char *data) in csrow_size_show() argument
173 struct device_attribute *mattr, char *data) in csrow_mem_type_show() argument
181 struct device_attribute *mattr, char *data) in csrow_dev_type_show() argument
189 struct device_attribute *mattr, in csrow_edac_mode_show() argument
199 struct device_attribute *mattr, in channel_dimm_label_show() argument
203 unsigned chan = to_channel(mattr); in channel_dimm_label_show()
215 struct device_attribute *mattr, in channel_dimm_label_store() argument
219 unsigned chan = to_channel(mattr); in channel_dimm_label_store()
[all …]
Damd64_edac_inj.c5 struct device_attribute *mattr, in amd64_inject_section_show() argument
20 struct device_attribute *mattr, in amd64_inject_section_store() argument
42 struct device_attribute *mattr, in amd64_inject_word_show() argument
57 struct device_attribute *mattr, in amd64_inject_word_store() argument
79 struct device_attribute *mattr, in amd64_inject_ecc_vector_show() argument
93 struct device_attribute *mattr, in amd64_inject_ecc_vector_store() argument
119 struct device_attribute *mattr, in amd64_inject_read_store() argument
152 struct device_attribute *mattr, in amd64_inject_write_store() argument
Damd64_edac_dbg.c6 struct device_attribute *mattr, \
20 struct device_attribute *mattr, in amd64_hole_show() argument
Dfsl_ddr_edac.c59 struct device_attribute *mattr, in fsl_mc_inject_data_hi_show() argument
69 struct device_attribute *mattr, in fsl_mc_inject_data_lo_show() argument
79 struct device_attribute *mattr, in fsl_mc_inject_ctrl_show() argument
89 struct device_attribute *mattr, in fsl_mc_inject_data_hi_store() argument
109 struct device_attribute *mattr, in fsl_mc_inject_data_lo_store() argument
129 struct device_attribute *mattr, in fsl_mc_inject_ctrl_store() argument
Di7core_edac.c686 struct device_attribute *mattr, in i7core_inject_section_store() argument
706 struct device_attribute *mattr, in i7core_inject_section_show() argument
723 struct device_attribute *mattr, in i7core_inject_type_store() argument
743 struct device_attribute *mattr, in i7core_inject_type_show() argument
763 struct device_attribute *mattr, in i7core_inject_eccmask_store() argument
783 struct device_attribute *mattr, in i7core_inject_eccmask_show() argument
806 struct device_attribute *mattr, \
835 struct device_attribute *mattr, \
914 struct device_attribute *mattr, in i7core_inject_enable_store() argument
1018 struct device_attribute *mattr, in i7core_inject_enable_show() argument
[all …]
/Linux-v4.19/kernel/
Dparams.c527 struct module_attribute mattr; member
539 #define to_param_attr(n) container_of(n, struct param_attribute, mattr)
541 static ssize_t param_attr_show(struct module_attribute *mattr, in param_attr_show() argument
545 struct param_attribute *attribute = to_param_attr(mattr); in param_attr_show()
557 static ssize_t param_attr_store(struct module_attribute *mattr, in param_attr_store() argument
562 struct param_attribute *attribute = to_param_attr(mattr); in param_attr_store()
651 sysfs_attr_init(&mk->mp->attrs[mk->mp->num].mattr.attr); in add_sysfs_param()
653 mk->mp->attrs[mk->mp->num].mattr.show = param_attr_show; in add_sysfs_param()
656 mk->mp->attrs[mk->mp->num].mattr.store = param_attr_store; in add_sysfs_param()
658 mk->mp->attrs[mk->mp->num].mattr.store = NULL; in add_sysfs_param()
[all …]
Dmodule.c768 static ssize_t show_modinfo_##field(struct module_attribute *mattr, \
1093 static ssize_t show_refcnt(struct module_attribute *mattr, in show_refcnt() argument
1182 static ssize_t show_initstate(struct module_attribute *mattr, in show_initstate() argument
1206 static ssize_t store_uevent(struct module_attribute *mattr, in store_uevent() argument
1217 static ssize_t show_coresize(struct module_attribute *mattr, in show_coresize() argument
1226 static ssize_t show_initsize(struct module_attribute *mattr, in show_initsize() argument
1235 static ssize_t show_taint(struct module_attribute *mattr, in show_taint() argument
1455 struct module_attribute mattr; member
1466 static ssize_t module_sect_show(struct module_attribute *mattr, in module_sect_show() argument
1470 container_of(mattr, struct module_sect_attr, mattr); in module_sect_show()
[all …]
/Linux-v4.19/tools/testing/selftests/bpf/
DMakefile113 BTF_LLC_PROBE := $(shell $(LLC) -march=bpf -mattr=help 2>&1 | grep dwarfris)
121 LLC_FLAGS += -mattr=dwarfris
/Linux-v4.19/samples/bpf/
DMakefile207 BTF_LLC_PROBE := $(shell $(LLC) -march=bpf -mattr=help 2>&1 | grep dwarfris)
213 LLC_FLAGS += -mattr=dwarfris
252 @if ! (${LLC} -march=bpf -mattr=help > /dev/null 2>&1); then \
/Linux-v4.19/include/linux/
Dmodule.h64 struct module_attribute mattr; member
242 .mattr = { \
/Linux-v4.19/drivers/media/rc/
Drc-main.c1056 struct device_attribute *mattr, char *buf) in show_protocols() argument
1227 struct device_attribute *mattr, in store_protocols() argument
1438 struct device_attribute *mattr, in show_wakeup_protocols() argument
1488 struct device_attribute *mattr, in store_wakeup_protocols() argument