Lines Matching refs:i_inode
111 if (gfs2_metatype_check(GFS2_SB(&ip->i_inode), bh, GFS2_METATYPE_JD)) { in gfs2_dir_get_existing_buffer()
131 if (ip->i_inode.i_size < offset + size) in gfs2_dir_write_stuffed()
132 i_size_write(&ip->i_inode, offset + size); in gfs2_dir_write_stuffed()
133 ip->i_inode.i_mtime = inode_set_ctime_current(&ip->i_inode); in gfs2_dir_write_stuffed()
155 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_dir_write_data()
193 error = gfs2_alloc_extent(&ip->i_inode, lblock, &dblock, in gfs2_dir_write_data()
228 if (ip->i_inode.i_size < offset + copied) in gfs2_dir_write_data()
229 i_size_write(&ip->i_inode, offset + copied); in gfs2_dir_write_data()
230 ip->i_inode.i_mtime = inode_set_ctime_current(&ip->i_inode); in gfs2_dir_write_data()
270 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_dir_read_data()
296 error = gfs2_get_extent(&ip->i_inode, lblock, in gfs2_dir_read_data()
336 struct inode *inode = &ip->i_inode; in gfs2_dir_get_hash_table()
349 if (hsize != i_size_read(&ip->i_inode)) { in gfs2_dir_get_hash_table()
388 spin_lock(&ip->i_inode.i_lock); in gfs2_dir_hash_inval()
391 spin_unlock(&ip->i_inode.i_lock); in gfs2_dir_hash_inval()
761 if (!error && gfs2_metatype_check(GFS2_SB(&dip->i_inode), *bhp, GFS2_METATYPE_LF)) { in get_leaf()
943 dent = gfs2_dirent_scan(&dip->i_inode, bh->b_data, bh->b_size, in dir_make_exhash()
977 gfs2_add_inode_blocks(&dip->i_inode, 1); in dir_make_exhash()
1119 if (!gfs2_assert_withdraw(GFS2_SB(&dip->i_inode), !error)) { in dir_split_leaf()
1121 gfs2_add_inode_blocks(&dip->i_inode, 1); in dir_split_leaf()
1196 i_size_write(&dip->i_inode, hsize_bytes); in dir_double_exhash()
1690 if (unlikely(IF2DT(ip->i_inode.i_mode) != in gfs2_dir_check()
1765 gfs2_add_inode_blocks(&ip->i_inode, 1); in dir_new_leaf()
1815 dent->de_type = cpu_to_be16(IF2DT(nip->i_inode.i_mode)); in gfs2_dir_add()
1817 tv = inode_set_ctime_current(&ip->i_inode); in gfs2_dir_add()
1828 ip->i_inode.i_mtime = tv; in gfs2_dir_add()
1829 if (S_ISDIR(nip->i_inode.i_mode)) in gfs2_dir_add()
1830 inc_nlink(&ip->i_inode); in gfs2_dir_add()
1883 dent = gfs2_dirent_search(&dip->i_inode, name, gfs2_dirent_prev, &bh); in gfs2_dir_del()
1899 tv = inode_set_ctime_current(&dip->i_inode); in gfs2_dir_del()
1914 dip->i_inode.i_mtime = tv; in gfs2_dir_del()
1916 drop_nlink(&dip->i_inode); in gfs2_dir_del()
1917 mark_inode_dirty(&dip->i_inode); in gfs2_dir_del()
1942 dent = gfs2_dirent_search(&dip->i_inode, filename, gfs2_dirent_find, &bh); in gfs2_dir_mvino()
1955 dip->i_inode.i_mtime = inode_set_ctime_current(&dip->i_inode); in gfs2_dir_mvino()
1956 mark_inode_dirty_sync(&dip->i_inode); in gfs2_dir_mvino()
1976 struct gfs2_sbd *sdp = GFS2_SB(&dip->i_inode); in leaf_dealloc()
2056 gfs2_add_inode_blocks(&dip->i_inode, -1); in leaf_dealloc()
2074 dip->i_inode.i_mode = S_IFREG; in leaf_dealloc()