Searched refs:nr_bvecs (Results 1 - 6 of 6) sorted by relevance

/linux-master/block/
H A Dbio-integrity.c284 unsigned int nr_bvecs = 0; local
303 bvec_set_page(&bvec[nr_bvecs], pages[i], size, offset);
305 nr_bvecs++;
308 return nr_bvecs;
318 unsigned int direction, nr_bvecs; local
350 nr_bvecs = bvec_from_pages(bvec, pages, nr_vecs, bytes, offset);
353 if (nr_bvecs > queue_max_integrity_segments(q))
357 ret = bio_integrity_copy_user(bio, bvec, nr_bvecs, bytes,
360 ret = bio_integrity_init_user(bio, bvec, nr_bvecs, bytes, seed);
369 bio_integrity_unpin_bvec(bvec, nr_bvecs, fals
[all...]
/linux-master/io_uring/
H A Drsrc.h53 unsigned int nr_bvecs; member in struct:io_mapped_ubuf
55 struct bio_vec bvec[] __counted_by(nr_bvecs);
H A Drsrc.c141 for (i = 0; i < imu->nr_bvecs; i++)
832 for (j = 0; j < imu->nr_bvecs; j++) {
976 imu->nr_bvecs = nr_pages;
1079 iov_iter_bvec(iter, ddir, imu->bvec, imu->nr_bvecs, offset + len);
/linux-master/fs/bcachefs/
H A Djournal.c1315 unsigned nr_bvecs = DIV_ROUND_UP(JOURNAL_ENTRY_SIZE_MAX, PAGE_SIZE); local
1319 nr_bvecs), GFP_KERNEL);
1325 bio_init(&ja->bio[i]->bio, NULL, ja->bio[i]->bio.bi_inline_vecs, nr_bvecs, 0);
H A Dsuper-io.c196 unsigned nr_bvecs = buf_pages(sb->sb, new_buffer_size); local
198 bio = bio_kmalloc(nr_bvecs, GFP_KERNEL);
202 bio_init(bio, NULL, bio->bi_inline_vecs, nr_bvecs, 0);
H A Djournal_io.c1001 unsigned nr_bvecs; local
1005 nr_bvecs = buf_pages(buf->data, sectors_read << 9);
1007 bio = bio_kmalloc(nr_bvecs, GFP_KERNEL);
1008 bio_init(bio, ca->disk_sb.bdev, bio->bi_inline_vecs, nr_bvecs, REQ_OP_READ);

Completed in 135 milliseconds