Home
last modified time | relevance | path

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

/linux-6.6.21/fs/
Dmpage.c147 get_block_t *get_block; member
234 if (args->get_block(inode, block_in_file, map_bh, 0)) in do_mpage_readpage()
325 block_read_full_folio(folio, args->get_block); in do_mpage_readpage()
370 void mpage_readahead(struct readahead_control *rac, get_block_t get_block) in mpage_readahead() argument
374 .get_block = get_block, in mpage_readahead()
392 int mpage_read_folio(struct folio *folio, get_block_t get_block) in mpage_read_folio() argument
397 .get_block = get_block, in mpage_read_folio()
427 get_block_t *get_block; member
559 if (mpd->get_block(inode, block_in_file, &map_bh, 1)) in __mpage_writepage()
652 ret = block_write_full_page(&folio->page, mpd->get_block, wbc); in __mpage_writepage()
[all …]
Dbuffer.c1810 get_block_t *get_block, struct writeback_control *wbc, in __block_write_full_folio() argument
1860 err = get_block(inode, block, bh, 1); in __block_write_full_folio()
2083 get_block_t *get_block, const struct iomap *iomap) in __block_write_begin_int() argument
2119 if (get_block) in __block_write_begin_int()
2120 err = get_block(inode, block, bh, 1); in __block_write_begin_int()
2167 get_block_t *get_block) in __block_write_begin() argument
2169 return __block_write_begin_int(page_folio(page), pos, len, get_block, in __block_write_begin()
2218 struct page **pagep, get_block_t *get_block) in block_write_begin() argument
2228 status = __block_write_begin(page, pos, len, get_block); in block_write_begin()
2363 int block_read_full_folio(struct folio *folio, get_block_t *get_block) in block_read_full_folio() argument
[all …]
Ddirect-io.c88 get_block_t *get_block; /* block mapping function */ member
647 ret = (*sdio->get_block)(dio->inode, fs_startblk, in get_more_blocks()
1106 get_block_t get_block, dio_iodone_t end_io, in __blockdev_direct_IO() argument
1223 sdio.get_block = get_block; in __blockdev_direct_IO()
Dinternal.h36 get_block_t *get_block, const struct iomap *iomap);
/linux-6.6.21/include/linux/
Dmpage.h18 void mpage_readahead(struct readahead_control *, get_block_t get_block);
19 int mpage_read_folio(struct folio *folio, get_block_t get_block);
21 struct writeback_control *wbc, get_block_t get_block);
Dbuffer_head.h257 int block_write_full_page(struct page *page, get_block_t *get_block,
260 get_block_t *get_block, struct writeback_control *wbc,
265 struct page **pagep, get_block_t *get_block);
267 get_block_t *get_block);
282 get_block_t get_block);
Dfs.h3021 get_block_t get_block,
3028 get_block_t get_block) in blockdev_direct_IO() argument
3031 get_block, NULL, DIO_LOCKING | DIO_SKIP_HOLES); in blockdev_direct_IO()
/linux-6.6.21/fs/sysv/
Ditree.c207 static int get_block(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int creat… in get_block() function
387 block_truncate_page(inode->i_mapping, inode->i_size, get_block); in sysv_truncate()
461 return block_write_full_page(page,get_block,wbc); in sysv_writepage()
466 return block_read_full_folio(folio, get_block); in sysv_read_folio()
471 return __block_write_begin(page, pos, len, get_block); in sysv_prepare_chunk()
490 ret = block_write_begin(mapping, pos, len, pagep, get_block); in sysv_write_begin()
499 return generic_block_bmap(mapping,block,get_block); in sysv_bmap()
/linux-6.6.21/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()
/linux-6.6.21/drivers/md/
Ddm-era-target.c1217 static dm_block_t get_block(struct era *era, struct bio *bio) in get_block() function
1284 get_block(era, bio)); in process_deferred_bios()
1314 set_bit(get_block(era, bio), ws->bits); in process_deferred_bios()
1564 dm_block_t block = get_block(era, bio); in era_map()
/linux-6.6.21/fs/ocfs2/
Daops.c2445 get_block_t *get_block; in ocfs2_direct_IO() local
2460 get_block = ocfs2_lock_get_block; in ocfs2_direct_IO()
2462 get_block = ocfs2_dio_wr_get_block; in ocfs2_direct_IO()
2465 iter, get_block, in ocfs2_direct_IO()
/linux-6.6.21/drivers/net/ethernet/neterion/
Ds2io.c2891 int get_block, put_block; in rx_intr_handler() local
2904 get_block = get_info.block_index; in rx_intr_handler()
2907 rxdp = ring_data->rx_blocks[get_block].rxds[get_info.offset].virt_addr; in rx_intr_handler()
2914 if ((get_block == put_block) && in rx_intr_handler()
2948 rxdp = ring_data->rx_blocks[get_block]. in rx_intr_handler()
2953 get_block++; in rx_intr_handler()
2954 if (get_block == ring_data->block_count) in rx_intr_handler()
2955 get_block = 0; in rx_intr_handler()
2956 ring_data->rx_curr_get_info.block_index = get_block; in rx_intr_handler()
2957 rxdp = ring_data->rx_blocks[get_block].block_virt_addr; in rx_intr_handler()
[all …]
/linux-6.6.21/fs/affs/
DChanges300 - The same get_block()-routine can now be used for
/linux-6.6.21/fs/ext4/
Dinode.c1015 get_block_t *get_block) in ext4_block_write_begin() argument
1055 err = get_block(inode, block, bh, 1); in ext4_block_write_begin()
6079 get_block_t *get_block; in ext4_page_mkwrite() local
6146 get_block = ext4_get_block_unwritten; in ext4_page_mkwrite()
6148 get_block = ext4_get_block; in ext4_page_mkwrite()
6162 err = block_page_mkwrite(vma, vmf, get_block); in ext4_page_mkwrite()