/kernel/linux/linux-6.6/fs/ |
H A D | mpage.c | 95 * support function for mpage_readahead. The fs supplied get_block might 98 * to get_block. 147 get_block_t *get_block; member 157 * get_block() call. 234 if (args->get_block(inode, block_in_file, map_bh, 0)) in do_mpage_readpage() 249 * the get_block call, in which case we don't want to in do_mpage_readpage() 251 * we just collected from get_block into the folio's buffers in do_mpage_readpage() 252 * so read_folio doesn't have to repeat the get_block call in do_mpage_readpage() 325 block_read_full_folio(folio, args->get_block); in do_mpage_readpage() 334 * @get_block 370 mpage_readahead(struct readahead_control *rac, get_block_t get_block) mpage_readahead() argument 392 mpage_read_folio(struct folio *folio, get_block_t get_block) mpage_read_folio() argument 427 get_block_t *get_block; global() member 669 mpage_writepages(struct address_space *mapping, struct writeback_control *wbc, get_block_t get_block) mpage_writepages() argument [all...] |
H A D | buffer.c | 1628 * The get_block cached value has been unconditionally invalidated, in block_invalidate_folio() 1785 * No No "unknown" - must do get_block() 1810 get_block_t *get_block, struct writeback_control *wbc, in __block_write_full_folio() 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() 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() 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() 1809 __block_write_full_folio(struct inode *inode, struct folio *folio, get_block_t *get_block, struct writeback_control *wbc, bh_end_io_t *handler) __block_write_full_folio() argument 2082 __block_write_begin_int(struct folio *folio, loff_t pos, unsigned len, get_block_t *get_block, const struct iomap *iomap) __block_write_begin_int() argument 2166 __block_write_begin(struct page *page, loff_t pos, unsigned len, get_block_t *get_block) __block_write_begin() argument 2217 block_write_begin(struct address_space *mapping, loff_t pos, unsigned len, struct page **pagep, get_block_t *get_block) block_write_begin() argument 2363 block_read_full_folio(struct folio *folio, get_block_t *get_block) block_read_full_folio() argument 2565 cont_write_begin(struct file *file, struct address_space *mapping, loff_t pos, unsigned len, struct page **pagep, void **fsdata, get_block_t *get_block, loff_t *bytes) cont_write_begin() argument 2614 block_page_mkwrite(struct vm_area_struct *vma, struct vm_fault *vmf, get_block_t get_block) block_page_mkwrite() argument 2652 block_truncate_page(struct address_space *mapping, loff_t from, get_block_t *get_block) block_truncate_page() argument 2728 block_write_full_page(struct page *page, get_block_t *get_block, struct writeback_control *wbc) block_write_full_page() argument 2760 generic_block_bmap(struct address_space *mapping, sector_t block, get_block_t *get_block) generic_block_bmap() argument [all...] |
H A D | direct-io.c | 88 get_block_t *get_block; /* block mapping function */ member 241 * get_block. Pass the private field of the map buffer_head so that 242 * filesystems can use it to hold additional state between get_block calls and 587 * get_block() is passed the number of i_blkbits-sized blocks which direct_io 600 * block at a time - it will repeatedly call get_block() as it walks the hole. 647 ret = (*sdio->get_block)(dio->inode, fs_startblk, in get_more_blocks() 843 * If we are not writing the entire block and get_block() allocated 895 * So what we do is to permit the ->get_block function to populate bh.b_size 899 * it should set b_size to PAGE_SIZE or more inside get_block(). This gives 1106 get_block_t get_block, dio_iodone_ in __blockdev_direct_IO() 1104 __blockdev_direct_IO(struct kiocb *iocb, struct inode *inode, struct block_device *bdev, struct iov_iter *iter, get_block_t get_block, dio_iodone_t end_io, int flags) __blockdev_direct_IO() argument [all...] |
H A D | internal.h | 36 get_block_t *get_block, const struct iomap *iomap);
|
/kernel/linux/linux-5.10/fs/ |
H A D | mpage.c | 94 * support function for mpage_readahead. The fs supplied get_block might 97 * to get_block. 144 get_block_t *get_block; member 154 * get_block() call. 231 if (args->get_block(inode, block_in_file, map_bh, 0)) in do_mpage_readpage() 246 * the get_block call, in which case we don't want to in do_mpage_readpage() 248 * we just collected from get_block into the page's buffers in do_mpage_readpage() 249 * so readpage doesn't have to repeat the get_block call in do_mpage_readpage() 334 block_read_full_page(page, args->get_block); in do_mpage_readpage() 343 * @get_block 379 mpage_readahead(struct readahead_control *rac, get_block_t get_block) mpage_readahead() argument 402 mpage_readpage(struct page *page, get_block_t get_block) mpage_readpage() argument 437 get_block_t *get_block; global() member 696 mpage_writepages(struct address_space *mapping, struct writeback_control *wbc, get_block_t get_block) mpage_writepages() argument 726 mpage_writepage(struct page *page, get_block_t get_block, struct writeback_control *wbc) mpage_writepage() argument [all...] |
H A D | buffer.c | 1540 * The get_block cached value has been unconditionally invalidated, in block_invalidatepage() 1688 * No No "unknown" - must do get_block() 1713 get_block_t *get_block, struct writeback_control *wbc, in __block_write_full_page() 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() 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() 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() 1712 __block_write_full_page(struct inode *inode, struct page *page, get_block_t *get_block, struct writeback_control *wbc, bh_end_io_t *handler) __block_write_full_page() argument 1973 __block_write_begin_int(struct page *page, loff_t pos, unsigned len, get_block_t *get_block, struct iomap *iomap) __block_write_begin_int() argument 2058 __block_write_begin(struct page *page, loff_t pos, unsigned len, get_block_t *get_block) __block_write_begin() argument 2109 block_write_begin(struct address_space *mapping, loff_t pos, unsigned len, unsigned flags, struct page **pagep, get_block_t *get_block) block_write_begin() argument 2259 block_read_full_page(struct page *page, get_block_t *get_block) block_read_full_page() argument 2449 cont_write_begin(struct file *file, struct address_space *mapping, loff_t pos, unsigned len, unsigned flags, struct page **pagep, void **fsdata, get_block_t *get_block, loff_t *bytes) cont_write_begin() argument 2499 block_page_mkwrite(struct vm_area_struct *vma, struct vm_fault *vmf, get_block_t get_block) block_page_mkwrite() argument 2577 nobh_write_begin(struct address_space *mapping, loff_t pos, unsigned len, unsigned flags, struct page **pagep, void **fsdata, get_block_t *get_block) nobh_write_begin() argument 2758 nobh_writepage(struct page *page, get_block_t *get_block, struct writeback_control *wbc) nobh_writepage() argument 2795 nobh_truncate_page(struct address_space *mapping, loff_t from, get_block_t *get_block) nobh_truncate_page() argument 2873 block_truncate_page(struct address_space *mapping, loff_t from, get_block_t *get_block) block_truncate_page() argument 2952 block_write_full_page(struct page *page, get_block_t *get_block, struct writeback_control *wbc) block_write_full_page() argument 2985 generic_block_bmap(struct address_space *mapping, sector_t block, get_block_t *get_block) generic_block_bmap() argument [all...] |
H A D | direct-io.c | 88 get_block_t *get_block; /* block mapping function */ member 232 * get_block. Pass the private field of the map buffer_head so that 233 * filesystems can use it to hold additional state between get_block calls and 612 * get_block() is passed the number of i_blkbits-sized blocks which direct_io 625 * block at a time - it will repeatedly call get_block() as it walks the hole. 671 ret = (*sdio->get_block)(dio->inode, fs_startblk, in get_more_blocks() 866 * If we are not writing the entire block and get_block() allocated 918 * So what we do is to permit the ->get_block function to populate bh.b_size 922 * it should set b_size to PAGE_SIZE or more inside get_block(). This gives 1129 get_block_t get_block, dio_iodone_ in do_blockdev_direct_IO() 1127 do_blockdev_direct_IO(struct kiocb *iocb, struct inode *inode, struct block_device *bdev, struct iov_iter *iter, get_block_t get_block, dio_iodone_t end_io, dio_submit_t submit_io, int flags) do_blockdev_direct_IO() argument 1348 __blockdev_direct_IO(struct kiocb *iocb, struct inode *inode, struct block_device *bdev, struct iov_iter *iter, get_block_t get_block, dio_iodone_t end_io, dio_submit_t submit_io, int flags) __blockdev_direct_IO() argument [all...] |
H A D | ioctl.c | 281 * @get_block: the fs's get_block function 284 * through get_block until we hit the number of extents we want to map, or we 296 loff_t len, get_block_t *get_block) in __generic_block_fiemap() 338 ret = get_block(inode, start_blk, &map_bh, 0); in __generic_block_fiemap() 446 * @get_block: The block mapping function for the fs 454 u64 len, get_block_t *get_block) in generic_block_fiemap() 458 ret = __generic_block_fiemap(inode, fieinfo, start, len, get_block); in generic_block_fiemap() 294 __generic_block_fiemap(struct inode *inode, struct fiemap_extent_info *fieinfo, loff_t start, loff_t len, get_block_t *get_block) __generic_block_fiemap() argument 452 generic_block_fiemap(struct inode *inode, struct fiemap_extent_info *fieinfo, u64 start, u64 len, get_block_t *get_block) generic_block_fiemap() argument
|
H A D | internal.h | 55 get_block_t *get_block, struct iomap *iomap);
|
/kernel/linux/linux-5.10/fs/sysv/ |
H A D | itree.c | 207 static int get_block(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create) in get_block() function 387 block_truncate_page(inode->i_mapping, inode->i_size, get_block); in sysv_truncate() 460 return block_write_full_page(page,get_block,wbc); in sysv_writepage() 465 return block_read_full_page(page,get_block); in sysv_readpage() 470 return __block_write_begin(page, pos, len, get_block); in sysv_prepare_chunk() 489 ret = block_write_begin(mapping, pos, len, flags, pagep, get_block); in sysv_write_begin() 498 return generic_block_bmap(mapping,block,get_block); in sysv_bmap()
|
/kernel/linux/linux-6.6/fs/sysv/ |
H A D | itree.c | 207 static int get_block(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create) 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()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | buffer_head.h | 27 BH_New, /* Disk mapping was newly created by get_block */ 253 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,
|
H A D | fiemap.h | 23 get_block_t *get_block);
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | buffer_head.h | 26 BH_New, /* Disk mapping was newly created by get_block */ 257 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);
|
/kernel/linux/linux-5.10/fs/minix/ |
H A D | itree_v1.c | 56 return get_block(inode, block, bh_result, create); in V1_minix_get_block()
|
H A D | itree_v2.c | 64 return get_block(inode, block, bh_result, create); in V2_minix_get_block()
|
H A D | itree_common.c | 152 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-6.6/fs/minix/ |
H A D | itree_v1.c | 56 return get_block(inode, block, bh_result, create); in V1_minix_get_block()
|
H A D | itree_v2.c | 64 return get_block(inode, block, bh_result, create); in V2_minix_get_block()
|
H A D | itree_common.c | 152 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/ |
H A D | dm-era-target.c | 1196 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-6.6/drivers/md/ |
H A D | dm-era-target.c | 1217 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()
|
/kernel/linux/linux-5.10/fs/ocfs2/ |
H A D | aops.c | 149 mlog(ML_NOTICE, "get_block on system inode 0x%p (%lu)\n", in ocfs2_get_block() 314 * block_read_full_page->get_block freaks out if it is asked to read in ocfs2_readpage() 2448 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-6.6/fs/ocfs2/ |
H A D | aops.c | 147 mlog(ML_NOTICE, "get_block on system inode 0x%p (%lu)\n", in ocfs2_get_block() 311 * block_read_full_folio->get_block freaks out if it is asked to read in ocfs2_read_folio() 2445 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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/neterion/ |
H A D | s2io.c | 2889 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] in rx_intr_handler() 7355 int get_block = ring_data->rx_curr_get_info.block_index; rx_osm_handler() local [all...] |