Home
last modified time | relevance | path

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

12

/Linux-v5.15/fs/
Dmpage.c142 struct buffer_head map_bh; member
163 struct buffer_head *map_bh = &args->map_bh; in do_mpage_readpage() local
199 nblocks = map_bh->b_size >> blkbits; in do_mpage_readpage()
200 if (buffer_mapped(map_bh) && in do_mpage_readpage()
208 clear_buffer_mapped(map_bh); in do_mpage_readpage()
213 blocks[page_block] = map_bh->b_blocknr + map_offset + in do_mpage_readpage()
218 bdev = map_bh->b_bdev; in do_mpage_readpage()
224 map_bh->b_page = page; in do_mpage_readpage()
226 map_bh->b_state = 0; in do_mpage_readpage()
227 map_bh->b_size = 0; in do_mpage_readpage()
[all …]
Ddirect-io.c630 struct buffer_head *map_bh) in get_more_blocks() argument
652 map_bh->b_state = 0; in get_more_blocks()
653 map_bh->b_size = fs_count << i_blkbits; in get_more_blocks()
674 map_bh, create); in get_more_blocks()
677 dio->private = map_bh->b_private; in get_more_blocks()
679 if (ret == 0 && buffer_defer_completion(map_bh)) in get_more_blocks()
689 sector_t start_sector, struct buffer_head *map_bh) in dio_new_bio() argument
700 dio_bio_alloc(dio, sdio, map_bh->b_bdev, sector, nr_pages); in dio_new_bio()
746 struct buffer_head *map_bh) in dio_send_cur_page() argument
775 ret = dio_new_bio(dio, sdio, sdio->cur_page_block, map_bh); in dio_send_cur_page()
[all …]
Dbuffer.c2805 struct buffer_head map_bh; in nobh_truncate_page() local
2837 map_bh.b_size = blocksize; in nobh_truncate_page()
2838 map_bh.b_state = 0; in nobh_truncate_page()
2839 err = get_block(inode, iblock, &map_bh, 0); in nobh_truncate_page()
2843 if (!buffer_mapped(&map_bh)) in nobh_truncate_page()
/Linux-v5.15/fs/bfs/
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()
/Linux-v5.15/fs/efs/
Dfile.c33 map_bh(bh_result, inode->i_sb, phys); in efs_get_block()
/Linux-v5.15/fs/freevxfs/
Dvxfs_subr.c136 map_bh(bp, ip->i_sb, pblock); in vxfs_getblk()
/Linux-v5.15/fs/hpfs/
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()
/Linux-v5.15/fs/jfs/
Dinode.c244 map_bh(bh_result, ip->i_sb, xaddr); in jfs_get_block()
262 map_bh(bh_result, ip->i_sb, addressXAD(&xad)); in jfs_get_block()
/Linux-v5.15/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-v5.15/fs/adfs/
Dinode.c26 map_bh(bh, inode->i_sb, block); in adfs_get_block()
/Linux-v5.15/fs/minix/
Ditree_common.c171 map_bh(bh, inode->i_sb, block_to_cpu(chain[depth-1].key)); in get_block()
/Linux-v5.15/include/linux/
Dbuffer_head.h344 map_bh(struct buffer_head *bh, struct super_block *sb, sector_t block) in map_bh() function
/Linux-v5.15/fs/qnx4/
Dinode.c64 map_bh(bh, inode->i_sb, phys); in qnx4_get_block()
/Linux-v5.15/fs/ocfs2/
Daops.c110 map_bh(bh_result, inode->i_sb, in ocfs2_symlink_get_block()
187 map_bh(bh_result, inode->i_sb, p_blkno); in ocfs2_get_block()
630 map_bh(bh, inode->i_sb, *p_blkno); in ocfs2_map_page_blocks()
2240 map_bh(bh_result, inode->i_sb, p_blkno); in ocfs2_dio_wr_get_block()
/Linux-v5.15/fs/ext4/
Dinode.c796 map_bh(bh, inode->i_sb, map.m_pblk); in _ext4_get_block()
1772 map_bh(bh, inode->i_sb, invalid_block); in ext4_da_map_blocks()
1834 map_bh(bh, inode->i_sb, map.m_pblk); in ext4_da_get_block_prep()
2240 bool *map_bh) in mpage_process_page() argument
2276 *map_bh = true; in mpage_process_page()
2289 *map_bh = false; in mpage_process_page()
2320 bool map_bh = false; in mpage_map_and_submit_buffers() local
2337 &map_bh); in mpage_map_and_submit_buffers()
2343 if (err < 0 || map_bh) in mpage_map_and_submit_buffers()
/Linux-v5.15/fs/gfs2/
Dmeta_io.c155 map_bh(bh, sdp->sd_vfs, blkno); in gfs2_getbuf()
/Linux-v5.15/fs/nilfs2/
Dmdt.c147 map_bh(bh, inode->i_sb, (sector_t)blknum); in nilfs_mdt_submit_block()
Dinode.c84 map_bh(bh_result, inode->i_sb, blknum); in nilfs_get_block()
121 map_bh(bh_result, inode->i_sb, 0); in nilfs_get_block()
/Linux-v5.15/fs/fat/
Dinode.c133 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()
/Linux-v5.15/fs/sysv/
Ditree.c224 map_bh(bh_result, sb, block_to_cpu(SYSV_SB(sb), in get_block()
/Linux-v5.15/fs/hfs/
Dextent.c377 map_bh(bh_result, sb, HFS_SB(sb)->fs_start + in hfs_get_block()
/Linux-v5.15/fs/qnx6/
Dinode.c83 map_bh(bh, inode->i_sb, phys); in qnx6_get_block()
/Linux-v5.15/fs/hfsplus/
Dextents.c284 map_bh(bh_result, sb, sector); in hfsplus_get_block()
/Linux-v5.15/fs/exfat/
Dinode.c353 map_bh(bh_result, sb, phys); in exfat_get_block()
/Linux-v5.15/fs/ufs/
Dinode.c457 map_bh(bh_result, sb, phys64); in ufs_getfrag_block()
466 map_bh(bh_result, sb, phys64 + frag); in ufs_getfrag_block()

12