Lines Matching refs:nilfs

79 	struct the_nilfs *nilfs = inode->i_sb->s_fs_info;  in nilfs_get_block()  local
84 down_read(&NILFS_MDT(nilfs->ns_dat)->mi_sem); in nilfs_get_block()
86 up_read(&NILFS_MDT(nilfs->ns_dat)->mi_sem); in nilfs_get_block()
327 struct the_nilfs *nilfs = sb->s_fs_info; in nilfs_new_inode() local
387 spin_lock(&nilfs->ns_next_gen_lock); in nilfs_new_inode()
388 inode->i_generation = nilfs->ns_next_generation++; in nilfs_new_inode()
389 spin_unlock(&nilfs->ns_next_gen_lock); in nilfs_new_inode()
488 struct the_nilfs *nilfs = sb->s_fs_info; in __nilfs_read_inode() local
493 down_read(&NILFS_MDT(nilfs->ns_dat)->mi_sem); in __nilfs_read_inode()
524 up_read(&NILFS_MDT(nilfs->ns_dat)->mi_sem); in __nilfs_read_inode()
535 up_read(&NILFS_MDT(nilfs->ns_dat)->mi_sem); in __nilfs_read_inode()
781 struct the_nilfs *nilfs = inode->i_sb->s_fs_info; in nilfs_write_inode_common() local
787 nilfs->ns_inode_size - sizeof(*raw_inode)); in nilfs_write_inode_common()
1005 struct the_nilfs *nilfs = inode->i_sb->s_fs_info; in nilfs_load_inode_block() local
1009 spin_lock(&nilfs->ns_inode_lock); in nilfs_load_inode_block()
1011 spin_unlock(&nilfs->ns_inode_lock); in nilfs_load_inode_block()
1016 spin_lock(&nilfs->ns_inode_lock); in nilfs_load_inode_block()
1027 spin_unlock(&nilfs->ns_inode_lock); in nilfs_load_inode_block()
1034 struct the_nilfs *nilfs = inode->i_sb->s_fs_info; in nilfs_inode_dirty() local
1038 spin_lock(&nilfs->ns_inode_lock); in nilfs_inode_dirty()
1041 spin_unlock(&nilfs->ns_inode_lock); in nilfs_inode_dirty()
1049 struct the_nilfs *nilfs = inode->i_sb->s_fs_info; in nilfs_set_file_dirty() local
1051 atomic_add(nr_dirty, &nilfs->ns_ndirtyblks); in nilfs_set_file_dirty()
1056 spin_lock(&nilfs->ns_inode_lock); in nilfs_set_file_dirty()
1071 spin_unlock(&nilfs->ns_inode_lock); in nilfs_set_file_dirty()
1077 list_move_tail(&ii->i_dirty, &nilfs->ns_dirty_files); in nilfs_set_file_dirty()
1080 spin_unlock(&nilfs->ns_inode_lock); in nilfs_set_file_dirty()
1137 struct the_nilfs *nilfs = inode->i_sb->s_fs_info; in nilfs_fiemap() local
1197 down_read(&NILFS_MDT(nilfs->ns_dat)->mi_sem); in nilfs_fiemap()
1200 up_read(&NILFS_MDT(nilfs->ns_dat)->mi_sem); in nilfs_fiemap()