/linux/drivers/gpu/drm/radeon/ |
H A D | radeon_sync.c | 46 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 D | dscr_explicit_test.c | 55 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 D | sem.h | 33 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 D | sembuf.h | 21 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 D | mutex-design.rst | 27 排斥”。互斥锁是一种睡眠锁,它的行为类似于二进制信号量(semaphores),在 72 改善一些工作负载的性能。注意,这种技术也被用于读写信号量(rw-semaphores)。
|
/linux/include/drm/ |
H A D | task_barrier.h | 28 * Based on the Little book of semaphores - https://greenteapress.com/wp/semaphores/
|
/linux/tools/testing/selftests/bpf/ |
H A D | usdt.h | 32 * 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 D | completion.c | 6 * 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 D | nvidia,tegra186-hsp.yaml | 22 semaphores, arbitrated semaphores and doorbells.
|
/linux/ipc/ |
H A D | sem.c | 27 * 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 D | sembuf.h | 27 unsigned long sem_nsems; /* no. of semaphores in array */
|
/linux/arch/parisc/include/uapi/asm/ |
H A D | sembuf.h | 28 unsigned long sem_nsems; /* no. of semaphores in array */
|
/linux/arch/x86/include/uapi/asm/ |
H A D | sembuf.h | 31 __kernel_ulong_t sem_nsems; /* no. of semaphores in array */
|
/linux/Documentation/locking/ |
H A D | mutex-design.rst | 16 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 D | sembuf.h | 34 unsigned long sem_nsems; /* no. of semaphores in array */
|
/linux/arch/xtensa/include/uapi/asm/ |
H A D | sembuf.h | 40 unsigned long sem_nsems; /* no. of semaphores in array */
|
/linux/Documentation/devicetree/bindings/hwlock/ |
H A D | allwinner,sun6i-a31-hwspinlock.yaml | 13 The hardware unit provides semaphores between the ARM cores and the embedded
|
/linux/include/uapi/asm-generic/ |
H A D | sembuf.h | 40 unsigned long sem_nsems; /* no. of semaphores in array */
|
/linux/include/linux/ |
H A D | semaphore.h | 41 * Unlike mutexes, binary semaphores do not have an owner, so up() can
|
/linux/arch/um/drivers/ |
H A D | chan_user.c | 211 * kernel semaphores. We don't use SysV semaphores because they are in winch_thread()
|
/linux/drivers/net/ethernet/intel/e1000e/ |
H A D | phy.c | 286 * 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 D | acenv.h | 240 /* 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 D | futex2.rst | 10 performant synchronization mechanisms, such as mutexes, semaphores and
|
/linux/Documentation/infiniband/ |
H A D | core_locking.rst | 108 semaphores that could cause deadlock if a consumer calls back into
|
/linux/kernel/ |
H A D | dma.c | 36 * This doesn't really matter now, but it will once we get real semaphores
|