Home
last modified time | relevance | path

Searched refs:bh_map (Results 1 – 5 of 5) sorted by relevance

/linux-4.4.14/fs/gfs2/
Dbmap.c449 struct buffer_head *bh_map, struct metapath *mp, in gfs2_bmap_alloc() argument
567 if (buffer_zeronew(bh_map)) { in gfs2_bmap_alloc()
573 clear_buffer_zeronew(bh_map); in gfs2_bmap_alloc()
583 map_bh(bh_map, inode->i_sb, dblock); in gfs2_bmap_alloc()
584 bh_map->b_size = dblks << inode->i_blkbits; in gfs2_bmap_alloc()
585 set_buffer_new(bh_map); in gfs2_bmap_alloc()
604 struct buffer_head *bh_map, int create) in gfs2_block_map() argument
609 const size_t maxlen = bh_map->b_size >> inode->i_blkbits; in gfs2_block_map()
624 clear_buffer_mapped(bh_map); in gfs2_block_map()
625 clear_buffer_new(bh_map); in gfs2_block_map()
[all …]
Drecovery.c390 struct buffer_head bh_map = { .b_state = 0, .b_blocknr = 0 }; in clean_journal() local
394 bh_map.b_size = 1 << ip->i_inode.i_blkbits; in clean_journal()
395 error = gfs2_block_map(&ip->i_inode, lblock, &bh_map, 0); in clean_journal()
398 if (!bh_map.b_blocknr) { in clean_journal()
403 bh = sb_getblk(sdp->sd_vfs, bh_map.b_blocknr); in clean_journal()
Dfile.c746 struct buffer_head bh_map = { .b_state = 0, .b_blocknr = 0 }; in fallocate_chunk() local
747 bh_map.b_size = len; in fallocate_chunk()
748 set_buffer_zeronew(&bh_map); in fallocate_chunk()
750 error = gfs2_block_map(inode, lblock, &bh_map, 1); in fallocate_chunk()
753 len -= bh_map.b_size; in fallocate_chunk()
754 nr_blks = bh_map.b_size >> inode->i_blkbits; in fallocate_chunk()
756 if (!buffer_new(&bh_map)) in fallocate_chunk()
758 if (unlikely(!buffer_zeronew(&bh_map))) { in fallocate_chunk()
Dquota.c375 struct buffer_head bh_map = { .b_state = 0, .b_blocknr = 0 }; in bh_get() local
387 bh_map.b_size = 1 << ip->i_inode.i_blkbits; in bh_get()
388 error = gfs2_block_map(&ip->i_inode, block, &bh_map, 0); in bh_get()
391 error = gfs2_meta_read(ip->i_gl, bh_map.b_blocknr, DIO_WAIT, &bh); in bh_get()
/linux-4.4.14/include/linux/
Dfs.h74 typedef void (dax_iodone_t)(struct buffer_head *bh_map, int uptodate);