Searched refs:attr (Results 76 - 100 of 3244) sorted by relevance

1234567891011>>

/linux-master/drivers/scsi/
H A Dscsi_transport_iscsi.c127 show_transport_handle(struct device *dev, struct device_attribute *attr, argument
142 struct device_attribute *attr,char *buf) \
152 &dev_attr_handle.attr,
153 &dev_attr_caps.attr,
188 show_ep_handle(struct device *dev, struct device_attribute *attr, char *buf) argument
196 &dev_attr_ep_handle.attr,
321 show_##type##_##name(struct device *dev, struct device_attribute *attr, \
442 struct attribute *attr, int i)
449 if (attr == &dev_attr_iface_def_taskmgmt_tmo.attr)
441 iscsi_iface_attr_is_visible(struct kobject *kobj, struct attribute *attr, int i) argument
907 iscsi_flashnode_sess_attr_is_visible(struct kobject *kobj, struct attribute *attr, int i) argument
1109 iscsi_flashnode_conn_attr_is_visible(struct kobject *kobj, struct attribute *attr, int i) argument
4185 show_conn_state(struct device *dev, struct device_attribute *attr, char *buf) argument
4273 iscsi_conn_attr_is_visible(struct kobject *kobj, struct attribute *attr, int i) argument
4420 show_priv_session_target_state(struct device *dev, struct device_attribute *attr, char *buf) argument
4433 show_priv_session_state(struct device *dev, struct device_attribute *attr, char *buf) argument
4442 show_priv_session_creator(struct device *dev, struct device_attribute *attr, char *buf) argument
4451 show_priv_session_target_id(struct device *dev, struct device_attribute *attr, char *buf) argument
4556 iscsi_session_attr_is_visible(struct kobject *kobj, struct attribute *attr, int i) argument
4702 iscsi_host_attr_is_visible(struct kobject *kobj, struct attribute *attr, int i) argument
[all...]
/linux-master/arch/powerpc/platforms/powernv/
H A Dopal-sysparam.c104 struct param_attr *attr = container_of(kobj_attr, struct param_attr, local
109 ret = opal_get_sys_param(attr->param_id, attr->param_size,
114 memcpy(buf, param_data_buf, attr->param_size);
116 ret = attr->param_size;
125 struct param_attr *attr = container_of(kobj_attr, struct param_attr, local
135 ret = opal_set_sys_param(attr->param_id, attr->param_size,
146 struct param_attr *attr; local
225 attr
[all...]
H A Dopal-psr.c22 struct kobj_attribute attr; member in struct:psr_attr
25 static ssize_t psr_show(struct kobject *kobj, struct kobj_attribute *attr, argument
28 struct psr_attr *psr_attr = container_of(attr, struct psr_attr, attr);
75 static ssize_t psr_store(struct kobject *kobj, struct kobj_attribute *attr, argument
78 struct psr_attr *psr_attr = container_of(attr, struct psr_attr, attr);
151 sysfs_attr_init(&psr_attrs[i].attr.attr);
153 &psr_attrs[i].attr
[all...]
H A Dopal-powercap.c22 struct kobj_attribute attr; member in struct:powercap_attr
30 static ssize_t powercap_show(struct kobject *kobj, struct kobj_attribute *attr, argument
33 struct powercap_attr *pcap_attr = container_of(attr,
34 struct powercap_attr, attr);
82 struct kobj_attribute *attr, const char *buf,
85 struct powercap_attr *pcap_attr = container_of(attr,
86 struct powercap_attr, attr);
133 struct powercap_attr *attr)
135 attr->handle = handle;
136 sysfs_attr_init(&attr
81 powercap_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t count) argument
132 powercap_add_attr(int handle, const char *name, struct powercap_attr *attr) argument
[all...]
/linux-master/drivers/infiniband/ulp/rtrs/
H A Drtrs-clt-sysfs.c50 struct device_attribute *attr,
61 struct device_attribute *attr,
73 attr->attr.name, buf);
80 attr->attr.name, buf, MIN_MAX_RECONN_ATT,
92 struct device_attribute *attr,
115 struct device_attribute *attr,
157 struct device_attribute *attr, char *page)
161 attr
49 max_reconnect_attempts_show(struct device *dev, struct device_attribute *attr, char *page) argument
60 max_reconnect_attempts_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
91 mpath_policy_show(struct device *dev, struct device_attribute *attr, char *page) argument
114 mpath_policy_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
156 add_path_show(struct device *dev, struct device_attribute *attr, char *page) argument
164 add_path_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
198 rtrs_clt_state_show(struct kobject *kobj, struct kobj_attribute *attr, char *page) argument
213 rtrs_clt_reconnect_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument
219 rtrs_clt_reconnect_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t count) argument
243 rtrs_clt_disconnect_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument
249 rtrs_clt_disconnect_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t count) argument
270 rtrs_clt_remove_path_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument
276 rtrs_clt_remove_path_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t count) argument
333 rtrs_clt_hca_port_show(struct kobject *kobj, struct kobj_attribute *attr, char *page) argument
347 rtrs_clt_hca_name_show(struct kobject *kobj, struct kobj_attribute *attr, char *page) argument
361 rtrs_clt_cur_latency_show(struct kobject *kobj, struct kobj_attribute *attr, char *page) argument
376 rtrs_clt_src_addr_show(struct kobject *kobj, struct kobj_attribute *attr, char *page) argument
393 rtrs_clt_dst_addr_show(struct kobject *kobj, struct kobj_attribute *attr, char *page) argument
[all...]
/linux-master/drivers/usb/typec/
H A Dpd.c37 dual_role_power_show(struct device *dev, struct device_attribute *attr, char *buf) argument
44 usb_suspend_supported_show(struct device *dev, struct device_attribute *attr, char *buf) argument
51 higher_capability_show(struct device *dev, struct device_attribute *attr, char *buf) argument
58 unconstrained_power_show(struct device *dev, struct device_attribute *attr, char *buf) argument
65 usb_communication_capable_show(struct device *dev, struct device_attribute *attr, char *buf) argument
72 dual_role_data_show(struct device *dev, struct device_attribute *attr, char *buf) argument
80 struct device_attribute *attr, char *buf)
87 peak_current_show(struct device *dev, struct device_attribute *attr, char *buf) argument
94 fast_role_swap_current_show(struct device *dev, struct device_attribute *attr, char *buf) argument
100 static ssize_t voltage_show(struct device *dev, struct device_attribute *attr, cha argument
79 unchunked_extended_messages_supported_show(struct device *dev, struct device_attribute *attr, char *buf) argument
107 current_show(struct device *dev, struct device_attribute *attr, char *buf) argument
142 fixed_attr_is_visible(struct kobject *kobj, struct attribute *attr, int n) argument
195 maximum_voltage_show(struct device *dev, struct device_attribute *attr, char *buf) argument
202 minimum_voltage_show(struct device *dev, struct device_attribute *attr, char *buf) argument
240 maximum_power_show(struct device *dev, struct device_attribute *attr, char *buf) argument
247 operational_power_show(struct device *dev, struct device_attribute *attr, char *buf) argument
285 pps_power_limited_show(struct device *dev, struct device_attribute *attr, char *buf) argument
292 pps_max_voltage_show(struct device *dev, struct device_attribute *attr, char *buf) argument
298 pps_min_voltage_show(struct device *dev, struct device_attribute *attr, char *buf) argument
304 pps_max_current_show(struct device *dev, struct device_attribute *attr, char *buf) argument
532 revision_show(struct device *dev, struct device_attribute *attr, char *buf) argument
540 version_show(struct device *dev, struct device_attribute *attr, char *buf) argument
554 pd_attr_is_visible(struct kobject *kobj, struct attribute *attr, int n) argument
[all...]
/linux-master/drivers/hwmon/
H A Dwm8350-hwmon.c26 struct device_attribute *attr, char *buf)
29 int channel = to_sensor_dev_attr(attr)->index;
39 struct device_attribute *attr, char *buf)
41 int channel = to_sensor_dev_attr(attr)->index;
57 &sensor_dev_attr_in0_input.dev_attr.attr,
58 &sensor_dev_attr_in0_label.dev_attr.attr,
59 &sensor_dev_attr_in1_input.dev_attr.attr,
60 &sensor_dev_attr_in1_label.dev_attr.attr,
61 &sensor_dev_attr_in2_input.dev_attr.attr,
62 &sensor_dev_attr_in2_label.dev_attr.attr,
25 show_voltage(struct device *dev, struct device_attribute *attr, char *buf) argument
38 show_label(struct device *dev, struct device_attribute *attr, char *buf) argument
[all...]
H A Dmax16065.c196 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); local
198 int adc = data->adc[attr->index];
204 ADC_TO_MV(adc, data->range[attr->index]));
352 &sensor_dev_attr_in0_input.dev_attr.attr,
353 &sensor_dev_attr_in0_lcrit.dev_attr.attr,
354 &sensor_dev_attr_in0_crit.dev_attr.attr,
355 &sensor_dev_attr_in0_alarm.dev_attr.attr,
357 &sensor_dev_attr_in1_input.dev_attr.attr,
358 &sensor_dev_attr_in1_lcrit.dev_attr.attr,
359 &sensor_dev_attr_in1_crit.dev_attr.attr,
[all...]
H A Dmax1668.c166 static ssize_t show_alarm(struct device *dev, struct device_attribute *attr, argument
169 int index = to_sensor_dev_attr(attr)->index;
287 &sensor_dev_attr_temp1_max.dev_attr.attr,
288 &sensor_dev_attr_temp1_min.dev_attr.attr,
289 &sensor_dev_attr_temp1_input.dev_attr.attr,
290 &sensor_dev_attr_temp2_max.dev_attr.attr,
291 &sensor_dev_attr_temp2_min.dev_attr.attr,
292 &sensor_dev_attr_temp2_input.dev_attr.attr,
293 &sensor_dev_attr_temp3_max.dev_attr.attr,
294 &sensor_dev_attr_temp3_min.dev_attr.attr,
328 max1668_attribute_mode(struct kobject *kobj, struct attribute *attr, int index) argument
[all...]
H A Dultra45_env.c98 static ssize_t show_fan_speed(struct device *dev, struct device_attribute *attr, argument
101 int fan_nr = to_sensor_dev_attr(attr)->index;
116 static ssize_t set_fan_speed(struct device *dev, struct device_attribute *attr, argument
119 int fan_nr = to_sensor_dev_attr(attr)->index;
140 static ssize_t show_fan_fault(struct device *dev, struct device_attribute *attr, argument
143 int fan_nr = to_sensor_dev_attr(attr)->index;
163 static ssize_t show_temp(struct device *dev, struct device_attribute *attr, argument
166 int temp_nr = to_sensor_dev_attr(attr)->index;
184 static ssize_t show_stat_bit(struct device *dev, struct device_attribute *attr, argument
187 int index = to_sensor_dev_attr(attr)
201 show_fwver(struct device *dev, struct device_attribute *attr, char *buf) argument
213 show_name(struct device *dev, struct device_attribute *attr, char *buf) argument
[all...]
/linux-master/tools/testing/selftests/powerpc/pmu/
H A Dper_event_excludes.c37 e->attr.disabled = 1;
42 e->attr.disabled = 1;
43 e->attr.exclude_user = 1;
44 e->attr.exclude_hv = 1;
49 e->attr.disabled = 1;
50 e->attr.exclude_user = 1;
51 e->attr.exclude_kernel = 1;
56 e->attr.disabled = 1;
57 e->attr.exclude_hv = 1;
58 e->attr
[all...]
/linux-master/drivers/macintosh/
H A Dmacio_sysfs.c9 compatible_show (struct device *dev, struct device_attribute *attr, char *buf) argument
35 static ssize_t modalias_show (struct device *dev, struct device_attribute *attr, argument
42 struct device_attribute *attr, char *buf)
53 struct device_attribute *attr, char *buf)
60 struct device_attribute *attr, char *buf)
67 &dev_attr_name.attr,
68 &dev_attr_type.attr,
69 &dev_attr_compatible.attr,
70 &dev_attr_modalias.attr,
71 &dev_attr_devspec.attr,
41 devspec_show(struct device *dev, struct device_attribute *attr, char *buf) argument
52 name_show(struct device *dev, struct device_attribute *attr, char *buf) argument
59 type_show(struct device *dev, struct device_attribute *attr, char *buf) argument
[all...]
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dperf_link.c30 struct perf_event_attr attr; local
37 memset(&attr, 0, sizeof(attr));
38 attr.size = sizeof(attr);
39 attr.type = PERF_TYPE_SOFTWARE;
40 attr.config = PERF_COUNT_SW_CPU_CLOCK;
41 attr.freq = 1;
42 attr.sample_freq = 1000;
43 pfd = syscall(__NR_perf_event_open, &attr,
[all...]
/linux-master/drivers/soc/nuvoton/
H A Dwpcm450-soc.c49 struct soc_device_attribute *attr; local
77 attr = kzalloc(sizeof(*attr), GFP_KERNEL);
78 if (!attr)
81 attr->family = "Nuvoton NPCM";
82 attr->soc_id = "WPCM450";
83 attr->revision = revision;
84 soc = soc_device_register(attr);
86 kfree(attr);
92 wpcm450_attr = attr;
[all...]
/linux-master/drivers/power/supply/
H A Dpower_supply_hwmon.c21 static int power_supply_hwmon_in_to_property(u32 attr) argument
23 switch (attr) {
37 static int power_supply_hwmon_curr_to_property(u32 attr) argument
39 switch (attr) {
51 static int power_supply_hwmon_temp_to_property(u32 attr, int channel) argument
54 switch (attr) {
65 switch (attr) {
86 u32 attr, int channel)
90 return power_supply_hwmon_in_to_property(attr);
92 return power_supply_hwmon_curr_to_property(attr);
85 power_supply_hwmon_to_property(enum hwmon_sensor_types type, u32 attr, int channel) argument
100 power_supply_hwmon_is_a_label(enum hwmon_sensor_types type, u32 attr) argument
139 power_supply_hwmon_is_writable(enum hwmon_sensor_types type, u32 attr) argument
158 power_supply_hwmon_is_visible(const void *data, enum hwmon_sensor_types type, u32 attr, int channel) argument
183 power_supply_hwmon_read_string(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel, const char **str) argument
206 power_supply_hwmon_read(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel, long *val) argument
250 power_supply_hwmon_write(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel, long val) argument
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/
H A Dvlan.c35 struct mlx5_esw_flow_attr *attr,
40 u8 vlan_idx = attr->total_vlan;
60 attr->vlan_vid[vlan_idx] = act->vlan.vid;
61 attr->vlan_prio[vlan_idx] = act->vlan.prio;
62 attr->vlan_proto[vlan_idx] = act->vlan.proto;
63 if (!attr->vlan_proto[vlan_idx])
64 attr->vlan_proto[vlan_idx] = htons(ETH_P_8021Q);
78 memcpy(attr->eth.h_dest, act->vlan_push_eth.dst, ETH_ALEN);
79 memcpy(attr->eth.h_source, act->vlan_push_eth.src, ETH_ALEN);
86 attr
33 parse_tc_vlan_action(struct mlx5e_priv *priv, const struct flow_action_entry *act, struct mlx5_esw_flow_attr *attr, u32 *action, struct netlink_ext_ack *extack, struct mlx5e_tc_act_parse_state *parse_state) argument
92 mlx5e_tc_act_vlan_add_push_action(struct mlx5e_priv *priv, struct mlx5_flow_attr *attr, struct net_device **out_dev, struct netlink_ext_ack *extack) argument
123 mlx5e_tc_act_vlan_add_pop_action(struct mlx5e_priv *priv, struct mlx5_flow_attr *attr, struct netlink_ext_ack *extack) argument
145 tc_act_parse_vlan(struct mlx5e_tc_act_parse_state *parse_state, const struct flow_action_entry *act, struct mlx5e_priv *priv, struct mlx5_flow_attr *attr) argument
175 tc_act_post_parse_vlan(struct mlx5e_tc_act_parse_state *parse_state, struct mlx5e_priv *priv, struct mlx5_flow_attr *attr) argument
[all...]
/linux-master/drivers/fpga/
H A Ddfl-fme-perf.c179 struct device_attribute *attr, char *buf)
191 &dev_attr_cpumask.attr,
222 &format_attr_event.attr,
223 &format_attr_evtype.attr,
224 &format_attr_portid.attr,
523 struct device_attribute *attr, char *buf)
529 eattr = container_of(attr, struct dev_ext_attribute, attr);
558 .attr = FME_EVENT_ATTR(_name), \
565 &fme_perf_event_clock.attr
178 cpumask_show(struct device *dev, struct device_attribute *attr, char *buf) argument
522 fme_perf_event_show(struct device *dev, struct device_attribute *attr, char *buf) argument
606 fme_perf_events_visible(struct kobject *kobj, struct attribute *attr, int n) argument
672 fme_perf_fabric_events_visible(struct kobject *kobj, struct attribute *attr, int n) argument
[all...]
/linux-master/tools/perf/arch/x86/util/
H A Devsel.c34 if ((evsel->core.attr.type == PERF_TYPE_RAW) &&
52 u64 event = evsel->core.attr.config & PERF_HW_EVENT_MASK;
53 u64 pmu = evsel->core.attr.config >> PERF_PMU_TYPE_SHIFT;
77 void arch__post_evsel_config(struct evsel *evsel, struct perf_event_attr *attr) argument
93 if (attr->config & IBS_FETCH_L3MISSONLY) {
98 if (attr->config & IBS_OP_L3MISSONLY) {
110 if (!evsel->core.attr.precise_ip &&
115 if (evsel->core.attr.exclude_kernel || evsel->core.attr.exclude_user ||
116 evsel->core.attr
[all...]
/linux-master/drivers/accel/habanalabs/common/
H A Dsysfs.c13 static ssize_t clk_max_freq_mhz_show(struct device *dev, struct device_attribute *attr, char *buf) argument
30 static ssize_t clk_max_freq_mhz_store(struct device *dev, struct device_attribute *attr, argument
56 static ssize_t clk_cur_freq_mhz_show(struct device *dev, struct device_attribute *attr, char *buf) argument
75 &dev_attr_clk_max_freq_mhz.attr,
76 &dev_attr_clk_cur_freq_mhz.attr,
80 static ssize_t vrm_ver_show(struct device *dev, struct device_attribute *attr, char *buf) argument
112 &dev_attr_vrm_ver.attr,
116 static ssize_t uboot_ver_show(struct device *dev, struct device_attribute *attr, argument
125 struct device_attribute *attr, char *buf)
132 static ssize_t armcp_ver_show(struct device *dev, struct device_attribute *attr, argument
124 armcp_kernel_ver_show(struct device *dev, struct device_attribute *attr, char *buf) argument
140 cpld_ver_show(struct device *dev, struct device_attribute *attr, char *buf) argument
149 cpucp_kernel_ver_show(struct device *dev, struct device_attribute *attr, char *buf) argument
157 cpucp_ver_show(struct device *dev, struct device_attribute *attr, char *buf) argument
165 fuse_ver_show(struct device *dev, struct device_attribute *attr, char *buf) argument
173 thermal_ver_show(struct device *dev, struct device_attribute *attr, char *buf) argument
181 fw_os_ver_show(struct device *dev, struct device_attribute *attr, char *buf) argument
189 preboot_btl_ver_show(struct device *dev, struct device_attribute *attr, char *buf) argument
197 soft_reset_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
225 hard_reset_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
248 device_type_show(struct device *dev, struct device_attribute *attr, char *buf) argument
282 pci_addr_show(struct device *dev, struct device_attribute *attr, char *buf) argument
294 status_show(struct device *dev, struct device_attribute *attr, char *buf) argument
308 soft_reset_cnt_show(struct device *dev, struct device_attribute *attr, char *buf) argument
316 hard_reset_cnt_show(struct device *dev, struct device_attribute *attr, char *buf) argument
324 max_power_show(struct device *dev, struct device_attribute *attr, char *buf) argument
340 max_power_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
366 eeprom_read_handler(struct file *filp, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t offset, size_t max_size) argument
397 security_enabled_show(struct device *dev, struct device_attribute *attr, char *buf) argument
405 module_id_show(struct device *dev, struct device_attribute *attr, char *buf) argument
413 parent_device_show(struct device *dev, struct device_attribute *attr, char *buf) argument
[all...]
/linux-master/tools/testing/selftests/mount_setattr/
H A Dmount_setattr_test.c138 struct mount_attr *attr, size_t size)
140 return syscall(__NR_mount_setattr, dfd, path, flags, attr, size);
344 struct mount_attr attr = { local
350 if (sys_mount_setattr(-1, "/mnt/A", AT_RECURSIVE, &attr, sizeof(attr)))
539 struct mount_attr attr = { local
550 ASSERT_EQ(sys_mount_setattr(-1, "/mnt/A", 0, &attr, sizeof(attr)), 0);
575 struct mount_attr attr = { local
586 ASSERT_EQ(sys_mount_setattr(-1, "/mnt/A", AT_RECURSIVE, &attr, sizeo
137 sys_mount_setattr(int dfd, const char *path, unsigned int flags, struct mount_attr *attr, size_t size) argument
669 struct mount_attr attr = { local
726 struct mount_attr attr = { local
760 struct mount_attr attr = { local
964 struct mount_attr attr = { local
980 struct mount_attr attr = { local
1071 struct mount_attr attr = { local
1089 struct mount_attr attr = { local
1108 struct mount_attr attr = { local
1131 struct mount_attr attr = { local
1240 struct mount_attr attr = { local
1270 struct mount_attr attr = { local
1300 struct mount_attr attr = { local
1330 struct mount_attr attr = { local
1362 struct mount_attr attr = { local
1407 struct mount_attr attr = { local
1442 struct mount_attr attr = { local
[all...]
/linux-master/drivers/infiniband/sw/rxe/
H A Drxe_qp.c21 if (cap->max_send_wr > rxe->attr.max_qp_wr) {
23 cap->max_send_wr, rxe->attr.max_qp_wr);
27 if (cap->max_send_sge > rxe->attr.max_send_sge) {
29 cap->max_send_sge, rxe->attr.max_send_sge);
34 if (cap->max_recv_wr > rxe->attr.max_qp_wr) {
36 cap->max_recv_wr, rxe->attr.max_qp_wr);
40 if (cap->max_recv_sge > rxe->attr.max_recv_sge) {
42 cap->max_recv_sge, rxe->attr.max_recv_sge);
120 for (i = 0; i < qp->attr.max_dest_rd_atomic; i++) {
141 for (i = 0; i < qp->attr
439 rxe_qp_chk_attr(struct rxe_dev *rxe, struct rxe_qp *qp, struct ib_qp_attr *attr, int mask) argument
571 rxe_qp_sqd(struct rxe_qp *qp, struct ib_qp_attr *attr, int mask) argument
584 __qp_chk_state(struct rxe_qp *qp, struct ib_qp_attr *attr, int mask) argument
617 rxe_qp_from_attr(struct rxe_qp *qp, struct ib_qp_attr *attr, int mask, struct ib_udata *udata) argument
759 rxe_qp_to_attr(struct rxe_qp *qp, struct ib_qp_attr *attr, int mask) argument
[all...]
/linux-master/arch/arm64/kvm/vgic/
H A Dvgic-kvm-device.c80 * @attr: pointer to the attribute being retrieved/updated
92 static int kvm_vgic_addr(struct kvm *kvm, struct kvm_device_attr *attr, bool write) argument
94 u64 __user *uaddr = (u64 __user *)attr->addr;
102 if (write || attr->attr == KVM_VGIC_V3_ADDR_TYPE_REDIST_REGION)
111 switch (attr->attr) {
210 struct kvm_device_attr *attr)
214 switch (attr->group) {
216 r = kvm_vgic_addr(dev->kvm, attr, tru
209 vgic_set_common_attr(struct kvm_device *dev, struct kvm_device_attr *attr) argument
285 vgic_get_common_attr(struct kvm_device *dev, struct kvm_device_attr *attr) argument
338 vgic_v2_parse_attr(struct kvm_device *dev, struct kvm_device_attr *attr, struct vgic_reg_attr *reg_attr) argument
358 vgic_v2_attr_regs_access(struct kvm_device *dev, struct kvm_device_attr *attr, bool is_write) argument
416 vgic_v2_set_attr(struct kvm_device *dev, struct kvm_device_attr *attr) argument
428 vgic_v2_get_attr(struct kvm_device *dev, struct kvm_device_attr *attr) argument
440 vgic_v2_has_attr(struct kvm_device *dev, struct kvm_device_attr *attr) argument
474 vgic_v3_parse_attr(struct kvm_device *dev, struct kvm_device_attr *attr, struct vgic_reg_attr *reg_attr) argument
508 vgic_v3_attr_regs_access(struct kvm_device *dev, struct kvm_device_attr *attr, bool is_write) argument
598 vgic_v3_set_attr(struct kvm_device *dev, struct kvm_device_attr *attr) argument
612 vgic_v3_get_attr(struct kvm_device *dev, struct kvm_device_attr *attr) argument
626 vgic_v3_has_attr(struct kvm_device *dev, struct kvm_device_attr *attr) argument
[all...]
/linux-master/drivers/dma/idxd/
H A Dsysfs.c21 struct device_attribute *attr, char *buf)
32 struct device_attribute *attr,
74 &dev_attr_engine_group.attr,
116 struct device_attribute *attr,
125 struct device_attribute *attr,
129 return group_read_buffers_reserved_show(dev, attr, buf);
133 struct device_attribute *attr,
166 struct device_attribute *attr,
170 return group_read_buffers_reserved_store(dev, attr, buf, count);
182 struct device_attribute *attr,
20 engine_group_id_show(struct device *dev, struct device_attribute *attr, char *buf) argument
31 engine_group_id_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
115 group_read_buffers_reserved_show(struct device *dev, struct device_attribute *attr, char *buf) argument
124 group_tokens_reserved_show(struct device *dev, struct device_attribute *attr, char *buf) argument
132 group_read_buffers_reserved_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
165 group_tokens_reserved_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
181 group_read_buffers_allowed_show(struct device *dev, struct device_attribute *attr, char *buf) argument
190 group_tokens_allowed_show(struct device *dev, struct device_attribute *attr, char *buf) argument
198 group_read_buffers_allowed_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
228 group_tokens_allowed_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
244 group_use_read_buffer_limit_show(struct device *dev, struct device_attribute *attr, char *buf) argument
253 group_use_token_limit_show(struct device *dev, struct device_attribute *attr, char *buf) argument
261 group_use_read_buffer_limit_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
290 group_use_token_limit_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
306 group_engines_show(struct device *dev, struct device_attribute *attr, char *buf) argument
334 group_work_queues_show(struct device *dev, struct device_attribute *attr, char *buf) argument
362 group_traffic_class_a_show(struct device *dev, struct device_attribute *attr, char *buf) argument
371 group_traffic_class_a_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
404 group_traffic_class_b_show(struct device *dev, struct device_attribute *attr, char *buf) argument
413 group_traffic_class_b_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
446 group_desc_progress_limit_show(struct device *dev, struct device_attribute *attr, char *buf) argument
455 group_desc_progress_limit_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
477 group_batch_progress_limit_show(struct device *dev, struct device_attribute *attr, char *buf) argument
486 group_batch_progress_limit_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
523 idxd_group_attr_progress_limit_invisible(struct attribute *attr, struct idxd_device *idxd) argument
531 idxd_group_attr_read_buffers_invisible(struct attribute *attr, struct idxd_device *idxd) argument
547 idxd_group_attr_visible(struct kobject *kobj, struct attribute *attr, int n) argument
587 wq_clients_show(struct device *dev, struct device_attribute *attr, char *buf) argument
598 wq_state_show(struct device *dev, struct device_attribute *attr, char *buf) argument
616 wq_group_id_show(struct device *dev, struct device_attribute *attr, char *buf) argument
627 wq_group_id_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
671 wq_mode_show(struct device *dev, struct device_attribute *attr, char *buf) argument
679 wq_mode_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
707 wq_size_show(struct device *dev, struct device_attribute *attr, char *buf) argument
729 wq_size_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
758 wq_priority_show(struct device *dev, struct device_attribute *attr, char *buf) argument
766 wq_priority_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
795 wq_block_on_fault_show(struct device *dev, struct device_attribute *attr, char *buf) argument
803 wq_block_on_fault_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
841 wq_threshold_show(struct device *dev, struct device_attribute *attr, char *buf) argument
849 wq_threshold_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
882 wq_type_show(struct device *dev, struct device_attribute *attr, char *buf) argument
900 wq_type_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
930 wq_name_show(struct device *dev, struct device_attribute *attr, char *buf) argument
938 wq_name_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
965 wq_cdev_minor_show(struct device *dev, struct device_attribute *attr, char *buf) argument
999 wq_max_transfer_size_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1007 wq_max_transfer_size_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
1037 wq_max_batch_size_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1044 wq_max_batch_size_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
1073 wq_ats_disable_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1080 wq_ats_disable_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
1109 wq_prs_disable_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1116 wq_prs_disable_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
1147 wq_occupancy_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1165 wq_enqcmds_retries_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1176 wq_enqcmds_retries_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
1200 wq_op_config_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1226 wq_op_config_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
1262 wq_driver_name_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1269 wq_driver_name_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
1322 idxd_wq_attr_max_batch_size_invisible(struct attribute *attr, struct idxd_device *idxd) argument
1330 idxd_wq_attr_visible(struct kobject *kobj, struct attribute *attr, int n) argument
1379 version_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1388 max_work_queues_size_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1398 max_groups_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1407 max_work_queues_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1416 max_engines_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1425 numa_node_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1434 max_batch_size_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1443 max_transfer_size_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1453 op_cap_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1462 gen_cap_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1471 configurable_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1480 clients_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1498 pasid_enabled_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1507 state_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1525 errors_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1539 max_read_buffers_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1547 max_tokens_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1557 read_buffer_limit_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1565 token_limit_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1572 read_buffer_limit_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
1600 token_limit_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
1611 cdev_major_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1620 cmd_status_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1628 cmd_status_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
1638 iaa_cap_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1650 event_log_size_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1661 event_log_size_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
1691 idxd_device_attr_max_batch_size_invisible(struct attribute *attr, struct idxd_device *idxd) argument
1699 idxd_device_attr_read_buffers_invisible(struct attribute *attr, struct idxd_device *idxd) argument
1713 idxd_device_attr_iaa_cap_invisible(struct attribute *attr, struct idxd_device *idxd) argument
1721 idxd_device_attr_event_log_size_invisible(struct attribute *attr, struct idxd_device *idxd) argument
1728 idxd_device_attr_visible(struct kobject *kobj, struct attribute *attr, int n) argument
[all...]
/linux-master/net/core/
H A Dselftests.c55 struct net_packet_attrs *attr)
65 size = attr->size + NET_TEST_PKT_SIZE;
67 if (attr->tcp)
72 if (attr->max_size && attr->max_size > size)
73 size = attr->max_size;
88 if (attr->tcp)
95 if (attr->src)
96 ether_addr_copy(ehdr->h_source, attr->src);
97 if (attr
54 net_test_get_skb(struct net_device *ndev, struct net_packet_attrs *attr) argument
240 __net_test_loopback(struct net_device *ndev, struct net_packet_attrs *attr) argument
315 struct net_packet_attrs attr = { }; local
323 struct net_packet_attrs attr = { }; local
332 struct net_packet_attrs attr = { }; local
[all...]
/linux-master/drivers/infiniband/core/
H A Duverbs_std_types_qp.c64 static void set_caps(struct ib_qp_init_attr *attr, argument
68 attr->cap.max_send_wr = cap->max_send_wr;
69 attr->cap.max_recv_wr = cap->max_recv_wr;
70 attr->cap.max_send_sge = cap->max_send_sge;
71 attr->cap.max_recv_sge = cap->max_recv_sge;
72 attr->cap.max_inline_data = cap->max_inline_data;
74 cap->max_send_wr = attr->cap.max_send_wr;
75 cap->max_recv_wr = attr->cap.max_recv_wr;
76 cap->max_send_sge = attr->cap.max_send_sge;
77 cap->max_recv_sge = attr
88 struct ib_qp_init_attr attr = {}; local
[all...]

Completed in 273 milliseconds

1234567891011>>