Lines Matching refs:nilfs
75 struct the_nilfs *nilfs = inode->i_sb->s_fs_info; in nilfs_get_block() local
80 down_read(&NILFS_MDT(nilfs->ns_dat)->mi_sem); in nilfs_get_block()
82 up_read(&NILFS_MDT(nilfs->ns_dat)->mi_sem); in nilfs_get_block()
326 struct the_nilfs *nilfs = sb->s_fs_info; in nilfs_new_inode() local
371 spin_lock(&nilfs->ns_next_gen_lock); in nilfs_new_inode()
372 inode->i_generation = nilfs->ns_next_generation++; in nilfs_new_inode()
373 spin_unlock(&nilfs->ns_next_gen_lock); in nilfs_new_inode()
470 struct the_nilfs *nilfs = sb->s_fs_info; in __nilfs_read_inode() local
475 down_read(&NILFS_MDT(nilfs->ns_dat)->mi_sem); in __nilfs_read_inode()
506 up_read(&NILFS_MDT(nilfs->ns_dat)->mi_sem); in __nilfs_read_inode()
517 up_read(&NILFS_MDT(nilfs->ns_dat)->mi_sem); in __nilfs_read_inode()
638 struct the_nilfs *nilfs = inode->i_sb->s_fs_info; in nilfs_write_inode_common() local
644 nilfs->ns_inode_size - sizeof(*raw_inode)); in nilfs_write_inode_common()
859 struct the_nilfs *nilfs = inode->i_sb->s_fs_info; in nilfs_load_inode_block() local
863 spin_lock(&nilfs->ns_inode_lock); in nilfs_load_inode_block()
865 spin_unlock(&nilfs->ns_inode_lock); in nilfs_load_inode_block()
870 spin_lock(&nilfs->ns_inode_lock); in nilfs_load_inode_block()
881 spin_unlock(&nilfs->ns_inode_lock); in nilfs_load_inode_block()
888 struct the_nilfs *nilfs = inode->i_sb->s_fs_info; in nilfs_inode_dirty() local
892 spin_lock(&nilfs->ns_inode_lock); in nilfs_inode_dirty()
895 spin_unlock(&nilfs->ns_inode_lock); in nilfs_inode_dirty()
903 struct the_nilfs *nilfs = inode->i_sb->s_fs_info; in nilfs_set_file_dirty() local
905 atomic_add(nr_dirty, &nilfs->ns_ndirtyblks); in nilfs_set_file_dirty()
910 spin_lock(&nilfs->ns_inode_lock); in nilfs_set_file_dirty()
925 spin_unlock(&nilfs->ns_inode_lock); in nilfs_set_file_dirty()
931 list_move_tail(&ii->i_dirty, &nilfs->ns_dirty_files); in nilfs_set_file_dirty()
934 spin_unlock(&nilfs->ns_inode_lock); in nilfs_set_file_dirty()
990 struct the_nilfs *nilfs = inode->i_sb->s_fs_info; in nilfs_fiemap() local
1050 down_read(&NILFS_MDT(nilfs->ns_dat)->mi_sem); in nilfs_fiemap()
1053 up_read(&NILFS_MDT(nilfs->ns_dat)->mi_sem); in nilfs_fiemap()