Lines Matching refs:dibh
128 struct buffer_head *dibh; in gfs2_dir_write_stuffed() local
131 error = gfs2_meta_inode_buffer(ip, &dibh); in gfs2_dir_write_stuffed()
135 gfs2_trans_add_meta(ip->i_gl, dibh); in gfs2_dir_write_stuffed()
136 memcpy(dibh->b_data + offset + sizeof(struct gfs2_dinode), buf, size); in gfs2_dir_write_stuffed()
140 gfs2_dinode_out(ip, dibh->b_data); in gfs2_dir_write_stuffed()
142 brelse(dibh); in gfs2_dir_write_stuffed()
162 struct buffer_head *dibh; in gfs2_dir_write_data() local
230 error = gfs2_meta_inode_buffer(ip, &dibh); in gfs2_dir_write_data()
238 gfs2_trans_add_meta(ip->i_gl, dibh); in gfs2_dir_write_data()
239 gfs2_dinode_out(ip, dibh->b_data); in gfs2_dir_write_data()
240 brelse(dibh); in gfs2_dir_write_data()
252 struct buffer_head *dibh; in gfs2_dir_read_stuffed() local
255 error = gfs2_meta_inode_buffer(ip, &dibh); in gfs2_dir_read_stuffed()
257 memcpy(buf, dibh->b_data + sizeof(struct gfs2_dinode), size); in gfs2_dir_read_stuffed()
258 brelse(dibh); in gfs2_dir_read_stuffed()
915 struct buffer_head *bh, *dibh; in dir_make_exhash() local
923 error = gfs2_meta_inode_buffer(dip, &dibh); in dir_make_exhash()
939 gfs2_buffer_copy_tail(bh, sizeof(struct gfs2_leaf), dibh, in dir_make_exhash()
952 brelse(dibh); in dir_make_exhash()
957 brelse(dibh); in dir_make_exhash()
973 gfs2_trans_add_meta(dip->i_gl, dibh); in dir_make_exhash()
974 gfs2_buffer_clear_tail(dibh, sizeof(struct gfs2_dinode)); in dir_make_exhash()
976 lp = (__be64 *)(dibh->b_data + sizeof(struct gfs2_dinode)); in dir_make_exhash()
988 gfs2_dinode_out(dip, dibh->b_data); in dir_make_exhash()
990 brelse(dibh); in dir_make_exhash()
1007 struct buffer_head *nbh, *obh, *dibh; in dir_split_leaf() local
1124 error = gfs2_meta_inode_buffer(dip, &dibh); in dir_split_leaf()
1126 gfs2_trans_add_meta(dip->i_gl, dibh); in dir_split_leaf()
1128 gfs2_dinode_out(dip, dibh->b_data); in dir_split_leaf()
1129 brelse(dibh); in dir_split_leaf()
1155 struct buffer_head *dibh; in dir_double_exhash() local
1178 error = gfs2_meta_inode_buffer(dip, &dibh); in dir_double_exhash()
1195 gfs2_dinode_out(dip, dibh->b_data); in dir_double_exhash()
1196 brelse(dibh); in dir_double_exhash()
1203 gfs2_dinode_out(dip, dibh->b_data); in dir_double_exhash()
1204 brelse(dibh); in dir_double_exhash()
1576 struct buffer_head *dibh; in gfs2_dir_read() local
1591 error = gfs2_meta_inode_buffer(dip, &dibh); in gfs2_dir_read()
1601 dent = gfs2_dirent_scan(inode, dibh->b_data, dibh->b_size, in gfs2_dir_read()
1617 gfs2_set_cookies(sdp, dibh, 0, darr, dip->i_entries); in gfs2_dir_read()
1627 brelse(dibh); in gfs2_dir_read()
1979 struct buffer_head *bh, *dibh; in leaf_dealloc() local
2063 error = gfs2_meta_inode_buffer(dip, &dibh); in leaf_dealloc()
2067 gfs2_trans_add_meta(dip->i_gl, dibh); in leaf_dealloc()
2072 gfs2_dinode_out(dip, dibh->b_data); in leaf_dealloc()
2073 brelse(dibh); in leaf_dealloc()