Home
last modified time | relevance | path

Searched refs:attr (Results 1626 - 1650 of 8639) sorted by relevance

1...<<61626364656667686970>>...346

/kernel/linux/linux-6.6/arch/ia64/kernel/
H A Dtopology.c225 struct attribute attr; member
247 &type.attr,
248 &level.attr,
249 &coherency_line_size.attr,
250 &ways_of_associativity.attr,
251 &attributes.attr,
252 &size.attr,
253 &number_of_sets.attr,
254 &shared_cpu_map.attr,
260 #define to_attr(a) container_of(a, struct cache_attr, attr)
262 ia64_cache_show(struct kobject * kobj, struct attribute * attr, char * buf) ia64_cache_show() argument
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/net/
H A Dreuseport_bpf_numa.c85 union bpf_attr attr; in attach_bpf() local
87 memset(&attr, 0, sizeof(attr)); in attach_bpf()
88 attr.prog_type = BPF_PROG_TYPE_SOCKET_FILTER; in attach_bpf()
89 attr.insn_cnt = sizeof(prog) / sizeof(prog[0]); in attach_bpf()
90 attr.insns = (unsigned long) &prog; in attach_bpf()
91 attr.license = (unsigned long) &bpf_license; in attach_bpf()
92 attr.log_buf = (unsigned long) &bpf_log_buf; in attach_bpf()
93 attr.log_size = sizeof(bpf_log_buf); in attach_bpf()
94 attr in attach_bpf()
[all...]
/kernel/linux/linux-5.10/drivers/hwmon/
H A Dsmsc47b397.c162 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_show() local
164 return sprintf(buf, "%d\n", temp_from_reg(data->temp[attr->index])); in temp_show()
186 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in fan_show() local
188 return sprintf(buf, "%d\n", fan_from_reg(data->fan[attr->index])); in fan_show()
196 &sensor_dev_attr_temp1_input.dev_attr.attr,
197 &sensor_dev_attr_temp2_input.dev_attr.attr,
198 &sensor_dev_attr_temp3_input.dev_attr.attr,
199 &sensor_dev_attr_temp4_input.dev_attr.attr,
200 &sensor_dev_attr_fan1_input.dev_attr.attr,
201 &sensor_dev_attr_fan2_input.dev_attr.attr,
[all...]
/kernel/linux/linux-5.10/drivers/vfio/mdev/
H A Dmdev_sysfs.c24 struct mdev_type_attribute *attr = to_mdev_type_attr(__attr); in mdev_type_attr_show() local
28 if (attr->show) in mdev_type_attr_show()
29 ret = attr->show(kobj, type->parent->dev, buf); in mdev_type_attr_show()
37 struct mdev_type_attribute *attr = to_mdev_type_attr(__attr); in mdev_type_attr_store() local
41 if (attr->store) in mdev_type_attr_store()
42 ret = attr->store(&type->kobj, type->parent->dev, buf, count); in mdev_type_attr_store()
118 ret = sysfs_create_file(&type->kobj, &mdev_type_attr_create.attr); in add_mdev_supported_type()
141 sysfs_remove_file(&type->kobj, &mdev_type_attr_create.attr); in add_mdev_supported_type()
153 sysfs_remove_file(&type->kobj, &mdev_type_attr_create.attr); in remove_mdev_supported_type()
225 static ssize_t remove_store(struct device *dev, struct device_attribute *attr, in remove_store() argument
[all...]
/kernel/linux/linux-5.10/fs/ntfs/
H A Dnamei.c212 a = ctx->attr; in ntfs_lookup()
219 fn = (FILE_NAME_ATTR*)((u8*)ctx->attr + le16_to_cpu( in ntfs_lookup()
220 ctx->attr->data.resident.value_offset)); in ntfs_lookup()
292 ATTR_RECORD *attr; in ntfs_get_parent() local
320 attr = ctx->attr; in ntfs_get_parent()
321 if (unlikely(attr->non_resident)) in ntfs_get_parent()
323 fn = (FILE_NAME_ATTR *)((u8 *)attr + in ntfs_get_parent()
324 le16_to_cpu(attr->data.resident.value_offset)); in ntfs_get_parent()
325 if (unlikely((u8 *)fn + le32_to_cpu(attr in ntfs_get_parent()
[all...]
/kernel/linux/linux-5.10/kernel/bpf/
H A Dqueue_stack_maps.c46 static int queue_stack_map_alloc_check(union bpf_attr *attr) in queue_stack_map_alloc_check() argument
52 if (attr->max_entries == 0 || attr->key_size != 0 || in queue_stack_map_alloc_check()
53 attr->value_size == 0 || in queue_stack_map_alloc_check()
54 attr->map_flags & ~QUEUE_STACK_CREATE_FLAG_MASK || in queue_stack_map_alloc_check()
55 !bpf_map_flags_access_ok(attr->map_flags)) in queue_stack_map_alloc_check()
58 if (attr->value_size > KMALLOC_MAX_SIZE) in queue_stack_map_alloc_check()
67 static struct bpf_map *queue_stack_map_alloc(union bpf_attr *attr) in queue_stack_map_alloc() argument
69 int ret, numa_node = bpf_map_attr_numa_node(attr); in queue_stack_map_alloc()
74 size = (u64) attr in queue_stack_map_alloc()
[all...]
/kernel/linux/linux-5.10/fs/udf/
H A Dfile.c254 static int udf_setattr(struct dentry *dentry, struct iattr *attr) in udf_setattr() argument
260 error = setattr_prepare(dentry, attr); in udf_setattr()
264 if ((attr->ia_valid & ATTR_UID) && in udf_setattr()
266 !uid_eq(attr->ia_uid, UDF_SB(sb)->s_uid)) in udf_setattr()
268 if ((attr->ia_valid & ATTR_GID) && in udf_setattr()
270 !gid_eq(attr->ia_gid, UDF_SB(sb)->s_gid)) in udf_setattr()
273 if ((attr->ia_valid & ATTR_SIZE) && in udf_setattr()
274 attr->ia_size != i_size_read(inode)) { in udf_setattr()
275 error = udf_setsize(inode, attr->ia_size); in udf_setattr()
280 if (attr in udf_setattr()
[all...]
/kernel/linux/linux-6.6/drivers/accessibility/speakup/
H A Dspeakup_apollo.c86 &caps_start_attribute.attr,
87 &caps_stop_attribute.attr,
88 &lang_attribute.attr,
89 &pitch_attribute.attr,
90 &rate_attribute.attr,
91 &voice_attribute.attr,
92 &vol_attribute.attr,
93 &delay_time_attribute.attr,
94 &direct_attribute.attr,
95 &full_time_attribute.attr,
[all...]
/kernel/linux/linux-6.6/fs/ntfs/
H A Dnamei.c212 a = ctx->attr; in ntfs_lookup()
219 fn = (FILE_NAME_ATTR*)((u8*)ctx->attr + le16_to_cpu( in ntfs_lookup()
220 ctx->attr->data.resident.value_offset)); in ntfs_lookup()
292 ATTR_RECORD *attr; in ntfs_get_parent() local
320 attr = ctx->attr; in ntfs_get_parent()
321 if (unlikely(attr->non_resident)) in ntfs_get_parent()
323 fn = (FILE_NAME_ATTR *)((u8 *)attr + in ntfs_get_parent()
324 le16_to_cpu(attr->data.resident.value_offset)); in ntfs_get_parent()
325 if (unlikely((u8 *)fn + le32_to_cpu(attr in ntfs_get_parent()
[all...]
/kernel/linux/linux-6.6/include/linux/
H A Dnetlink.h76 * @miss_nest: nest missing an attribute (%NULL if missing top level attr)
143 #define NL_SET_BAD_ATTR_POLICY(extack, attr, pol) do { \
145 (extack)->bad_attr = (attr); \
150 #define NL_SET_BAD_ATTR(extack, attr) NL_SET_BAD_ATTR_POLICY(extack, attr, NULL)
152 #define NL_SET_ERR_MSG_ATTR_POL(extack, attr, pol, msg) do { \
160 __extack->bad_attr = (attr); \
165 #define NL_SET_ERR_MSG_ATTR_POL_FMT(extack, attr, pol, fmt, args...) do { \
180 __extack->bad_attr = (attr); \
184 #define NL_SET_ERR_MSG_ATTR(extack, attr, ms
[all...]
/kernel/linux/linux-6.6/drivers/platform/x86/intel/pmt/
H A Dclass.c66 struct bin_attribute *attr, char *buf, loff_t off, in intel_pmt_read()
69 struct intel_pmt_entry *entry = container_of(attr, in intel_pmt_read()
93 struct bin_attribute *attr, struct vm_area_struct *vma) in intel_pmt_mmap()
95 struct intel_pmt_entry *entry = container_of(attr, in intel_pmt_mmap()
122 guid_show(struct device *dev, struct device_attribute *attr, char *buf) in guid_show() argument
130 static ssize_t size_show(struct device *dev, struct device_attribute *attr, in size_show() argument
140 offset_show(struct device *dev, struct device_attribute *attr, char *buf) in offset_show() argument
149 &dev_attr_guid.attr,
150 &dev_attr_size.attr,
151 &dev_attr_offset.attr,
65 intel_pmt_read(struct file *filp, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t off, size_t count) intel_pmt_read() argument
92 intel_pmt_mmap(struct file *filp, struct kobject *kobj, struct bin_attribute *attr, struct vm_area_struct *vma) intel_pmt_mmap() argument
[all...]
/kernel/linux/linux-6.6/drivers/firmware/arm_scmi/
H A Dpower.c79 struct scmi_msg_resp_power_attributes *attr; in scmi_power_attributes_get() local
82 0, sizeof(*attr), &t); in scmi_power_attributes_get()
86 attr = t->rx.buf; in scmi_power_attributes_get()
90 pi->num_domains = le16_to_cpu(attr->num_domains); in scmi_power_attributes_get()
91 pi->stats_addr = le32_to_cpu(attr->stats_addr_low) | in scmi_power_attributes_get()
92 (u64)le32_to_cpu(attr->stats_addr_high) << 32; in scmi_power_attributes_get()
93 pi->stats_size = le32_to_cpu(attr->stats_size); in scmi_power_attributes_get()
108 struct scmi_msg_resp_power_domain_attributes *attr; in scmi_power_domain_attributes_get() local
111 sizeof(domain), sizeof(*attr), &t); in scmi_power_domain_attributes_get()
116 attr in scmi_power_domain_attributes_get()
[all...]
/kernel/linux/linux-6.6/arch/x86/platform/ts5500/
H A Dts5500.c150 static ssize_t name_show(struct device *dev, struct device_attribute *attr, in name_show() argument
159 static ssize_t id_show(struct device *dev, struct device_attribute *attr, in id_show() argument
168 static ssize_t jumpers_show(struct device *dev, struct device_attribute *attr, in jumpers_show() argument
179 struct device_attribute *attr, char *buf) \
194 &dev_attr_id.attr,
195 &dev_attr_name.attr,
196 &dev_attr_jumpers.attr,
197 &dev_attr_sram.attr,
198 &dev_attr_rs485.attr,
199 &dev_attr_adc.attr,
[all...]
/kernel/linux/linux-6.6/drivers/hwmon/
H A Dsmsc47b397.c162 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_show() local
164 return sprintf(buf, "%d\n", temp_from_reg(data->temp[attr->index])); in temp_show()
186 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in fan_show() local
188 return sprintf(buf, "%d\n", fan_from_reg(data->fan[attr->index])); in fan_show()
196 &sensor_dev_attr_temp1_input.dev_attr.attr,
197 &sensor_dev_attr_temp2_input.dev_attr.attr,
198 &sensor_dev_attr_temp3_input.dev_attr.attr,
199 &sensor_dev_attr_temp4_input.dev_attr.attr,
200 &sensor_dev_attr_fan1_input.dev_attr.attr,
201 &sensor_dev_attr_fan2_input.dev_attr.attr,
[all...]
H A Dtmp401.c307 static int tmp401_temp_read(struct device *dev, u32 attr, int channel, long *val) in tmp401_temp_read() argument
314 switch (attr) { in tmp401_temp_read()
321 reg = TMP401_TEMP_MSB[tmp401_temp_reg_index[attr]][channel]; in tmp401_temp_read()
347 reg = TMP432_STATUS_REG[tmp401_status_reg_index[attr]]; in tmp401_temp_read()
359 static int tmp401_temp_write(struct device *dev, u32 attr, int channel, in tmp401_temp_write() argument
368 switch (attr) { in tmp401_temp_write()
372 reg = TMP401_TEMP_MSB[tmp401_temp_reg_index[attr]][channel]; in tmp401_temp_write()
374 attr == hwmon_temp_crit ? 8 : 4); in tmp401_temp_write()
400 static int tmp401_chip_read(struct device *dev, u32 attr, int channel, long *val) in tmp401_chip_read() argument
406 switch (attr) { in tmp401_chip_read()
440 tmp401_chip_write(struct device *dev, u32 attr, int channel, long val) tmp401_chip_write() argument
471 tmp401_read(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel, long *val) tmp401_read() argument
484 tmp401_write(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel, long val) tmp401_write() argument
497 tmp401_is_visible(const void *data, enum hwmon_sensor_types type, u32 attr, int channel) tmp401_is_visible() argument
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/net/
H A Dreuseport_bpf_numa.c85 union bpf_attr attr; in attach_bpf() local
87 memset(&attr, 0, sizeof(attr)); in attach_bpf()
88 attr.prog_type = BPF_PROG_TYPE_SOCKET_FILTER; in attach_bpf()
89 attr.insn_cnt = ARRAY_SIZE(prog); in attach_bpf()
90 attr.insns = (unsigned long) &prog; in attach_bpf()
91 attr.license = (unsigned long) &bpf_license; in attach_bpf()
92 attr.log_buf = (unsigned long) &bpf_log_buf; in attach_bpf()
93 attr.log_size = sizeof(bpf_log_buf); in attach_bpf()
94 attr in attach_bpf()
[all...]
/kernel/linux/linux-6.6/net/bridge/
H A Dbr_mst.c93 struct switchdev_attr attr = { in br_mst_set_state() local
113 err = switchdev_port_attr_set(p->dev, &attr, extack); in br_mst_set_state()
150 struct switchdev_attr attr = { in br_mst_vlan_set_msti() local
166 err = switchdev_port_attr_set(mv->br->dev, &attr, NULL); in br_mst_vlan_set_msti()
197 struct switchdev_attr attr = { in br_mst_set_enabled() local
220 err = switchdev_port_attr_set(br->dev, &attr, extack); in br_mst_set_enabled()
296 const struct nlattr *attr, in br_mst_process_one()
304 err = nla_parse_nested(tb, IFLA_BRIDGE_MST_ENTRY_MAX, attr, in br_mst_process_one()
328 struct nlattr *attr; in br_mst_process() local
337 nla_for_each_nested(attr, mst_att in br_mst_process()
295 br_mst_process_one(struct net_bridge_port *p, const struct nlattr *attr, struct netlink_ext_ack *extack) br_mst_process_one() argument
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/
H A Dwps_dev_attr.c362 struct wps_parse_attr *attr) in wps_process_device_attrs()
364 if (wps_process_manufacturer(dev, attr->manufacturer, in wps_process_device_attrs()
365 attr->manufacturer_len) || in wps_process_device_attrs()
366 wps_process_model_name(dev, attr->model_name, in wps_process_device_attrs()
367 attr->model_name_len) || in wps_process_device_attrs()
368 wps_process_model_number(dev, attr->model_number, in wps_process_device_attrs()
369 attr->model_number_len) || in wps_process_device_attrs()
370 wps_process_serial_number(dev, attr->serial_number, in wps_process_device_attrs()
371 attr->serial_number_len) || in wps_process_device_attrs()
372 wps_process_primary_dev_type(dev, attr in wps_process_device_attrs()
361 wps_process_device_attrs(struct wps_device_data *dev, struct wps_parse_attr *attr) wps_process_device_attrs() argument
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/
H A Dwps_dev_attr.c377 struct wps_parse_attr *attr) in wps_process_device_attrs()
379 if (wps_process_manufacturer(dev, attr->manufacturer, in wps_process_device_attrs()
380 attr->manufacturer_len) || in wps_process_device_attrs()
381 wps_process_model_name(dev, attr->model_name, in wps_process_device_attrs()
382 attr->model_name_len) || in wps_process_device_attrs()
383 wps_process_model_number(dev, attr->model_number, in wps_process_device_attrs()
384 attr->model_number_len) || in wps_process_device_attrs()
385 wps_process_serial_number(dev, attr->serial_number, in wps_process_device_attrs()
386 attr->serial_number_len) || in wps_process_device_attrs()
387 wps_process_primary_dev_type(dev, attr in wps_process_device_attrs()
376 wps_process_device_attrs(struct wps_device_data *dev, struct wps_parse_attr *attr) wps_process_device_attrs() argument
[all...]
/kernel/linux/linux-5.10/drivers/hid/
H A Dhid-roccat-kovaplus.c176 struct kobject *kobj, struct bin_attribute *attr, char *buf, \
185 struct kobject *kobj, struct bin_attribute *attr, char *buf, \
199 .attr = { .name = #thingy, .mode = 0660 }, \
208 .attr = { .name = #thingy, .mode = 0220 }, \
218 struct kobject *kobj, struct bin_attribute *attr, char *buf, in kovaplus_sysfs_read_profilex_settings()
225 retval = kovaplus_select_profile(usb_dev, *(uint *)(attr->private), in kovaplus_sysfs_read_profilex_settings()
236 struct kobject *kobj, struct bin_attribute *attr, char *buf, in kovaplus_sysfs_read_profilex_buttons()
243 retval = kovaplus_select_profile(usb_dev, *(uint *)(attr->private), in kovaplus_sysfs_read_profilex_buttons()
255 .attr = { .name = "profile" #number "_settings", .mode = 0440 }, \
261 .attr
217 kovaplus_sysfs_read_profilex_settings(struct file *fp, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t off, size_t count) kovaplus_sysfs_read_profilex_settings() argument
235 kovaplus_sysfs_read_profilex_buttons(struct file *fp, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t off, size_t count) kovaplus_sysfs_read_profilex_buttons() argument
272 kovaplus_sysfs_show_actual_profile(struct device *dev, struct device_attribute *attr, char *buf) kovaplus_sysfs_show_actual_profile() argument
280 kovaplus_sysfs_set_actual_profile(struct device *dev, struct device_attribute *attr, char const *buf, size_t size) kovaplus_sysfs_set_actual_profile() argument
325 kovaplus_sysfs_show_actual_cpi(struct device *dev, struct device_attribute *attr, char *buf) kovaplus_sysfs_show_actual_cpi() argument
334 kovaplus_sysfs_show_actual_sensitivity_x(struct device *dev, struct device_attribute *attr, char *buf) kovaplus_sysfs_show_actual_sensitivity_x() argument
344 kovaplus_sysfs_show_actual_sensitivity_y(struct device *dev, struct device_attribute *attr, char *buf) kovaplus_sysfs_show_actual_sensitivity_y() argument
354 kovaplus_sysfs_show_firmware_version(struct device *dev, struct device_attribute *attr, char *buf) kovaplus_sysfs_show_firmware_version() argument
[all...]
/kernel/linux/linux-6.6/drivers/hid/
H A Dhid-roccat-kovaplus.c174 struct kobject *kobj, struct bin_attribute *attr, char *buf, \
183 struct kobject *kobj, struct bin_attribute *attr, char *buf, \
197 .attr = { .name = #thingy, .mode = 0660 }, \
206 .attr = { .name = #thingy, .mode = 0220 }, \
216 struct kobject *kobj, struct bin_attribute *attr, char *buf, in kovaplus_sysfs_read_profilex_settings()
223 retval = kovaplus_select_profile(usb_dev, *(uint *)(attr->private), in kovaplus_sysfs_read_profilex_settings()
234 struct kobject *kobj, struct bin_attribute *attr, char *buf, in kovaplus_sysfs_read_profilex_buttons()
241 retval = kovaplus_select_profile(usb_dev, *(uint *)(attr->private), in kovaplus_sysfs_read_profilex_buttons()
253 .attr = { .name = "profile" #number "_settings", .mode = 0440 }, \
259 .attr
215 kovaplus_sysfs_read_profilex_settings(struct file *fp, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t off, size_t count) kovaplus_sysfs_read_profilex_settings() argument
233 kovaplus_sysfs_read_profilex_buttons(struct file *fp, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t off, size_t count) kovaplus_sysfs_read_profilex_buttons() argument
270 kovaplus_sysfs_show_actual_profile(struct device *dev, struct device_attribute *attr, char *buf) kovaplus_sysfs_show_actual_profile() argument
278 kovaplus_sysfs_set_actual_profile(struct device *dev, struct device_attribute *attr, char const *buf, size_t size) kovaplus_sysfs_set_actual_profile() argument
323 kovaplus_sysfs_show_actual_cpi(struct device *dev, struct device_attribute *attr, char *buf) kovaplus_sysfs_show_actual_cpi() argument
332 kovaplus_sysfs_show_actual_sensitivity_x(struct device *dev, struct device_attribute *attr, char *buf) kovaplus_sysfs_show_actual_sensitivity_x() argument
342 kovaplus_sysfs_show_actual_sensitivity_y(struct device *dev, struct device_attribute *attr, char *buf) kovaplus_sysfs_show_actual_sensitivity_y() argument
352 kovaplus_sysfs_show_firmware_version(struct device *dev, struct device_attribute *attr, char *buf) kovaplus_sysfs_show_firmware_version() argument
[all...]
/kernel/linux/linux-6.6/drivers/s390/cio/
H A Dchp.c148 .attr = {
202 .attr = {
233 struct device_attribute *attr, char *buf) in chp_status_show()
246 struct device_attribute *attr, in chp_status_write()
278 struct device_attribute *attr, char *buf) in chp_configure_show()
294 struct device_attribute *attr, in chp_configure_write()
314 static ssize_t chp_type_show(struct device *dev, struct device_attribute *attr, in chp_type_show() argument
328 static ssize_t chp_cmg_show(struct device *dev, struct device_attribute *attr, in chp_cmg_show() argument
343 struct device_attribute *attr, char *buf) in chp_shared_show()
356 static ssize_t chp_chid_show(struct device *dev, struct device_attribute *attr, in chp_chid_show() argument
232 chp_status_show(struct device *dev, struct device_attribute *attr, char *buf) chp_status_show() argument
245 chp_status_write(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) chp_status_write() argument
277 chp_configure_show(struct device *dev, struct device_attribute *attr, char *buf) chp_configure_show() argument
293 chp_configure_write(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) chp_configure_write() argument
342 chp_shared_show(struct device *dev, struct device_attribute *attr, char *buf) chp_shared_show() argument
373 chp_chid_external_show(struct device *dev, struct device_attribute *attr, char *buf) chp_chid_external_show() argument
390 chp_esc_show(struct device *dev, struct device_attribute *attr, char *buf) chp_esc_show() argument
404 util_string_read(struct file *filp, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t off, size_t count) util_string_read() argument
[all...]
/kernel/linux/linux-5.10/tools/perf/util/
H A Dpython.c372 return pevent->evsel->core.attr.type == PERF_TYPE_TRACEPOINT; in is_tracepoint()
424 tp_format = trace_event__tp_format_id(evsel->core.attr.config); in get_tracepoint_field()
715 struct perf_event_attr attr = { in pyrf_evsel__init() local
776 &attr.type, &attr.config, &attr.sample_freq, in pyrf_evsel__init()
777 &sample_period, &attr.sample_type, in pyrf_evsel__init()
778 &attr.read_format, &disabled, &inherit, in pyrf_evsel__init()
784 &attr.wakeup_events, &attr in pyrf_evsel__init()
1407 test_attr__open(struct perf_event_attr *attr, pid_t pid, int cpu, int fd, int group_fd, unsigned long flags) test_attr__open() argument
[all...]
/kernel/linux/linux-6.6/drivers/memstick/core/
H A Dmspro_block.c117 unsigned char attr; member
212 static struct mspro_sys_attr *mspro_from_sysfs_attr(struct attribute *attr) in mspro_from_sysfs_attr() argument
215 = container_of(attr, struct device_attribute, attr); in mspro_from_sysfs_attr()
244 struct device_attribute *attr,
248 struct device_attribute *attr, in mspro_block_attr_show_default()
251 struct mspro_sys_attr *s_attr = container_of(attr, in mspro_block_attr_show_default()
270 struct device_attribute *attr, in mspro_block_attr_show_sysinfo()
273 struct mspro_sys_attr *x_attr = container_of(attr, in mspro_block_attr_show_sysinfo()
334 struct device_attribute *attr, in mspro_block_attr_show_modelname()
247 mspro_block_attr_show_default(struct device *dev, struct device_attribute *attr, char *buffer) mspro_block_attr_show_default() argument
269 mspro_block_attr_show_sysinfo(struct device *dev, struct device_attribute *attr, char *buffer) mspro_block_attr_show_sysinfo() argument
333 mspro_block_attr_show_modelname(struct device *dev, struct device_attribute *attr, char *buffer) mspro_block_attr_show_modelname() argument
344 mspro_block_attr_show_mbr(struct device *dev, struct device_attribute *attr, char *buffer) mspro_block_attr_show_mbr() argument
368 mspro_block_attr_show_specfile(struct device *dev, struct device_attribute *attr, char *buffer) mspro_block_attr_show_specfile() argument
400 mspro_block_attr_show_devinfo(struct device *dev, struct device_attribute *attr, char *buffer) mspro_block_attr_show_devinfo() argument
900 struct mspro_attribute *attr = NULL; mspro_block_read_attributes() local
[all...]
/kernel/linux/linux-6.6/tools/perf/util/
H A Dpython.c470 return pevent->evsel->core.attr.type == PERF_TYPE_TRACEPOINT; in is_tracepoint()
524 tp_format = trace_event__tp_format_id(evsel->core.attr.config); in get_tracepoint_field()
818 struct perf_event_attr attr = { in pyrf_evsel__init() local
879 &attr.type, &attr.config, &attr.sample_freq, in pyrf_evsel__init()
880 &sample_period, &attr.sample_type, in pyrf_evsel__init()
881 &attr.read_format, &disabled, &inherit, in pyrf_evsel__init()
887 &attr.wakeup_events, &attr in pyrf_evsel__init()
1506 test_attr__open(struct perf_event_attr *attr, pid_t pid, struct perf_cpu cpu, int fd, int group_fd, unsigned long flags) test_attr__open() argument
[all...]

Completed in 19 milliseconds

1...<<61626364656667686970>>...346