/linux-2.6.39/fs/ |
D | mpage.c | 155 sector_t *last_block_in_bio, struct buffer_head *map_bh, in do_mpage_readpage() argument 187 nblocks = map_bh->b_size >> blkbits; in do_mpage_readpage() 188 if (buffer_mapped(map_bh) && block_in_file > *first_logical_block && in do_mpage_readpage() 195 clear_buffer_mapped(map_bh); in do_mpage_readpage() 200 blocks[page_block] = map_bh->b_blocknr + map_offset + in do_mpage_readpage() 205 bdev = map_bh->b_bdev; in do_mpage_readpage() 211 map_bh->b_page = page; in do_mpage_readpage() 213 map_bh->b_state = 0; in do_mpage_readpage() 214 map_bh->b_size = 0; in do_mpage_readpage() 217 map_bh->b_size = (last_block-block_in_file) << blkbits; in do_mpage_readpage() [all …]
|
D | direct-io.c | 90 struct buffer_head map_bh; /* last get_block() result */ member 251 dio->map_bh.b_private, ret, is_async); in dio_complete() 528 struct buffer_head *map_bh = &dio->map_bh; in get_more_blocks() local 549 map_bh->b_state = 0; in get_more_blocks() 550 map_bh->b_size = fs_count << dio->inode->i_blkbits; in get_more_blocks() 571 map_bh, create); in get_more_blocks() 588 nr_pages = min(dio->pages_in_io, bio_get_nr_vecs(dio->map_bh.b_bdev)); in dio_new_bio() 591 dio_bio_alloc(dio, dio->map_bh.b_bdev, sector, nr_pages); in dio_new_bio() 770 nblocks = dio->map_bh.b_size >> dio->inode->i_blkbits; in clean_blockdev_aliases() 773 unmap_underlying_metadata(dio->map_bh.b_bdev, in clean_blockdev_aliases() [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 | 2655 struct buffer_head map_bh; in nobh_truncate_page() local 2687 map_bh.b_size = blocksize; in nobh_truncate_page() 2688 map_bh.b_state = 0; in nobh_truncate_page() 2689 err = get_block(inode, iblock, &map_bh, 0); in nobh_truncate_page() 2693 if (!buffer_mapped(&map_bh)) in nobh_truncate_page()
|
/linux-2.6.39/fs/bfs/ |
D | file.c | 79 map_bh(bh_result, sb, phys); in bfs_get_block() 91 map_bh(bh_result, sb, phys); in bfs_get_block() 110 map_bh(bh_result, sb, phys); in bfs_get_block() 148 map_bh(bh_result, sb, phys); in bfs_get_block()
|
/linux-2.6.39/fs/ext3/ |
D | dir.c | 130 struct buffer_head map_bh; in ext3_readdir() local 133 map_bh.b_state = 0; in ext3_readdir() 134 err = ext3_get_blocks_handle(NULL, inode, blk, 1, &map_bh, 0); in ext3_readdir() 136 pgoff_t index = map_bh.b_blocknr >> in ext3_readdir()
|
/linux-2.6.39/fs/efs/ |
D | file.c | 34 map_bh(bh_result, inode->i_sb, phys); in efs_get_block()
|
/linux-2.6.39/fs/hpfs/ |
D | file.c | 68 map_bh(bh_result, inode->i_sb, s); in hpfs_get_block() 85 map_bh(bh_result, inode->i_sb, s); in hpfs_get_block()
|
/linux-2.6.39/fs/freevxfs/ |
D | vxfs_subr.c | 136 map_bh(bp, ip->i_sb, pblock); in vxfs_getblk()
|
/linux-2.6.39/fs/jfs/ |
D | inode.c | 241 map_bh(bh_result, ip->i_sb, xaddr); in jfs_get_block() 259 map_bh(bh_result, ip->i_sb, addressXAD(&xad)); in jfs_get_block()
|
/linux-2.6.39/fs/omfs/ |
D | file.c | 258 map_bh(bh_result, inode->i_sb, offset); in omfs_get_block() 279 map_bh(bh_result, inode->i_sb, in omfs_get_block()
|
/linux-2.6.39/fs/gfs2/ |
D | bmap.c | 94 map_bh(bh, inode->i_sb, block); in gfs2_unstuffer_page() 550 map_bh(bh_map, inode->i_sb, dblock); in gfs2_bmap_alloc() 620 map_bh(bh_map, inode->i_sb, be64_to_cpu(*ptr)); in gfs2_block_map()
|
D | meta_io.c | 162 map_bh(bh, sdp->sd_vfs, blkno); in gfs2_getbuf()
|
/linux-2.6.39/fs/adfs/ |
D | inode.c | 28 map_bh(bh, inode->i_sb, block); in adfs_get_block()
|
/linux-2.6.39/include/linux/ |
D | buffer_head.h | 295 map_bh(struct buffer_head *bh, struct super_block *sb, sector_t block) in map_bh() function
|
/linux-2.6.39/fs/ocfs2/ |
D | aops.c | 119 map_bh(bh_result, inode->i_sb, in ocfs2_symlink_get_block() 183 map_bh(bh_result, inode->i_sb, p_blkno); in ocfs2_get_block() 539 map_bh(bh_result, inode->i_sb, p_blkno); in ocfs2_direct_IO_get_blocks() 755 map_bh(bh, inode->i_sb, *p_blkno); in ocfs2_map_page_blocks()
|
/linux-2.6.39/fs/minix/ |
D | itree_common.c | 164 map_bh(bh, inode->i_sb, block_to_cpu(chain[depth-1].key)); in get_block()
|
/linux-2.6.39/fs/nilfs2/ |
D | mdt.c | 155 map_bh(bh, inode->i_sb, (sector_t)blknum); in nilfs_mdt_submit_block()
|
D | inode.c | 86 map_bh(bh_result, inode->i_sb, blknum); in nilfs_get_block() 126 map_bh(bh_result, inode->i_sb, 0); /* dbn must be changed in nilfs_get_block()
|
/linux-2.6.39/fs/ufs/ |
D | inode.c | 431 map_bh(bh_result, sb, phys64); in ufs_getfrag_block() 503 map_bh(bh_result, sb, phys); in ufs_getfrag_block()
|
/linux-2.6.39/fs/qnx4/ |
D | inode.c | 96 map_bh(bh, inode->i_sb, phys); in qnx4_get_block()
|
/linux-2.6.39/fs/sysv/ |
D | itree.c | 223 map_bh(bh_result, sb, block_to_cpu(SYSV_SB(sb), in get_block()
|
/linux-2.6.39/fs/hfs/ |
D | extent.c | 358 map_bh(bh_result, sb, HFS_SB(sb)->fs_start + in hfs_get_block()
|
/linux-2.6.39/fs/hfsplus/ |
D | extents.c | 259 map_bh(bh_result, sb, in hfsplus_get_block()
|
/linux-2.6.39/fs/fat/ |
D | inode.c | 70 map_bh(bh_result, sb, phys); in __fat_get_block() 103 map_bh(bh_result, sb, phys); in __fat_get_block()
|