Home
last modified time | relevance | path

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

/external/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 …]
/external/ltp/testcases/kernel/syscalls/pidfd_send_signal/
Dpidfd_send_signal01.c23 static siginfo_t *uinfo; variable
29 if (sig == SIGNAL && uinfo->si_value.sival_int == DATA) { in received_signal()
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()
[all …]
/external/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()
/external/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->imm_count) in etna_uniforms_write()
78 etna_cmd_stream_reserve(stream, align(uinfo->imm_count + 1, 2)); in etna_uniforms_write()
79 etna_emit_load_state(stream, base >> 2, uinfo->imm_count, 0); in etna_uniforms_write()
81 for (uint32_t i = 0; i < uinfo->imm_count; i++) { in etna_uniforms_write()
82 uint32_t val = uinfo->imm_data[i]; in etna_uniforms_write()
84 switch (uinfo->imm_contents[i]) { in etna_uniforms_write()
97 get_texrect_scale(ctx, frag, uinfo->imm_contents[i], val)); in etna_uniforms_write()
101 idx = uinfo->imm_contents[i] - ETNA_IMMEDIATE_UBO0_ADDR; in etna_uniforms_write()
115 if ((uinfo->imm_count % 2) == 0) in etna_uniforms_write()
Detnaviv_compiler_nir.c183 struct etna_shader_uniform_info *uinfo = &sobj->uniforms; in copy_uniform_state_to_shader() local
185 uinfo->imm_count = count * 4; in copy_uniform_state_to_shader()
186 uinfo->imm_data = MALLOC(uinfo->imm_count * sizeof(*uinfo->imm_data)); in copy_uniform_state_to_shader()
187 uinfo->imm_contents = MALLOC(uinfo->imm_count * sizeof(*uinfo->imm_contents)); in copy_uniform_state_to_shader()
189 for (unsigned i = 0; i < uinfo->imm_count; i++) { in copy_uniform_state_to_shader()
190 uinfo->imm_data[i] = consts[i]; in copy_uniform_state_to_shader()
191 uinfo->imm_contents[i] = consts[i] >> 32; in copy_uniform_state_to_shader()
Detnaviv_compiler_tgsi.c2291 struct etna_shader_uniform_info *uinfo = &sobj->uniforms; in copy_uniform_state_to_shader() local
2293 uinfo->imm_count = count; in copy_uniform_state_to_shader()
2295 uinfo->imm_data = malloc(count * sizeof(*c->imm_data)); in copy_uniform_state_to_shader()
2297 uinfo->imm_data[i] = i; in copy_uniform_state_to_shader()
2298 memcpy(&uinfo->imm_data[c->imm_base], c->imm_data, c->imm_size * sizeof(*c->imm_data)); in copy_uniform_state_to_shader()
2300 uinfo->imm_contents = malloc(count * sizeof(*c->imm_contents)); in copy_uniform_state_to_shader()
2302 uinfo->imm_contents[i] = ETNA_IMMEDIATE_UNIFORM; in copy_uniform_state_to_shader()
2303 …memcpy(&uinfo->imm_contents[c->imm_base], c->imm_contents, c->imm_size * sizeof(*c->imm_contents)); in copy_uniform_state_to_shader()
/external/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()
360 char *desc = qir_describe_uniform(uinfo->contents[i], in vc4_write_uniforms()
[all …]
Dvc4_program.c2500 struct vc4_shader_uniform_info *uinfo = &shader->uniforms; in copy_uniform_state_to_shader() local
2502 uinfo->count = count; in copy_uniform_state_to_shader()
2503 uinfo->data = ralloc_array(shader, uint32_t, count); in copy_uniform_state_to_shader()
2504 memcpy(uinfo->data, c->uniform_data, in copy_uniform_state_to_shader()
2505 count * sizeof(*uinfo->data)); in copy_uniform_state_to_shader()
2506 uinfo->contents = ralloc_array(shader, enum quniform_contents, count); in copy_uniform_state_to_shader()
2507 memcpy(uinfo->contents, c->uniform_contents, in copy_uniform_state_to_shader()
2508 count * sizeof(*uinfo->contents)); in copy_uniform_state_to_shader()
2509 uinfo->num_texture_samples = c->num_texture_samples; in copy_uniform_state_to_shader()
/external/openssh/openbsd-compat/
Dport-uw.c137 uinfo_t uinfo; in get_iaf_password() local
138 if (!ia_openinfo(pw->pw_name,&uinfo)) { in get_iaf_password()
139 ia_get_logpwd(uinfo, &pw_password); in get_iaf_password()
142 ia_closeinfo(uinfo); in get_iaf_password()
/external/mesa3d/src/gallium/drivers/v3d/
Dv3d_uniforms.c215 struct v3d_uniform_list *uinfo = &shader->prog_data.base->uniforms; in v3d_write_uniforms() local
226 v3d_cl_ensure_space(&job->indirect, (uinfo->count + 1) * 4, 4); in v3d_write_uniforms()
234 for (int i = 0; i < uinfo->count; i++) { in v3d_write_uniforms()
235 uint32_t data = uinfo->data[i]; in v3d_write_uniforms()
237 switch (uinfo->contents[i]) { in v3d_write_uniforms()
285 uinfo->contents[i], in v3d_write_uniforms()
296 uinfo->contents[i], in v3d_write_uniforms()
306 uinfo->contents[i], in v3d_write_uniforms()
390 assert(quniform_contents_is_texture_p0(uinfo->contents[i])); in v3d_write_uniforms()
393 uinfo->contents[i] - in v3d_write_uniforms()
[all …]
/external/mesa3d/src/broadcom/vulkan/
Dv3dv_uniforms.c326 struct v3d_uniform_list *uinfo = in v3dv_write_uniforms_wg_offsets() local
342 v3dv_cl_ensure_space(&job->indirect, (uinfo->count + 1) * 4, 4); in v3dv_write_uniforms_wg_offsets()
348 for (int i = 0; i < uinfo->count; i++) { in v3dv_write_uniforms_wg_offsets()
349 uint32_t data = uinfo->data[i]; in v3dv_write_uniforms_wg_offsets()
351 switch (uinfo->contents[i]) { in v3dv_write_uniforms_wg_offsets()
382 uinfo->contents[i], data); in v3dv_write_uniforms_wg_offsets()
407 uinfo->contents[i], in v3dv_write_uniforms_wg_offsets()
/external/linux-kselftest/tools/testing/selftests/ptrace/
Dpeeksiginfo.c15 static int sys_rt_sigqueueinfo(pid_t tgid, int sig, siginfo_t *uinfo) in sys_rt_sigqueueinfo() argument
17 return syscall(SYS_rt_sigqueueinfo, tgid, sig, uinfo); in sys_rt_sigqueueinfo()
21 int sig, siginfo_t *uinfo) in sys_rt_tgsigqueueinfo() argument
23 return syscall(SYS_rt_tgsigqueueinfo, tgid, tid, sig, uinfo); in sys_rt_tgsigqueueinfo()
/external/skia/gm/
Dyuvtorgbeffect.cpp72 SkImageInfo uinfo = SkImageInfo::MakeA8(USIZE, USIZE); in onOnceBeforeDraw() local
73 fBitmaps[1].allocPixels(uinfo); in onOnceBeforeDraw()
293 SkImageInfo uinfo = SkImageInfo::MakeA8(USIZE, USIZE); in onOnceBeforeDraw() local
294 fBitmaps[1].allocPixels(uinfo); in onOnceBeforeDraw()
Dimagefromyuvtextures.cpp84 SkImageInfo uinfo = SkImageInfo::Make(kBmpSize / 2, kBmpSize / 2, kGray_8_SkColorType, in onOnceBeforeDraw() local
86 fYUVBmps[1].allocPixels(uinfo); in onOnceBeforeDraw()
/external/skqp/gm/
Dimagefromyuvtextures.cpp54 SkImageInfo uinfo = SkImageInfo::MakeA8(kBmpSize / 2, kBmpSize / 2); in onOnceBeforeDraw() local
55 fYUVBmps[1].allocPixels(uinfo); in onOnceBeforeDraw()
Dyuvtorgbeffect.cpp51 SkImageInfo uinfo = SkImageInfo::MakeA8(USIZE, USIZE); in onOnceBeforeDraw() local
52 bmp[1].allocPixels(uinfo); in onOnceBeforeDraw()
/external/compiler-rt/include/sanitizer/
Dlinux_syscall_hooks.h390 #define __sanitizer_syscall_pre_rt_sigtimedwait(uthese, uinfo, uts, \ argument
393 (long)(uthese), (long)(uinfo), (long)(uts), (long)(sigsetsize))
394 #define __sanitizer_syscall_post_rt_sigtimedwait(res, uthese, uinfo, uts, \ argument
397 res, (long)(uthese), (long)(uinfo), (long)(uts), (long)(sigsetsize))
398 #define __sanitizer_syscall_pre_rt_tgsigqueueinfo(tgid, pid, sig, uinfo) \ argument
400 (long)(sig), (long)(uinfo))
401 #define __sanitizer_syscall_post_rt_tgsigqueueinfo(res, tgid, pid, sig, uinfo) \ argument
403 res, (long)(tgid), (long)(pid), (long)(sig), (long)(uinfo))
417 #define __sanitizer_syscall_pre_rt_sigqueueinfo(pid, sig, uinfo) \ argument
419 (long)(uinfo))
[all …]
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_common_syscalls.inc702 PRE_SYSCALL(rt_sigtimedwait)(const kernel_sigset_t *uthese, void *uinfo,
708 POST_SYSCALL(rt_sigtimedwait)(long res, const void *uthese, void *uinfo,
711 if (uinfo) POST_WRITE(uinfo, siginfo_t_sz);
715 PRE_SYSCALL(rt_tgsigqueueinfo)(long tgid, long pid, long sig, void *uinfo) {}
718 void *uinfo) {
720 if (uinfo) POST_WRITE(uinfo, siginfo_t_sz);
736 PRE_SYSCALL(rt_sigqueueinfo)(long pid, long sig, void *uinfo) {}
738 POST_SYSCALL(rt_sigqueueinfo)(long res, long pid, long sig, void *uinfo) {
740 if (uinfo) POST_WRITE(uinfo, siginfo_t_sz);
/external/mesa3d/docs/relnotes/
D19.0.0.rst760 - v3d: Move uinfo->data[] dereference to the top of
/external/cpuinfo/test/dmesg/
Dgalaxy-s7-global.log4173 [ 9.393565] [4: cameraserver: 3514] [@]Read register uinfo, data = C84IL05
Dgalaxy-s8-global.log3870 [ 6.538034] [7: cameraserver: 3590] [@]Read register uinfo, data = C84KA02