Lines Matching refs:dibh
408 static void gfs2_init_dir(struct buffer_head *dibh, in gfs2_init_dir() argument
411 struct gfs2_dinode *di = (struct gfs2_dinode *)dibh->b_data; in gfs2_init_dir()
419 …gfs2_qstr2dirent(&gfs2_qdotdot, dibh->b_size - GFS2_DIRENT_SIZE(1) - sizeof(struct gfs2_dinode), d… in gfs2_init_dir()
465 struct buffer_head *dibh; in init_dinode() local
467 dibh = gfs2_meta_new(ip->i_gl, ip->i_no_addr); in init_dinode()
468 gfs2_trans_add_meta(ip->i_gl, dibh); in init_dinode()
469 di = (struct gfs2_dinode *)dibh->b_data; in init_dinode()
479 gfs2_buffer_clear_tail(dibh, sizeof(struct gfs2_dinode)); in init_dinode()
483 gfs2_init_dir(dibh, dip); in init_dinode()
486 memcpy(dibh->b_data + sizeof(struct gfs2_dinode), symname, ip->i_inode.i_size); in init_dinode()
490 set_buffer_uptodate(dibh); in init_dinode()
491 brelse(dibh); in init_dinode()
905 struct buffer_head *dibh; in gfs2_link() local
984 error = gfs2_meta_inode_buffer(ip, &dibh); in gfs2_link()
992 gfs2_trans_add_meta(ip->i_gl, dibh); in gfs2_link()
1000 brelse(dibh); in gfs2_link()
1732 struct buffer_head *dibh; in gfs2_get_link() local
1754 error = gfs2_meta_inode_buffer(ip, &dibh); in gfs2_get_link()
1764 memcpy(buf, dibh->b_data + sizeof(struct gfs2_dinode), size); in gfs2_get_link()
1765 brelse(dibh); in gfs2_get_link()