Home
last modified time | relevance | path

Searched refs:ret_type (Results 1 – 25 of 29) sorted by relevance

12

/Linux-v5.10/kernel/bpf/
Dhelpers.c39 .ret_type = RET_PTR_TO_MAP_VALUE_OR_NULL,
55 .ret_type = RET_INTEGER,
72 .ret_type = RET_INTEGER,
86 .ret_type = RET_INTEGER,
100 .ret_type = RET_INTEGER,
113 .ret_type = RET_INTEGER,
121 .ret_type = RET_INTEGER,
132 .ret_type = RET_INTEGER,
143 .ret_type = RET_INTEGER,
155 .ret_type = RET_INTEGER,
[all …]
Dringbuf.c383 .ret_type = RET_PTR_TO_ALLOC_MEM_OR_NULL,
425 .ret_type = RET_VOID,
438 .ret_type = RET_VOID,
464 .ret_type = RET_INTEGER,
493 .ret_type = RET_INTEGER,
Dbpf_inode_storage.c257 .ret_type = RET_PTR_TO_MAP_VALUE_OR_NULL,
268 .ret_type = RET_INTEGER,
Dstackmap.c500 .ret_type = RET_INTEGER,
569 .ret_type = RET_INTEGER,
653 .ret_type = RET_INTEGER,
673 .ret_type = RET_INTEGER,
737 .ret_type = RET_INTEGER,
Dcgroup.c1545 .ret_type = RET_INTEGER,
1587 .ret_type = RET_INTEGER,
1607 .ret_type = RET_INTEGER,
1632 .ret_type = RET_INTEGER,
Dverifier.c4881 static void do_refine_retval_range(struct bpf_reg_state *regs, int ret_type, in do_refine_retval_range() argument
4887 if (ret_type != RET_INTEGER || in do_refine_retval_range()
5111 if (fn->ret_type == RET_INTEGER) { in check_helper_call()
5114 } else if (fn->ret_type == RET_VOID) { in check_helper_call()
5116 } else if (fn->ret_type == RET_PTR_TO_MAP_VALUE_OR_NULL || in check_helper_call()
5117 fn->ret_type == RET_PTR_TO_MAP_VALUE) { in check_helper_call()
5130 if (fn->ret_type == RET_PTR_TO_MAP_VALUE) { in check_helper_call()
5137 } else if (fn->ret_type == RET_PTR_TO_SOCKET_OR_NULL) { in check_helper_call()
5140 } else if (fn->ret_type == RET_PTR_TO_SOCK_COMMON_OR_NULL) { in check_helper_call()
5143 } else if (fn->ret_type == RET_PTR_TO_TCP_SOCK_OR_NULL) { in check_helper_call()
[all …]
/Linux-v5.10/drivers/iio/magnetometer/
Dhid-sensor-magn-3d.c150 int ret_type; in magn_3d_read_raw() local
177 ret_type = IIO_VAL_INT; in magn_3d_read_raw()
184 ret_type = magn_state->magn_flux_attr.scale_precision; in magn_3d_read_raw()
189 ret_type = magn_state->rot_attr.scale_precision; in magn_3d_read_raw()
192 ret_type = -EINVAL; in magn_3d_read_raw()
199 ret_type = IIO_VAL_INT; in magn_3d_read_raw()
203 ret_type = IIO_VAL_INT; in magn_3d_read_raw()
206 ret_type = -EINVAL; in magn_3d_read_raw()
210 ret_type = hid_sensor_read_samp_freq_value( in magn_3d_read_raw()
216 ret_type = hid_sensor_read_raw_hyst_value( in magn_3d_read_raw()
[all …]
/Linux-v5.10/drivers/iio/light/
Dhid-sensor-prox.c61 int ret_type; in prox_read_raw() local
93 ret_type = IIO_VAL_INT; in prox_read_raw()
97 ret_type = IIO_VAL_INT; in prox_read_raw()
102 ret_type = IIO_VAL_INT; in prox_read_raw()
105 ret_type = hid_sensor_read_samp_freq_value( in prox_read_raw()
109 ret_type = hid_sensor_read_raw_hyst_value( in prox_read_raw()
113 ret_type = -EINVAL; in prox_read_raw()
117 return ret_type; in prox_read_raw()
Dhid-sensor-als.c80 int ret_type; in als_read_raw() local
113 ret_type = IIO_VAL_INT; in als_read_raw()
118 ret_type = als_state->scale_precision; in als_read_raw()
122 ret_type = IIO_VAL_INT; in als_read_raw()
125 ret_type = hid_sensor_read_samp_freq_value( in als_read_raw()
129 ret_type = hid_sensor_read_raw_hyst_value( in als_read_raw()
133 ret_type = -EINVAL; in als_read_raw()
137 return ret_type; in als_read_raw()
/Linux-v5.10/drivers/iio/pressure/
Dhid-sensor-press.c65 int ret_type; in press_read_raw() local
97 ret_type = IIO_VAL_INT; in press_read_raw()
102 ret_type = press_state->scale_precision; in press_read_raw()
106 ret_type = IIO_VAL_INT; in press_read_raw()
109 ret_type = hid_sensor_read_samp_freq_value( in press_read_raw()
113 ret_type = hid_sensor_read_raw_hyst_value( in press_read_raw()
117 ret_type = -EINVAL; in press_read_raw()
121 return ret_type; in press_read_raw()
/Linux-v5.10/drivers/acpi/acpica/
Dnsxfobj.c31 acpi_status acpi_get_type(acpi_handle handle, acpi_object_type *ret_type) in acpi_get_type() argument
38 if (!ret_type) { in acpi_get_type()
45 *ret_type = ACPI_TYPE_ANY; in acpi_get_type()
62 *ret_type = node->type; in acpi_get_type()
/Linux-v5.10/drivers/iio/gyro/
Dhid-sensor-gyro-3d.c98 int ret_type; in gyro_3d_read_raw() local
123 ret_type = IIO_VAL_INT; in gyro_3d_read_raw()
128 ret_type = gyro_state->scale_precision; in gyro_3d_read_raw()
132 ret_type = IIO_VAL_INT; in gyro_3d_read_raw()
135 ret_type = hid_sensor_read_samp_freq_value( in gyro_3d_read_raw()
139 ret_type = hid_sensor_read_raw_hyst_value( in gyro_3d_read_raw()
143 ret_type = -EINVAL; in gyro_3d_read_raw()
147 return ret_type; in gyro_3d_read_raw()
/Linux-v5.10/drivers/iio/orientation/
Dhid-sensor-incl-3d.c99 int ret_type; in incl_3d_read_raw() local
123 ret_type = IIO_VAL_INT; in incl_3d_read_raw()
128 ret_type = incl_state->scale_precision; in incl_3d_read_raw()
132 ret_type = IIO_VAL_INT; in incl_3d_read_raw()
135 ret_type = hid_sensor_read_samp_freq_value( in incl_3d_read_raw()
139 ret_type = hid_sensor_read_raw_hyst_value( in incl_3d_read_raw()
143 ret_type = -EINVAL; in incl_3d_read_raw()
147 return ret_type; in incl_3d_read_raw()
Dhid-sensor-rotation.c63 int ret_type; in dev_rot_read_raw() local
74 ret_type = IIO_VAL_INT_MULTIPLE; in dev_rot_read_raw()
77 ret_type = -EINVAL; in dev_rot_read_raw()
89 ret_type = hid_sensor_read_samp_freq_value( in dev_rot_read_raw()
93 ret_type = hid_sensor_read_raw_hyst_value( in dev_rot_read_raw()
97 ret_type = -EINVAL; in dev_rot_read_raw()
101 return ret_type; in dev_rot_read_raw()
/Linux-v5.10/drivers/iio/accel/
Dhid-sensor-accel-3d.c136 int ret_type; in accel_3d_read_raw() local
162 ret_type = IIO_VAL_INT; in accel_3d_read_raw()
167 ret_type = accel_state->scale_precision; in accel_3d_read_raw()
171 ret_type = IIO_VAL_INT; in accel_3d_read_raw()
174 ret_type = hid_sensor_read_samp_freq_value( in accel_3d_read_raw()
178 ret_type = hid_sensor_read_raw_hyst_value( in accel_3d_read_raw()
182 ret_type = -EINVAL; in accel_3d_read_raw()
186 return ret_type; in accel_3d_read_raw()
/Linux-v5.10/arch/x86/mm/pat/
Dmemtype_interval.c116 int memtype_check_insert(struct memtype *entry_new, enum page_cache_mode *ret_type) in memtype_check_insert() argument
120 err = memtype_check_conflict(entry_new->start, entry_new->end, entry_new->type, ret_type); in memtype_check_insert()
124 if (ret_type) in memtype_check_insert()
125 entry_new->type = *ret_type; in memtype_check_insert()
/Linux-v5.10/kernel/trace/
Dbpf_trace.c146 .ret_type = RET_INTEGER,
172 .ret_type = RET_INTEGER,
209 .ret_type = RET_INTEGER,
240 .ret_type = RET_INTEGER,
282 .ret_type = RET_INTEGER,
302 .ret_type = RET_INTEGER,
321 .ret_type = RET_INTEGER,
358 .ret_type = RET_INTEGER,
562 .ret_type = RET_INTEGER,
769 .ret_type = RET_INTEGER,
[all …]
/Linux-v5.10/net/core/
Dfilter.c1712 .ret_type = RET_INTEGER,
1743 .ret_type = RET_INTEGER,
1777 .ret_type = RET_INTEGER,
1821 .ret_type = RET_INTEGER,
1846 .ret_type = RET_INTEGER,
1859 .ret_type = RET_PTR_TO_SOCKET_OR_NULL,
1889 .ret_type = RET_INTEGER,
1930 .ret_type = RET_INTEGER,
1983 .ret_type = RET_INTEGER,
2022 .ret_type = RET_INTEGER,
[all …]
Dbpf_sk_storage.c359 .ret_type = RET_PTR_TO_MAP_VALUE_OR_NULL,
369 .ret_type = RET_PTR_TO_MAP_VALUE_OR_NULL,
379 .ret_type = RET_INTEGER,
Dsock_map.c659 .ret_type = RET_INTEGER,
687 .ret_type = RET_INTEGER,
714 .ret_type = RET_INTEGER,
1263 .ret_type = RET_INTEGER,
1291 .ret_type = RET_INTEGER,
1318 .ret_type = RET_INTEGER,
/Linux-v5.10/tools/testing/selftests/bpf/
Dtest_btf.h60 #define BTF_FUNC_PROTO_ENC(ret_type, nargs) \ argument
61 BTF_TYPE_ENC(0, BTF_INFO_ENC(BTF_KIND_FUNC_PROTO, 0, nargs), ret_type)
/Linux-v5.10/drivers/media/rc/
Dbpf-lirc.c34 .ret_type = RET_INTEGER,
53 .ret_type = RET_INTEGER,
76 .ret_type = RET_INTEGER,
/Linux-v5.10/fs/debugfs/
Dfile.c209 #define FULL_PROXY_FUNC(name, ret_type, filp, proto, args) \ argument
210 static ret_type full_proxy_ ## name(proto) \
214 ret_type r; \
/Linux-v5.10/net/ipv4/
Dbpf_tcp_ca.c158 .ret_type = RET_INTEGER,
/Linux-v5.10/tools/lib/traceevent/
Devent-parse.h508 enum tep_func_arg_type ret_type,

12