Searched refs:nr_bvecs (Results 1 – 6 of 6) sorted by relevance
/linux-6.12.1/block/ |
D | bio-integrity.c | 279 unsigned int nr_bvecs = 0; in bvec_from_pages() local 298 bvec_set_page(&bvec[nr_bvecs], pages[i], size, offset); in bvec_from_pages() 300 nr_bvecs++; in bvec_from_pages() 303 return nr_bvecs; in bvec_from_pages() 313 unsigned int direction, nr_bvecs; in bio_integrity_map_user() local 345 nr_bvecs = bvec_from_pages(bvec, pages, nr_vecs, bytes, offset); in bio_integrity_map_user() 348 if (nr_bvecs > queue_max_integrity_segments(q)) in bio_integrity_map_user() 352 ret = bio_integrity_copy_user(bio, bvec, nr_bvecs, bytes, in bio_integrity_map_user() 355 ret = bio_integrity_init_user(bio, bvec, nr_bvecs, bytes, seed); in bio_integrity_map_user() 364 bio_integrity_unpin_bvec(bvec, nr_bvecs, false); in bio_integrity_map_user()
|
/linux-6.12.1/io_uring/ |
D | rsrc.h | 46 unsigned int nr_bvecs; member 50 struct bio_vec bvec[] __counted_by(nr_bvecs);
|
D | rsrc.c | 122 for (i = 0; i < imu->nr_bvecs; i++) in io_buffer_unmap() 818 for (j = 0; j < imu->nr_bvecs; j++) { in headpage_already_acct() 995 imu->nr_bvecs = nr_pages; in io_sqe_buffer_register() 1108 iov_iter_bvec(iter, ddir, imu->bvec, imu->nr_bvecs, offset + len); in io_import_fixed()
|
/linux-6.12.1/fs/bcachefs/ |
D | journal.c | 1336 unsigned nr_bvecs = DIV_ROUND_UP(JOURNAL_ENTRY_SIZE_MAX, PAGE_SIZE); in bch2_dev_journal_init() local 1340 nr_bvecs), GFP_KERNEL); in bch2_dev_journal_init() 1346 bio_init(&ja->bio[i]->bio, NULL, ja->bio[i]->bio.bi_inline_vecs, nr_bvecs, 0); in bch2_dev_journal_init()
|
D | super-io.c | 196 unsigned nr_bvecs = buf_pages(sb->sb, new_buffer_size); in bch2_sb_realloc() local 198 bio = bio_kmalloc(nr_bvecs, GFP_KERNEL); in bch2_sb_realloc() 202 bio_init(bio, NULL, bio->bi_inline_vecs, nr_bvecs, 0); in bch2_sb_realloc()
|
D | journal_io.c | 1011 unsigned nr_bvecs; in journal_read_bucket() local 1015 nr_bvecs = buf_pages(buf->data, sectors_read << 9); in journal_read_bucket() 1017 bio = bio_kmalloc(nr_bvecs, GFP_KERNEL); in journal_read_bucket() 1020 bio_init(bio, ca->disk_sb.bdev, bio->bi_inline_vecs, nr_bvecs, REQ_OP_READ); in journal_read_bucket()
|