Searched refs:get_block (Results 1 - 15 of 15) sorted by relevance

/linux-master/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.h26 BH_New, /* Disk mapping was newly created by get_block */
255 void *get_block);
257 get_block_t *get_block, struct writeback_control *wbc);
261 struct page **pagep, get_block_t *get_block);
263 get_block_t *get_block);
277 get_block_t get_block);
H A Dfs.h3181 get_block_t get_block,
3188 get_block_t get_block)
3191 get_block, NULL, DIO_LOCKING | DIO_SKIP_HOLES);
3185 blockdev_direct_IO(struct kiocb *iocb, struct inode *inode, struct iov_iter *iter, get_block_t get_block) argument
/linux-master/fs/
H A Dmpage.c95 * support function for mpage_readahead. The fs supplied get_block might
98 * to get_block.
146 get_block_t *get_block; member in struct:mpage_readpage_args
156 * get_block() call.
232 if (args->get_block(inode, block_in_file, map_bh, 0))
247 * the get_block call, in which case we don't want to
249 * we just collected from get_block into the folio's buffers
250 * so read_folio doesn't have to repeat the get_block call
324 block_read_full_folio(folio, args->get_block);
333 * @get_block
369 mpage_readahead(struct readahead_control *rac, get_block_t get_block) argument
391 mpage_read_folio(struct folio *folio, get_block_t get_block) argument
426 get_block_t *get_block; member in struct:mpage_data
663 mpage_writepages(struct address_space *mapping, struct writeback_control *wbc, get_block_t get_block) argument
[all...]
H A Dbuffer.c1629 * The get_block cached value has been unconditionally invalidated,
1771 * No No "unknown" - must do get_block()
1796 get_block_t *get_block, struct writeback_control *wbc)
1844 err = get_block(inode, block, bh, 1);
2071 get_block_t *get_block, const struct iomap *iomap)
2104 if (get_block)
2105 err = get_block(inode, block, bh, 1);
2152 get_block_t *get_block)
2154 return __block_write_begin_int(page_folio(page), pos, len, get_block,
2203 struct page **pagep, get_block_t *get_block)
1795 __block_write_full_folio(struct inode *inode, struct folio *folio, get_block_t *get_block, struct writeback_control *wbc) argument
2070 __block_write_begin_int(struct folio *folio, loff_t pos, unsigned len, get_block_t *get_block, const struct iomap *iomap) argument
2151 __block_write_begin(struct page *page, loff_t pos, unsigned len, get_block_t *get_block) argument
2202 block_write_begin(struct address_space *mapping, loff_t pos, unsigned len, struct page **pagep, get_block_t *get_block) argument
2348 block_read_full_folio(struct folio *folio, get_block_t *get_block) argument
2547 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) argument
2596 block_page_mkwrite(struct vm_area_struct *vma, struct vm_fault *vmf, get_block_t get_block) argument
2634 block_truncate_page(struct address_space *mapping, loff_t from, get_block_t *get_block) argument
2708 block_write_full_folio(struct folio *folio, struct writeback_control *wbc, void *get_block) argument
2736 generic_block_bmap(struct address_space *mapping, sector_t block, get_block_t *get_block) argument
[all...]
H A Ddirect-io.c88 get_block_t *get_block; /* block mapping function */ member in struct:dio_submit
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
589 * get_block() is passed the number of i_blkbits-sized blocks which direct_io
602 * block at a time - it will repeatedly call get_block() as it walks the hole.
649 ret = (*sdio->get_block)(dio->inode, fs_startblk,
845 * If we are not writing the entire block and get_block() allocated
897 * So what we do is to permit the ->get_block function to populate bh.b_size
901 * it should set b_size to PAGE_SIZE or more inside get_block(). This gives
1108 get_block_t get_block, dio_iodone_
1106 __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) argument
[all...]
H A Dinternal.h36 get_block_t *get_block, const struct iomap *iomap);
/linux-master/fs/minix/
H A Ditree_v1.c56 return get_block(inode, block, bh_result, create);
H A Ditree_v2.c64 return get_block(inode, block, bh_result, create);
H A Ditree_common.c152 static int get_block(struct inode * inode, sector_t block, function
313 block_truncate_page(inode->i_mapping, inode->i_size, get_block);
/linux-master/fs/sysv/
H A Ditree.c208 static int get_block(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create) function
386 block_truncate_page(inode->i_mapping, inode->i_size, get_block);
461 return mpage_writepages(mapping, wbc, get_block);
466 return block_read_full_folio(folio, get_block);
471 return __block_write_begin(page, pos, len, get_block);
490 ret = block_write_begin(mapping, pos, len, pagep, get_block);
499 return generic_block_bmap(mapping,block,get_block);
/linux-master/drivers/md/
H A Ddm-era-target.c1217 static dm_block_t get_block(struct era *era, struct bio *bio) function
1284 get_block(era, bio));
1314 set_bit(get_block(era, bio), ws->bits);
1564 dm_block_t block = get_block(era, bio);
/linux-master/fs/ocfs2/
H A Daops.c147 mlog(ML_NOTICE, "get_block on system inode 0x%p (%lu)\n",
311 * block_read_full_folio->get_block freaks out if it is asked to read
2443 get_block_t *get_block; local
2458 get_block = ocfs2_lock_get_block;
2460 get_block = ocfs2_dio_wr_get_block;
2463 iter, get_block,
/linux-master/drivers/net/ethernet/neterion/
H A Ds2io.c2892 int get_block, put_block; local
2905 get_block = get_info.block_index;
2908 rxdp = ring_data->rx_blocks[get_block].rxds[get_info.offset].virt_addr;
2915 if ((get_block == put_block) &&
2949 rxdp = ring_data->rx_blocks[get_block].
2954 get_block++;
2955 if (get_block == ring_data->block_count)
2956 get_block = 0;
2957 ring_data->rx_curr_get_info.block_index = get_block;
2958 rxdp = ring_data->rx_blocks[get_block]
7363 int get_block = ring_data->rx_curr_get_info.block_index; local
[all...]
/linux-master/fs/ext4/
H A Dinode.c613 * the write lock of i_data_sem, and call get_block()
745 * to pass to / from get_block functions, this can go away.
1017 get_block_t *get_block)
1055 err = get_block(inode, block, bh, 1);
1827 * get_block multiple times when we write to the same
6053 get_block_t *get_block; local
6120 get_block = ext4_get_block_unwritten;
6122 get_block = ext4_get_block;
6136 err = block_page_mkwrite(vma, vmf, get_block);
1016 ext4_block_write_begin(struct folio *folio, loff_t pos, unsigned len, get_block_t *get_block) argument

Completed in 282 milliseconds