Home
last modified time | relevance | path

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

/linux-6.12.1/fs/
Dmpage.c139 get_block_t *get_block; member
225 if (args->get_block(inode, block_in_file, map_bh, 0)) in do_mpage_readpage()
317 block_read_full_folio(folio, args->get_block); in do_mpage_readpage()
362 void mpage_readahead(struct readahead_control *rac, get_block_t get_block) in mpage_readahead() argument
366 .get_block = get_block, in mpage_readahead()
384 int mpage_read_folio(struct folio *folio, get_block_t get_block) in mpage_read_folio() argument
389 .get_block = get_block, in mpage_read_folio()
419 get_block_t *get_block; member
543 if (mpd->get_block(inode, block_in_file, &map_bh, 1)) in __mpage_writepage()
639 ret = block_write_full_folio(folio, wbc, mpd->get_block); in __mpage_writepage()
[all …]
Dbuffer.c1813 get_block_t *get_block, struct writeback_control *wbc) in __block_write_full_folio() argument
1861 err = get_block(inode, block, bh, 1); in __block_write_full_folio()
2087 get_block_t *get_block, const struct iomap *iomap) in __block_write_begin_int() argument
2120 if (get_block) in __block_write_begin_int()
2121 err = get_block(inode, block, bh, 1); in __block_write_begin_int()
2168 get_block_t *get_block) in __block_write_begin() argument
2170 return __block_write_begin_int(folio, pos, len, get_block, NULL); in __block_write_begin()
2220 struct folio **foliop, get_block_t *get_block) in block_write_begin() argument
2231 status = __block_write_begin_int(folio, pos, len, get_block, NULL); in block_write_begin()
2365 int block_read_full_folio(struct folio *folio, get_block_t *get_block) in block_read_full_folio() argument
[all …]
Ddirect-io.c87 get_block_t *get_block; /* block mapping function */ member
648 ret = (*sdio->get_block)(dio->inode, fs_startblk, in get_more_blocks()
1107 get_block_t get_block, dio_iodone_t end_io, in __blockdev_direct_IO() argument
1218 sdio.get_block = get_block; in __blockdev_direct_IO()
Dinternal.h37 get_block_t *get_block, const struct iomap *iomap);
/linux-6.12.1/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.h254 void *get_block);
256 get_block_t *get_block, struct writeback_control *wbc);
260 struct folio **foliop, get_block_t *get_block);
262 get_block_t *get_block);
276 get_block_t get_block);
Dfs.h3271 get_block_t get_block,
3278 get_block_t get_block) in blockdev_direct_IO() argument
3281 get_block, NULL, DIO_LOCKING | DIO_SKIP_HOLES); in blockdev_direct_IO()
/linux-6.12.1/fs/sysv/
Ditree.c208 static int get_block(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int creat… in get_block() function
386 block_truncate_page(inode->i_mapping, inode->i_size, get_block); in sysv_truncate()
461 return mpage_writepages(mapping, wbc, get_block); in sysv_writepages()
466 return block_read_full_folio(folio, get_block); in sysv_read_folio()
471 return __block_write_begin(folio, pos, len, get_block); in sysv_prepare_chunk()
490 ret = block_write_begin(mapping, pos, len, foliop, get_block); in sysv_write_begin()
499 return generic_block_bmap(mapping,block,get_block); in sysv_bmap()
/linux-6.12.1/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.12.1/Documentation/filesystems/iomap/
Dporting.rst57 ``get_block()`` function for read-only mappings.
64 Next, modify the filesystem's ``get_block(create = false)``
75 going through ``get_block()``.
/linux-6.12.1/drivers/md/
Ddm-era-target.c1217 static dm_block_t get_block(struct era *era, struct bio *bio) in get_block() function
1283 get_block(era, bio)); in process_deferred_bios()
1313 set_bit(get_block(era, bio), ws->bits); in process_deferred_bios()
1563 dm_block_t block = get_block(era, bio); in era_map()
/linux-6.12.1/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.12.1/drivers/net/ethernet/neterion/
Ds2io.c2892 int get_block, put_block; in rx_intr_handler() local
2905 get_block = get_info.block_index; in rx_intr_handler()
2908 rxdp = ring_data->rx_blocks[get_block].rxds[get_info.offset].virt_addr; in rx_intr_handler()
2915 if ((get_block == put_block) && in rx_intr_handler()
2949 rxdp = ring_data->rx_blocks[get_block]. in rx_intr_handler()
2954 get_block++; in rx_intr_handler()
2955 if (get_block == ring_data->block_count) in rx_intr_handler()
2956 get_block = 0; in rx_intr_handler()
2957 ring_data->rx_curr_get_info.block_index = get_block; in rx_intr_handler()
2958 rxdp = ring_data->rx_blocks[get_block].block_virt_addr; in rx_intr_handler()
[all …]
/linux-6.12.1/fs/ext4/
Dinode.c1017 get_block_t *get_block) in ext4_block_write_begin() argument
1056 err = get_block(inode, block, bh, 1); in ext4_block_write_begin()
6095 get_block_t *get_block; in ext4_page_mkwrite() local
6162 get_block = ext4_get_block_unwritten; in ext4_page_mkwrite()
6164 get_block = ext4_get_block; in ext4_page_mkwrite()
6178 err = block_page_mkwrite(vma, vmf, get_block); in ext4_page_mkwrite()
Dext4.h3860 get_block_t *get_block);
/linux-6.12.1/fs/affs/
DChanges300 - The same get_block()-routine can now be used for