Lines Matching refs:nilfs

78 	struct the_nilfs *nilfs = inode->i_sb->s_fs_info;  in nilfs_get_block()  local
83 down_read(&NILFS_MDT(nilfs->ns_dat)->mi_sem); in nilfs_get_block()
85 up_read(&NILFS_MDT(nilfs->ns_dat)->mi_sem); in nilfs_get_block()
339 struct the_nilfs *nilfs = sb->s_fs_info; in nilfs_new_inode() local
400 spin_lock(&nilfs->ns_next_gen_lock); in nilfs_new_inode()
401 inode->i_generation = nilfs->ns_next_generation++; in nilfs_new_inode()
402 spin_unlock(&nilfs->ns_next_gen_lock); in nilfs_new_inode()
500 struct the_nilfs *nilfs = sb->s_fs_info; in __nilfs_read_inode() local
505 down_read(&NILFS_MDT(nilfs->ns_dat)->mi_sem); in __nilfs_read_inode()
536 up_read(&NILFS_MDT(nilfs->ns_dat)->mi_sem); in __nilfs_read_inode()
547 up_read(&NILFS_MDT(nilfs->ns_dat)->mi_sem); in __nilfs_read_inode()
793 struct the_nilfs *nilfs = inode->i_sb->s_fs_info; in nilfs_write_inode_common() local
799 nilfs->ns_inode_size - sizeof(*raw_inode)); in nilfs_write_inode_common()
933 struct the_nilfs *nilfs; in nilfs_evict_inode() local
946 nilfs = sb->s_fs_info; in nilfs_evict_inode()
947 if (unlikely(sb_rdonly(sb) || !nilfs->ns_writer)) { in nilfs_evict_inode()
1034 struct the_nilfs *nilfs = inode->i_sb->s_fs_info; in nilfs_load_inode_block() local
1038 spin_lock(&nilfs->ns_inode_lock); in nilfs_load_inode_block()
1040 spin_unlock(&nilfs->ns_inode_lock); in nilfs_load_inode_block()
1045 spin_lock(&nilfs->ns_inode_lock); in nilfs_load_inode_block()
1059 spin_unlock(&nilfs->ns_inode_lock); in nilfs_load_inode_block()
1066 struct the_nilfs *nilfs = inode->i_sb->s_fs_info; in nilfs_inode_dirty() local
1070 spin_lock(&nilfs->ns_inode_lock); in nilfs_inode_dirty()
1073 spin_unlock(&nilfs->ns_inode_lock); in nilfs_inode_dirty()
1081 struct the_nilfs *nilfs = inode->i_sb->s_fs_info; in nilfs_set_file_dirty() local
1083 atomic_add(nr_dirty, &nilfs->ns_ndirtyblks); in nilfs_set_file_dirty()
1088 spin_lock(&nilfs->ns_inode_lock); in nilfs_set_file_dirty()
1103 spin_unlock(&nilfs->ns_inode_lock); in nilfs_set_file_dirty()
1109 list_move_tail(&ii->i_dirty, &nilfs->ns_dirty_files); in nilfs_set_file_dirty()
1112 spin_unlock(&nilfs->ns_inode_lock); in nilfs_set_file_dirty()
1118 struct the_nilfs *nilfs = inode->i_sb->s_fs_info; in __nilfs_mark_inode_dirty() local
1126 if (unlikely(nilfs_purging(nilfs))) in __nilfs_mark_inode_dirty()
1176 struct the_nilfs *nilfs = inode->i_sb->s_fs_info; in nilfs_fiemap() local
1236 down_read(&NILFS_MDT(nilfs->ns_dat)->mi_sem); in nilfs_fiemap()
1239 up_read(&NILFS_MDT(nilfs->ns_dat)->mi_sem); in nilfs_fiemap()