Home
last modified time | relevance | path

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

/Linux-v4.19/kernel/bpf/
Dhelpers.c41 .ret_type = RET_PTR_TO_MAP_VALUE_OR_NULL,
57 .ret_type = RET_INTEGER,
74 .ret_type = RET_INTEGER,
82 .ret_type = RET_INTEGER,
93 .ret_type = RET_INTEGER,
104 .ret_type = RET_INTEGER,
116 .ret_type = RET_INTEGER,
132 .ret_type = RET_INTEGER,
152 .ret_type = RET_INTEGER,
178 .ret_type = RET_INTEGER,
[all …]
Dstackmap.c432 .ret_type = RET_INTEGER,
498 .ret_type = RET_INTEGER,
Dverifier.c2431 static void do_refine_retval_range(struct bpf_reg_state *regs, int ret_type, in do_refine_retval_range() argument
2437 if (ret_type != RET_INTEGER || in do_refine_retval_range()
2570 if (fn->ret_type == RET_INTEGER) { in check_helper_call()
2573 } else if (fn->ret_type == RET_VOID) { in check_helper_call()
2575 } else if (fn->ret_type == RET_PTR_TO_MAP_VALUE_OR_NULL || in check_helper_call()
2576 fn->ret_type == RET_PTR_TO_MAP_VALUE) { in check_helper_call()
2577 if (fn->ret_type == RET_PTR_TO_MAP_VALUE) in check_helper_call()
2597 fn->ret_type, func_id_name(func_id), func_id); in check_helper_call()
2601 do_refine_retval_range(regs, fn->ret_type, func_id, &meta); in check_helper_call()
Dsockmap.c2605 .ret_type = RET_INTEGER,
2626 .ret_type = RET_INTEGER,
Dcore.c1817 .ret_type = RET_VOID,
/Linux-v4.19/drivers/iio/magnetometer/
Dhid-sensor-magn-3d.c165 int ret_type; in magn_3d_read_raw() local
190 ret_type = IIO_VAL_INT; in magn_3d_read_raw()
197 ret_type = magn_state->magn_flux_attr.scale_precision; in magn_3d_read_raw()
202 ret_type = magn_state->rot_attr.scale_precision; in magn_3d_read_raw()
205 ret_type = -EINVAL; in magn_3d_read_raw()
212 ret_type = IIO_VAL_INT; in magn_3d_read_raw()
216 ret_type = IIO_VAL_INT; in magn_3d_read_raw()
219 ret_type = -EINVAL; in magn_3d_read_raw()
223 ret_type = hid_sensor_read_samp_freq_value( in magn_3d_read_raw()
229 ret_type = hid_sensor_read_raw_hyst_value( in magn_3d_read_raw()
[all …]
/Linux-v4.19/drivers/iio/light/
Dhid-sensor-prox.c75 int ret_type; in prox_read_raw() local
105 ret_type = IIO_VAL_INT; in prox_read_raw()
109 ret_type = IIO_VAL_INT; in prox_read_raw()
114 ret_type = IIO_VAL_INT; in prox_read_raw()
117 ret_type = hid_sensor_read_samp_freq_value( in prox_read_raw()
121 ret_type = hid_sensor_read_raw_hyst_value( in prox_read_raw()
125 ret_type = -EINVAL; in prox_read_raw()
129 return ret_type; in prox_read_raw()
Dhid-sensor-als.c95 int ret_type; in als_read_raw() local
126 ret_type = IIO_VAL_INT; in als_read_raw()
131 ret_type = als_state->scale_precision; in als_read_raw()
135 ret_type = IIO_VAL_INT; in als_read_raw()
138 ret_type = hid_sensor_read_samp_freq_value( in als_read_raw()
142 ret_type = hid_sensor_read_raw_hyst_value( in als_read_raw()
146 ret_type = -EINVAL; in als_read_raw()
150 return ret_type; in als_read_raw()
/Linux-v4.19/drivers/iio/pressure/
Dhid-sensor-press.c79 int ret_type; in press_read_raw() local
109 ret_type = IIO_VAL_INT; in press_read_raw()
114 ret_type = press_state->scale_precision; in press_read_raw()
118 ret_type = IIO_VAL_INT; in press_read_raw()
121 ret_type = hid_sensor_read_samp_freq_value( in press_read_raw()
125 ret_type = hid_sensor_read_raw_hyst_value( in press_read_raw()
129 ret_type = -EINVAL; in press_read_raw()
133 return ret_type; in press_read_raw()
/Linux-v4.19/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-v4.19/drivers/iio/gyro/
Dhid-sensor-gyro-3d.c113 int ret_type; in gyro_3d_read_raw() local
135 ret_type = IIO_VAL_INT; in gyro_3d_read_raw()
140 ret_type = gyro_state->scale_precision; in gyro_3d_read_raw()
144 ret_type = IIO_VAL_INT; in gyro_3d_read_raw()
147 ret_type = hid_sensor_read_samp_freq_value( in gyro_3d_read_raw()
151 ret_type = hid_sensor_read_raw_hyst_value( in gyro_3d_read_raw()
155 ret_type = -EINVAL; in gyro_3d_read_raw()
159 return ret_type; in gyro_3d_read_raw()
/Linux-v4.19/drivers/iio/orientation/
Dhid-sensor-incl-3d.c113 int ret_type; in incl_3d_read_raw() local
135 ret_type = IIO_VAL_INT; in incl_3d_read_raw()
140 ret_type = incl_state->scale_precision; in incl_3d_read_raw()
144 ret_type = IIO_VAL_INT; in incl_3d_read_raw()
147 ret_type = hid_sensor_read_samp_freq_value( in incl_3d_read_raw()
151 ret_type = hid_sensor_read_raw_hyst_value( in incl_3d_read_raw()
155 ret_type = -EINVAL; in incl_3d_read_raw()
159 return ret_type; in incl_3d_read_raw()
Dhid-sensor-rotation.c73 int ret_type; in dev_rot_read_raw() local
84 ret_type = IIO_VAL_INT_MULTIPLE; in dev_rot_read_raw()
87 ret_type = -EINVAL; in dev_rot_read_raw()
99 ret_type = hid_sensor_read_samp_freq_value( in dev_rot_read_raw()
103 ret_type = hid_sensor_read_raw_hyst_value( in dev_rot_read_raw()
107 ret_type = -EINVAL; in dev_rot_read_raw()
111 return ret_type; in dev_rot_read_raw()
/Linux-v4.19/drivers/iio/accel/
Dhid-sensor-accel-3d.c151 int ret_type; in accel_3d_read_raw() local
174 ret_type = IIO_VAL_INT; in accel_3d_read_raw()
179 ret_type = accel_state->scale_precision; in accel_3d_read_raw()
183 ret_type = IIO_VAL_INT; in accel_3d_read_raw()
186 ret_type = hid_sensor_read_samp_freq_value( in accel_3d_read_raw()
190 ret_type = hid_sensor_read_raw_hyst_value( in accel_3d_read_raw()
194 ret_type = -EINVAL; in accel_3d_read_raw()
198 return ret_type; in accel_3d_read_raw()
/Linux-v4.19/kernel/trace/
Dbpf_trace.c93 .ret_type = RET_INTEGER,
113 .ret_type = RET_INTEGER,
145 .ret_type = RET_INTEGER,
277 .ret_type = RET_INTEGER,
334 .ret_type = RET_INTEGER,
359 .ret_type = RET_INTEGER,
422 .ret_type = RET_INTEGER,
468 .ret_type = RET_INTEGER,
489 .ret_type = RET_INTEGER,
518 .ret_type = RET_INTEGER,
[all …]
/Linux-v4.19/arch/x86/mm/
Dpat_rbtree.c202 enum page_cache_mode *ret_type) in rbt_memtype_check_insert() argument
207 new->type, ret_type); in rbt_memtype_check_insert()
210 if (ret_type) in rbt_memtype_check_insert()
211 new->type = *ret_type; in rbt_memtype_check_insert()
/Linux-v4.19/net/core/
Dfilter.c262 .ret_type = RET_INTEGER,
1691 .ret_type = RET_INTEGER,
1722 .ret_type = RET_INTEGER,
1764 .ret_type = RET_INTEGER,
1789 .ret_type = RET_INTEGER,
1820 .ret_type = RET_INTEGER,
1861 .ret_type = RET_INTEGER,
1914 .ret_type = RET_INTEGER,
1953 .ret_type = RET_INTEGER,
1976 .ret_type = RET_INTEGER,
[all …]
/Linux-v4.19/drivers/media/rc/
Dbpf-lirc.c31 .ret_type = RET_INTEGER,
55 .ret_type = RET_INTEGER,
/Linux-v4.19/fs/debugfs/
Dfile.c175 #define FULL_PROXY_FUNC(name, ret_type, filp, proto, args) \ argument
176 static ret_type full_proxy_ ## name(proto) \
180 ret_type r; \
/Linux-v4.19/tools/lib/traceevent/
Devent-parse.h684 enum tep_func_arg_type ret_type,
Devent-parse.c88 enum tep_func_arg_type ret_type; member
6482 enum tep_func_arg_type ret_type, in tep_register_print_function() argument
6509 func_handle->ret_type = ret_type; in tep_register_print_function()
/Linux-v4.19/include/linux/
Dbpf.h175 enum bpf_return_type ret_type; member