/openbmc/linux/fs/gfs2/ |
H A D | ops_fstype.c | 188 static void end_bio_io_page(struct bio *bio) in end_bio_io_page() argument 190 struct page *page = bio->bi_private; in end_bio_io_page() 192 if (!bio->bi_status) in end_bio_io_page() 195 pr_warn("error %d reading superblock\n", bio->bi_status); in end_bio_io_page() 245 struct bio *bio; in gfs2_read_super() local 256 bio->bi_iter.bi_sector = sector * (sb->s_blocksize >> 9); in gfs2_read_super() 257 __bio_add_page(bio, page, PAGE_SIZE, 0); in gfs2_read_super() 259 bio->bi_end_io = end_bio_io_page; in gfs2_read_super() 260 bio->bi_private = page; in gfs2_read_super() 261 submit_bio(bio); in gfs2_read_super() [all …]
|
H A D | lops.h | 20 void gfs2_log_submit_bio(struct bio **biop, blk_opf_t opf);
|
/openbmc/linux/drivers/block/null_blk/ |
H A D | null_blk.h | 21 struct bio *bio; member
|
/openbmc/linux/Documentation/admin-guide/device-mapper/ |
H A D | dm-io.rst | 37 The second I/O service type takes an array of bio vectors as the data buffer 38 for the I/O. This service can be handy if the caller has a pre-assembled bio, 39 but wants to direct different portions of the bio to different devices::
|
/openbmc/linux/fs/btrfs/ |
H A D | disk-io.c | 3635 static void btrfs_end_super_write(struct bio *bio) in btrfs_end_super_write() argument 3645 if (bio->bi_status) { in btrfs_end_super_write() 3662 bio_put(bio); in btrfs_end_super_write() 3772 struct bio *bio; in write_dev_supers() local 3835 submit_bio(bio); in write_dev_supers() 3914 static void btrfs_end_empty_barrier(struct bio *bio) in btrfs_end_empty_barrier() argument 3916 bio_uninit(bio); in btrfs_end_empty_barrier() 3926 struct bio *bio = &device->flush_bio; in write_dev_flush() local 3952 submit_bio(bio); in write_dev_flush() 3962 struct bio *bio = &device->flush_bio; in wait_dev_flush() local [all …]
|
/openbmc/linux/fs/crypto/ |
H A D | Makefile | 13 fscrypto-$(CONFIG_BLOCK) += bio.o
|
/openbmc/linux/block/ |
H A D | mq-deadline.c | 743 struct bio *bio) in dd_request_merge() argument 746 const u8 ioprio_class = IOPRIO_PRIO_CLASS(bio->bi_ioprio); in dd_request_merge() 749 sector_t sector = bio_end_sector(bio); in dd_request_merge() 755 __rq = elv_rb_find(&per_prio->sort_list[bio_data_dir(bio)], sector); in dd_request_merge() 759 if (elv_bio_merge_ok(__rq, bio)) { in dd_request_merge() 774 static bool dd_bio_merge(struct request_queue *q, struct bio *bio, in dd_bio_merge() argument 782 ret = blk_mq_sched_try_merge(q, bio, nr_segs, &free); in dd_bio_merge()
|
H A D | bfq-iosched.h | 1089 void bfq_bic_update_cgroup(struct bfq_io_cq *bic, struct bio *bio); 1091 struct bfq_group *bfq_bio_bfqg(struct bfq_data *bfqd, struct bio *bio);
|
H A D | kyber-iosched.c | 567 static bool kyber_bio_merge(struct request_queue *q, struct bio *bio, in kyber_bio_merge() argument 571 struct blk_mq_hw_ctx *hctx = blk_mq_map_queue(q, bio->bi_opf, ctx); in kyber_bio_merge() 574 unsigned int sched_domain = kyber_sched_domain(bio->bi_opf); in kyber_bio_merge() 579 merged = blk_bio_list_merge(hctx->queue, rq_list, bio, nr_segs); in kyber_bio_merge()
|
/openbmc/linux/fs/ |
H A D | buffer.c | 2773 static void end_bio_bh_io_sync(struct bio *bio) in end_bio_bh_io_sync() argument 2775 struct buffer_head *bh = bio->bi_private; in end_bio_bh_io_sync() 2777 if (unlikely(bio_flagged(bio, BIO_QUIET))) in end_bio_bh_io_sync() 2780 bh->b_end_io(bh, !bio->bi_status); in end_bio_bh_io_sync() 2781 bio_put(bio); in end_bio_bh_io_sync() 2788 struct bio *bio; in submit_bh_wbc() local 2815 bio->bi_end_io = end_bio_bh_io_sync; in submit_bh_wbc() 2816 bio->bi_private = bh; in submit_bh_wbc() 2819 guard_bio_eod(bio); in submit_bh_wbc() 2822 wbc_init_bio(wbc, bio); in submit_bh_wbc() [all …]
|
/openbmc/linux/fs/squashfs/ |
H A D | decompressor.h | 20 struct bio *, int, int, struct squashfs_page_actor *);
|
/openbmc/linux/drivers/md/ |
H A D | dm-core.h | 251 struct bio clone; 299 struct bio *orig_bio;
|
H A D | dm-bufio.c | 1323 static void bio_complete(struct bio *bio) in bio_complete() argument 1326 blk_status_t status = bio->bi_status; in bio_complete() 1328 bio_uninit(bio); in bio_complete() 1329 kfree(bio); in bio_complete() 1336 struct bio *bio; in use_bio() local 1341 if (!bio) { in use_bio() 1345 bio_init(bio, b->c->bdev, bio->bi_inline_vecs, 1, op); in use_bio() 1346 bio->bi_iter.bi_sector = sector; in use_bio() 1347 bio->bi_end_io = bio_complete; in use_bio() 1348 bio->bi_private = b; in use_bio() [all …]
|
H A D | dm-bio-prison-v2.h | 91 struct bio *inmate,
|
H A D | raid5.c | 1031 struct bio *bio; in dispatch_bio_list() local 1383 async_copy_data(int frombio, struct bio *bio, struct page **page, in async_copy_data() argument 1499 struct bio *rbi; in ops_run_biofill() 1949 struct bio *wbi; in ops_run_biodrain() 3490 struct bio **bip; in stripe_bio_overlaps() 3550 struct bio **bip; in __add_stripe_bio() 3665 struct bio *bi; in handle_failed_stripe() 5419 static int in_chunk_boundary(struct mddev *mddev, struct bio *bio) in in_chunk_boundary() argument 5451 struct bio *bi; in remove_bio_from_retry() 5586 struct bio *split; in chunk_aligned_read() [all …]
|
H A D | dm-bio-prison-v2.c | 153 struct bio *inmate, in __get() 176 struct bio *inmate, in dm_cell_get_v2()
|
/openbmc/linux/include/linux/ |
H A D | bsg-lib.h | 60 struct bio *bidi_bio;
|
/openbmc/linux/drivers/md/bcache/ |
H A D | util.h | 559 void bch_bio_map(struct bio *bio, void *base); 560 int bch_bio_alloc_pages(struct bio *bio, gfp_t gfp_mask);
|
H A D | btree.h | 145 struct bio *bio; member
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-daemons/openhpi/files/ |
H A D | openhpi-libxml2-cross-compile.patch | 20 @@ -179,7 +179,7 @@ AC_CHECK_HEADERS([openssl/md2.h openssl/md5.h openssl/bio.h openssl/ssl.h openss
|
/openbmc/linux/drivers/block/drbd/ |
H A D | drbd_receiver.c | 1261 static void one_flush_endio(struct bio *bio) in one_flush_endio() argument 1272 bio_put(bio); in one_flush_endio() 1284 struct bio *bio = bio_alloc(device->ldev->backing_bdev, 0, in submit_one_flush() local 1293 bio_put(bio); in submit_one_flush() 1309 submit_bio(bio); in submit_one_flush() 1638 struct bio *bio; in drbd_submit_peer_request() local 1699 bios = bio; in drbd_submit_peer_request() 1718 bio = bios; in drbd_submit_peer_request() 1987 struct bio *bio; in recv_dless_read() local 2438 if (m.bio) in fail_postponed_requests() [all …]
|
H A D | drbd_main.c | 1588 static int _drbd_send_bio(struct drbd_peer_device *peer_device, struct bio *bio) in _drbd_send_bio() argument 1594 bio_for_each_segment(bvec, bio, iter) { in _drbd_send_bio() 1607 static int _drbd_send_zc_bio(struct drbd_peer_device *peer_device, struct bio *bio) in _drbd_send_zc_bio() argument 1613 bio_for_each_segment(bvec, bio, iter) { in _drbd_send_zc_bio() 1646 struct bio *bio) in bio_flags_to_wire() argument 1650 (bio->bi_opf & REQ_FUA ? DP_FUA : 0) | in bio_flags_to_wire() 1651 (bio->bi_opf & REQ_PREFLUSH ? DP_FLUSH : 0) | in bio_flags_to_wire() 1653 (bio_op(bio) == REQ_OP_WRITE_ZEROES ? in bio_flags_to_wire() 1659 return bio->bi_opf & REQ_SYNC ? DP_RW_SYNC : 0; in bio_flags_to_wire() 2261 struct bio *bio = req->master_bio; in do_retry() local [all …]
|
/openbmc/linux/fs/xfs/ |
H A D | xfs_aops.c | 180 struct bio *bio) in xfs_end_bio() argument 182 struct iomap_ioend *ioend = bio->bi_private; in xfs_end_bio()
|
/openbmc/linux/drivers/scsi/ |
H A D | scsi_lib.c | 638 struct bio *bio; in scsi_rq_err_bytes() local 650 for (bio = rq->bio; bio; bio = bio->bi_next) { in scsi_rq_err_bytes() 651 if ((bio->bi_opf & ff) != ff) in scsi_rq_err_bytes() 653 bytes += bio->bi_iter.bi_size; in scsi_rq_err_bytes() 1086 ivecs = blk_rq_count_integrity_sg(rq->q, rq->bio); in scsi_alloc_sgtables() 1095 count = blk_rq_map_integrity_sg(rq->q, rq->bio, in scsi_alloc_sgtables() 1181 if (req->bio) { in scsi_setup_scsi_cmnd()
|
/openbmc/linux/fs/f2fs/ |
H A D | segment.c | 1112 static void f2fs_submit_discard_endio(struct bio *bio) in f2fs_submit_discard_endio() argument 1126 bio_put(bio); in f2fs_submit_discard_endio() 1211 struct bio *bio = bio_alloc(bdev, 0, REQ_OP_ZONE_RESET | flag, GFP_NOFS); in __submit_zone_reset_cmd() local 1232 bio->bi_private = dc; in __submit_zone_reset_cmd() 1234 submit_bio(bio); in __submit_zone_reset_cmd() 1287 struct bio *bio = NULL; in __submit_discard_cmd() local 1308 GFP_NOFS, &bio); in __submit_discard_cmd() 1343 submit_bio(bio); in __submit_discard_cmd() 3680 if (fio->bio && *(fio->bio)) { in f2fs_inplace_write_data() 3681 struct bio *bio = *(fio->bio); in f2fs_inplace_write_data() local [all …]
|