Searched refs:dibh (Results 1 – 8 of 8) sorted by relevance
/Linux-v5.4/fs/gfs2/ |
D | dir.c | 125 struct buffer_head *dibh; in gfs2_dir_write_stuffed() local 128 error = gfs2_meta_inode_buffer(ip, &dibh); in gfs2_dir_write_stuffed() 132 gfs2_trans_add_meta(ip->i_gl, dibh); in gfs2_dir_write_stuffed() 133 memcpy(dibh->b_data + offset + sizeof(struct gfs2_dinode), buf, size); in gfs2_dir_write_stuffed() 137 gfs2_dinode_out(ip, dibh->b_data); in gfs2_dir_write_stuffed() 139 brelse(dibh); in gfs2_dir_write_stuffed() 159 struct buffer_head *dibh; in gfs2_dir_write_data() local 227 error = gfs2_meta_inode_buffer(ip, &dibh); in gfs2_dir_write_data() 235 gfs2_trans_add_meta(ip->i_gl, dibh); in gfs2_dir_write_data() 236 gfs2_dinode_out(ip, dibh->b_data); in gfs2_dir_write_data() [all …]
|
D | bmap.c | 55 static int gfs2_unstuffer_page(struct gfs2_inode *ip, struct buffer_head *dibh, in gfs2_unstuffer_page() argument 76 memcpy(kaddr, dibh->b_data + sizeof(struct gfs2_dinode), dsize); in gfs2_unstuffer_page() 121 struct buffer_head *bh, *dibh; in gfs2_unstuff_dinode() local 129 error = gfs2_meta_inode_buffer(ip, &dibh); in gfs2_unstuff_dinode() 147 dibh, sizeof(struct gfs2_dinode)); in gfs2_unstuff_dinode() 150 error = gfs2_unstuffer_page(ip, dibh, block, page); in gfs2_unstuff_dinode() 158 gfs2_trans_add_meta(ip->i_gl, dibh); in gfs2_unstuff_dinode() 159 di = (struct gfs2_dinode *)dibh->b_data; in gfs2_unstuff_dinode() 160 gfs2_buffer_clear_tail(dibh, sizeof(struct gfs2_dinode)); in gfs2_unstuff_dinode() 172 brelse(dibh); in gfs2_unstuff_dinode() [all …]
|
D | inode.c | 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() [all …]
|
D | xattr.c | 1251 struct buffer_head *indbh, *dibh; in ea_dealloc_indirect() local 1348 error = gfs2_meta_inode_buffer(ip, &dibh); in ea_dealloc_indirect() 1350 gfs2_trans_add_meta(ip->i_gl, dibh); in ea_dealloc_indirect() 1351 gfs2_dinode_out(ip, dibh->b_data); in ea_dealloc_indirect() 1352 brelse(dibh); in ea_dealloc_indirect() 1370 struct buffer_head *dibh; in ea_dealloc_block() local 1398 error = gfs2_meta_inode_buffer(ip, &dibh); in ea_dealloc_block() 1400 gfs2_trans_add_meta(ip->i_gl, dibh); in ea_dealloc_block() 1401 gfs2_dinode_out(ip, dibh->b_data); in ea_dealloc_block() 1402 brelse(dibh); in ea_dealloc_block()
|
D | glops.c | 405 struct buffer_head *dibh; in gfs2_inode_refresh() local 408 error = gfs2_meta_inode_buffer(ip, &dibh); in gfs2_inode_refresh() 412 error = gfs2_dinode_in(ip, dibh->b_data); in gfs2_inode_refresh() 413 brelse(dibh); in gfs2_inode_refresh()
|
D | aops.c | 439 struct buffer_head *dibh; in stuffed_readpage() local 455 error = gfs2_meta_inode_buffer(ip, &dibh); in stuffed_readpage() 462 memcpy(kaddr, dibh->b_data + sizeof(struct gfs2_dinode), dsize); in stuffed_readpage() 466 brelse(dibh); in stuffed_readpage()
|
D | file.c | 899 struct buffer_head *dibh; in fallocate_chunk() local 902 error = gfs2_meta_inode_buffer(ip, &dibh); in fallocate_chunk() 906 gfs2_trans_add_meta(ip->i_gl, dibh); in fallocate_chunk() 933 brelse(dibh); in fallocate_chunk()
|
D | rgrp.c | 2386 struct buffer_head *dibh; in gfs2_alloc_blocks() local 2420 error = gfs2_meta_inode_buffer(ip, &dibh); in gfs2_alloc_blocks() 2423 (struct gfs2_dinode *)dibh->b_data; in gfs2_alloc_blocks() 2424 gfs2_trans_add_meta(ip->i_gl, dibh); in gfs2_alloc_blocks() 2427 brelse(dibh); in gfs2_alloc_blocks()
|