Home
last modified time | relevance | path

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

12

/Linux-v5.4/kernel/bpf/
Dhelpers.c36 .ret_type = RET_PTR_TO_MAP_VALUE_OR_NULL,
52 .ret_type = RET_INTEGER,
69 .ret_type = RET_INTEGER,
83 .ret_type = RET_INTEGER,
97 .ret_type = RET_INTEGER,
110 .ret_type = RET_INTEGER,
118 .ret_type = RET_INTEGER,
129 .ret_type = RET_INTEGER,
140 .ret_type = RET_INTEGER,
152 .ret_type = RET_INTEGER,
[all …]
Dcgroup.c1190 .ret_type = RET_INTEGER,
1232 .ret_type = RET_INTEGER,
1252 .ret_type = RET_INTEGER,
1277 .ret_type = RET_INTEGER,
Dstackmap.c439 .ret_type = RET_INTEGER,
505 .ret_type = RET_INTEGER,
Dbtf.c2792 const struct btf_type *ret_type; in btf_func_proto_check() local
2806 ret_type = btf_type_by_id(btf, ret_type_id); in btf_func_proto_check()
2807 if (!ret_type) { in btf_func_proto_check()
2812 if (btf_type_needs_resolve(ret_type) && in btf_func_proto_check()
2814 err = btf_resolve(env, ret_type, ret_type_id); in btf_func_proto_check()
Dverifier.c3868 static void do_refine_retval_range(struct bpf_reg_state *regs, int ret_type, in do_refine_retval_range() argument
3874 if (ret_type != RET_INTEGER || in do_refine_retval_range()
4055 if (fn->ret_type == RET_INTEGER) { in check_helper_call()
4058 } else if (fn->ret_type == RET_VOID) { in check_helper_call()
4060 } else if (fn->ret_type == RET_PTR_TO_MAP_VALUE_OR_NULL || in check_helper_call()
4061 fn->ret_type == RET_PTR_TO_MAP_VALUE) { in check_helper_call()
4074 if (fn->ret_type == RET_PTR_TO_MAP_VALUE) { in check_helper_call()
4082 } else if (fn->ret_type == RET_PTR_TO_SOCKET_OR_NULL) { in check_helper_call()
4086 } else if (fn->ret_type == RET_PTR_TO_SOCK_COMMON_OR_NULL) { in check_helper_call()
4090 } else if (fn->ret_type == RET_PTR_TO_TCP_SOCK_OR_NULL) { in check_helper_call()
[all …]
/Linux-v5.4/drivers/iio/magnetometer/
Dhid-sensor-magn-3d.c152 int ret_type; in magn_3d_read_raw() local
179 ret_type = IIO_VAL_INT; in magn_3d_read_raw()
186 ret_type = magn_state->magn_flux_attr.scale_precision; in magn_3d_read_raw()
191 ret_type = magn_state->rot_attr.scale_precision; in magn_3d_read_raw()
194 ret_type = -EINVAL; in magn_3d_read_raw()
201 ret_type = IIO_VAL_INT; in magn_3d_read_raw()
205 ret_type = IIO_VAL_INT; in magn_3d_read_raw()
208 ret_type = -EINVAL; in magn_3d_read_raw()
212 ret_type = hid_sensor_read_samp_freq_value( in magn_3d_read_raw()
218 ret_type = hid_sensor_read_raw_hyst_value( in magn_3d_read_raw()
[all …]
/Linux-v5.4/drivers/iio/light/
Dhid-sensor-prox.c63 int ret_type; in prox_read_raw() local
95 ret_type = IIO_VAL_INT; in prox_read_raw()
99 ret_type = IIO_VAL_INT; in prox_read_raw()
104 ret_type = IIO_VAL_INT; in prox_read_raw()
107 ret_type = hid_sensor_read_samp_freq_value( in prox_read_raw()
111 ret_type = hid_sensor_read_raw_hyst_value( in prox_read_raw()
115 ret_type = -EINVAL; in prox_read_raw()
119 return ret_type; in prox_read_raw()
Dhid-sensor-als.c82 int ret_type; in als_read_raw() local
115 ret_type = IIO_VAL_INT; in als_read_raw()
120 ret_type = als_state->scale_precision; in als_read_raw()
124 ret_type = IIO_VAL_INT; in als_read_raw()
127 ret_type = hid_sensor_read_samp_freq_value( in als_read_raw()
131 ret_type = hid_sensor_read_raw_hyst_value( in als_read_raw()
135 ret_type = -EINVAL; in als_read_raw()
139 return ret_type; in als_read_raw()
/Linux-v5.4/drivers/iio/pressure/
Dhid-sensor-press.c67 int ret_type; in press_read_raw() local
99 ret_type = IIO_VAL_INT; in press_read_raw()
104 ret_type = press_state->scale_precision; in press_read_raw()
108 ret_type = IIO_VAL_INT; in press_read_raw()
111 ret_type = hid_sensor_read_samp_freq_value( in press_read_raw()
115 ret_type = hid_sensor_read_raw_hyst_value( in press_read_raw()
119 ret_type = -EINVAL; in press_read_raw()
123 return ret_type; in press_read_raw()
/Linux-v5.4/drivers/acpi/acpica/
Dnsxfobj.c30 acpi_status acpi_get_type(acpi_handle handle, acpi_object_type *ret_type) in acpi_get_type() argument
37 if (!ret_type) { in acpi_get_type()
44 *ret_type = ACPI_TYPE_ANY; in acpi_get_type()
61 *ret_type = node->type; in acpi_get_type()
/Linux-v5.4/drivers/iio/gyro/
Dhid-sensor-gyro-3d.c100 int ret_type; in gyro_3d_read_raw() local
125 ret_type = IIO_VAL_INT; in gyro_3d_read_raw()
130 ret_type = gyro_state->scale_precision; in gyro_3d_read_raw()
134 ret_type = IIO_VAL_INT; in gyro_3d_read_raw()
137 ret_type = hid_sensor_read_samp_freq_value( in gyro_3d_read_raw()
141 ret_type = hid_sensor_read_raw_hyst_value( in gyro_3d_read_raw()
145 ret_type = -EINVAL; in gyro_3d_read_raw()
149 return ret_type; in gyro_3d_read_raw()
/Linux-v5.4/drivers/iio/orientation/
Dhid-sensor-incl-3d.c101 int ret_type; in incl_3d_read_raw() local
125 ret_type = IIO_VAL_INT; in incl_3d_read_raw()
130 ret_type = incl_state->scale_precision; in incl_3d_read_raw()
134 ret_type = IIO_VAL_INT; in incl_3d_read_raw()
137 ret_type = hid_sensor_read_samp_freq_value( in incl_3d_read_raw()
141 ret_type = hid_sensor_read_raw_hyst_value( in incl_3d_read_raw()
145 ret_type = -EINVAL; in incl_3d_read_raw()
149 return ret_type; in incl_3d_read_raw()
Dhid-sensor-rotation.c65 int ret_type; in dev_rot_read_raw() local
76 ret_type = IIO_VAL_INT_MULTIPLE; in dev_rot_read_raw()
79 ret_type = -EINVAL; in dev_rot_read_raw()
91 ret_type = hid_sensor_read_samp_freq_value( in dev_rot_read_raw()
95 ret_type = hid_sensor_read_raw_hyst_value( in dev_rot_read_raw()
99 ret_type = -EINVAL; in dev_rot_read_raw()
103 return ret_type; in dev_rot_read_raw()
/Linux-v5.4/drivers/iio/accel/
Dhid-sensor-accel-3d.c138 int ret_type; in accel_3d_read_raw() local
164 ret_type = IIO_VAL_INT; in accel_3d_read_raw()
169 ret_type = accel_state->scale_precision; in accel_3d_read_raw()
173 ret_type = IIO_VAL_INT; in accel_3d_read_raw()
176 ret_type = hid_sensor_read_samp_freq_value( in accel_3d_read_raw()
180 ret_type = hid_sensor_read_raw_hyst_value( in accel_3d_read_raw()
184 ret_type = -EINVAL; in accel_3d_read_raw()
188 return ret_type; in accel_3d_read_raw()
/Linux-v5.4/kernel/trace/
Dbpf_trace.c135 .ret_type = RET_INTEGER,
160 .ret_type = RET_INTEGER,
198 .ret_type = RET_INTEGER,
332 .ret_type = RET_INTEGER,
389 .ret_type = RET_INTEGER,
414 .ret_type = RET_INTEGER,
500 .ret_type = RET_INTEGER,
562 .ret_type = RET_INTEGER,
583 .ret_type = RET_INTEGER,
617 .ret_type = RET_INTEGER,
[all …]
/Linux-v5.4/arch/x86/mm/
Dpat_rbtree.c189 enum page_cache_mode *ret_type) in rbt_memtype_check_insert() argument
194 new->type, ret_type); in rbt_memtype_check_insert()
197 if (ret_type) in rbt_memtype_check_insert()
198 new->type = *ret_type; in rbt_memtype_check_insert()
/Linux-v5.4/net/core/
Dfilter.c267 .ret_type = RET_INTEGER,
1693 .ret_type = RET_INTEGER,
1724 .ret_type = RET_INTEGER,
1758 .ret_type = RET_INTEGER,
1800 .ret_type = RET_INTEGER,
1825 .ret_type = RET_INTEGER,
1838 .ret_type = RET_PTR_TO_SOCKET_OR_NULL,
1868 .ret_type = RET_INTEGER,
1909 .ret_type = RET_INTEGER,
1962 .ret_type = RET_INTEGER,
[all …]
Dsock_map.c446 .ret_type = RET_INTEGER,
470 .ret_type = RET_INTEGER,
492 .ret_type = RET_INTEGER,
895 .ret_type = RET_INTEGER,
919 .ret_type = RET_INTEGER,
941 .ret_type = RET_INTEGER,
Dbpf_sk_storage.c898 .ret_type = RET_PTR_TO_MAP_VALUE_OR_NULL,
908 .ret_type = RET_INTEGER,
/Linux-v5.4/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.4/drivers/media/rc/
Dbpf-lirc.c34 .ret_type = RET_INTEGER,
58 .ret_type = RET_INTEGER,
81 .ret_type = RET_INTEGER,
/Linux-v5.4/fs/debugfs/
Dfile.c200 #define FULL_PROXY_FUNC(name, ret_type, filp, proto, args) \ argument
201 static ret_type full_proxy_ ## name(proto) \
205 ret_type r; \
/Linux-v5.4/tools/lib/traceevent/
Devent-parse.h504 enum tep_func_arg_type ret_type,
Devent-parse.c90 enum tep_func_arg_type ret_type; member
6649 enum tep_func_arg_type ret_type, in tep_register_print_function() argument
6676 func_handle->ret_type = ret_type; in tep_register_print_function()
/Linux-v5.4/include/linux/
Dbpf.h235 enum bpf_return_type ret_type; member

12