Lines Matching refs:i_rwsem
21 /* Call with exclusively locked inode->i_rwsem */
24 lockdep_assert_held_write(&inode->i_rwsem);
41 * and holds a shared lock on inode->i_rwsem to ensure that the flag
48 * inode->i_rwsem, meaning that those are serialised w.r.t. the reads.
56 down_read(&inode->i_rwsem);
59 up_read(&inode->i_rwsem);
61 down_write(&inode->i_rwsem);
63 downgrade_write(&inode->i_rwsem);
71 * lock on inode->i_rwsem.
76 up_read(&inode->i_rwsem);
89 down_write(&inode->i_rwsem);
98 * lock on inode->i_rwsem.
103 up_write(&inode->i_rwsem);
106 /* Call with exclusively locked inode->i_rwsem */
109 lockdep_assert_held_write(&inode->i_rwsem);
127 * and holds a shared lock on inode->i_rwsem to ensure that the flag
134 * inode->i_rwsem, meaning that those are serialised w.r.t. O_DIRECT.
142 down_read(&inode->i_rwsem);
145 up_read(&inode->i_rwsem);
147 down_write(&inode->i_rwsem);
149 downgrade_write(&inode->i_rwsem);
157 * lock on inode->i_rwsem.
162 up_read(&inode->i_rwsem);