Lines Matching refs:rwsem
38 * The ids->rwsem must be taken when:
63 #include <linux/rwsem.h>
118 init_rwsem(&ids->rwsem);
169 * Called with writer ipc_ids.rwsem held.
275 * Called with writer ipc_ids.rwsem held.
343 down_write(&ids->rwsem);
345 up_write(&ids->rwsem);
362 * It is called with ipc_ids.rwsem and ipcp->lock held.
407 down_write(&ids->rwsem);
433 up_write(&ids->rwsem);
443 * ipc_ids.rwsem (as a writer) and the spinlock for this ID are held
458 * ipc_ids.rwsem (as a writer) and the spinlock for this ID are held
485 * ipc_ids.rwsem (as a writer) and the spinlock for this ID are held
686 * Call holding the both the rwsem and the rcu read lock.
805 down_read(&ids->rwsem);
832 up_read(&ids->rwsem);