/kernel/linux/linux-5.10/fs/ |
D | mpage.c | 142 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 …]
|
D | direct-io.c | 628 struct buffer_head *map_bh) in get_more_blocks() argument 650 map_bh->b_state = 0; in get_more_blocks() 651 map_bh->b_size = fs_count << i_blkbits; in get_more_blocks() 672 map_bh, create); in get_more_blocks() 675 dio->private = map_bh->b_private; in get_more_blocks() 677 if (ret == 0 && buffer_defer_completion(map_bh)) in get_more_blocks() 687 sector_t start_sector, struct buffer_head *map_bh) in dio_new_bio() argument 698 dio_bio_alloc(dio, sdio, map_bh->b_bdev, sector, nr_pages); in dio_new_bio() 744 struct buffer_head *map_bh) in dio_send_cur_page() argument 773 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 | 2805 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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/fs/efs/ |
D | file.c | 33 map_bh(bh_result, inode->i_sb, phys); in efs_get_block()
|
/kernel/linux/linux-5.10/fs/freevxfs/ |
D | vxfs_subr.c | 136 map_bh(bp, ip->i_sb, pblock); in vxfs_getblk()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/fs/f2fs/ |
D | data.c | 1788 map_bh(bh, inode->i_sb, map.m_pblk); in __get_data_block() 1935 struct buffer_head map_bh; in f2fs_fiemap() local 1974 memset(&map_bh, 0, sizeof(struct buffer_head)); in f2fs_fiemap() 1975 map_bh.b_size = len; in f2fs_fiemap() 1978 map_bh.b_size = blk_to_logical(inode, cluster_size - 1); in f2fs_fiemap() 1980 ret = get_data_block(inode, start_blk, &map_bh, 0, in f2fs_fiemap() 1986 if (!buffer_mapped(&map_bh)) { in f2fs_fiemap() 2016 phys = blk_to_logical(inode, map_bh.b_blocknr); in f2fs_fiemap() 2029 if (map_bh.b_blocknr == COMPRESS_ADDR) { in f2fs_fiemap() 2036 phys = blk_to_logical(inode, map_bh.b_blocknr); in f2fs_fiemap() [all …]
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/fs/adfs/ |
D | inode.c | 26 map_bh(bh, inode->i_sb, block); in adfs_get_block()
|
/kernel/linux/linux-5.10/fs/qnx4/ |
D | inode.c | 64 map_bh(bh, inode->i_sb, phys); in qnx4_get_block()
|
/kernel/linux/linux-5.10/fs/minix/ |
D | itree_common.c | 171 map_bh(bh, inode->i_sb, block_to_cpu(chain[depth-1].key)); in get_block()
|
/kernel/linux/linux-5.10/include/linux/ |
D | buffer_head.h | 376 map_bh(struct buffer_head *bh, struct super_block *sb, sector_t block) in map_bh() function
|
/kernel/linux/linux-5.10/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() 2243 map_bh(bh_result, inode->i_sb, p_blkno); in ocfs2_dio_wr_get_block()
|
/kernel/linux/linux-5.10/fs/ext4/ |
D | inode.c | 805 map_bh(bh, inode->i_sb, map.m_pblk); in _ext4_get_block() 1738 map_bh(bh, inode->i_sb, invalid_block); in ext4_da_map_blocks() 1789 map_bh(bh, inode->i_sb, invalid_block); in ext4_da_map_blocks() 1851 map_bh(bh, inode->i_sb, map.m_pblk); in ext4_da_get_block_prep() 2284 bool *map_bh) in mpage_process_page() argument 2320 *map_bh = true; in mpage_process_page() 2333 *map_bh = false; in mpage_process_page() 2364 bool map_bh = false; in mpage_map_and_submit_buffers() local 2381 &map_bh); in mpage_map_and_submit_buffers() 2387 if (err < 0 || map_bh) in mpage_map_and_submit_buffers()
|
/kernel/linux/linux-5.10/fs/gfs2/ |
D | meta_io.c | 150 map_bh(bh, sdp->sd_vfs, blkno); in gfs2_getbuf()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/fs/sysv/ |
D | itree.c | 224 map_bh(bh_result, sb, block_to_cpu(SYSV_SB(sb), in get_block()
|
/kernel/linux/linux-5.10/fs/hfs/ |
D | extent.c | 377 map_bh(bh_result, sb, HFS_SB(sb)->fs_start + in hfs_get_block()
|
/kernel/linux/linux-5.10/fs/qnx6/ |
D | inode.c | 83 map_bh(bh, inode->i_sb, phys); in qnx6_get_block()
|
/kernel/linux/linux-5.10/fs/hfsplus/ |
D | extents.c | 284 map_bh(bh_result, sb, sector); in hfsplus_get_block()
|