Lines Matching refs:dibh
405 static void gfs2_init_dir(struct buffer_head *dibh, in gfs2_init_dir() argument
408 struct gfs2_dinode *di = (struct gfs2_dinode *)dibh->b_data; in gfs2_init_dir()
416 …gfs2_qstr2dirent(&gfs2_qdotdot, dibh->b_size - GFS2_DIRENT_SIZE(1) - sizeof(struct gfs2_dinode), d… in gfs2_init_dir()
462 struct buffer_head *dibh; in init_dinode() local
464 dibh = gfs2_meta_new(ip->i_gl, ip->i_no_addr); in init_dinode()
465 gfs2_trans_add_meta(ip->i_gl, dibh); in init_dinode()
466 di = (struct gfs2_dinode *)dibh->b_data; in init_dinode()
476 gfs2_buffer_clear_tail(dibh, sizeof(struct gfs2_dinode)); in init_dinode()
480 gfs2_init_dir(dibh, dip); in init_dinode()
483 memcpy(dibh->b_data + sizeof(struct gfs2_dinode), symname, ip->i_inode.i_size); in init_dinode()
487 set_buffer_uptodate(dibh); in init_dinode()
488 brelse(dibh); in init_dinode()
901 struct buffer_head *dibh; in gfs2_link() local
980 error = gfs2_meta_inode_buffer(ip, &dibh); in gfs2_link()
988 gfs2_trans_add_meta(ip->i_gl, dibh); in gfs2_link()
996 brelse(dibh); in gfs2_link()
1753 struct buffer_head *dibh; in gfs2_get_link() local
1775 error = gfs2_meta_inode_buffer(ip, &dibh); in gfs2_get_link()
1785 memcpy(buf, dibh->b_data + sizeof(struct gfs2_dinode), size); in gfs2_get_link()
1786 brelse(dibh); in gfs2_get_link()