Home
last modified time | relevance | path

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

12

/openbmc/linux/fs/
H A Dmpage.c145 struct buffer_head map_bh; member
166 struct buffer_head *map_bh = &args->map_bh; in do_mpage_readpage() local
202 nblocks = map_bh->b_size >> blkbits; in do_mpage_readpage()
203 if (buffer_mapped(map_bh) && in do_mpage_readpage()
211 clear_buffer_mapped(map_bh); in do_mpage_readpage()
216 blocks[page_block] = map_bh->b_blocknr + map_offset + in do_mpage_readpage()
221 bdev = map_bh->b_bdev; in do_mpage_readpage()
227 map_bh->b_folio = folio; in do_mpage_readpage()
229 map_bh->b_state = 0; in do_mpage_readpage()
230 map_bh->b_size = 0; in do_mpage_readpage()
[all …]
H A Ddirect-io.c603 struct buffer_head *map_bh) in get_more_blocks() argument
626 map_bh->b_state = 0; in get_more_blocks()
627 map_bh->b_size = fs_count << i_blkbits; in get_more_blocks()
648 map_bh, create); in get_more_blocks()
651 dio->private = map_bh->b_private; in get_more_blocks()
653 if (ret == 0 && buffer_defer_completion(map_bh)) in get_more_blocks()
663 sector_t start_sector, struct buffer_head *map_bh) in dio_new_bio() argument
674 dio_bio_alloc(dio, sdio, map_bh->b_bdev, sector, nr_pages); in dio_new_bio()
720 struct buffer_head *map_bh) in dio_send_cur_page() argument
749 ret = dio_new_bio(dio, sdio, sdio->cur_page_block, map_bh); in dio_send_cur_page()
[all …]
/openbmc/linux/fs/bfs/
H A Dfile.c78 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()
/openbmc/linux/fs/efs/
H A Dfile.c33 map_bh(bh_result, inode->i_sb, phys); in efs_get_block()
/openbmc/linux/fs/freevxfs/
H A Dvxfs_subr.c106 map_bh(bp, ip->i_sb, pblock); in vxfs_getblk()
/openbmc/linux/fs/hpfs/
H A Dfile.c94 map_bh(bh_result, inode->i_sb, s); in hpfs_get_block()
112 map_bh(bh_result, inode->i_sb, hpfs_search_hotfix_map(inode->i_sb, s)); in hpfs_get_block()
/openbmc/linux/fs/omfs/
H A 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()
/openbmc/linux/fs/jfs/
H A Dinode.c236 map_bh(bh_result, ip->i_sb, xaddr); in jfs_get_block()
253 map_bh(bh_result, ip->i_sb, addressXAD(&xad)); in jfs_get_block()
/openbmc/linux/fs/adfs/
H A Dinode.c26 map_bh(bh, inode->i_sb, block); in adfs_get_block()
/openbmc/linux/fs/ocfs2/
H A Daops.c110 map_bh(bh_result, inode->i_sb, in ocfs2_symlink_get_block()
186 map_bh(bh_result, inode->i_sb, p_blkno); in ocfs2_get_block()
628 map_bh(bh, inode->i_sb, *p_blkno); in ocfs2_map_page_blocks()
2253 map_bh(bh_result, inode->i_sb, p_blkno); in ocfs2_dio_wr_get_block()
/openbmc/linux/fs/minix/
H A Ditree_common.c171 map_bh(bh, inode->i_sb, block_to_cpu(chain[depth-1].key)); in get_block()
/openbmc/linux/fs/qnx4/
H A Dinode.c64 map_bh(bh, inode->i_sb, phys); in qnx4_get_block()
/openbmc/linux/fs/ext4/
H A Dinode.c795 map_bh(bh, inode->i_sb, map.m_pblk); in _ext4_get_block()
1750 map_bh(bh, inode->i_sb, invalid_block); in ext4_da_map_blocks()
1814 map_bh(bh, inode->i_sb, invalid_block); in ext4_da_map_blocks()
1853 map_bh(bh, inode->i_sb, map.m_pblk); in ext4_da_get_block_prep()
2044 bool *map_bh) in mpage_process_folio() argument
2079 *map_bh = true; in mpage_process_folio()
2091 *map_bh = false; in mpage_process_folio()
2122 bool map_bh = false; in mpage_map_and_submit_buffers() local
2138 &map_bh); in mpage_map_and_submit_buffers()
2144 if (err < 0 || map_bh) in mpage_map_and_submit_buffers()
/openbmc/linux/fs/gfs2/
H A Dmeta_io.c157 map_bh(bh, sdp->sd_vfs, blkno); in gfs2_getbuf()
/openbmc/linux/include/linux/
H A Dbuffer_head.h361 map_bh(struct buffer_head *bh, struct super_block *sb, sector_t block) in map_bh() function
/openbmc/linux/fs/nilfs2/
H A Dmdt.c146 map_bh(bh, inode->i_sb, (sector_t)blknum); in nilfs_mdt_submit_block()
H A Dinode.c88 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()
/openbmc/linux/fs/fat/
H A Dinode.c133 map_bh(bh_result, sb, phys); in __fat_get_block()
178 map_bh(bh_result, sb, phys); in __fat_get_block()
306 map_bh(bh_result, sb, bmap); in fat_get_block_bmap()
/openbmc/linux/fs/sysv/
H A Ditree.c226 map_bh(bh_result, sb, block_to_cpu(SYSV_SB(sb), in get_block()
/openbmc/linux/fs/exfat/
H A Dinode.c328 map_bh(bh_result, sb, phys); in exfat_get_block()
/openbmc/linux/fs/hfs/
H A Dextent.c377 map_bh(bh_result, sb, HFS_SB(sb)->fs_start + in hfs_get_block()
/openbmc/linux/fs/qnx6/
H A Dinode.c83 map_bh(bh, inode->i_sb, phys); in qnx6_get_block()
/openbmc/linux/fs/ufs/
H A Dinode.c457 map_bh(bh_result, sb, phys64); in ufs_getfrag_block()
466 map_bh(bh_result, sb, phys64 + frag); in ufs_getfrag_block()
/openbmc/linux/fs/hfsplus/
H A Dextents.c284 map_bh(bh_result, sb, sector); in hfsplus_get_block()
/openbmc/linux/fs/reiserfs/
H A Dinode.c234 map_bh(bh, inode->i_sb, block); in set_block_dev_mapped()
335 map_bh(bh_result, inode->i_sb, blocknr); in _get_block_create_0()
455 map_bh(bh_result, inode->i_sb, 0); in _get_block_create_0()

12