Lines Matching refs:i_data_sem
44 * ext4_double_down_write_data_sem() - write lock two inodes's i_data_sem
48 * Acquire write lock of i_data_sem of the two inodes
54 down_write(&EXT4_I(first)->i_data_sem);
55 down_write_nested(&EXT4_I(second)->i_data_sem, I_DATA_SEM_OTHER);
57 down_write(&EXT4_I(second)->i_data_sem);
58 down_write_nested(&EXT4_I(first)->i_data_sem, I_DATA_SEM_OTHER);
64 * ext4_double_up_write_data_sem - Release two inodes' write lock of i_data_sem
68 * Release write lock of i_data_sem of two inodes (orig and donor).
74 up_write(&EXT4_I(orig_inode)->i_data_sem);
75 up_write(&EXT4_I(donor_inode)->i_data_sem);
315 * at any time after i_data_sem was dropped, in order to