Home
last modified time | relevance | path

Searched refs:sem_lock (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/ipc/
H A Dsem.c189 * a) global sem_lock() for read/write
195 * b) global or semaphore sem_lock() for read/write:
203 * * global sem_lock() for write
204 * * either local or global sem_lock() for read.
222 * Initialization is done while holding sem_lock(), so no further barrier is
225 * smp_store_release() (for case a) and while holding sem_lock()
227 * The AQUIRE when reading the result code without holding sem_lock() is
230 * Reading the result code while holding sem_lock() needs no further barriers,
231 * the locks inside sem_lock() enforce ordering (case b above)
234 * current->state is set to TASK_INTERRUPTIBLE while holding sem_lock()
386 static inline int sem_lock(struct sem_array *sma, struct sembuf *sops, sem_lock() function
[all...]
/kernel/linux/linux-6.6/ipc/
H A Dsem.c189 * a) global sem_lock() for read/write
195 * b) global or semaphore sem_lock() for read/write:
203 * * global sem_lock() for write
204 * * either local or global sem_lock() for read.
224 * Initialization is done while holding sem_lock(), so no further barrier is
227 * smp_store_release() (for case a) and while holding sem_lock()
229 * The ACQUIRE when reading the result code without holding sem_lock() is
232 * Reading the result code while holding sem_lock() needs no further barriers,
233 * the locks inside sem_lock() enforce ordering (case b above)
236 * current->state is set to TASK_INTERRUPTIBLE while holding sem_lock()
389 static inline int sem_lock(struct sem_array *sma, struct sembuf *sops, sem_lock() function
[all...]

Completed in 5 milliseconds