Home
last modified time | relevance | path

Searched refs:uinfo (Results 1 – 18 of 18) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/rt_tgsigqueueinfo/
Drt_tgsigqueueinfo01.c38 static void sigusr1_handler(int signum, siginfo_t *uinfo, in sigusr1_handler() argument
42 sigval_rcv = uinfo->_sifields._rt.SI_SIGVAL.sival_ptr; in sigusr1_handler()
47 siginfo_t uinfo; in send_rcv_func() local
52 uinfo.si_errno = 0; in send_rcv_func()
53 uinfo.si_code = SI_QUEUE; in send_rcv_func()
54 uinfo._sifields._rt.SI_SIGVAL.sival_ptr = sigval_send; in send_rcv_func()
57 syscall(__NR_gettid), SIGUSR1, &uinfo)); in send_rcv_func()
108 siginfo_t uinfo; in verify_signal_parent_thread() local
114 uinfo.si_errno = 0; in verify_signal_parent_thread()
115 uinfo.si_code = SI_QUEUE; in verify_signal_parent_thread()
[all …]
/third_party/ltp/testcases/kernel/syscalls/pidfd_send_signal/
Dpidfd_send_signal01.c23 static siginfo_t *uinfo; variable
55 TEST(pidfd_send_signal(pidfd, SIGNAL, uinfo, 0)); in verify_pidfd_send_signal()
82 uinfo = SAFE_MALLOC(sizeof(siginfo_t)); in setup()
84 memset(uinfo, 0, sizeof(*uinfo)); in setup()
85 uinfo->si_signo = SIGNAL; in setup()
86 uinfo->si_code = SI_QUEUE; in setup()
87 uinfo->si_pid = getpid(); in setup()
88 uinfo->si_uid = getuid(); in setup()
89 uinfo->si_value.sival_int = DATA; in setup()
94 free(uinfo); in cleanup()
/third_party/ltp/testcases/kernel/syscalls/rt_sigqueueinfo/
Drt_sigqueueinfo01.c30 static siginfo_t *uinfo; variable
68 TEST(sys_rt_sigqueueinfo(tid, SIGNAL, uinfo)); in verify_sigqueueinfo()
89 uinfo = SAFE_MALLOC(sizeof(siginfo_t)); in setup()
91 memset(uinfo, 0, sizeof(*uinfo)); in setup()
92 uinfo->si_code = SI_QUEUE; in setup()
93 uinfo->si_pid = getpid(); in setup()
94 uinfo->si_uid = getuid(); in setup()
95 uinfo->si_value.sival_int = DATA; in setup()
102 free(uinfo); in cleanup()
Drt_sigqueueinfo.h12 static int sys_rt_sigqueueinfo(pid_t tgid, int sig, siginfo_t *uinfo) in sys_rt_sigqueueinfo() argument
14 return tst_syscall(__NR_rt_sigqueueinfo, tgid, sig, uinfo); in sys_rt_sigqueueinfo()
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_uniforms.c70 const struct etna_shader_uniform_info *uinfo = &sobj->uniforms; in etna_uniforms_write() local
75 if (!uinfo->count) in etna_uniforms_write()
78 etna_cmd_stream_reserve(stream, align(uinfo->count + 1, 2)); in etna_uniforms_write()
79 etna_emit_load_state(stream, base >> 2, uinfo->count, 0); in etna_uniforms_write()
81 for (uint32_t i = 0; i < uinfo->count; i++) { in etna_uniforms_write()
82 uint32_t val = uinfo->data[i]; in etna_uniforms_write()
84 switch (uinfo->contents[i]) { in etna_uniforms_write()
97 get_texrect_scale(ctx, frag, uinfo->contents[i], val)); in etna_uniforms_write()
101 idx = uinfo->contents[i] - ETNA_UNIFORM_UBO0_ADDR; in etna_uniforms_write()
115 if ((uinfo->count % 2) == 0) in etna_uniforms_write()
Detnaviv_compiler_nir.c186 struct etna_shader_uniform_info *uinfo = &sobj->uniforms; in copy_uniform_state_to_shader() local
188 uinfo->count = count * 4; in copy_uniform_state_to_shader()
189 uinfo->data = MALLOC(uinfo->count * sizeof(*uinfo->data)); in copy_uniform_state_to_shader()
190 uinfo->contents = MALLOC(uinfo->count * sizeof(*uinfo->contents)); in copy_uniform_state_to_shader()
192 for (unsigned i = 0; i < uinfo->count; i++) { in copy_uniform_state_to_shader()
193 uinfo->data[i] = consts[i]; in copy_uniform_state_to_shader()
194 uinfo->contents[i] = consts[i] >> 32; in copy_uniform_state_to_shader()
/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_uniforms.c195 struct vc4_shader_uniform_info *uinfo = &shader->uniforms; in vc4_write_uniforms() local
199 cl_ensure_space(&job->uniforms, (uinfo->count + in vc4_write_uniforms()
200 uinfo->num_texture_samples) * 4); in vc4_write_uniforms()
204 uinfo->num_texture_samples); in vc4_write_uniforms()
206 for (int i = 0; i < uinfo->count; i++) { in vc4_write_uniforms()
207 enum quniform_contents contents = uinfo->contents[i]; in vc4_write_uniforms()
208 uint32_t data = uinfo->data[i]; in vc4_write_uniforms()
297 uinfo->contents[i], in vc4_write_uniforms()
306 CLAMP(vc4->blend_color.f.color[uinfo->contents[i] - in vc4_write_uniforms()
355 char *desc = qir_describe_uniform(uinfo->contents[i], in vc4_write_uniforms()
[all …]
Dvc4_program.c2480 struct vc4_shader_uniform_info *uinfo = &shader->uniforms; in copy_uniform_state_to_shader() local
2482 uinfo->count = count; in copy_uniform_state_to_shader()
2483 uinfo->data = ralloc_array(shader, uint32_t, count); in copy_uniform_state_to_shader()
2484 memcpy(uinfo->data, c->uniform_data, in copy_uniform_state_to_shader()
2485 count * sizeof(*uinfo->data)); in copy_uniform_state_to_shader()
2486 uinfo->contents = ralloc_array(shader, enum quniform_contents, count); in copy_uniform_state_to_shader()
2487 memcpy(uinfo->contents, c->uniform_contents, in copy_uniform_state_to_shader()
2488 count * sizeof(*uinfo->contents)); in copy_uniform_state_to_shader()
2489 uinfo->num_texture_samples = c->num_texture_samples; in copy_uniform_state_to_shader()
/third_party/mesa3d/src/gallium/drivers/v3d/
Dv3d_uniforms.c256 struct v3d_uniform_list *uinfo = &shader->prog_data.base->uniforms; in v3d_write_uniforms() local
267 v3d_cl_ensure_space(&job->indirect, (uinfo->count + 1) * 4, 4); in v3d_write_uniforms()
275 for (int i = 0; i < uinfo->count; i++) { in v3d_write_uniforms()
276 uint32_t data = uinfo->data[i]; in v3d_write_uniforms()
278 switch (uinfo->contents[i]) { in v3d_write_uniforms()
326 uinfo->contents[i], in v3d_write_uniforms()
337 uinfo->contents[i], in v3d_write_uniforms()
347 uinfo->contents[i], in v3d_write_uniforms()
426 assert(quniform_contents_is_texture_p0(uinfo->contents[i])); in v3d_write_uniforms()
429 uinfo->contents[i] - in v3d_write_uniforms()
[all …]
/third_party/ltp/testcases/kernel/syscalls/clone3/
Dclone301.c61 static siginfo_t uinfo = { variable
141 TEST(pidfd_send_signal(pidfd, CHILD_SIGNAL, &uinfo, 0)); in run()
171 uinfo.si_pid = getpid(); in setup()
172 uinfo.si_uid = getuid(); in setup()
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_uniforms.c475 struct v3d_uniform_list *uinfo = in v3dv_write_uniforms_wg_offsets() local
495 v3dv_cl_ensure_space(&job->indirect, (uinfo->count + 1) * 4, 4); in v3dv_write_uniforms_wg_offsets()
501 for (int i = 0; i < uinfo->count; i++) { in v3dv_write_uniforms_wg_offsets()
502 uint32_t data = uinfo->data[i]; in v3dv_write_uniforms_wg_offsets()
504 switch (uinfo->contents[i]) { in v3dv_write_uniforms_wg_offsets()
518 uinfo->contents[i] - QUNIFORM_INLINE_UBO_0, data, in v3dv_write_uniforms_wg_offsets()
543 uinfo->contents[i], data, &buffer_bos); in v3dv_write_uniforms_wg_offsets()
572 uinfo->contents[i], in v3dv_write_uniforms_wg_offsets()
/third_party/gstreamer/gstplugins_bad/ext/vulkan/
Dvkcolorconvert.c282 const GstVideoFormatInfo *uinfo; in convert_to_RGB() local
286 uinfo = gst_video_format_get_info (GST_VIDEO_INFO_FORMAT (info)); in convert_to_RGB()
289 gst_video_color_range_offsets (info->colorimetry.range, uinfo, offset, in convert_to_RGB()
292 for (i = 0; i < uinfo->n_components; i++) in convert_to_RGB()
293 depth[i] = (1 << uinfo->depth[i]) - 1; in convert_to_RGB()
360 const GstVideoFormatInfo *uinfo; in convert_to_YUV() local
364 uinfo = gst_video_format_get_info (GST_VIDEO_INFO_FORMAT (info)); in convert_to_YUV()
367 gst_video_color_range_offsets (info->colorimetry.range, uinfo, offset, in convert_to_YUV()
370 for (i = 0; i < uinfo->n_components; i++) in convert_to_YUV()
371 depth[i] = (1 << uinfo->depth[i]) - 1; in convert_to_YUV()
/third_party/gstreamer/gstplugins_base/gst/videotestsrc/
Dvideotestsrc.c1625 const GstVideoFormatInfo *finfo, *uinfo; in convert_hline_generic() local
1631 uinfo = gst_video_format_get_info (finfo->unpack_format); in convert_hline_generic()
1636 bits = GST_VIDEO_FORMAT_INFO_DEPTH (uinfo, 0); in convert_hline_generic()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/video/
Dvideo-converter.c1384 const GstVideoFormatInfo *uinfo; in compute_matrix_to_RGB() local
1387 uinfo = gst_video_format_get_info (convert->unpack_format); in compute_matrix_to_RGB()
1390 gst_video_color_range_offsets (info->colorimetry.range, uinfo, offset, in compute_matrix_to_RGB()
1430 const GstVideoFormatInfo *uinfo; in compute_matrix_to_YUV() local
1433 uinfo = gst_video_format_get_info (convert->pack_format); in compute_matrix_to_YUV()
1436 gst_video_color_range_offsets (info->colorimetry.range, uinfo, offset, in compute_matrix_to_YUV()
/third_party/mesa3d/docs/relnotes/
D19.0.0.rst760 - v3d: Move uinfo->data[] dereference to the top of
/third_party/libabigail/tests/data/test-read-dwarf/
Dtest15-pr18892.so.abi9248 …<parameter type-id='type-id-3' name='uinfo' filepath='../../.././libsanitizer/sanitizer_common/san…
9256 …<parameter type-id='type-id-3' name='uinfo' filepath='../../.././libsanitizer/sanitizer_common/san…
9265 …<parameter type-id='type-id-3' name='uinfo' filepath='../../.././libsanitizer/sanitizer_common/san…
9273 …<parameter type-id='type-id-3' name='uinfo' filepath='../../.././libsanitizer/sanitizer_common/san…
9314 …<parameter type-id='type-id-3' name='uinfo' filepath='../../.././libsanitizer/sanitizer_common/san…
9321 …<parameter type-id='type-id-3' name='uinfo' filepath='../../.././libsanitizer/sanitizer_common/san…
/third_party/libabigail/tests/data/test-annotate/
Dtest15-pr18892.so.abi16258 …<parameter type-id='type-id-3' name='uinfo' filepath='../../.././libsanitizer/sanitizer_common/san…
16273 …<parameter type-id='type-id-3' name='uinfo' filepath='../../.././libsanitizer/sanitizer_common/san…
16290 …<parameter type-id='type-id-3' name='uinfo' filepath='../../.././libsanitizer/sanitizer_common/san…
16305 …<parameter type-id='type-id-3' name='uinfo' filepath='../../.././libsanitizer/sanitizer_common/san…
16380 …<parameter type-id='type-id-3' name='uinfo' filepath='../../.././libsanitizer/sanitizer_common/san…
16393 …<parameter type-id='type-id-3' name='uinfo' filepath='../../.././libsanitizer/sanitizer_common/san…
/third_party/libbpf/.github/actions/build-selftests/
Dvmlinux.h87824 } uinfo; member