Searched refs:bio_max_segs (Results 1 – 19 of 19) sorted by relevance
/linux/drivers/nvme/target/ |
A D | io-cmd-bdev.c | 195 bio_max_segs(req->metadata_sg_cnt)); in nvmet_bdev_alloc_bip() 272 bio = bio_alloc(GFP_KERNEL, bio_max_segs(sg_cnt)); in nvmet_bdev_execute_rw() 299 bio = bio_alloc(GFP_KERNEL, bio_max_segs(sg_cnt)); in nvmet_bdev_execute_rw()
|
A D | passthru.c | 211 bio = bio_alloc(GFP_KERNEL, bio_max_segs(req->sg_cnt)); in nvmet_passthru_map_sg()
|
/linux/fs/xfs/ |
A D | xfs_bio_io.c | 9 return bio_max_segs(howmany(count, PAGE_SIZE)); in bio_max_vecs()
|
A D | xfs_buf.c | 1441 nr_pages = bio_max_segs(total_nr_pages); in xfs_buf_ioapply_map()
|
/linux/drivers/md/ |
A D | dm-log-writes.c | 274 bio_pages = bio_max_segs(DIV_ROUND_UP(datalen, PAGE_SIZE)); in write_inline_data() 366 bio = bio_alloc(GFP_KERNEL, bio_max_segs(block->vec_cnt)); in log_one_block() 389 bio_max_segs(block->vec_cnt - i)); in log_one_block()
|
A D | dm-io.c | 344 num_bvecs = bio_max_segs(dm_sector_div_up(remaining, in do_region()
|
/linux/drivers/target/ |
A D | target_core_iblock.c | 356 bio = bio_alloc_bioset(GFP_NOIO, bio_max_segs(sg_num), in iblock_get_bio() 677 bip = bio_integrity_alloc(bio, GFP_NOIO, bio_max_segs(cmd->t_prot_nents)); in iblock_alloc_bip()
|
A D | target_core_pscsi.c | 883 nr_vecs = bio_max_segs(nr_pages); in pscsi_map_sg()
|
/linux/fs/ext4/ |
A D | readpage.c | 374 bio = bio_alloc(GFP_KERNEL, bio_max_segs(nr_pages)); in ext4_mpage_readpages()
|
/linux/block/ |
A D | blk-map.c | 152 nr_pages = bio_max_segs(DIV_ROUND_UP(offset + len, PAGE_SIZE)); in bio_copy_user_iov()
|
A D | fops.c | 386 return __blkdev_direct_IO(iocb, iter, bio_max_segs(nr_pages)); in blkdev_direct_IO()
|
/linux/fs/ |
A D | mpage.c | 307 bio_max_segs(args->nr_pages), gfp); in do_mpage_readpage()
|
A D | direct-io.c | 694 nr_pages = bio_max_segs(sdio->pages_in_io); in dio_new_bio()
|
/linux/include/linux/ |
A D | bio.h | 15 static inline unsigned int bio_max_segs(unsigned int nr_segs) in bio_max_segs() function
|
/linux/fs/nfs/blocklayout/ |
A D | blocklayout.c | 124 npg = bio_max_segs(npg); in bl_alloc_init_bio()
|
/linux/drivers/block/xen-blkback/ |
A D | blkback.c | 1329 bio = bio_alloc(GFP_KERNEL, bio_max_segs(nseg - i)); in dispatch_rw_block_io()
|
/linux/fs/iomap/ |
A D | buffered-io.c | 300 ctx->bio = bio_alloc(gfp, bio_max_segs(nr_vecs)); in iomap_readpage_iter()
|
/linux/fs/f2fs/ |
A D | node.c | 2821 nrpages = bio_max_segs(last_offset - i); in f2fs_restore_node_summary()
|
A D | data.c | 989 bio_max_segs(nr_pages), &f2fs_bioset); in f2fs_grab_read_bio()
|
Completed in 44 milliseconds