Home
last modified time | relevance | path

Searched full:semaphores (Results 1 – 25 of 97) sorted by relevance

1234

/linux/drivers/gpu/drm/radeon/
H A Dradeon_sync.c46 sync->semaphores[i] = NULL; in radeon_sync_create()
80 * radeon_sync_resv - use the semaphores to sync to a reservation object
153 sync->semaphores[count++] = semaphore; in radeon_sync_rings()
194 * Free the sync object by freeing all semaphores in it.
203 radeon_semaphore_free(rdev, &sync->semaphores[i], fence); in radeon_sync_free()
/linux/tools/testing/selftests/powerpc/dscr/
H A Ddscr_explicit_test.c55 sem_t semaphores[2]; in dscr_explicit_lockstep_test() local
56 sem_t *prev = &semaphores[1]; /* reversed prev/next than for the other thread */ in dscr_explicit_lockstep_test()
57 sem_t *next = &semaphores[0]; in dscr_explicit_lockstep_test()
68 FAIL_IF(pthread_create(&thread, NULL, dscr_explicit_lockstep_thread, (void *)semaphores)); in dscr_explicit_lockstep_test()
/linux/include/uapi/linux/
H A Dsem.h33 unsigned short sem_nsems; /* no. of semaphores in array */
81 #define SEMMSL 32000 /* <= INT_MAX max num of semaphores per id */
82 #define SEMMNS (SEMMNI*SEMMSL) /* <= INT_MAX max # of semaphores in system */
/linux/arch/mips/include/uapi/asm/
H A Dsembuf.h21 unsigned long sem_nsems; /* no. of semaphores in array */
30 unsigned long sem_nsems; /* no. of semaphores in array */
/linux/Documentation/translations/zh_CN/locking/
H A Dmutex-design.rst27 排斥”。互斥锁是一种睡眠锁,它的行为类似于二进制信号量(semaphores),在
72 改善一些工作负载的性能。注意,这种技术也被用于读写信号量(rw-semaphores)。
/linux/include/drm/
H A Dtask_barrier.h28 * Based on the Little book of semaphores - https://greenteapress.com/wp/semaphores/
/linux/tools/testing/selftests/bpf/
H A Dusdt.h32 * USDT semaphores, respectively.
143 * conflict, per se, but will define independent USDT semaphores, one for each
193 * APIs for working with user-defined explicit USDT semaphores.
230 * At the lowest layer, USDT semaphores have global naming and visibility
239 * practice, means that it's not possible to correctly share USDT semaphores
243 * semaphores. We enforce this by marking semaphore ELF symbols as having
325 /* ELF section into which USDT semaphores are put */
/linux/kernel/sched/
H A Dcompletion.c6 * It differs from semaphores in that their default case is the opposite,
9 * something which isn't entirely natural for semaphores.
11 * But more importantly, the primitive documents the usage. Semaphores would
/linux/Documentation/devicetree/bindings/mailbox/
H A Dnvidia,tegra186-hsp.yaml22 semaphores, arbitrated semaphores and doorbells.
/linux/ipc/
H A Dsem.c27 * This file implements System V semaphores.
50 * If multiple semaphores in one array are used, then cache line
55 * Semaphores are actively given to waiting tasks (necessary for FIFO).
113 /* One sem_array data structure for each set of semaphores in the system. */
122 int sem_nsems; /* no. of semaphores in array */
386 * multiple semaphores in our own semops, or we need to look at
387 * semaphores from other pending complex operations.
912 * No sops means modified semaphores not known. in do_smart_wakeup_zero()
923 * If one of the modified semaphores got 0, in do_smart_wakeup_zero()
940 * was modified. If multiple semaphores were modified, update_queue must
[all …]
/linux/arch/sparc/include/uapi/asm/
H A Dsembuf.h27 unsigned long sem_nsems; /* no. of semaphores in array */
/linux/arch/parisc/include/uapi/asm/
H A Dsembuf.h28 unsigned long sem_nsems; /* no. of semaphores in array */
/linux/arch/x86/include/uapi/asm/
H A Dsembuf.h31 __kernel_ulong_t sem_nsems; /* no. of semaphores in array */
/linux/Documentation/locking/
H A Dmutex-design.rst16 behave similarly to binary semaphores, and were introduced in 2006[1]
73 number of workloads. Note that this technique is also used for rw-semaphores.
/linux/arch/powerpc/include/uapi/asm/
H A Dsembuf.h34 unsigned long sem_nsems; /* no. of semaphores in array */
/linux/arch/xtensa/include/uapi/asm/
H A Dsembuf.h40 unsigned long sem_nsems; /* no. of semaphores in array */
/linux/Documentation/devicetree/bindings/hwlock/
H A Dallwinner,sun6i-a31-hwspinlock.yaml13 The hardware unit provides semaphores between the ARM cores and the embedded
/linux/include/uapi/asm-generic/
H A Dsembuf.h40 unsigned long sem_nsems; /* no. of semaphores in array */
/linux/include/linux/
H A Dsemaphore.h41 * Unlike mutexes, binary semaphores do not have an owner, so up() can
/linux/arch/um/drivers/
H A Dchan_user.c211 * kernel semaphores. We don't use SysV semaphores because they are in winch_thread()
/linux/drivers/net/ethernet/intel/e1000e/
H A Dphy.c286 * semaphores before exiting.
311 * at the offset. Release any acquired semaphores before exiting.
356 * semaphores before exiting.
423 * at the offset. Release any acquired semaphores before exiting.
459 * at the offset. Release any acquired semaphores before exiting.
489 * Release any acquired semaphores before exiting.
561 * at the offset using the kumeran interface. Release any acquired semaphores
2383 * at the offset. Release any acquired semaphores before exiting.
2441 * semaphores before exiting.
2498 * semaphores before exiting.
[all …]
/linux/include/acpi/platform/
H A Dacenv.h240 /* Type of mutex supported by host. Default is binary semaphores. */
255 /* NULL/invalid value to use for destroyed or not-yet-created semaphores. */
/linux/Documentation/userspace-api/
H A Dfutex2.rst10 performant synchronization mechanisms, such as mutexes, semaphores and
/linux/Documentation/infiniband/
H A Dcore_locking.rst108 semaphores that could cause deadlock if a consumer calls back into
/linux/kernel/
H A Ddma.c36 * This doesn't really matter now, but it will once we get real semaphores

1234