Lines Matching refs:lock
11 * 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);
343 * It is called with ipc_ids.rwsem and ipcp->lock held.
385 * Take the lock as a writer since we are potentially going to add
614 * ipc_lock - lock an ipc structure without rwsem held
618 * Look for an id in the ipc ids idr and lock the associated ipc object.
631 spin_lock(&out->lock);
639 spin_unlock(&out->lock);
720 * It must be called without any lock held and
725 * Call holding the both the rwsem and the rcu read lock.
842 * Take the lock - this will be released by the corresponding
871 /* Release the lock we took in start() */