Home
last modified time | relevance | path

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

/linux/fs/
H A Dmpage.c139 get_block_t *get_block; member
222 if (args->get_block(inode, block_in_file, map_bh, 0)) in do_mpage_readpage()
314 block_read_full_folio(folio, args->get_block); in do_mpage_readpage()
359 void mpage_readahead(struct readahead_control *rac, get_block_t get_block) in mpage_readahead() argument
363 .get_block = get_block, in mpage_readahead()
387 int mpage_read_folio(struct folio *folio, get_block_t get_block) in mpage_read_folio() argument
392 .get_block = get_block, in mpage_read_folio()
422 get_block_t *get_block; member
545 if (mpd->get_block(inode, block_in_file, &map_bh, 1)) in mpage_write_folio()
641 ret = block_write_full_folio(folio, wbc, mpd->get_block); in mpage_write_folio()
[all …]
H A Dbuffer.c1837 get_block_t *get_block, struct writeback_control *wbc) in __block_write_full_folio() argument
1885 err = get_block(inode, block, bh, 1); in __block_write_full_folio()
2111 get_block_t *get_block, const struct iomap *iomap) in __block_write_begin_int() argument
2144 if (get_block) in __block_write_begin_int()
2145 err = get_block(inode, block, bh, 1); in __block_write_begin_int()
2192 get_block_t *get_block) in __block_write_begin() argument
2194 return __block_write_begin_int(folio, pos, len, get_block, NULL); in __block_write_begin()
2245 struct folio **foliop, get_block_t *get_block) in block_write_begin() argument
2256 status = __block_write_begin_int(folio, pos, len, get_block, NULL); in block_write_begin()
2389 int block_read_full_folio(struct folio *folio, get_block_t *get_block) in block_read_full_folio() argument
[all …]
H A Dinternal.h37 get_block_t *get_block, const struct iomap *iomap);
/linux/include/linux/
H A 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);
H A Dbuffer_head.h256 void *get_block);
258 get_block_t *get_block, struct writeback_control *wbc);
262 struct folio **foliop, get_block_t *get_block);
264 get_block_t *get_block);
276 get_block_t get_block);
/linux/fs/minix/
H A Ditree_v1.c56 return get_block(inode, block, bh_result, create); in V1_minix_get_block()
H A Ditree_v2.c64 return get_block(inode, block, bh_result, create); in V2_minix_get_block()
H A 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/Documentation/filesystems/iomap/
H A 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/drivers/md/
H A 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/fs/ocfs2/
H A Daops.c2422 get_block_t *get_block; in ocfs2_direct_IO() local
2437 get_block = ocfs2_lock_get_block; in ocfs2_direct_IO()
2439 get_block = ocfs2_dio_wr_get_block; in ocfs2_direct_IO()
2442 iter, get_block, in ocfs2_direct_IO()
/linux/fs/ext4/
H A Dinode.c1164 get_block_t *get_block) in ext4_block_write_begin() argument
1203 err = get_block(inode, block, bh, 1); in ext4_block_write_begin()
6602 get_block_t get_block) in ext4_block_page_mkwrite() argument
6628 ret = ext4_block_write_begin(handle, folio, 0, len, get_block); in ext4_block_page_mkwrite()
6661 get_block_t *get_block = ext4_get_block; in ext4_page_mkwrite() local
6728 get_block = ext4_get_block_unwritten; in ext4_page_mkwrite()
6731 err = ext4_block_page_mkwrite(inode, folio, get_block); in ext4_page_mkwrite()
/linux/fs/affs/
H A DChanges300 - The same get_block()-routine can now be used for