/fs/ |
D | mpage.c | 178 struct buffer_head map_bh; member 199 struct buffer_head *map_bh = &args->map_bh; in do_mpage_readpage() local 235 nblocks = map_bh->b_size >> blkbits; in do_mpage_readpage() 236 if (buffer_mapped(map_bh) && in do_mpage_readpage() 244 clear_buffer_mapped(map_bh); in do_mpage_readpage() 249 blocks[page_block] = map_bh->b_blocknr + map_offset + in do_mpage_readpage() 254 bdev = map_bh->b_bdev; in do_mpage_readpage() 260 map_bh->b_page = page; in do_mpage_readpage() 262 map_bh->b_state = 0; in do_mpage_readpage() 263 map_bh->b_size = 0; in do_mpage_readpage() [all …]
|
D | direct-io.c | 633 struct buffer_head *map_bh) in get_more_blocks() argument 655 map_bh->b_state = 0; in get_more_blocks() 656 map_bh->b_size = fs_count << i_blkbits; in get_more_blocks() 677 map_bh, create); in get_more_blocks() 680 dio->private = map_bh->b_private; in get_more_blocks() 682 if (ret == 0 && buffer_defer_completion(map_bh)) in get_more_blocks() 692 sector_t start_sector, struct buffer_head *map_bh) in dio_new_bio() argument 703 dio_bio_alloc(dio, sdio, map_bh->b_bdev, sector, nr_pages); in dio_new_bio() 749 struct buffer_head *map_bh) in dio_send_cur_page() argument 786 ret = dio_new_bio(dio, sdio, sdio->cur_page_block, map_bh); in dio_send_cur_page() [all …]
|
D | ioctl.c | 298 struct buffer_head map_bh; in __generic_block_fiemap() local 335 memset(&map_bh, 0, sizeof(struct buffer_head)); in __generic_block_fiemap() 336 map_bh.b_size = len; in __generic_block_fiemap() 338 ret = get_block(inode, start_blk, &map_bh, 0); in __generic_block_fiemap() 343 if (!buffer_mapped(&map_bh)) { in __generic_block_fiemap() 411 phys = blk_to_logical(inode, map_bh.b_blocknr); in __generic_block_fiemap() 412 size = map_bh.b_size; in __generic_block_fiemap()
|
D | buffer.c | 2833 struct buffer_head map_bh; in nobh_truncate_page() local 2865 map_bh.b_size = blocksize; in nobh_truncate_page() 2866 map_bh.b_state = 0; in nobh_truncate_page() 2867 err = get_block(inode, iblock, &map_bh, 0); in nobh_truncate_page() 2871 if (!buffer_mapped(&map_bh)) in nobh_truncate_page()
|
/fs/bfs/ |
D | file.c | 78 map_bh(bh_result, sb, phys); in bfs_get_block() 90 map_bh(bh_result, sb, phys); in bfs_get_block() 109 map_bh(bh_result, sb, phys); in bfs_get_block() 147 map_bh(bh_result, sb, phys); in bfs_get_block()
|
/fs/hpfs/ |
D | file.c | 93 map_bh(bh_result, inode->i_sb, s); in hpfs_get_block() 111 map_bh(bh_result, inode->i_sb, hpfs_search_hotfix_map(inode->i_sb, s)); in hpfs_get_block()
|
/fs/efs/ |
D | file.c | 33 map_bh(bh_result, inode->i_sb, phys); in efs_get_block()
|
/fs/freevxfs/ |
D | vxfs_subr.c | 136 map_bh(bp, ip->i_sb, pblock); in vxfs_getblk()
|
/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()
|
/fs/jfs/ |
D | inode.c | 245 map_bh(bh_result, ip->i_sb, xaddr); in jfs_get_block() 263 map_bh(bh_result, ip->i_sb, addressXAD(&xad)); in jfs_get_block()
|
/fs/adfs/ |
D | inode.c | 26 map_bh(bh, inode->i_sb, block); in adfs_get_block()
|
/fs/ocfs2/ |
D | aops.c | 112 map_bh(bh_result, inode->i_sb, in ocfs2_symlink_get_block() 189 map_bh(bh_result, inode->i_sb, p_blkno); in ocfs2_get_block() 632 map_bh(bh, inode->i_sb, *p_blkno); in ocfs2_map_page_blocks() 2257 map_bh(bh_result, inode->i_sb, p_blkno); in ocfs2_dio_wr_get_block()
|
/fs/ext4/ |
D | inode.c | 790 map_bh(bh, inode->i_sb, map.m_pblk); in _ext4_get_block() 1752 map_bh(bh, inode->i_sb, invalid_block); in ext4_da_map_blocks() 1818 map_bh(bh, inode->i_sb, invalid_block); in ext4_da_map_blocks() 1857 map_bh(bh, inode->i_sb, map.m_pblk); in ext4_da_get_block_prep() 2270 bool *map_bh) in mpage_process_page() argument 2306 *map_bh = true; in mpage_process_page() 2319 *map_bh = false; in mpage_process_page() 2350 bool map_bh = false; in mpage_map_and_submit_buffers() local 2367 &map_bh); in mpage_map_and_submit_buffers() 2373 if (err < 0 || map_bh) in mpage_map_and_submit_buffers()
|
/fs/minix/ |
D | itree_common.c | 171 map_bh(bh, inode->i_sb, block_to_cpu(chain[depth-1].key)); in get_block()
|
/fs/qnx4/ |
D | inode.c | 64 map_bh(bh, inode->i_sb, phys); in qnx4_get_block()
|
/fs/gfs2/ |
D | meta_io.c | 150 map_bh(bh, sdp->sd_vfs, blkno); in gfs2_getbuf()
|
/fs/fat/ |
D | inode.c | 133 map_bh(bh_result, sb, phys); in __fat_get_block() 178 map_bh(bh_result, sb, phys); in __fat_get_block() 311 map_bh(bh_result, sb, bmap); in fat_get_block_bmap()
|
/fs/nilfs2/ |
D | mdt.c | 147 map_bh(bh, inode->i_sb, (sector_t)blknum); in nilfs_mdt_submit_block()
|
D | inode.c | 88 map_bh(bh_result, inode->i_sb, blknum); in nilfs_get_block() 125 map_bh(bh_result, inode->i_sb, 0); in nilfs_get_block()
|
/fs/sysv/ |
D | itree.c | 228 map_bh(bh_result, sb, block_to_cpu(SYSV_SB(sb), in get_block()
|
/fs/hfs/ |
D | extent.c | 377 map_bh(bh_result, sb, HFS_SB(sb)->fs_start + in hfs_get_block()
|
/fs/qnx6/ |
D | inode.c | 83 map_bh(bh, inode->i_sb, phys); in qnx6_get_block()
|
/fs/ufs/ |
D | inode.c | 457 map_bh(bh_result, sb, phys64); in ufs_getfrag_block() 466 map_bh(bh_result, sb, phys64 + frag); in ufs_getfrag_block()
|
/fs/hfsplus/ |
D | extents.c | 284 map_bh(bh_result, sb, sector); in hfsplus_get_block()
|
/fs/exfat/ |
D | inode.c | 351 map_bh(bh_result, sb, phys); in exfat_get_block()
|