Lines Matching refs:i_rwsem
17 /* Call with exclusively locked inode->i_rwsem */
33 * and holds a shared lock on inode->i_rwsem to ensure that the flag
40 * inode->i_rwsem, meaning that those are serialised w.r.t. the reads.
47 down_read(&inode->i_rwsem);
50 up_read(&inode->i_rwsem);
52 down_write(&inode->i_rwsem);
54 downgrade_write(&inode->i_rwsem);
62 * lock on inode->i_rwsem.
67 up_read(&inode->i_rwsem);
80 down_write(&inode->i_rwsem);
89 * lock on inode->i_rwsem.
94 up_write(&inode->i_rwsem);
97 /* Call with exclusively locked inode->i_rwsem */
113 * and holds a shared lock on inode->i_rwsem to ensure that the flag
120 * inode->i_rwsem, meaning that those are serialised w.r.t. O_DIRECT.
127 down_read(&inode->i_rwsem);
130 up_read(&inode->i_rwsem);
132 down_write(&inode->i_rwsem);
134 downgrade_write(&inode->i_rwsem);
142 * lock on inode->i_rwsem.
147 up_read(&inode->i_rwsem);