Home
last modified time | relevance | path

Searched refs:get_block (Results 1 – 18 of 18) sorted by relevance

/kernel/linux/linux-5.10/include/linux/
Dmpage.h18 void mpage_readahead(struct readahead_control *, get_block_t get_block);
19 int mpage_readpage(struct page *page, get_block_t get_block);
21 struct writeback_control *wbc, get_block_t get_block);
22 int mpage_writepage(struct page *page, get_block_t *get_block,
Dbuffer_head.h253 int block_write_full_page(struct page *page, get_block_t *get_block,
256 get_block_t *get_block, struct writeback_control *wbc,
262 unsigned flags, struct page **pagep, get_block_t *get_block);
264 get_block_t *get_block);
279 get_block_t get_block);
300 int nobh_writepage(struct page *page, get_block_t *get_block,
Dfiemap.h23 get_block_t *get_block);
Dfs.h3066 get_block_t get_block,
3073 get_block_t get_block) in blockdev_direct_IO() argument
3076 get_block, NULL, NULL, DIO_LOCKING | DIO_SKIP_HOLES); in blockdev_direct_IO()
/kernel/linux/linux-5.10/fs/
Dmpage.c144 get_block_t *get_block; member
231 if (args->get_block(inode, block_in_file, map_bh, 0)) in do_mpage_readpage()
334 block_read_full_page(page, args->get_block); in do_mpage_readpage()
379 void mpage_readahead(struct readahead_control *rac, get_block_t get_block) in mpage_readahead() argument
383 .get_block = get_block, in mpage_readahead()
402 int mpage_readpage(struct page *page, get_block_t get_block) in mpage_readpage() argument
407 .get_block = get_block, in mpage_readpage()
437 get_block_t *get_block; member
566 if (mpd->get_block(inode, block_in_file, &map_bh, 1)) in __mpage_writepage()
697 struct writeback_control *wbc, get_block_t get_block) in mpage_writepages() argument
[all …]
Dbuffer.c1713 get_block_t *get_block, struct writeback_control *wbc, in __block_write_full_page() argument
1763 err = get_block(inode, block, bh, 1); in __block_write_full_page()
1974 get_block_t *get_block, struct iomap *iomap) in __block_write_begin_int() argument
2010 if (get_block) { in __block_write_begin_int()
2011 err = get_block(inode, block, bh, 1); in __block_write_begin_int()
2059 get_block_t *get_block) in __block_write_begin() argument
2061 return __block_write_begin_int(page, pos, len, get_block, NULL); in __block_write_begin()
2110 unsigned flags, struct page **pagep, get_block_t *get_block) in block_write_begin() argument
2120 status = __block_write_begin(page, pos, len, get_block); in block_write_begin()
2259 int block_read_full_page(struct page *page, get_block_t *get_block) in block_read_full_page() argument
[all …]
Ddirect-io.c88 get_block_t *get_block; /* block mapping function */ member
671 ret = (*sdio->get_block)(dio->inode, fs_startblk, in get_more_blocks()
1129 get_block_t get_block, dio_iodone_t end_io, in do_blockdev_direct_IO() argument
1248 sdio.get_block = get_block; in do_blockdev_direct_IO()
1350 get_block_t get_block, in __blockdev_direct_IO() argument
1366 return do_blockdev_direct_IO(iocb, inode, bdev, iter, get_block, in __blockdev_direct_IO()
Dioctl.c296 loff_t len, get_block_t *get_block) in __generic_block_fiemap() argument
338 ret = get_block(inode, start_blk, &map_bh, 0); in __generic_block_fiemap()
454 u64 len, get_block_t *get_block) in generic_block_fiemap() argument
458 ret = __generic_block_fiemap(inode, fieinfo, start, len, get_block); in generic_block_fiemap()
Dinternal.h55 get_block_t *get_block, struct iomap *iomap);
/kernel/linux/linux-5.10/fs/sysv/
Ditree.c203 static int get_block(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int creat… in get_block() function
383 block_truncate_page(inode->i_mapping, inode->i_size, get_block); in sysv_truncate()
456 return block_write_full_page(page,get_block,wbc); in sysv_writepage()
461 return block_read_full_page(page,get_block); in sysv_readpage()
466 return __block_write_begin(page, pos, len, get_block); in sysv_prepare_chunk()
485 ret = block_write_begin(mapping, pos, len, flags, pagep, get_block); in sysv_write_begin()
494 return generic_block_bmap(mapping,block,get_block); in sysv_bmap()
/kernel/linux/linux-5.10/fs/minix/
Ditree_v1.c56 return get_block(inode, block, bh_result, create); in V1_minix_get_block()
Ditree_v2.c64 return get_block(inode, block, bh_result, create); in V2_minix_get_block()
Ditree_common.c152 static int get_block(struct inode * inode, sector_t block, in get_block() function
313 block_truncate_page(inode->i_mapping, inode->i_size, get_block); in truncate()
/kernel/linux/linux-5.10/drivers/md/
Ddm-era-target.c1196 static dm_block_t get_block(struct era *era, struct bio *bio) in get_block() function
1261 get_block(era, bio)); in process_deferred_bios()
1291 set_bit(get_block(era, bio), ws->bits); in process_deferred_bios()
1535 dm_block_t block = get_block(era, bio); in era_map()
/kernel/linux/linux-5.10/fs/ocfs2/
Daops.c2448 get_block_t *get_block; in ocfs2_direct_IO() local
2463 get_block = ocfs2_lock_get_block; in ocfs2_direct_IO()
2465 get_block = ocfs2_dio_wr_get_block; in ocfs2_direct_IO()
2468 iter, get_block, in ocfs2_direct_IO()
/kernel/linux/linux-5.10/drivers/net/ethernet/neterion/
Ds2io.c2889 int get_block, put_block; in rx_intr_handler() local
2902 get_block = get_info.block_index; in rx_intr_handler()
2905 rxdp = ring_data->rx_blocks[get_block].rxds[get_info.offset].virt_addr; in rx_intr_handler()
2912 if ((get_block == put_block) && in rx_intr_handler()
2946 rxdp = ring_data->rx_blocks[get_block]. in rx_intr_handler()
2951 get_block++; in rx_intr_handler()
2952 if (get_block == ring_data->block_count) in rx_intr_handler()
2953 get_block = 0; in rx_intr_handler()
2954 ring_data->rx_curr_get_info.block_index = get_block; in rx_intr_handler()
2955 rxdp = ring_data->rx_blocks[get_block].block_virt_addr; in rx_intr_handler()
[all …]
/kernel/linux/linux-5.10/fs/affs/
DChanges300 - The same get_block()-routine can now be used for
/kernel/linux/linux-5.10/fs/ext4/
Dinode.c1047 get_block_t *get_block) in ext4_block_write_begin() argument
1086 err = get_block(inode, block, bh, 1); in ext4_block_write_begin()
6165 get_block_t *get_block; in ext4_page_mkwrite() local
6233 get_block = ext4_get_block_unwritten; in ext4_page_mkwrite()
6235 get_block = ext4_get_block; in ext4_page_mkwrite()
6249 err = block_page_mkwrite(vma, vmf, get_block); in ext4_page_mkwrite()