Home
last modified time | relevance | path

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

/linux-4.1.27/fs/
Dmpage.c141 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 …]
Ddirect-io.c589 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 …]
Dioctl.c254 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()
Dbuffer.c2738 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/
Dfile.c77 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/
Ddir.c117 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()
Dinode.c990 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/
Dfile.c32 map_bh(bh_result, inode->i_sb, phys); in efs_get_block()
/linux-4.1.27/fs/freevxfs/
Dvxfs_subr.c136 map_bh(bp, ip->i_sb, pblock); in vxfs_getblk()
/linux-4.1.27/fs/hpfs/
Dfile.c86 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/
Dinode.c242 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/
Dfile.c256 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/
Dmeta_io.c154 map_bh(bh, sdp->sd_vfs, blkno); in gfs2_getbuf()
Dbmap.c91 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/
Dinode.c28 map_bh(bh, inode->i_sb, block); in adfs_get_block()
/linux-4.1.27/fs/qnx4/
Dinode.c63 map_bh(bh, inode->i_sb, phys); in qnx4_get_block()
/linux-4.1.27/include/linux/
Dbuffer_head.h334 map_bh(struct buffer_head *bh, struct super_block *sb, sector_t block) in map_bh() function
/linux-4.1.27/fs/minix/
Ditree_common.c164 map_bh(bh, inode->i_sb, block_to_cpu(chain[depth-1].key)); in get_block()
/linux-4.1.27/fs/ocfs2/
Daops.c126 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/
Dinode.c430 map_bh(bh_result, sb, phys64); in ufs_getfrag_block()
502 map_bh(bh_result, sb, phys); in ufs_getfrag_block()
Dballoc.c293 map_bh(bh, inode->i_sb, oldb + pos); in ufs_change_blocknr()
/linux-4.1.27/fs/nilfs2/
Dmdt.c155 map_bh(bh, inode->i_sb, (sector_t)blknum); in nilfs_mdt_submit_block()
Dinode.c96 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/
Ditree.c223 map_bh(bh_result, sb, block_to_cpu(SYSV_SB(sb), in get_block()
/linux-4.1.27/fs/f2fs/
Ddata.c262 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/
Dextents.c277 map_bh(bh_result, sb, sector); in hfsplus_get_block()
/linux-4.1.27/fs/hfs/
Dextent.c371 map_bh(bh_result, sb, HFS_SB(sb)->fs_start + in hfs_get_block()
/linux-4.1.27/fs/qnx6/
Dinode.c82 map_bh(bh, inode->i_sb, phys); in qnx6_get_block()
/linux-4.1.27/fs/befs/
Dlinuxvfs.c154 map_bh(bh_result, inode->i_sb, disk_off); in befs_get_block()
/linux-4.1.27/fs/reiserfs/
Dinode.c233 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/
Dinode.c124 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/
Dinode.c722 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/
Dinode.c1062 map_bh(*bh, inode->i_sb, firstext + b_off - offset); in isofs_get_blocks()
/linux-4.1.27/fs/affs/
Dfile.c319 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/
Dinode.c430 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/
Dinode.c751 map_bh(bh_result, inode->i_sb, le32_to_cpu(chain[depth-1].key)); in ext2_get_blocks()