/fs/ |
D | mpage.c | 170 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 …]
|
D | direct-io.c | 95 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 …]
|
D | buffer.c | 2778 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/ |
D | file.c | 81 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/ |
D | dir.c | 129 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/ |
D | dir.c | 129 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()
|
D | extents.c | 3010 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/ |
D | file.c | 66 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/ |
D | file.c | 34 map_bh(bh_result, inode->i_sb, phys); in efs_get_block()
|
/fs/freevxfs/ |
D | vxfs_subr.c | 138 map_bh(bp, ip->i_sb, pblock); in vxfs_getblk()
|
/fs/jfs/ |
D | inode.c | 234 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/ |
D | file.c | 273 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/ |
D | bmap.c | 93 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()
|
D | meta_io.c | 176 map_bh(bh, sdp->sd_vfs, blkno); in gfs2_getbuf()
|
/fs/ocfs2/ |
D | aops.c | 117 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/ |
D | inode.c | 40 map_bh(bh, inode->i_sb, block); in adfs_get_block()
|
/fs/minix/ |
D | itree_common.c | 164 map_bh(bh, inode->i_sb, block_to_cpu(chain[depth-1].key)); in get_block()
|
/fs/ufs/ |
D | inode.c | 429 map_bh(bh_result, sb, phys64); in ufs_getfrag_block() 502 map_bh(bh_result, sb, phys); in ufs_getfrag_block()
|
/fs/sysv/ |
D | itree.c | 223 map_bh(bh_result, sb, block_to_cpu(SYSV_SB(sb), in get_block()
|
/fs/qnx4/ |
D | inode.c | 222 map_bh(bh, inode->i_sb, phys); in qnx4_get_block()
|
/fs/hfs/ |
D | extent.c | 358 map_bh(bh_result, sb, HFS_SB(sb)->fs_start + in hfs_get_block()
|
/fs/hfsplus/ |
D | extents.c | 219 …map_bh(bh_result, sb, (dblock << HFSPLUS_SB(sb).fs_shift) + HFSPLUS_SB(sb).blockoffset + (iblock &… in hfsplus_get_block()
|
/fs/fat/ |
D | inode.c | 71 map_bh(bh_result, sb, phys); in __fat_get_block() 104 map_bh(bh_result, sb, phys); in __fat_get_block()
|
/fs/befs/ |
D | linuxvfs.c | 154 map_bh(bh_result, inode->i_sb, disk_off); in befs_get_block()
|
/fs/reiserfs/ |
D | inode.c | 197 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()
|