Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/kernel/bpf/
Dhelpers.c40 .ret_type = RET_PTR_TO_MAP_VALUE_OR_NULL,
56 .ret_type = RET_INTEGER,
73 .ret_type = RET_INTEGER,
87 .ret_type = RET_INTEGER,
101 .ret_type = RET_INTEGER,
114 .ret_type = RET_INTEGER,
122 .ret_type = RET_INTEGER,
133 .ret_type = RET_INTEGER,
144 .ret_type = RET_INTEGER,
156 .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.c264 .ret_type = RET_PTR_TO_MAP_VALUE_OR_NULL,
275 .ret_type = RET_INTEGER,
Dstackmap.c497 .ret_type = RET_INTEGER,
566 .ret_type = RET_INTEGER,
648 .ret_type = RET_INTEGER,
677 .ret_type = RET_INTEGER,
741 .ret_type = RET_INTEGER,
Dcgroup.c1603 .ret_type = RET_INTEGER,
1645 .ret_type = RET_INTEGER,
1665 .ret_type = RET_INTEGER,
1690 .ret_type = RET_INTEGER,
Dverifier.c5293 static void do_refine_retval_range(struct bpf_reg_state *regs, int ret_type, in do_refine_retval_range() argument
5299 if (ret_type != RET_INTEGER || in do_refine_retval_range()
5408 enum bpf_return_type ret_type; in check_helper_call() local
5521 ret_type = fn->ret_type; in check_helper_call()
5522 ret_flag = type_flag(fn->ret_type); in check_helper_call()
5523 if (ret_type == RET_INTEGER) { in check_helper_call()
5526 } else if (ret_type == RET_VOID) { in check_helper_call()
5528 } else if (base_type(ret_type) == RET_PTR_TO_MAP_VALUE) { in check_helper_call()
5542 if (!type_may_be_null(ret_type) && in check_helper_call()
5546 } else if (base_type(ret_type) == RET_PTR_TO_SOCKET) { in check_helper_call()
[all …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/drivers/iio/light/
Dhid-sensor-prox.c64 int ret_type; in prox_read_raw() local
96 ret_type = IIO_VAL_INT; in prox_read_raw()
101 ret_type = prox_state->scale_precision; in prox_read_raw()
106 ret_type = IIO_VAL_INT; in prox_read_raw()
109 ret_type = hid_sensor_read_samp_freq_value( in prox_read_raw()
113 ret_type = hid_sensor_read_raw_hyst_value( in prox_read_raw()
117 ret_type = -EINVAL; in prox_read_raw()
121 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()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/drivers/iio/accel/
Dhid-sensor-accel-3d.c139 int ret_type; in accel_3d_read_raw() local
165 ret_type = IIO_VAL_INT; in accel_3d_read_raw()
170 ret_type = accel_state->scale_precision; in accel_3d_read_raw()
174 ret_type = IIO_VAL_INT; in accel_3d_read_raw()
177 ret_type = hid_sensor_read_samp_freq_value( in accel_3d_read_raw()
181 ret_type = hid_sensor_read_raw_hyst_value( in accel_3d_read_raw()
185 ret_type = -EINVAL; in accel_3d_read_raw()
189 return ret_type; in accel_3d_read_raw()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/kernel/trace/
Dbpf_trace.c143 .ret_type = RET_INTEGER,
169 .ret_type = RET_INTEGER,
206 .ret_type = RET_INTEGER,
232 .ret_type = RET_INTEGER,
267 .ret_type = RET_INTEGER,
287 .ret_type = RET_INTEGER,
306 .ret_type = RET_INTEGER,
343 .ret_type = RET_INTEGER,
547 .ret_type = RET_INTEGER,
754 .ret_type = RET_INTEGER,
[all …]
/kernel/linux/linux-5.10/net/core/
Dfilter.c1713 .ret_type = RET_INTEGER,
1744 .ret_type = RET_INTEGER,
1778 .ret_type = RET_INTEGER,
1822 .ret_type = RET_INTEGER,
1847 .ret_type = RET_INTEGER,
1860 .ret_type = RET_PTR_TO_SOCKET_OR_NULL,
1890 .ret_type = RET_INTEGER,
1931 .ret_type = RET_INTEGER,
1984 .ret_type = RET_INTEGER,
2023 .ret_type = RET_INTEGER,
[all …]
Dbpf_sk_storage.c357 .ret_type = RET_PTR_TO_MAP_VALUE_OR_NULL,
367 .ret_type = RET_PTR_TO_MAP_VALUE_OR_NULL,
377 .ret_type = RET_INTEGER,
Dsock_map.c661 .ret_type = RET_INTEGER,
689 .ret_type = RET_INTEGER,
716 .ret_type = RET_INTEGER,
1274 .ret_type = RET_INTEGER,
1302 .ret_type = RET_INTEGER,
1329 .ret_type = RET_INTEGER,
/kernel/linux/linux-5.10/include/linux/
Drandom.h82 #define declare_get_random_var_wait(name, ret_type) \ argument
83 static inline int get_random_ ## name ## _wait(ret_type *out) { \
/kernel/linux/linux-5.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)
/kernel/linux/linux-5.10/drivers/media/rc/
Dbpf-lirc.c34 .ret_type = RET_INTEGER,
53 .ret_type = RET_INTEGER,
76 .ret_type = RET_INTEGER,
/kernel/linux/linux-5.10/fs/debugfs/
Dfile.c211 #define FULL_PROXY_FUNC(name, ret_type, filp, proto, args) \ argument
212 static ret_type full_proxy_ ## name(proto) \
216 ret_type r; \
/kernel/linux/linux-5.10/net/ipv4/
Dbpf_tcp_ca.c158 .ret_type = RET_INTEGER,

12