Home
last modified time | relevance | path

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

12345678910>>...12

/kernel/linux/linux-6.6/Documentation/locking/
Dpercpu-rw-semaphore.rst2 Percpu rw semaphores
5 Percpu rw semaphores is a new read-write semaphore design that is
8 The problem with traditional read-write semaphores is that when multiple
Dlocktypes.rst89 The aforementioned lock types except semaphores have strict owner
118 Semaphores are often used for both serialization and waiting, but new use
122 semaphores and PREEMPT_RT
126 semaphores have no concept of owners, thus preventing PREEMPT_RT from
127 providing priority inheritance for semaphores. After all, an unknown
128 owner cannot be boosted. As a consequence, blocking on semaphores can
/kernel/linux/linux-5.10/Documentation/locking/
Dpercpu-rw-semaphore.rst2 Percpu rw semaphores
5 Percpu rw semaphores is a new read-write semaphore design that is
8 The problem with traditional read-write semaphores is that when multiple
Dlocktypes.rst89 The aforementioned lock types except semaphores have strict owner
118 Semaphores are often used for both serialization and waiting, but new use
122 semaphores and PREEMPT_RT
126 semaphores have no concept of owners, thus preventing PREEMPT_RT from
127 providing priority inheritance for semaphores. After all, an unknown
128 owner cannot be boosted. As a consequence, blocking on semaphores can
/kernel/liteos_m/kernel/include/
Dlos_sem.h173 …sed to create a semaphore control structure according to the initial number of available semaphores
180 …* @param count [IN] Initial number of available semaphores. The value range is [0, OS_SEM_C…
185 * semaphores.
200 * semaphores specified by count and return the ID of this semaphore control structure.
206 * @param count [IN] Initial number of available semaphores. The value range is [0, 1].
211 * semaphores.
305 UINT16 semCount; /**< Number of available semaphores */
306 UINT16 maxSemCount; /**< Max number of available semaphores */
313 * Max count of binary semaphores.
/kernel/linux/linux-6.6/drivers/gpu/drm/radeon/
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()
/kernel/liteos_a/kernel/include/
Dlos_sem.h164 * Maximum number of binary semaphores.
174 …sed to create a semaphore control structure according to the initial number of available semaphores
181 …* @param count [IN] Initial number of available semaphores. The value range is [0, OS_SEM_CO…
186 * semaphores.
201 * available semaphores specified by count and return the ID of this semaphore control structure.
207 * @param count [IN] Initial number of available semaphores. The value range is [0, 1].
212 * available semaphores.
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Dradeon_sync.c46 sync->semaphores[i] = NULL; in radeon_sync_create()
80 * radeon_sync_resv - use the semaphores to sync to a reservation object
168 sync->semaphores[count++] = semaphore; in radeon_sync_rings()
209 * Free the sync object by freeing all semaphores in it.
218 radeon_semaphore_free(rdev, &sync->semaphores[i], fence); in radeon_sync_free()
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/dscr/
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()
/kernel/linux/linux-6.6/include/uapi/linux/
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 */
/kernel/linux/linux-5.10/include/uapi/linux/
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 */
/kernel/linux/linux-5.10/arch/mips/include/uapi/asm/
Dsembuf.h21 unsigned long sem_nsems; /* no. of semaphores in array */
30 unsigned long sem_nsems; /* no. of semaphores in array */
/kernel/linux/linux-6.6/arch/mips/include/uapi/asm/
Dsembuf.h21 unsigned long sem_nsems; /* no. of semaphores in array */
30 unsigned long sem_nsems; /* no. of semaphores in array */
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igc/
Digc_i225.c12 * Acquire the necessary semaphores for exclusive access to the EEPROM.
27 * then release the semaphores acquired.
92 /* Release semaphores */ in igc_get_hw_semaphore_i225()
184 * Uses necessary synchronization semaphores.
192 /* We cannot hold synchronization semaphores for too long, in igc_read_nvm_srrd_i225()
290 /* We cannot hold synchronization semaphores for too long, in igc_write_nvm_srwr_i225()
425 * semaphores twice here. in igc_update_nvm_checksum_i225()
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/igc/
Digc_i225.c13 * Acquire the necessary semaphores for exclusive access to the EEPROM.
28 * then release the semaphores acquired.
93 /* Release semaphores */ in igc_get_hw_semaphore_i225()
185 * Uses necessary synchronization semaphores.
193 /* We cannot hold synchronization semaphores for too long, in igc_read_nvm_srrd_i225()
291 /* We cannot hold synchronization semaphores for too long, in igc_write_nvm_srwr_i225()
426 * semaphores twice here. in igc_update_nvm_checksum_i225()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/mailbox/
Dnvidia,tegra186-hsp.txt9 The features that HSP supported are shared mailboxes, shared semaphores,
10 arbitrated semaphores and doorbells.
/kernel/linux/linux-6.6/Documentation/translations/zh_CN/locking/
Dmutex-design.rst27 排斥”。互斥锁是一种睡眠锁,它的行为类似于二进制信号量(semaphores),在
72 改善一些工作负载的性能。注意,这种技术也被用于读写信号量(rw-semaphores)。
/kernel/linux/linux-6.6/include/drm/
Dtask_barrier.h28 * Based on the Little book of semaphores - https://greenteapress.com/wp/semaphores/
/kernel/liteos_a/kernel/base/include/
Dlos_sem_pri.h49 UINT16 semCount; /**< Number of available semaphores */
50 UINT16 maxSemCount; /**< Max number of available semaphores */
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/mailbox/
Dnvidia,tegra186-hsp.yaml22 semaphores, arbitrated semaphores and doorbells.
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igb/
De1000_i210.c74 /* Release semaphores */ in igb_get_hw_semaphore_i210()
87 * Acquire the necessary semaphores for exclusive access to the EEPROM.
102 * then release the semaphores acquired.
185 * Uses necessary synchronization semaphores.
193 /* We cannot hold synchronization semaphores for too long, in igb_read_nvm_srrd_i210()
293 /* We cannot hold synchronization semaphores for too long, in igb_write_nvm_srwr_i210()
592 * semaphores twice here. in igb_update_nvm_checksum_i210()
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/igb/
De1000_i210.c74 /* Release semaphores */ in igb_get_hw_semaphore_i210()
87 * Acquire the necessary semaphores for exclusive access to the EEPROM.
102 * then release the semaphores acquired.
185 * Uses necessary synchronization semaphores.
193 /* We cannot hold synchronization semaphores for too long, in igb_read_nvm_srrd_i210()
293 /* We cannot hold synchronization semaphores for too long, in igb_write_nvm_srwr_i210()
593 * semaphores twice here. in igb_update_nvm_checksum_i210()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
Di915_request.h448 * If the timeline is using semaphores, it will also be emitting an
449 * "initial breadcrumb" after the semaphores are complete and just before
452 * dependencies (via HW semaphores).
455 * (either by fences or by semaphores) and it will have begun processing
512 * this is controlled with a mixture of interrupts and semaphores. Once
/kernel/linux/linux-6.6/kernel/sched/
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
/kernel/linux/linux-5.10/kernel/sched/
Dcompletion.c5 * It differs from semaphores in that their default case is the opposite,
8 * something which isn't entirely natural for semaphores.
10 * But more importantly, the primitive documents the usage. Semaphores would

12345678910>>...12