• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/fs/gfs2/

Lines Matching refs:dibh

39 typedef int (*block_call_t) (struct gfs2_inode *ip, struct buffer_head *dibh,
52 * @dibh: the dinode buffer
59 static int gfs2_unstuffer_page(struct gfs2_inode *ip, struct buffer_head *dibh,
77 memcpy(kaddr, dibh->b_data + sizeof(struct gfs2_dinode),
122 struct buffer_head *bh, *dibh;
130 error = gfs2_meta_inode_buffer(ip, &dibh);
145 dibh, sizeof(struct gfs2_dinode));
150 error = gfs2_unstuffer_page(ip, dibh, block, page);
158 gfs2_trans_add_bh(ip->i_gl, dibh, 1);
159 di = (struct gfs2_dinode *)dibh->b_data;
160 gfs2_buffer_clear_tail(dibh, sizeof(struct gfs2_dinode));
173 brelse(dibh);
229 struct buffer_head *dibh;
240 error = gfs2_meta_inode_buffer(ip, &dibh);
267 dibh, sizeof(struct gfs2_dinode));
269 gfs2_trans_add_bh(ip->i_gl, dibh, 1);
270 di = (struct gfs2_dinode *)dibh->b_data;
271 gfs2_buffer_clear_tail(dibh, sizeof(struct gfs2_dinode));
278 brelse(dibh);
520 struct buffer_head *dibh;
521 error = gfs2_meta_inode_buffer(ip, &dibh);
523 gfs2_trans_add_bh(ip->i_gl, dibh, 1);
524 gfs2_dinode_out(ip, dibh->b_data);
525 brelse(dibh);
575 * @dibh: the dinode buffer
589 static int recursive_scan(struct gfs2_inode *ip, struct buffer_head *dibh,
605 dibh = bh;
620 error = bc(ip, dibh, bh, top, bottom, height, data);
631 error = recursive_scan(ip, dibh, mp, height + 1, bn,
645 * @dibh: the dinode buffer
655 static int do_strip(struct gfs2_inode *ip, struct buffer_head *dibh,
736 gfs2_trans_add_bh(ip->i_gl, dibh, 1);
777 gfs2_dinode_out(ip, dibh->b_data);
806 struct buffer_head *dibh;
852 error = gfs2_meta_inode_buffer(ip, &dibh);
856 gfs2_trans_add_bh(ip->i_gl, dibh, 1);
857 gfs2_dinode_out(ip, dibh->b_data);
858 brelse(dibh);
950 struct buffer_head *dibh;
959 error = gfs2_meta_inode_buffer(ip, &dibh);
966 gfs2_trans_add_bh(ip->i_gl, dibh, 1);
967 gfs2_dinode_out(ip, dibh->b_data);
968 gfs2_buffer_clear_tail(dibh, sizeof(struct gfs2_dinode) + size);
979 gfs2_trans_add_bh(ip->i_gl, dibh, 1);
980 gfs2_dinode_out(ip, dibh->b_data);
984 brelse(dibh);
1030 struct buffer_head *dibh;
1039 error = gfs2_meta_inode_buffer(ip, &dibh);
1048 gfs2_buffer_clear_tail(dibh, sizeof(struct gfs2_dinode));
1053 gfs2_trans_add_bh(ip->i_gl, dibh, 1);
1054 gfs2_dinode_out(ip, dibh->b_data);
1055 brelse(dibh);