/linux-4.4.14/fs/ |
D | mpage.c | 141 sector_t *last_block_in_bio, struct buffer_head *map_bh, in do_mpage_readpage() argument 174 nblocks = map_bh->b_size >> blkbits; in do_mpage_readpage() 175 if (buffer_mapped(map_bh) && block_in_file > *first_logical_block && in do_mpage_readpage() 182 clear_buffer_mapped(map_bh); in do_mpage_readpage() 187 blocks[page_block] = map_bh->b_blocknr + map_offset + in do_mpage_readpage() 192 bdev = map_bh->b_bdev; in do_mpage_readpage() 198 map_bh->b_page = page; in do_mpage_readpage() 200 map_bh->b_state = 0; in do_mpage_readpage() 201 map_bh->b_size = 0; in do_mpage_readpage() 204 map_bh->b_size = (last_block-block_in_file) << blkbits; in do_mpage_readpage() [all …]
|
D | direct-io.c | 599 struct buffer_head *map_bh) in get_more_blocks() argument 620 map_bh->b_state = 0; in get_more_blocks() 621 map_bh->b_size = fs_count << i_blkbits; in get_more_blocks() 642 map_bh, create); in get_more_blocks() 645 dio->private = map_bh->b_private; in get_more_blocks() 647 if (ret == 0 && buffer_defer_completion(map_bh)) in get_more_blocks() 657 sector_t start_sector, struct buffer_head *map_bh) in dio_new_bio() argument 668 dio_bio_alloc(dio, sdio, map_bh->b_bdev, sector, nr_pages); in dio_new_bio() 714 struct buffer_head *map_bh) in dio_send_cur_page() argument 743 ret = dio_new_bio(dio, sdio, sdio->cur_page_block, map_bh); in dio_send_cur_page() [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 | 2741 struct buffer_head map_bh; in nobh_truncate_page() local 2773 map_bh.b_size = blocksize; in nobh_truncate_page() 2774 map_bh.b_state = 0; in nobh_truncate_page() 2775 err = get_block(inode, iblock, &map_bh, 0); in nobh_truncate_page() 2779 if (!buffer_mapped(&map_bh)) in nobh_truncate_page()
|
/linux-4.4.14/fs/xfs/ |
D | xfs_aops.h | 58 struct buffer_head *map_bh, int create); 60 struct buffer_head *map_bh, int create); 62 struct buffer_head *map_bh, int create);
|
/linux-4.4.14/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.4.14/fs/efs/ |
D | file.c | 32 map_bh(bh_result, inode->i_sb, phys); in efs_get_block()
|
/linux-4.4.14/fs/freevxfs/ |
D | vxfs_subr.c | 136 map_bh(bp, ip->i_sb, pblock); in vxfs_getblk()
|
/linux-4.4.14/fs/hpfs/ |
D | file.c | 91 map_bh(bh_result, inode->i_sb, s); in hpfs_get_block() 109 map_bh(bh_result, inode->i_sb, hpfs_search_hotfix_map(inode->i_sb, s)); in hpfs_get_block()
|
/linux-4.4.14/fs/f2fs/ |
D | data.c | 722 map_bh(bh, inode->i_sb, map.m_pblk); in __get_data_block() 762 struct buffer_head map_bh; in f2fs_fiemap() local 793 memset(&map_bh, 0, sizeof(struct buffer_head)); in f2fs_fiemap() 794 map_bh.b_size = len; in f2fs_fiemap() 796 ret = get_data_block(inode, start_blk, &map_bh, 0, in f2fs_fiemap() 802 if (!buffer_mapped(&map_bh)) { in f2fs_fiemap() 840 phys = blk_to_logical(inode, map_bh.b_blocknr); in f2fs_fiemap() 841 size = map_bh.b_size; in f2fs_fiemap() 843 if (buffer_unwritten(&map_bh)) in f2fs_fiemap()
|
/linux-4.4.14/fs/jfs/ |
D | inode.c | 243 map_bh(bh_result, ip->i_sb, xaddr); in jfs_get_block() 261 map_bh(bh_result, ip->i_sb, addressXAD(&xad)); in jfs_get_block()
|
/linux-4.4.14/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.4.14/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.4.14/fs/adfs/ |
D | inode.c | 28 map_bh(bh, inode->i_sb, block); in adfs_get_block()
|
/linux-4.4.14/include/linux/ |
D | buffer_head.h | 332 map_bh(struct buffer_head *bh, struct super_block *sb, sector_t block) in map_bh() function
|
/linux-4.4.14/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.4.14/fs/qnx4/ |
D | inode.c | 63 map_bh(bh, inode->i_sb, phys); in qnx4_get_block()
|
/linux-4.4.14/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() 603 map_bh(bh_result, inode->i_sb, p_blkno); in ocfs2_direct_IO_get_blocks() 1136 map_bh(bh, inode->i_sb, *p_blkno); in ocfs2_map_page_blocks()
|
/linux-4.4.14/fs/nilfs2/ |
D | mdt.c | 159 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.4.14/fs/sysv/ |
D | itree.c | 223 map_bh(bh_result, sb, block_to_cpu(SYSV_SB(sb), in get_block()
|
/linux-4.4.14/fs/hfs/ |
D | extent.c | 371 map_bh(bh_result, sb, HFS_SB(sb)->fs_start + in hfs_get_block()
|
/linux-4.4.14/fs/hfsplus/ |
D | extents.c | 277 map_bh(bh_result, sb, sector); in hfsplus_get_block()
|
/linux-4.4.14/fs/qnx6/ |
D | inode.c | 82 map_bh(bh, inode->i_sb, phys); in qnx6_get_block()
|
/linux-4.4.14/fs/befs/ |
D | linuxvfs.c | 148 map_bh(bh_result, inode->i_sb, disk_off); in befs_get_block()
|
/linux-4.4.14/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.4.14/fs/fat/ |
D | inode.c | 125 map_bh(bh_result, sb, phys); in __fat_get_block() 158 map_bh(bh_result, sb, phys); in __fat_get_block()
|
/linux-4.4.14/fs/ext4/ |
D | inode.c | 723 map_bh(bh, inode->i_sb, map.m_pblk); in _ext4_get_block() 1572 map_bh(bh, inode->i_sb, invalid_block); in ext4_da_map_blocks() 1637 map_bh(bh, inode->i_sb, invalid_block); in ext4_da_map_blocks() 1699 map_bh(bh, inode->i_sb, map.m_pblk); in ext4_da_get_block_prep()
|
/linux-4.4.14/fs/ufs/ |
D | balloc.c | 293 map_bh(bh, inode->i_sb, oldb + pos); in ufs_change_blocknr()
|
D | inode.c | 445 map_bh(bh_result, sb, phys64); in ufs_getfrag_block()
|
/linux-4.4.14/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.4.14/fs/isofs/ |
D | inode.c | 1062 map_bh(*bh, inode->i_sb, firstext + b_off - offset); in isofs_get_blocks()
|
/linux-4.4.14/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.4.14/fs/ext2/ |
D | inode.c | 752 map_bh(bh_result, inode->i_sb, le32_to_cpu(chain[depth-1].key)); in ext2_get_blocks()
|