Searched refs:bio (Results 251 - 275 of 376) sorted by relevance

<<111213141516

/linux-master/drivers/md/dm-vdo/
H A Ddata-vio.h10 #include <linux/bio.h>
250 /* The user bio that initiated this VIO */
251 struct bio *user_bio;
334 void vdo_launch_bio(struct data_vio_pool *pool, struct bio *bio);
622 * launch_data_vio_bio_zone_callback() - Set a callback as a bio zone operation and invoke it
H A Dpacker.c408 * @bio: The bio for the compressed write.
410 static void compressed_write_end_io(struct bio *bio) argument
412 struct data_vio *data_vio = vio_as_data_vio(bio->bi_private);
414 vdo_count_completed_bios(bio);
416 continue_data_vio_with_error(data_vio, blk_status_to_errno(bio->bi_status));
H A Dslab-depot.c9 #include <linux/bio.h>
301 static void write_slab_summary_endio(struct bio *bio) argument
303 struct vio *vio = bio->bi_private;
434 static void flush_endio(struct bio *bio) argument
436 struct vio *vio = bio->bi_private;
727 static void write_slab_journal_endio(struct bio *bio) argument
729 struct vio *vio = bio
1153 write_reference_block_endio(struct bio *bio) argument
2254 load_reference_block_endio(struct bio *bio) argument
2437 read_slab_journal_tail_endio(struct bio *bio) argument
2899 read_slab_journal_endio(struct bio *bio) argument
4460 write_summary_endio(struct bio *bio) argument
4527 load_summary_endio(struct bio *bio) argument
[all...]
/linux-master/fs/udf/
H A Ddir.c29 #include <linux/bio.h>
/linux-master/fs/bcachefs/
H A Dutil.c9 #include <linux/bio.h>
630 void bch2_bio_map(struct bio *bio, void *base, size_t size) argument
639 BUG_ON(!bio_add_page(bio, page, len, offset));
645 int bch2_bio_alloc_pages(struct bio *bio, size_t size, gfp_t gfp_mask) argument
654 if (unlikely(!bio_add_page(bio, page, len, 0))) {
680 void memcpy_to_bio(struct bio *dst, struct bvec_iter dst_iter, const void *src)
695 void memcpy_from_bio(void *dst, struct bio *src, struct bvec_iter src_iter)
H A Dbtree_io.h46 struct bio bio; member in struct:btree_read_bio
H A Dutil.h5 #include <linux/bio.h>
445 void bch2_bio_map(struct bio *bio, void *base, size_t);
446 int bch2_bio_alloc_pages(struct bio *, size_t, gfp_t);
453 #define closure_bio_submit(bio, cl) \
456 submit_bio(bio); \
501 void memcpy_to_bio(struct bio *, struct bvec_iter, const void *);
502 void memcpy_from_bio(void *, struct bio *, struct bvec_iter);
H A Dbackpointers.c446 struct bio *bio = NULL; local
473 bio = bio_alloc(ca->disk_sb.bdev, buf_pages(data_buf, bytes), REQ_OP_READ, GFP_KERNEL);
474 bio->bi_iter.bi_sector = p.ptr.offset;
475 bch2_bio_map(bio, data_buf, bytes);
476 ret = submit_bio_wait(bio);
494 if (bio)
495 bio_put(bio);
H A Djournal.c1281 for (unsigned i = 0; i < ARRAY_SIZE(ja->bio); i++) {
1282 kfree(ja->bio[i]);
1283 ja->bio[i] = NULL;
1317 for (unsigned i = 0; i < ARRAY_SIZE(ja->bio); i++) {
1318 ja->bio[i] = kmalloc(struct_size(ja->bio[i], bio.bi_inline_vecs,
1320 if (!ja->bio[i])
1323 ja->bio[i]->ca = ca;
1324 ja->bio[
[all...]
/linux-master/fs/ntfs3/
H A Dfsntfs.c1502 struct bio *new, *bio = NULL; local
1537 if (bio) {
1538 bio_chain(bio, new);
1539 submit_bio(bio);
1541 bio = new;
1542 bio->bi_iter.bi_sector = lbo >> 9;
1548 if (bio_add_page(bio, page, add, off) < add)
1580 if (bio) {
1582 err = submit_bio_wait(bio);
1602 struct bio *new, *bio = NULL; local
[all...]
/linux-master/drivers/md/
H A Ddm-bio-prison-v2.c9 #include "dm-bio-prison-v2.h"
153 struct bio *inmate,
176 struct bio *inmate,
H A Ddm-core.h100 * requeue work context is needed for cloning one new bio
102 * dm_io may point to the original bio from FS.
240 * One of these is allocated per clone bio.
251 struct bio clone;
282 * One of these is allocated per original bio.
298 /* The three fields represent mapped part of original bio */
299 struct bio *orig_bio;
303 /* last member of dm_target_io is 'struct bio' */
H A Ddm-bufio.c1274 * it is not vmalloced, try using the bio interface.
1277 * rejects the bio because it is too large, use dm-io layer to do the I/O.
1284 * dm-io completion routine. It just calls b->bio.bi_end_io, pretending
1285 * that the request was handled directly with bio interface.
1324 static void bio_complete(struct bio *bio) argument
1326 struct dm_buffer *b = bio->bi_private;
1327 blk_status_t status = bio->bi_status;
1329 bio_uninit(bio);
1330 kfree(bio);
1338 struct bio *bio; local
[all...]
H A Ddm-verity-fec.c133 struct bio *bio = dm_bio_from_per_bio_data(io, v->ti->per_io_data_size); local
135 par = fec_read_parity(v, rsb, block_offset, &offset, &buf, bio_prio(bio));
163 par = fec_read_parity(v, rsb, block_offset, &offset, &buf, bio_prio(bio));
215 struct bio *bio = dm_bio_from_per_bio_data(io, v->ti->per_io_data_size); local
254 bbuf = dm_bufio_read_with_ioprio(bufio, block, &buf, bio_prio(bio));
487 * Clean up per-bio data.
510 * Initialize per-bio data.
822 /* Reserve space for our per-bio dat
[all...]
/linux-master/drivers/scsi/
H A Dscsi_ioctl.c373 struct bio *bio)
403 r = blk_rq_unmap_user(bio);
419 struct bio *bio; local
462 bio = rq->bio;
471 ret = scsi_complete_sghdr_rq(rq, hdr, bio);
372 scsi_complete_sghdr_rq(struct request *rq, struct sg_io_hdr *hdr, struct bio *bio) argument
H A Dsr.c40 #include <linux/bio.h>
325 if (rq->bio != NULL)
326 block_sectors = bio_sectors(rq->bio);
934 struct bio *bio; local
958 bio = rq->bio;
970 if (blk_rq_unmap_user(bio))
/linux-master/fs/gfs2/
H A Dops_fstype.c187 static void end_bio_io_page(struct bio *bio) argument
189 struct page *page = bio->bi_private;
191 if (!bio->bi_status)
194 pr_warn("error %d reading superblock\n", bio->bi_status);
226 * This uses the bio functions to read the super block from disk
244 struct bio *bio; local
254 bio = bio_alloc(sb->s_bdev, 1, REQ_OP_READ | REQ_META, GFP_NOFS);
255 bio
[all...]
/linux-master/drivers/nvdimm/
H A Dbtt.c1435 static void btt_submit_bio(struct bio *bio) argument
1437 struct bio_integrity_payload *bip = bio_integrity(bio);
1438 struct btt *btt = bio->bi_bdev->bd_disk->private_data;
1445 if (!bio_integrity_prep(bio))
1448 do_acct = blk_queue_io_stat(bio->bi_bdev->bd_disk->queue);
1450 start = bio_start_io_acct(bio);
1451 bio_for_each_segment(bvec, bio, iter) {
1457 "unaligned bio segment (len: %d)\n", len);
1458 bio
[all...]
/linux-master/fs/btrfs/
H A Dvolumes.h163 struct bio flush_bio;
456 * Used by submit_stripe_bio() for mapping logical bio
470 struct bio *orig_bio;
631 static inline enum btrfs_map_op btrfs_op(struct bio *bio) argument
633 switch (bio_op(bio)) {
H A Ddisk-io.c26 #include "bio.h"
272 if (WARN_ON_ONCE(bbio->bio.bi_iter.bi_size != eb->len))
3618 static void btrfs_end_super_write(struct bio *bio) argument
3620 struct btrfs_device *device = bio->bi_private;
3625 bio_for_each_segment_all(bvec, bio, iter_all) {
3628 if (bio->bi_status) {
3632 blk_status_to_errno(bio->bi_status));
3645 bio_put(bio);
3755 struct bio *bi local
3895 btrfs_end_empty_barrier(struct bio *bio) argument
3907 struct bio *bio = &device->flush_bio; local
3926 struct bio *bio = &device->flush_bio; local
[all...]
/linux-master/drivers/block/
H A Dublk_drv.c114 * Then, bio data could be copied into this data buffer for a WRITE request
630 return bio_has_data(rq->bio);
731 struct bio *bio; member in struct:ublk_io_iter
743 struct bio_vec bv = bio_iter_iovec(data->bio, data->iter);
766 /* advance bio */
767 bio_advance_iter_single(data->bio, &data->iter, bytes);
769 data->bio = data->bio->bi_next;
770 if (data->bio
780 struct bio *bio = req->bio; local
[all...]
/linux-master/block/
H A Dmq-deadline.c11 #include <linux/bio.h>
739 * Try to merge @bio into an existing request. If @bio has been merged into
743 struct bio *bio)
746 const u8 ioprio_class = IOPRIO_PRIO_CLASS(bio->bi_ioprio);
749 sector_t sector = bio_end_sector(bio);
755 __rq = elv_rb_find(&per_prio->sort_list[bio_data_dir(bio)], sector);
759 if (elv_bio_merge_ok(__rq, bio)) {
771 * Attempt to merge a bio int
742 dd_request_merge(struct request_queue *q, struct request **rq, struct bio *bio) argument
774 dd_bio_merge(struct request_queue *q, struct bio *bio, unsigned int nr_segs) argument
[all...]
/linux-master/fs/
H A Dbuffer.c42 #include <linux/bio.h>
2749 static void end_bio_bh_io_sync(struct bio *bio) argument
2751 struct buffer_head *bh = bio->bi_private;
2753 if (unlikely(bio_flagged(bio, BIO_QUIET)))
2756 bh->b_end_io(bh, !bio->bi_status);
2757 bio_put(bio);
2765 struct bio *bio; local
2784 bio
[all...]
/linux-master/fs/xfs/
H A Dxfs_aops.c180 struct bio *bio)
182 struct iomap_ioend *ioend = iomap_ioend_from_bio(bio);
179 xfs_end_bio( struct bio *bio) argument
/linux-master/drivers/block/drbd/
H A Ddrbd_receiver.c1261 static void one_flush_endio(struct bio *bio) argument
1263 struct one_flush_context *octx = bio->bi_private;
1267 if (bio->bi_status) {
1268 ctx->error = blk_status_to_errno(bio->bi_status);
1269 drbd_info(device, "local disk FLUSH FAILED with status %d\n", bio->bi_status);
1272 bio_put(bio);
1284 struct bio *bio = bio_alloc(device->ldev->backing_bdev, 0, local
1293 bio_put(bio);
1638 struct bio *bio; local
1987 struct bio *bio; local
[all...]

Completed in 415 milliseconds

<<111213141516