/linux-4.1.27/fs/ |
D | mpage.c | 141 sector_t *last_block_in_bio, struct buffer_head *map_bh, in do_mpage_readpage() argument 173 nblocks = map_bh->b_size >> blkbits; in do_mpage_readpage() 174 if (buffer_mapped(map_bh) && block_in_file > *first_logical_block && in do_mpage_readpage() 181 clear_buffer_mapped(map_bh); in do_mpage_readpage() 186 blocks[page_block] = map_bh->b_blocknr + map_offset + in do_mpage_readpage() 191 bdev = map_bh->b_bdev; in do_mpage_readpage() 197 map_bh->b_page = page; in do_mpage_readpage() 199 map_bh->b_state = 0; in do_mpage_readpage() 200 map_bh->b_size = 0; in do_mpage_readpage() 203 map_bh->b_size = (last_block-block_in_file) << blkbits; in do_mpage_readpage() [all …]
|
D | direct-io.c | 589 struct buffer_head *map_bh) in get_more_blocks() argument 610 map_bh->b_state = 0; in get_more_blocks() 611 map_bh->b_size = fs_count << i_blkbits; in get_more_blocks() 632 map_bh, create); in get_more_blocks() 635 dio->private = map_bh->b_private; in get_more_blocks() 637 if (ret == 0 && buffer_defer_completion(map_bh)) in get_more_blocks() 647 sector_t start_sector, struct buffer_head *map_bh) in dio_new_bio() argument 656 nr_pages = min(sdio->pages_in_io, bio_get_nr_vecs(map_bh->b_bdev)); in dio_new_bio() 658 dio_bio_alloc(dio, sdio, map_bh->b_bdev, sector, nr_pages); in dio_new_bio() 704 struct buffer_head *map_bh) in dio_send_cur_page() argument [all …]
|
D | ioctl.c | 254 struct buffer_head map_bh; in __generic_block_fiemap() local 291 memset(&map_bh, 0, sizeof(struct buffer_head)); in __generic_block_fiemap() 292 map_bh.b_size = len; in __generic_block_fiemap() 294 ret = get_block(inode, start_blk, &map_bh, 0); in __generic_block_fiemap() 299 if (!buffer_mapped(&map_bh)) { in __generic_block_fiemap() 367 phys = blk_to_logical(inode, map_bh.b_blocknr); in __generic_block_fiemap() 368 size = map_bh.b_size; in __generic_block_fiemap()
|
D | buffer.c | 2738 struct buffer_head map_bh; in nobh_truncate_page() local 2770 map_bh.b_size = blocksize; in nobh_truncate_page() 2771 map_bh.b_state = 0; in nobh_truncate_page() 2772 err = get_block(inode, iblock, &map_bh, 0); in nobh_truncate_page() 2776 if (!buffer_mapped(&map_bh)) in nobh_truncate_page()
|
/linux-4.1.27/fs/bfs/ |
D | file.c | 77 map_bh(bh_result, sb, phys); in bfs_get_block() 89 map_bh(bh_result, sb, phys); in bfs_get_block() 108 map_bh(bh_result, sb, phys); in bfs_get_block() 146 map_bh(bh_result, sb, phys); in bfs_get_block()
|
/linux-4.1.27/fs/ext3/ |
D | dir.c | 117 struct buffer_head map_bh; in ext3_readdir() local 120 map_bh.b_state = 0; in ext3_readdir() 121 err = ext3_get_blocks_handle(NULL, inode, blk, 1, &map_bh, 0); in ext3_readdir() 123 pgoff_t index = map_bh.b_blocknr >> in ext3_readdir()
|
D | inode.c | 990 map_bh(bh_result, inode->i_sb, le32_to_cpu(chain[depth-1].key)); in ext3_get_blocks_handle()
|
/linux-4.1.27/fs/efs/ |
D | file.c | 32 map_bh(bh_result, inode->i_sb, phys); in efs_get_block()
|
/linux-4.1.27/fs/freevxfs/ |
D | vxfs_subr.c | 136 map_bh(bp, ip->i_sb, pblock); in vxfs_getblk()
|
/linux-4.1.27/fs/hpfs/ |
D | file.c | 86 map_bh(bh_result, inode->i_sb, s); in hpfs_get_block() 104 map_bh(bh_result, inode->i_sb, s); in hpfs_get_block()
|
/linux-4.1.27/fs/jfs/ |
D | inode.c | 242 map_bh(bh_result, ip->i_sb, xaddr); in jfs_get_block() 260 map_bh(bh_result, ip->i_sb, addressXAD(&xad)); in jfs_get_block()
|
/linux-4.1.27/fs/omfs/ |
D | file.c | 256 map_bh(bh_result, inode->i_sb, offset); in omfs_get_block() 277 map_bh(bh_result, inode->i_sb, in omfs_get_block()
|
/linux-4.1.27/fs/gfs2/ |
D | meta_io.c | 154 map_bh(bh, sdp->sd_vfs, blkno); in gfs2_getbuf()
|
D | bmap.c | 91 map_bh(bh, inode->i_sb, block); in gfs2_unstuffer_page() 583 map_bh(bh_map, inode->i_sb, dblock); in gfs2_bmap_alloc() 653 map_bh(bh_map, inode->i_sb, be64_to_cpu(*ptr)); in gfs2_block_map()
|
/linux-4.1.27/fs/adfs/ |
D | inode.c | 28 map_bh(bh, inode->i_sb, block); in adfs_get_block()
|
/linux-4.1.27/fs/qnx4/ |
D | inode.c | 63 map_bh(bh, inode->i_sb, phys); in qnx4_get_block()
|
/linux-4.1.27/include/linux/ |
D | buffer_head.h | 334 map_bh(struct buffer_head *bh, struct super_block *sb, sector_t block) in map_bh() function
|
/linux-4.1.27/fs/minix/ |
D | itree_common.c | 164 map_bh(bh, inode->i_sb, block_to_cpu(chain[depth-1].key)); in get_block()
|
/linux-4.1.27/fs/ocfs2/ |
D | aops.c | 126 map_bh(bh_result, inode->i_sb, in ocfs2_symlink_get_block() 190 map_bh(bh_result, inode->i_sb, p_blkno); in ocfs2_get_block() 591 map_bh(bh_result, inode->i_sb, p_blkno); in ocfs2_direct_IO_get_blocks() 1102 map_bh(bh, inode->i_sb, *p_blkno); in ocfs2_map_page_blocks()
|
/linux-4.1.27/fs/ufs/ |
D | inode.c | 430 map_bh(bh_result, sb, phys64); in ufs_getfrag_block() 502 map_bh(bh_result, sb, phys); in ufs_getfrag_block()
|
D | balloc.c | 293 map_bh(bh, inode->i_sb, oldb + pos); in ufs_change_blocknr()
|
/linux-4.1.27/fs/nilfs2/ |
D | mdt.c | 155 map_bh(bh, inode->i_sb, (sector_t)blknum); in nilfs_mdt_submit_block()
|
D | inode.c | 96 map_bh(bh_result, inode->i_sb, blknum); in nilfs_get_block() 136 map_bh(bh_result, inode->i_sb, 0); /* dbn must be changed in nilfs_get_block()
|
/linux-4.1.27/fs/sysv/ |
D | itree.c | 223 map_bh(bh_result, sb, block_to_cpu(SYSV_SB(sb), in get_block()
|
/linux-4.1.27/fs/f2fs/ |
D | data.c | 262 map_bh(bh_result, sb, ei->blk + pgofs - ei->fofs); in f2fs_map_bh() 1254 map_bh(bh_result, inode->i_sb, dn.data_blkaddr); in __get_data_block() 1261 map_bh(bh_result, inode->i_sb, dn.data_blkaddr); in __get_data_block()
|
/linux-4.1.27/fs/hfsplus/ |
D | extents.c | 277 map_bh(bh_result, sb, sector); in hfsplus_get_block()
|
/linux-4.1.27/fs/hfs/ |
D | extent.c | 371 map_bh(bh_result, sb, HFS_SB(sb)->fs_start + in hfs_get_block()
|
/linux-4.1.27/fs/qnx6/ |
D | inode.c | 82 map_bh(bh, inode->i_sb, phys); in qnx6_get_block()
|
/linux-4.1.27/fs/befs/ |
D | linuxvfs.c | 154 map_bh(bh_result, inode->i_sb, disk_off); in befs_get_block()
|
/linux-4.1.27/fs/reiserfs/ |
D | inode.c | 233 map_bh(bh, inode->i_sb, block); in set_block_dev_mapped() 336 map_bh(bh_result, inode->i_sb, blocknr); in _get_block_create_0() 462 map_bh(bh_result, inode->i_sb, 0); in _get_block_create_0()
|
/linux-4.1.27/fs/fat/ |
D | inode.c | 124 map_bh(bh_result, sb, phys); in __fat_get_block() 157 map_bh(bh_result, sb, phys); in __fat_get_block()
|
/linux-4.1.27/fs/ext4/ |
D | inode.c | 722 map_bh(bh, inode->i_sb, map.m_pblk); in _ext4_get_block() 1551 map_bh(bh, inode->i_sb, invalid_block); in ext4_da_map_blocks() 1616 map_bh(bh, inode->i_sb, invalid_block); in ext4_da_map_blocks() 1678 map_bh(bh, inode->i_sb, map.m_pblk); in ext4_da_get_block_prep()
|
/linux-4.1.27/fs/isofs/ |
D | inode.c | 1062 map_bh(*bh, inode->i_sb, firstext + b_off - offset); in isofs_get_blocks()
|
/linux-4.1.27/fs/affs/ |
D | file.c | 319 map_bh(bh_result, sb, (sector_t)be32_to_cpu(AFFS_BLOCK(sb, ext_bh, block))); in affs_get_block()
|
/linux-4.1.27/fs/udf/ |
D | inode.c | 430 map_bh(bh_result, inode->i_sb, phys); in udf_get_block() 451 map_bh(bh_result, inode->i_sb, phys); in udf_get_block()
|
/linux-4.1.27/fs/ext2/ |
D | inode.c | 751 map_bh(bh_result, inode->i_sb, le32_to_cpu(chain[depth-1].key)); in ext2_get_blocks()
|