Home
last modified time | relevance | path

Searched refs:map_bh (Results 1 – 25 of 32) sorted by relevance

12

/fs/
Dmpage.c170 sector_t *last_block_in_bio, struct buffer_head *map_bh, in do_mpage_readpage() argument
202 nblocks = map_bh->b_size >> blkbits; in do_mpage_readpage()
203 if (buffer_mapped(map_bh) && block_in_file > *first_logical_block && in do_mpage_readpage()
210 clear_buffer_mapped(map_bh); in do_mpage_readpage()
215 blocks[page_block] = map_bh->b_blocknr + map_offset + in do_mpage_readpage()
220 bdev = map_bh->b_bdev; in do_mpage_readpage()
226 map_bh->b_page = page; in do_mpage_readpage()
228 map_bh->b_state = 0; in do_mpage_readpage()
229 map_bh->b_size = 0; in do_mpage_readpage()
232 map_bh->b_size = (last_block-block_in_file) << blkbits; in do_mpage_readpage()
[all …]
Ddirect-io.c95 struct buffer_head map_bh; /* last get_block() result */ member
242 dio->map_bh.b_private); in dio_complete()
496 struct buffer_head *map_bh = &dio->map_bh; in get_more_blocks() local
517 map_bh->b_state = 0; in get_more_blocks()
518 map_bh->b_size = fs_count << dio->inode->i_blkbits; in get_more_blocks()
536 map_bh, create); in get_more_blocks()
553 nr_pages = min(dio->pages_in_io, bio_get_nr_vecs(dio->map_bh.b_bdev)); in dio_new_bio()
555 ret = dio_bio_alloc(dio, dio->map_bh.b_bdev, sector, nr_pages); in dio_new_bio()
717 nblocks = dio->map_bh.b_size >> dio->inode->i_blkbits; in clean_blockdev_aliases()
720 unmap_underlying_metadata(dio->map_bh.b_bdev, in clean_blockdev_aliases()
[all …]
Dbuffer.c2778 struct buffer_head map_bh; in nobh_truncate_page() local
2810 err = get_block(inode, iblock, &map_bh, 0); in nobh_truncate_page()
2814 if (!buffer_mapped(&map_bh)) in nobh_truncate_page()
/fs/bfs/
Dfile.c81 map_bh(bh_result, sb, phys); in bfs_get_block()
93 map_bh(bh_result, sb, phys); in bfs_get_block()
112 map_bh(bh_result, sb, phys); in bfs_get_block()
152 map_bh(bh_result, sb, phys); in bfs_get_block()
/fs/ext3/
Ddir.c129 struct buffer_head map_bh; in ext3_readdir() local
132 map_bh.b_state = 0; in ext3_readdir()
134 &map_bh, 0, 0); in ext3_readdir()
136 pgoff_t index = map_bh.b_blocknr >> in ext3_readdir()
/fs/ext4/
Ddir.c129 struct buffer_head map_bh; in ext4_readdir() local
132 map_bh.b_state = 0; in ext4_readdir()
133 err = ext4_get_blocks_wrap(NULL, inode, blk, 1, &map_bh, in ext4_readdir()
136 pgoff_t index = map_bh.b_blocknr >> in ext4_readdir()
Dextents.c3010 struct buffer_head map_bh; in ext4_fallocate() local
3046 max_blocks, &map_bh, in ext4_fallocate()
3067 buffer_new(&map_bh)); in ext4_fallocate()
/fs/hpfs/
Dfile.c66 map_bh(bh_result, inode->i_sb, s); in hpfs_get_block()
81 map_bh(bh_result, inode->i_sb, s); in hpfs_get_block()
/fs/efs/
Dfile.c34 map_bh(bh_result, inode->i_sb, phys); in efs_get_block()
/fs/freevxfs/
Dvxfs_subr.c138 map_bh(bp, ip->i_sb, pblock); in vxfs_getblk()
/fs/jfs/
Dinode.c234 map_bh(bh_result, ip->i_sb, xaddr); in jfs_get_block()
252 map_bh(bh_result, ip->i_sb, addressXAD(&xad)); in jfs_get_block()
/fs/omfs/
Dfile.c273 map_bh(bh_result, inode->i_sb, offset); in omfs_get_block()
294 map_bh(bh_result, inode->i_sb, in omfs_get_block()
/fs/gfs2/
Dbmap.c93 map_bh(bh, inode->i_sb, block); in gfs2_unstuffer_page()
545 map_bh(bh_map, inode->i_sb, dblock); in gfs2_bmap_alloc()
614 map_bh(bh_map, inode->i_sb, be64_to_cpu(*ptr)); in gfs2_block_map()
Dmeta_io.c176 map_bh(bh, sdp->sd_vfs, blkno); in gfs2_getbuf()
/fs/ocfs2/
Daops.c117 map_bh(bh_result, inode->i_sb, in ocfs2_symlink_get_block()
182 map_bh(bh_result, inode->i_sb, p_blkno); in ocfs2_get_block()
599 map_bh(bh_result, inode->i_sb, p_blkno); in ocfs2_direct_IO_get_blocks()
822 map_bh(bh, inode->i_sb, *p_blkno); in ocfs2_map_page_blocks()
/fs/adfs/
Dinode.c40 map_bh(bh, inode->i_sb, block); in adfs_get_block()
/fs/minix/
Ditree_common.c164 map_bh(bh, inode->i_sb, block_to_cpu(chain[depth-1].key)); in get_block()
/fs/ufs/
Dinode.c429 map_bh(bh_result, sb, phys64); in ufs_getfrag_block()
502 map_bh(bh_result, sb, phys); in ufs_getfrag_block()
/fs/sysv/
Ditree.c223 map_bh(bh_result, sb, block_to_cpu(SYSV_SB(sb), in get_block()
/fs/qnx4/
Dinode.c222 map_bh(bh, inode->i_sb, phys); in qnx4_get_block()
/fs/hfs/
Dextent.c358 map_bh(bh_result, sb, HFS_SB(sb)->fs_start + in hfs_get_block()
/fs/hfsplus/
Dextents.c219map_bh(bh_result, sb, (dblock << HFSPLUS_SB(sb).fs_shift) + HFSPLUS_SB(sb).blockoffset + (iblock &… in hfsplus_get_block()
/fs/fat/
Dinode.c71 map_bh(bh_result, sb, phys); in __fat_get_block()
104 map_bh(bh_result, sb, phys); in __fat_get_block()
/fs/befs/
Dlinuxvfs.c154 map_bh(bh_result, inode->i_sb, disk_off); in befs_get_block()
/fs/reiserfs/
Dinode.c197 map_bh(bh, inode->i_sb, block); in set_block_dev_mapped()
296 map_bh(bh_result, inode->i_sb, blocknr); in _get_block_create_0()
415 map_bh(bh_result, inode->i_sb, 0); in _get_block_create_0()

12