• Home
  • Raw
  • Download

Lines Matching refs:dibh

55 static int gfs2_unstuffer_page(struct gfs2_inode *ip, struct buffer_head *dibh,  in gfs2_unstuffer_page()  argument
64 memcpy(kaddr, dibh->b_data + sizeof(struct gfs2_dinode), dsize); in gfs2_unstuffer_page()
94 struct buffer_head *bh, *dibh; in __gfs2_unstuff_inode() local
100 error = gfs2_meta_inode_buffer(ip, &dibh); in __gfs2_unstuff_inode()
118 dibh, sizeof(struct gfs2_dinode)); in __gfs2_unstuff_inode()
121 error = gfs2_unstuffer_page(ip, dibh, block, page); in __gfs2_unstuff_inode()
129 gfs2_trans_add_meta(ip->i_gl, dibh); in __gfs2_unstuff_inode()
130 di = (struct gfs2_dinode *)dibh->b_data; in __gfs2_unstuff_inode()
131 gfs2_buffer_clear_tail(dibh, sizeof(struct gfs2_dinode)); in __gfs2_unstuff_inode()
143 brelse(dibh); in __gfs2_unstuff_inode()
665 struct buffer_head *dibh = mp->mp_bh[0]; in __gfs2_iomap_alloc() local
676 BUG_ON(dibh == NULL); in __gfs2_iomap_alloc()
679 gfs2_trans_add_meta(ip->i_gl, dibh); in __gfs2_iomap_alloc()
717 ptr = (__be64 *)(dibh->b_data + in __gfs2_iomap_alloc()
728 dibh, sizeof(struct gfs2_dinode)); in __gfs2_iomap_alloc()
729 gfs2_buffer_clear_tail(dibh, in __gfs2_iomap_alloc()
776 gfs2_dinode_out(ip, dibh->b_data); in __gfs2_iomap_alloc()
852 struct buffer_head *dibh = NULL, *bh; in __gfs2_iomap_get() local
860 ret = gfs2_meta_inode_buffer(ip, &dibh); in __gfs2_iomap_get()
863 mp->mp_bh[0] = dibh; in __gfs2_iomap_get()
888 iomap->inline_data = dibh->b_data + sizeof(struct gfs2_dinode); in __gfs2_iomap_get()
1343 struct buffer_head *dibh = NULL; in trunc_start() local
1365 error = gfs2_meta_inode_buffer(ip, &dibh); in trunc_start()
1369 gfs2_trans_add_meta(ip->i_gl, dibh); in trunc_start()
1372 gfs2_buffer_clear_tail(dibh, sizeof(struct gfs2_dinode) + newsize); in trunc_start()
1378 gfs2_dinode_out(ip, dibh->b_data); in trunc_start()
1386 brelse(dibh); in trunc_start()
1566 struct buffer_head *dibh; in sweep_bh_for_rgrps() local
1568 ret = gfs2_meta_inode_buffer(ip, &dibh); in sweep_bh_for_rgrps()
1576 gfs2_trans_add_meta(ip->i_gl, dibh); in sweep_bh_for_rgrps()
1577 gfs2_dinode_out(ip, dibh->b_data); in sweep_bh_for_rgrps()
1578 brelse(dibh); in sweep_bh_for_rgrps()
1704 struct buffer_head *dibh, *bh; in punch_hole() local
1774 ret = gfs2_meta_inode_buffer(ip, &dibh); in punch_hole()
1778 mp.mp_bh[0] = dibh; in punch_hole()
1942 gfs2_trans_add_meta(ip->i_gl, dibh); in punch_hole()
1943 gfs2_dinode_out(ip, dibh->b_data); in punch_hole()
1965 struct buffer_head *dibh; in trunc_end() local
1974 error = gfs2_meta_inode_buffer(ip, &dibh); in trunc_end()
1981 gfs2_buffer_clear_tail(dibh, sizeof(struct gfs2_dinode)); in trunc_end()
1987 gfs2_trans_add_meta(ip->i_gl, dibh); in trunc_end()
1988 gfs2_dinode_out(ip, dibh->b_data); in trunc_end()
1989 brelse(dibh); in trunc_end()
2059 struct buffer_head *dibh; in do_grow() local
2088 error = gfs2_meta_inode_buffer(ip, &dibh); in do_grow()
2094 gfs2_trans_add_meta(ip->i_gl, dibh); in do_grow()
2095 gfs2_dinode_out(ip, dibh->b_data); in do_grow()
2096 brelse(dibh); in do_grow()
2334 struct buffer_head *dibh; in stuffed_zero_range() local
2342 error = gfs2_meta_inode_buffer(ip, &dibh); in stuffed_zero_range()
2345 gfs2_trans_add_meta(ip->i_gl, dibh); in stuffed_zero_range()
2346 memset(dibh->b_data + sizeof(struct gfs2_dinode) + offset, 0, in stuffed_zero_range()
2348 brelse(dibh); in stuffed_zero_range()