Searched refs:lock (Results 1 - 5 of 5) sorted by path

/ipc/
H A Dmqueue.c67 spinlock_t lock; member in struct:mqueue_inode_info
242 spin_lock_init(&info->lock);
389 spin_lock(&info->lock);
393 spin_unlock(&info->lock);
492 spin_lock(&info->lock);
501 spin_unlock(&info->lock);
517 spin_lock(&info->lock);
521 spin_unlock(&info->lock);
532 spin_lock(&info->lock);
538 spin_unlock(&info->lock);
[all...]
H A Dsem.c59 * anything - not even acquiring a lock or dropping a refcount.
96 spinlock_t lock; /* spinlock for fine-grained semtimedop */ member in struct:sem
138 spinlock_t lock; member in struct:sem_undo_list
204 * It must be called prior to dropping the global semaphore array lock.
257 * Caller must own sem_perm.lock.
259 * that sem_perm.lock is free.
260 * that a) sem_perm.lock is free and b) complex_count is 0.
269 * all sem->lock locks. Thus we don't need to wait again.
276 spin_unlock_wait(&sem->lock);
282 * no complex transactions pending, lock onl
[all...]
H A Dshm.c23 * Better ipc lock (kern_ipc_perm.lock) handling
321 * Only under read lock but we are only called on current
732 spin_lock(&info->lock);
735 spin_unlock(&info->lock);
H A Dutil.c11 * Oct 2002 - One lock per IPC id. RCU ipc_free for lock-free grow_ary().
26 * acquire the ipc lock (kern_ipc_perm.lock) through
31 * drop the ipc lock, through ipc_unlock_object().
39 * Note that sems have a special fast path that avoids kern_ipc_perm.lock -
90 * In order not to keep the lock on the hotplug memory chain
275 spin_lock_init(&new->lock);
278 spin_lock(&new->lock);
289 spin_unlock(&new->lock);
[all...]
H A Dutil.h170 spin_lock(&perm->lock);
175 spin_unlock(&perm->lock);
180 assert_spin_locked(&perm->lock);
193 * ipc_rmid() may have already freed the ID while the ipc lock was spinning.
194 * Needs to be called with kern_ipc_perm.lock held -- exception made for one

Completed in 47 milliseconds