Searched refs:attr (Results 151 - 175 of 3244) sorted by relevance

1234567891011>>

/linux-master/tools/lib/perf/tests/
H A Dtest-evsel.c24 struct perf_event_attr attr = { local
33 evsel = perf_evsel__new(&attr);
58 struct perf_event_attr attr = { local
69 evsel = perf_evsel__new(&attr);
90 struct perf_event_attr attr = { local
102 evsel = perf_evsel__new(&attr);
133 struct perf_event_attr attr = { local
147 evsel = perf_evsel__new(&attr);
195 static int test_stat_read_format_single(struct perf_event_attr *attr, struct perf_thread_map *threads) argument
202 evsel = perf_evsel__new(attr);
230 test_stat_read_format_group(struct perf_event_attr *attr, struct perf_thread_map *threads) argument
294 struct perf_event_attr attr = { local
[all...]
/linux-master/drivers/nvme/host/
H A Dsysfs.c14 struct device_attribute *attr, const char *buf,
28 struct device_attribute *attr, const char *buf,
39 struct device_attribute *attr, char *buf)
48 struct device_attribute *attr, const char *buf, size_t count)
73 struct device_attribute *attr, char *buf)
81 struct device_attribute *attr, const char *buf, size_t count)
103 static ssize_t wwid_show(struct device *dev, struct device_attribute *attr, argument
134 static ssize_t nguid_show(struct device *dev, struct device_attribute *attr, argument
141 static ssize_t uuid_show(struct device *dev, struct device_attribute *attr, argument
158 static ssize_t eui_show(struct device *dev, struct device_attribute *attr, argument
13 nvme_sysfs_reset(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
27 nvme_sysfs_rescan(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
38 nvme_adm_passthru_err_log_enabled_show(struct device *dev, struct device_attribute *attr, char *buf) argument
47 nvme_adm_passthru_err_log_enabled_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
72 nvme_io_passthru_err_log_enabled_show(struct device *dev, struct device_attribute *attr, char *buf) argument
80 nvme_io_passthru_err_log_enabled_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
165 nsid_show(struct device *dev, struct device_attribute *attr, char *buf) argument
172 csi_show(struct device *dev, struct device_attribute *attr, char *buf) argument
179 metadata_bytes_show(struct device *dev, struct device_attribute *attr, char *buf) argument
231 nuse_show(struct device *dev, struct device_attribute *attr, char *buf) argument
337 nvme_sysfs_delete(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
352 nvme_sysfs_show_transport(struct device *dev, struct device_attribute *attr, char *buf) argument
362 nvme_sysfs_show_state(struct device *dev, struct device_attribute *attr, char *buf) argument
386 nvme_sysfs_show_subsysnqn(struct device *dev, struct device_attribute *attr, char *buf) argument
396 nvme_sysfs_show_hostnqn(struct device *dev, struct device_attribute *attr, char *buf) argument
406 nvme_sysfs_show_hostid(struct device *dev, struct device_attribute *attr, char *buf) argument
416 nvme_sysfs_show_address(struct device *dev, struct device_attribute *attr, char *buf) argument
426 nvme_ctrl_loss_tmo_show(struct device *dev, struct device_attribute *attr, char *buf) argument
438 nvme_ctrl_loss_tmo_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
459 nvme_ctrl_reconnect_delay_show(struct device *dev, struct device_attribute *attr, char *buf) argument
469 nvme_ctrl_reconnect_delay_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
486 nvme_ctrl_fast_io_fail_tmo_show(struct device *dev, struct device_attribute *attr, char *buf) argument
496 nvme_ctrl_fast_io_fail_tmo_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
516 cntrltype_show(struct device *dev, struct device_attribute *attr, char *buf) argument
533 dctype_show(struct device *dev, struct device_attribute *attr, char *buf) argument
551 nvme_ctrl_dhchap_secret_show(struct device *dev, struct device_attribute *attr, char *buf) argument
562 nvme_ctrl_dhchap_secret_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
609 nvme_ctrl_dhchap_ctrl_secret_show(struct device *dev, struct device_attribute *attr, char *buf) argument
620 nvme_ctrl_dhchap_ctrl_secret_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
669 tls_key_show(struct device *dev, struct device_attribute *attr, char *buf) argument
765 nvme_subsys_show_nqn(struct device *dev, struct device_attribute *attr, char *buf) argument
776 nvme_subsys_show_type(struct device *dev, struct device_attribute *attr, char *buf) argument
[all...]
/linux-master/drivers/hwmon/
H A Dadm1025.c164 in_show(struct device *dev, struct device_attribute *attr, char *buf) argument
166 int index = to_sensor_dev_attr(attr)->index;
173 in_min_show(struct device *dev, struct device_attribute *attr, char *buf) argument
175 int index = to_sensor_dev_attr(attr)->index;
182 in_max_show(struct device *dev, struct device_attribute *attr, char *buf) argument
184 int index = to_sensor_dev_attr(attr)->index;
191 temp_show(struct device *dev, struct device_attribute *attr, char *buf) argument
193 int index = to_sensor_dev_attr(attr)->index;
199 temp_min_show(struct device *dev, struct device_attribute *attr, char *buf) argument
201 int index = to_sensor_dev_attr(attr)
207 temp_max_show(struct device *dev, struct device_attribute *attr, char *buf) argument
214 in_min_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
235 in_max_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
275 temp_min_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
297 temp_max_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
327 alarms_show(struct device *dev, struct device_attribute *attr, char *buf) argument
335 alarm_show(struct device *dev, struct device_attribute *attr, char *buf) argument
352 cpu0_vid_show(struct device *dev, struct device_attribute *attr, char *buf) argument
360 vrm_show(struct device *dev, struct device_attribute *attr, char *buf) argument
365 vrm_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
[all...]
H A Dina209.c268 * reset_history attribute write, use a bit mask in attr->index to identify
283 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); local
286 u32 mask = attr->index;
310 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); local
311 int reg = attr->index;
338 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); local
345 val = ina209_from_reg(attr->index, data->regs[attr->index]);
352 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); local
354 const unsigned int mask = attr
[all...]
H A Dgl520sm.c190 struct device_attribute *attr, char *buf)
206 struct device_attribute *attr, char *buf)
208 int n = to_sensor_dev_attr(attr)->index;
218 static ssize_t in_min_show(struct device *dev, struct device_attribute *attr, argument
221 int n = to_sensor_dev_attr(attr)->index;
231 static ssize_t in_max_show(struct device *dev, struct device_attribute *attr, argument
234 int n = to_sensor_dev_attr(attr)->index;
244 static ssize_t in_min_store(struct device *dev, struct device_attribute *attr, argument
249 int n = to_sensor_dev_attr(attr)->index;
278 static ssize_t in_max_store(struct device *dev, struct device_attribute *attr, argument
189 cpu0_vid_show(struct device *dev, struct device_attribute *attr, char *buf) argument
205 in_input_show(struct device *dev, struct device_attribute *attr, char *buf) argument
338 fan_input_show(struct device *dev, struct device_attribute *attr, char *buf) argument
348 fan_min_show(struct device *dev, struct device_attribute *attr, char *buf) argument
358 fan_div_show(struct device *dev, struct device_attribute *attr, char *buf) argument
367 fan1_off_show(struct device *dev, struct device_attribute *attr, char *buf) argument
374 fan_min_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
414 fan_div_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
464 fan1_off_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
501 temp_input_show(struct device *dev, struct device_attribute *attr, char *buf) argument
510 temp_max_show(struct device *dev, struct device_attribute *attr, char *buf) argument
519 temp_max_hyst_show(struct device *dev, struct device_attribute *attr, char *buf) argument
528 temp_max_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
549 temp_max_hyst_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
578 alarms_show(struct device *dev, struct device_attribute *attr, char *buf) argument
585 beep_enable_show(struct device *dev, struct device_attribute *attr, char *buf) argument
592 beep_mask_show(struct device *dev, struct device_attribute *attr, char *buf) argument
599 beep_enable_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
624 beep_mask_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
649 alarm_show(struct device *dev, struct device_attribute *attr, char *buf) argument
668 beep_show(struct device *dev, struct device_attribute *attr, char *buf) argument
677 beep_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
[all...]
H A Dltc2945.c245 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); local
248 value = ltc2945_reg_to_val(dev, attr->index);
258 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); local
261 u8 reg = attr->index;
296 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); local
299 u8 reg = attr->index;
349 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); local
359 fault &= attr->index;
361 regmap_update_bits(regmap, LTC2945_FAULT, attr->index, 0);
429 &sensor_dev_attr_in1_input.dev_attr.attr,
[all...]
H A Dadm1029.c161 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); local
164 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp[attr->index]));
170 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); local
174 if (data->fan[attr->index] == 0 ||
175 (data->fan_div[attr->index] & 0xC0) == 0 ||
176 data->fan[attr->index] == 255) {
180 val = 1880 * 120 / DIV_FROM_REG(data->fan_div[attr->index])
181 / data->fan[attr->index];
188 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); local
191 if ((data->fan_div[attr
202 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); local
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
H A Dct_fs_dmfs.c14 struct mlx5_flow_attr *attr; member in struct:mlx5_ct_fs_dmfs_rule
31 struct mlx5_flow_attr *attr, struct flow_rule *flow_rule)
41 dmfs_rule->rule = mlx5_tc_rule_insert(priv, spec, attr);
48 dmfs_rule->attr = attr;
64 mlx5_tc_rule_delete(netdev_priv(fs->netdev), dmfs_rule->rule, dmfs_rule->attr);
30 mlx5_ct_fs_dmfs_ct_rule_add(struct mlx5_ct_fs *fs, struct mlx5_flow_spec *spec, struct mlx5_flow_attr *attr, struct flow_rule *flow_rule) argument
/linux-master/tools/testing/selftests/powerpc/mce/
H A Dinject-ra-err.c30 struct vas_tx_win_open_attr attr; local
38 memset(&attr, 0, sizeof(attr));
39 attr.version = 1;
40 attr.vas_id = 0;
46 FAIL_IF(ioctl(fd, VAS_TX_WIN_OPEN, &attr) < 0);
/linux-master/drivers/remoteproc/
H A Dremoteproc_sysfs.c14 struct device_attribute *attr, char *buf)
46 struct device_attribute *attr,
81 struct device_attribute *attr, char *buf)
105 struct device_attribute *attr,
131 static ssize_t firmware_show(struct device *dev, struct device_attribute *attr, argument
150 struct device_attribute *attr,
178 static ssize_t state_show(struct device *dev, struct device_attribute *attr, argument
190 struct device_attribute *attr,
213 static ssize_t name_show(struct device *dev, struct device_attribute *attr, argument
222 static umode_t rproc_is_visible(struct kobject *kobj, struct attribute *attr, argument
13 recovery_show(struct device *dev, struct device_attribute *attr, char *buf) argument
45 recovery_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
80 coredump_show(struct device *dev, struct device_attribute *attr, char *buf) argument
104 coredump_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
149 firmware_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
189 state_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
[all...]
/linux-master/sound/aoa/soundbus/
H A Dsysfs.c8 static ssize_t modalias_show(struct device *dev, struct device_attribute *attr, argument
24 struct device_attribute *attr, char *buf)
34 struct device_attribute *attr, char *buf)
44 &dev_attr_name.attr,
45 &dev_attr_type.attr,
46 &dev_attr_modalias.attr,
23 name_show(struct device *dev, struct device_attribute *attr, char *buf) argument
33 type_show(struct device *dev, struct device_attribute *attr, char *buf) argument
/linux-master/samples/hw_breakpoint/
H A Ddata_breakpoint.c43 struct perf_event_attr attr; local
49 hw_breakpoint_init(&attr);
50 attr.bp_addr = (unsigned long)addr;
51 attr.bp_len = HW_BREAKPOINT_LEN_4;
52 attr.bp_type = HW_BREAKPOINT_W;
54 sample_hbp = register_wide_hw_breakpoint(&attr, sample_hbp_handler, NULL);
/linux-master/drivers/s390/crypto/
H A Dap_card.c23 struct device_attribute *attr, char *buf)
33 struct device_attribute *attr, char *buf)
42 static ssize_t depth_show(struct device *dev, struct device_attribute *attr, argument
53 struct device_attribute *attr, char *buf)
63 struct device_attribute *attr,
77 struct device_attribute *attr,
97 struct device_attribute *attr, char *buf)
116 struct device_attribute *attr, char *buf)
135 struct device_attribute *attr, char *buf)
143 struct device_attribute *attr, cha
22 hwtype_show(struct device *dev, struct device_attribute *attr, char *buf) argument
32 raw_hwtype_show(struct device *dev, struct device_attribute *attr, char *buf) argument
52 ap_functions_show(struct device *dev, struct device_attribute *attr, char *buf) argument
62 request_count_show(struct device *dev, struct device_attribute *attr, char *buf) argument
76 request_count_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
96 requestq_count_show(struct device *dev, struct device_attribute *attr, char *buf) argument
115 pendingq_count_show(struct device *dev, struct device_attribute *attr, char *buf) argument
134 modalias_show(struct device *dev, struct device_attribute *attr, char *buf) argument
142 config_show(struct device *dev, struct device_attribute *attr, char *buf) argument
150 config_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
176 chkstop_show(struct device *dev, struct device_attribute *attr, char *buf) argument
186 max_msg_size_show(struct device *dev, struct device_attribute *attr, char *buf) argument
[all...]
/linux-master/drivers/scsi/fnic/
H A Dfnic_attrs.c12 struct device_attribute *attr, char *buf)
21 struct device_attribute *attr, char *buf)
27 struct device_attribute *attr, char *buf)
39 &dev_attr_fnic_state.attr,
40 &dev_attr_drv_version.attr,
41 &dev_attr_link_state.attr,
11 fnic_show_state(struct device *dev, struct device_attribute *attr, char *buf) argument
20 fnic_show_drv_version(struct device *dev, struct device_attribute *attr, char *buf) argument
26 fnic_show_link_state(struct device *dev, struct device_attribute *attr, char *buf) argument
/linux-master/tools/testing/selftests/mqueue/
H A Dmq_open_tests.c68 static inline void test_queue(struct mq_attr *attr, struct mq_attr *result);
69 static inline int test_queue_fail(struct mq_attr *attr, struct mq_attr *result);
200 static inline void test_queue(struct mq_attr *attr, struct mq_attr *result) argument
205 if ((queue = mq_open(queue_path, flags, perms, attr)) == -1)
222 static inline int test_queue_fail(struct mq_attr *attr, struct mq_attr *result) argument
227 if ((queue = mq_open(queue_path, flags, perms, attr)) == -1)
241 struct mq_attr attr, result; local
325 printf("\n\nTest series 1, behavior when no attr struct "
329 printf("Given sane system settings, mq_open without an attr "
361 printf("Given sane values, mq_open without an attr struc
[all...]
/linux-master/drivers/rapidio/
H A Drio-sysfs.c20 field##_show(struct device *dev, struct device_attribute *attr, char *buf) \
37 static ssize_t routes_show(struct device *dev, struct device_attribute *attr, char *buf) argument
57 struct device_attribute *attr, char *buf)
67 struct device_attribute *attr, char *buf)
88 struct device_attribute *attr, char *buf)
98 &dev_attr_did.attr,
99 &dev_attr_vid.attr,
100 &dev_attr_device_rev.attr,
101 &dev_attr_asm_did.attr,
102 &dev_attr_asm_vid.attr,
56 lprev_show(struct device *dev, struct device_attribute *attr, char *buf) argument
66 lnext_show(struct device *dev, struct device_attribute *attr, char *buf) argument
87 modalias_show(struct device *dev, struct device_attribute *attr, char *buf) argument
259 rio_dev_is_attr_visible(struct kobject *kobj, struct attribute *attr, int n) argument
329 port_destid_show(struct device *dev, struct device_attribute *attr, char *buf) argument
341 sys_size_show(struct device *dev, struct device_attribute *attr, char *buf) argument
[all...]
/linux-master/drivers/platform/x86/intel/uncore-frequency/
H A Duncore-frequency-common.c26 static ssize_t show_domain_id(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument
28 struct uncore_data *data = container_of(attr, struct uncore_data, domain_id_kobj_attr);
33 static ssize_t show_fabric_cluster_id(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument
35 struct uncore_data *data = container_of(attr, struct uncore_data, fabric_cluster_id_kobj_attr);
40 static ssize_t show_package_id(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument
42 struct uncore_data *data = container_of(attr, struct uncore_data, package_id_kobj_attr);
101 struct kobj_attribute *attr, \
104 struct uncore_data *data = container_of(attr, struct uncore_data, name##_kobj_attr);\
112 struct kobj_attribute *attr, char *buf)\
114 struct uncore_data *data = container_of(attr, struc
[all...]
/linux-master/drivers/mtd/spi-nor/
H A Dsysfs.c11 struct device_attribute *attr, char *buf)
22 struct device_attribute *attr, char *buf)
33 struct device_attribute *attr, char *buf)
46 &dev_attr_manufacturer.attr,
47 &dev_attr_partname.attr,
48 &dev_attr_jedec_id.attr,
73 struct attribute *attr, int n)
79 if (attr == &dev_attr_manufacturer.attr && !nor->manufacturer)
81 if (attr
10 manufacturer_show(struct device *dev, struct device_attribute *attr, char *buf) argument
21 partname_show(struct device *dev, struct device_attribute *attr, char *buf) argument
32 jedec_id_show(struct device *dev, struct device_attribute *attr, char *buf) argument
72 spi_nor_sysfs_is_visible(struct kobject *kobj, struct attribute *attr, int n) argument
89 spi_nor_sysfs_is_bin_visible(struct kobject *kobj, struct bin_attribute *attr, int n) argument
[all...]
/linux-master/drivers/usb/core/
H A Dendpoint.c29 struct attribute attr; member in struct:ep_attribute
34 container_of(_attr, struct ep_attribute, attr)
38 struct device_attribute *attr, \
52 struct device_attribute *attr, char *buf)
59 static ssize_t type_show(struct device *dev, struct device_attribute *attr, argument
83 static ssize_t interval_show(struct device *dev, struct device_attribute *attr, argument
102 static ssize_t direction_show(struct device *dev, struct device_attribute *attr, argument
119 &dev_attr_bLength.attr,
120 &dev_attr_bEndpointAddress.attr,
121 &dev_attr_bmAttributes.attr,
51 wMaxPacketSize_show(struct device *dev, struct device_attribute *attr, char *buf) argument
[all...]
/linux-master/drivers/media/usb/pvrusb2/
H A Dpvrusb2-sysfs.c70 struct device_attribute *attr,
75 cip = container_of(attr, struct pvr2_sysfs_ctl_item, attr_name);
84 struct device_attribute *attr,
90 cip = container_of(attr, struct pvr2_sysfs_ctl_item, attr_type);
105 struct device_attribute *attr,
110 cip = container_of(attr, struct pvr2_sysfs_ctl_item, attr_min);
118 struct device_attribute *attr,
123 cip = container_of(attr, struct pvr2_sysfs_ctl_item, attr_max);
131 struct device_attribute *attr,
138 cip = container_of(attr, struc
69 show_name(struct device *class_dev, struct device_attribute *attr, char *buf) argument
83 show_type(struct device *class_dev, struct device_attribute *attr, char *buf) argument
104 show_min(struct device *class_dev, struct device_attribute *attr, char *buf) argument
117 show_max(struct device *class_dev, struct device_attribute *attr, char *buf) argument
130 show_def(struct device *class_dev, struct device_attribute *attr, char *buf) argument
149 show_val_norm(struct device *class_dev, struct device_attribute *attr, char *buf) argument
168 show_val_custom(struct device *class_dev, struct device_attribute *attr, char *buf) argument
187 show_enum(struct device *class_dev, struct device_attribute *attr, char *buf) argument
211 show_bits(struct device *class_dev, struct device_attribute *attr, char *buf) argument
254 store_val_norm(struct device *class_dev, struct device_attribute *attr, const char *buf, size_t count) argument
268 store_val_custom(struct device *class_dev, struct device_attribute *attr, const char *buf, size_t count) argument
541 v4l_minor_number_show(struct device *class_dev, struct device_attribute *attr, char *buf) argument
553 bus_info_show(struct device *class_dev, struct device_attribute *attr, char *buf) argument
564 hdw_name_show(struct device *class_dev, struct device_attribute *attr, char *buf) argument
575 hdw_desc_show(struct device *class_dev, struct device_attribute *attr, char *buf) argument
586 v4l_radio_minor_number_show(struct device *class_dev, struct device_attribute *attr, char *buf) argument
599 unit_number_show(struct device *class_dev, struct device_attribute *attr, char *buf) argument
776 debuginfo_show(struct device *class_dev, struct device_attribute *attr, char *buf) argument
787 debugcmd_show(struct device *class_dev, struct device_attribute *attr, char *buf) argument
797 debugcmd_store(struct device *class_dev, struct device_attribute *attr, const char *buf, size_t count) argument
[all...]
/linux-master/net/802/
H A Dgarp.c138 static int garp_attr_cmp(const struct garp_attr *attr, argument
141 if (attr->type != type)
142 return attr->type - type;
143 if (attr->dlen != len)
144 return attr->dlen - len;
145 return memcmp(attr->data, data, len);
152 struct garp_attr *attr; local
156 attr = rb_entry(parent, struct garp_attr, node);
157 d = garp_attr_cmp(attr, data, len, type);
163 return attr;
172 struct garp_attr *attr; local
201 garp_attr_destroy(struct garp_applicant *app, struct garp_attr *attr) argument
210 struct garp_attr *attr; local
288 garp_pdu_append_attr(struct garp_applicant *app, const struct garp_attr *attr, enum garp_attr_event event) argument
324 garp_attr_event(struct garp_applicant *app, struct garp_attr *attr, enum garp_event event) argument
361 struct garp_attr *attr; local
381 struct garp_attr *attr; local
397 struct garp_attr *attr; local
443 struct garp_attr *attr; local
[all...]
/linux-master/drivers/platform/chrome/
H A Dchromeos_acpi.c27 struct attribute *attr, int n) \
30 return attr->mode; \
34 struct device_attribute *attr, \
40 ret = parse_attr_name(attr->attr.name, name, &num); \
55 &dev_attr_0_##_group.attr, \
56 &dev_attr_1_##_group.attr, \
57 &dev_attr_2_##_group.attr, \
58 &dev_attr_3_##_group.attr, \
160 static ssize_t chromeos_first_level_attr_show(struct device *dev, struct device_attribute *attr, argument
[all...]
/linux-master/drivers/acpi/dptf/
H A Ddptf_power.c27 struct device_attribute *attr,\
65 struct device_attribute *attr,
85 &dev_attr_max_platform_power_mw.attr,
86 &dev_attr_platform_power_source.attr,
87 &dev_attr_adapter_rating_mw.attr,
88 &dev_attr_battery_steady_power_mw.attr,
89 &dev_attr_charger_type.attr,
90 &dev_attr_rest_of_platform_power_mw.attr,
91 &dev_attr_prochot_confirm.attr,
101 &dev_attr_max_platform_power_mw.attr,
64 prochot_confirm_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
136 char *attr; local
[all...]
/linux-master/fs/xfs/libxfs/
H A Dxfs_attr.c60 static int xfs_attr_node_try_addname(struct xfs_attr_intent *attr);
61 STATIC int xfs_attr_node_addname_find_attr(struct xfs_attr_intent *attr);
62 STATIC int xfs_attr_node_remove_attr(struct xfs_attr_intent *attr);
79 * Returns true if the there is exactly only block in the attr fork, in which
317 /* Initialize transaction reservation for attr operations */
340 * Add an attr to a shortform fork. If there is no space,
377 struct xfs_attr_intent *attr)
379 struct xfs_da_args *args = attr->xattri_da_args;
386 attr->xattri_dela_state = XFS_DAS_DONE;
398 attr
376 xfs_attr_sf_addname( struct xfs_attr_intent *attr) argument
416 xfs_attr_complete_op( struct xfs_attr_intent *attr, enum xfs_delattr_state replace_state) argument
432 xfs_attr_leaf_addname( struct xfs_attr_intent *attr) argument
484 xfs_attr_node_addname( struct xfs_attr_intent *attr) argument
519 xfs_attr_rmtval_alloc( struct xfs_attr_intent *attr) argument
586 xfs_attr_item_init_da_state( struct xfs_attr_intent *attr) argument
603 xfs_attr_node_removename_setup( struct xfs_attr_intent *attr) argument
641 xfs_attr_leaf_remove_attr( struct xfs_attr_intent *attr) argument
706 xfs_attr_set_iter( struct xfs_attr_intent *attr) argument
1312 xfs_attr_node_addname_find_attr( struct xfs_attr_intent *attr) argument
1365 xfs_attr_node_try_addname( struct xfs_attr_intent *attr) argument
1430 xfs_attr_node_remove_attr( struct xfs_attr_intent *attr) argument
[all...]
/linux-master/drivers/s390/net/
H A Dqeth_l2_sys.c13 struct device_attribute *attr, char *buf,
64 struct device_attribute *attr, char *buf)
71 return qeth_bridge_port_role_state_show(dev, attr, buf, 0);
75 struct device_attribute *attr, const char *buf, size_t count)
115 struct device_attribute *attr, char *buf)
122 return qeth_bridge_port_role_state_show(dev, attr, buf, 1);
129 struct device_attribute *attr, char *buf)
143 struct device_attribute *attr, const char *buf, size_t count)
177 struct device_attribute *attr, char *buf)
197 struct device_attribute *attr, cons
12 qeth_bridge_port_role_state_show(struct device *dev, struct device_attribute *attr, char *buf, int show_state) argument
63 qeth_bridge_port_role_show(struct device *dev, struct device_attribute *attr, char *buf) argument
74 qeth_bridge_port_role_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
114 qeth_bridge_port_state_show(struct device *dev, struct device_attribute *attr, char *buf) argument
128 qeth_bridgeport_hostnotification_show(struct device *dev, struct device_attribute *attr, char *buf) argument
142 qeth_bridgeport_hostnotification_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
176 qeth_bridgeport_reflect_show(struct device *dev, struct device_attribute *attr, char *buf) argument
196 qeth_bridgeport_reflect_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
274 qeth_vnicc_timeout_show(struct device *dev, struct device_attribute *attr, char *buf) argument
290 qeth_vnicc_timeout_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
309 qeth_vnicc_char_show(struct device *dev, struct device_attribute *attr, char *buf) argument
328 qeth_vnicc_char_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
[all...]

Completed in 279 milliseconds

1234567891011>>