Lines Matching refs:dibh

122 	struct buffer_head *dibh;  in gfs2_dir_write_stuffed()  local
125 error = gfs2_meta_inode_buffer(ip, &dibh); in gfs2_dir_write_stuffed()
129 gfs2_trans_add_meta(ip->i_gl, dibh); in gfs2_dir_write_stuffed()
130 memcpy(dibh->b_data + offset + sizeof(struct gfs2_dinode), buf, size); in gfs2_dir_write_stuffed()
134 gfs2_dinode_out(ip, dibh->b_data); in gfs2_dir_write_stuffed()
136 brelse(dibh); in gfs2_dir_write_stuffed()
156 struct buffer_head *dibh; in gfs2_dir_write_data() local
224 error = gfs2_meta_inode_buffer(ip, &dibh); in gfs2_dir_write_data()
232 gfs2_trans_add_meta(ip->i_gl, dibh); in gfs2_dir_write_data()
233 gfs2_dinode_out(ip, dibh->b_data); in gfs2_dir_write_data()
234 brelse(dibh); in gfs2_dir_write_data()
246 struct buffer_head *dibh; in gfs2_dir_read_stuffed() local
249 error = gfs2_meta_inode_buffer(ip, &dibh); in gfs2_dir_read_stuffed()
251 memcpy(buf, dibh->b_data + sizeof(struct gfs2_dinode), size); in gfs2_dir_read_stuffed()
252 brelse(dibh); in gfs2_dir_read_stuffed()
910 struct buffer_head *bh, *dibh; in dir_make_exhash() local
918 error = gfs2_meta_inode_buffer(dip, &dibh); in dir_make_exhash()
934 gfs2_buffer_copy_tail(bh, sizeof(struct gfs2_leaf), dibh, in dir_make_exhash()
947 brelse(dibh); in dir_make_exhash()
952 brelse(dibh); in dir_make_exhash()
968 gfs2_trans_add_meta(dip->i_gl, dibh); in dir_make_exhash()
969 gfs2_buffer_clear_tail(dibh, sizeof(struct gfs2_dinode)); in dir_make_exhash()
971 lp = (__be64 *)(dibh->b_data + sizeof(struct gfs2_dinode)); in dir_make_exhash()
983 gfs2_dinode_out(dip, dibh->b_data); in dir_make_exhash()
985 brelse(dibh); in dir_make_exhash()
1001 struct buffer_head *nbh, *obh, *dibh; in dir_split_leaf() local
1118 error = gfs2_meta_inode_buffer(dip, &dibh); in dir_split_leaf()
1120 gfs2_trans_add_meta(dip->i_gl, dibh); in dir_split_leaf()
1122 gfs2_dinode_out(dip, dibh->b_data); in dir_split_leaf()
1123 brelse(dibh); in dir_split_leaf()
1149 struct buffer_head *dibh; in dir_double_exhash() local
1172 error = gfs2_meta_inode_buffer(dip, &dibh); in dir_double_exhash()
1189 gfs2_dinode_out(dip, dibh->b_data); in dir_double_exhash()
1190 brelse(dibh); in dir_double_exhash()
1197 gfs2_dinode_out(dip, dibh->b_data); in dir_double_exhash()
1198 brelse(dibh); in dir_double_exhash()
1574 struct buffer_head *dibh; in gfs2_dir_read() local
1589 error = gfs2_meta_inode_buffer(dip, &dibh); in gfs2_dir_read()
1599 dent = gfs2_dirent_scan(inode, dibh->b_data, dibh->b_size, in gfs2_dir_read()
1615 gfs2_set_cookies(sdp, dibh, 0, darr, dip->i_entries); in gfs2_dir_read()
1625 brelse(dibh); in gfs2_dir_read()
1978 struct buffer_head *bh, *dibh; in leaf_dealloc() local
2065 error = gfs2_meta_inode_buffer(dip, &dibh); in leaf_dealloc()
2069 gfs2_trans_add_meta(dip->i_gl, dibh); in leaf_dealloc()
2074 gfs2_dinode_out(dip, dibh->b_data); in leaf_dealloc()
2075 brelse(dibh); in leaf_dealloc()