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()
920 struct the_nilfs *nilfs; in nilfs_evict_inode() local
933 nilfs = sb->s_fs_info; in nilfs_evict_inode()
934 if (unlikely(sb_rdonly(sb) || !nilfs->ns_writer)) { in nilfs_evict_inode()
1023 struct the_nilfs *nilfs = inode->i_sb->s_fs_info; in nilfs_load_inode_block() local
1027 spin_lock(&nilfs->ns_inode_lock); in nilfs_load_inode_block()
1029 spin_unlock(&nilfs->ns_inode_lock); in nilfs_load_inode_block()
1034 spin_lock(&nilfs->ns_inode_lock); in nilfs_load_inode_block()
1048 spin_unlock(&nilfs->ns_inode_lock); in nilfs_load_inode_block()
1055 struct the_nilfs *nilfs = inode->i_sb->s_fs_info; in nilfs_inode_dirty() local
1059 spin_lock(&nilfs->ns_inode_lock); in nilfs_inode_dirty()
1062 spin_unlock(&nilfs->ns_inode_lock); in nilfs_inode_dirty()
1070 struct the_nilfs *nilfs = inode->i_sb->s_fs_info; in nilfs_set_file_dirty() local
1072 atomic_add(nr_dirty, &nilfs->ns_ndirtyblks); in nilfs_set_file_dirty()
1077 spin_lock(&nilfs->ns_inode_lock); in nilfs_set_file_dirty()
1092 spin_unlock(&nilfs->ns_inode_lock); in nilfs_set_file_dirty()
1098 list_move_tail(&ii->i_dirty, &nilfs->ns_dirty_files); in nilfs_set_file_dirty()
1101 spin_unlock(&nilfs->ns_inode_lock); in nilfs_set_file_dirty()
1107 struct the_nilfs *nilfs = inode->i_sb->s_fs_info; in __nilfs_mark_inode_dirty() local
1115 if (unlikely(nilfs_purging(nilfs))) in __nilfs_mark_inode_dirty()
1166 struct the_nilfs *nilfs = inode->i_sb->s_fs_info; in nilfs_fiemap() local
1226 down_read(&NILFS_MDT(nilfs->ns_dat)->mi_sem); in nilfs_fiemap()
1229 up_read(&NILFS_MDT(nilfs->ns_dat)->mi_sem); in nilfs_fiemap()