Lines Matching refs:dibh
429 static void gfs2_init_dir(struct buffer_head *dibh, in gfs2_init_dir() argument
432 struct gfs2_dinode *di = (struct gfs2_dinode *)dibh->b_data; in gfs2_init_dir()
440 …gfs2_qstr2dirent(&gfs2_qdotdot, dibh->b_size - GFS2_DIRENT_SIZE(1) - sizeof(struct gfs2_dinode), d… in gfs2_init_dir()
485 struct buffer_head *dibh; in init_dinode() local
487 dibh = gfs2_meta_new(ip->i_gl, ip->i_no_addr); in init_dinode()
488 gfs2_trans_add_meta(ip->i_gl, dibh); in init_dinode()
489 di = (struct gfs2_dinode *)dibh->b_data; in init_dinode()
499 gfs2_buffer_clear_tail(dibh, sizeof(struct gfs2_dinode)); in init_dinode()
503 gfs2_init_dir(dibh, dip); in init_dinode()
506 memcpy(dibh->b_data + sizeof(struct gfs2_dinode), symname, ip->i_inode.i_size); in init_dinode()
510 set_buffer_uptodate(dibh); in init_dinode()
511 brelse(dibh); in init_dinode()
930 struct buffer_head *dibh; in gfs2_link() local
1010 error = gfs2_meta_inode_buffer(ip, &dibh); in gfs2_link()
1018 gfs2_trans_add_meta(ip->i_gl, dibh); in gfs2_link()
1026 brelse(dibh); in gfs2_link()
1794 struct buffer_head *dibh; in gfs2_get_link() local
1816 error = gfs2_meta_inode_buffer(ip, &dibh); in gfs2_get_link()
1826 memcpy(buf, dibh->b_data + sizeof(struct gfs2_dinode), size); in gfs2_get_link()
1827 brelse(dibh); in gfs2_get_link()