Lines Matching refs:rwsem
38 * The ids->rwsem must be taken when:
63 #include <linux/rwsem.h>
119 init_rwsem(&ids->rwsem);
170 * Called with writer ipc_ids.rwsem held.
276 * Called with writer ipc_ids.rwsem held.
344 down_write(&ids->rwsem);
346 up_write(&ids->rwsem);
363 * It is called with ipc_ids.rwsem and ipcp->lock held.
408 down_write(&ids->rwsem);
434 up_write(&ids->rwsem);
444 * ipc_ids.rwsem (as a writer) and the spinlock for this ID are held
465 * ipc_ids.rwsem needs to be held by the caller.
494 * ipc_ids.rwsem (as a writer) and the spinlock for this ID are held
519 * ipc_ids.rwsem (as a writer) and the spinlock for this ID are held
720 * Call holding the both the rwsem and the rcu read lock.
850 down_read(&ids->rwsem);
877 up_read(&ids->rwsem);