/linux/fs/gfs2/ ! |
H A D | dir.c | 123 struct buffer_head *dibh; in gfs2_dir_write_stuffed() local 126 error = gfs2_meta_inode_buffer(ip, &dibh); in gfs2_dir_write_stuffed() 130 gfs2_trans_add_meta(ip->i_gl, dibh); in gfs2_dir_write_stuffed() 131 memcpy(dibh->b_data + offset + sizeof(struct gfs2_dinode), buf, size); in gfs2_dir_write_stuffed() 135 gfs2_dinode_out(ip, dibh->b_data); in gfs2_dir_write_stuffed() 137 brelse(dibh); in gfs2_dir_write_stuffed() 157 struct buffer_head *dibh; in gfs2_dir_write_data() local 225 error = gfs2_meta_inode_buffer(ip, &dibh); in gfs2_dir_write_data() 233 gfs2_trans_add_meta(ip->i_gl, dibh); in gfs2_dir_write_data() 234 gfs2_dinode_out(ip, dibh in gfs2_dir_write_data() 247 struct buffer_head *dibh; gfs2_dir_read_stuffed() local 914 struct buffer_head *bh, *dibh; dir_make_exhash() local 1002 struct buffer_head *nbh, *obh, *dibh; dir_split_leaf() local 1150 struct buffer_head *dibh; dir_double_exhash() local 1575 struct buffer_head *dibh; gfs2_dir_read() local 1980 struct buffer_head *bh, *dibh; leaf_dealloc() local [all...] |
H A D | bmap.c | 48 * @dibh: the dinode buffer 54 static int gfs2_unstuffer_folio(struct gfs2_inode *ip, struct buffer_head *dibh, in gfs2_unstuffer_folio() argument 63 memcpy(kaddr, dibh->b_data + sizeof(struct gfs2_dinode), dsize); in gfs2_unstuffer_folio() 92 struct buffer_head *bh, *dibh; in __gfs2_unstuff_inode() local 98 error = gfs2_meta_inode_buffer(ip, &dibh); in __gfs2_unstuff_inode() 116 dibh, sizeof(struct gfs2_dinode)); in __gfs2_unstuff_inode() 119 error = gfs2_unstuffer_folio(ip, dibh, block, folio); in __gfs2_unstuff_inode() 127 gfs2_trans_add_meta(ip->i_gl, dibh); in __gfs2_unstuff_inode() 128 di = (struct gfs2_dinode *)dibh->b_data; in __gfs2_unstuff_inode() 129 gfs2_buffer_clear_tail(dibh, sizeo in __gfs2_unstuff_inode() 666 struct buffer_head *dibh = metapath_dibh(mp); __gfs2_iomap_alloc() local 853 struct buffer_head *dibh = NULL, *bh; __gfs2_iomap_get() local 1365 struct buffer_head *dibh = NULL; trunc_start() local 1588 struct buffer_head *dibh; sweep_bh_for_rgrps() local 1725 struct buffer_head *dibh, *bh; punch_hole() local 1987 struct buffer_head *dibh; trunc_end() local 2073 struct buffer_head *dibh; do_grow() local 2348 struct buffer_head *dibh; stuffed_zero_range() local [all...] |
H A D | inode.c | 508 static void gfs2_init_dir(struct buffer_head *dibh, in gfs2_init_dir() argument 511 struct gfs2_dinode *di = (struct gfs2_dinode *)dibh->b_data; in gfs2_init_dir() 519 gfs2_qstr2dirent(&gfs2_qdotdot, dibh->b_size - GFS2_DIRENT_SIZE(1) - sizeof(struct gfs2_dinode), dent); in gfs2_init_dir() 564 struct buffer_head *dibh; in init_dinode() local 566 dibh = gfs2_meta_new(ip->i_gl, ip->i_no_addr); in init_dinode() 567 gfs2_trans_add_meta(ip->i_gl, dibh); in init_dinode() 568 di = (struct gfs2_dinode *)dibh->b_data; in init_dinode() 578 gfs2_buffer_clear_tail(dibh, sizeof(struct gfs2_dinode)); in init_dinode() 582 gfs2_init_dir(dibh, dip); in init_dinode() 585 memcpy(dibh in init_dinode() 1032 struct buffer_head *dibh; gfs2_link() local 1894 struct buffer_head *dibh; gfs2_get_link() local [all...] |
H A D | xattr.c | 1271 struct buffer_head *indbh, *dibh; in ea_dealloc_indirect() local 1368 error = gfs2_meta_inode_buffer(ip, &dibh); in ea_dealloc_indirect() 1370 gfs2_trans_add_meta(ip->i_gl, dibh); in ea_dealloc_indirect() 1371 gfs2_dinode_out(ip, dibh->b_data); in ea_dealloc_indirect() 1372 brelse(dibh); in ea_dealloc_indirect() 1390 struct buffer_head *dibh; in ea_dealloc_block() local 1420 error = gfs2_meta_inode_buffer(ip, &dibh); in ea_dealloc_block() 1422 gfs2_trans_add_meta(ip->i_gl, dibh); in ea_dealloc_block() 1423 gfs2_dinode_out(ip, dibh->b_data); in ea_dealloc_block() 1424 brelse(dibh); in ea_dealloc_block() [all...] |
H A D | aops.c | 390 struct buffer_head *dibh = NULL; in stuffed_read_folio() local 403 error = gfs2_meta_inode_buffer(ip, &dibh); in stuffed_read_folio() 406 from = dibh->b_data + sizeof(struct gfs2_dinode); in stuffed_read_folio() 410 brelse(dibh); in stuffed_read_folio()
|
H A D | glops.c | 481 struct buffer_head *dibh; in gfs2_inode_refresh() local 484 error = gfs2_meta_inode_buffer(ip, &dibh); in gfs2_inode_refresh() 488 error = gfs2_dinode_in(ip, dibh->b_data); in gfs2_inode_refresh() 489 brelse(dibh); in gfs2_inode_refresh()
|
H A D | file.c | 1182 struct buffer_head *dibh; in fallocate_chunk() local 1185 error = gfs2_meta_inode_buffer(ip, &dibh); in fallocate_chunk() 1189 gfs2_trans_add_meta(ip->i_gl, dibh); in fallocate_chunk() 1215 brelse(dibh); in fallocate_chunk()
|
H A D | rgrp.c | 2420 struct buffer_head *dibh; in gfs2_alloc_blocks() local 2452 error = gfs2_meta_inode_buffer(ip, &dibh); in gfs2_alloc_blocks() 2455 (struct gfs2_dinode *)dibh->b_data; in gfs2_alloc_blocks() 2456 gfs2_trans_add_meta(ip->i_gl, dibh); in gfs2_alloc_blocks() 2459 brelse(dibh); in gfs2_alloc_blocks()
|