Home
last modified time | relevance | path

Searched refs:sem_count (Results 1 – 8 of 8) sorted by relevance

/external/ltp/testcases/kernel/sched/process_stress/
Dprocess.c136 int sem_count; /* counter semaphore */ variable
312 extern int sem_count; in rm_semseg()
322 if (semctl(sem_count, 0, IPC_RMID, semarg.val) && errno != EINVAL) { in rm_semseg()
524 extern int sem_count; /* used to keep track of childern */
567 semctl(sem_count, pslot,
570 semctl(sem_count, pslot, SETVAL,
587 pslot = semoper(tval, sem_count, 0);
591 semctl(sem_count, pslot, GETVAL, semarg);
593 semctl(sem_count, pslot, SETVAL, semarg);
649 extern int sem_count;
[all …]
/external/libdrm/amdgpu/
Damdgpu_cs.c230 uint32_t i, size, num_chunks, bo_list_handle = 0, sem_count = 0; in amdgpu_cs_submit_one() local
320 sem_count++; in amdgpu_cs_submit_one()
321 if (sem_count) { in amdgpu_cs_submit_one()
322 sem_dependencies = alloca(sizeof(struct drm_amdgpu_cs_chunk_dep) * sem_count); in amdgpu_cs_submit_one()
327 sem_count = 0; in amdgpu_cs_submit_one()
330 struct drm_amdgpu_cs_chunk_dep *dep = &sem_dependencies[sem_count++]; in amdgpu_cs_submit_one()
345 chunks[i].length_dw = sizeof(struct drm_amdgpu_cs_chunk_dep) / 4 * sem_count; in amdgpu_cs_submit_one()
/external/libhevc/encoder/
Dosal_handle.h81 WORD32 sem_count; member
/external/mesa3d/src/amd/vulkan/winsys/amdgpu/
Dradv_amdgpu_cs.c1462 for (unsigned i = 0; i < sem_info->signal.sem_count; i++) { in radv_amdgpu_signal_sems()
1707 if (sem_info->wait.sem_count == 0) in radv_amdgpu_cs_submit()
1712 if (sem_info->wait.sem_count && sem_info->cs_emit_wait) { in radv_amdgpu_cs_submit()
1713 sem_dependencies = malloc(sizeof(sem_dependencies[0]) * sem_info->wait.sem_count); in radv_amdgpu_cs_submit()
1719 int sem_count = 0; in radv_amdgpu_cs_submit() local
1721 for (unsigned j = 0; j < sem_info->wait.sem_count; j++) { in radv_amdgpu_cs_submit()
1725 struct drm_amdgpu_cs_chunk_dep *dep = &sem_dependencies[sem_count++]; in radv_amdgpu_cs_submit()
1735 chunks[i].length_dw = sizeof(struct drm_amdgpu_cs_chunk_dep) / 4 * sem_count; in radv_amdgpu_cs_submit()
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_platform_limits_solaris.h54 u32 sem_count; member
/external/mesa3d/src/amd/vulkan/
Dradv_radeon_winsys.h173 uint32_t sem_count; member
Dradv_device.c4027 counts->sem_count++; in radv_alloc_sem_counts()
4059 if (counts->sem_count) { in radv_alloc_sem_counts()
4060 …>sem = (struct radeon_winsys_sem **)malloc(sizeof(struct radeon_winsys_sem *) * counts->sem_count); in radv_alloc_sem_counts()
/external/rust/crates/libc/src/unix/solarish/
Dmod.rs335 pub sem_count: u32,