Searched refs:bio (Results 126 - 150 of 379) sorted by relevance

1234567891011>>

/linux-master/fs/btrfs/
H A Draid56.c8 #include <linux/bio.h>
176 /* Some range not covered by bio (partial write), skip it */
179 * Even if the sector is not covered by bio, if it is
367 * hold the lock for the bio list because we need
368 * to make sure the bio list is empty
377 /* if the bio list isn't empty, this rbio is
523 * Returns true if the bio list inside this rbio covers an entire stripe (no
579 * bio list here, anyone else that wants to
601 /* Return a sector from rbio->stripe_sectors, not from the bio list */
806 static void rbio_endio_bio_list(struct bio *cu
1051 struct bio *bio; local
1112 index_one_bio(struct btrfs_raid_bio *rbio, struct bio *bio) argument
1145 struct bio *bio; local
1154 bio_get_trace_info(struct btrfs_raid_bio *rbio, struct bio *bio, struct raid56_bio_trace_info *trace_info) argument
1184 struct bio *bio; local
1359 set_rbio_range_error(struct btrfs_raid_bio *rbio, struct bio *bio) argument
1416 set_bio_pages_uptodate(struct btrfs_raid_bio *rbio, struct bio *bio) argument
1438 get_bio_sector_nr(struct btrfs_raid_bio *rbio, struct bio *bio) argument
1457 rbio_update_error_bitmap(struct btrfs_raid_bio *rbio, struct bio *bio) argument
1479 verify_bio_data_sectors(struct btrfs_raid_bio *rbio, struct bio *bio) argument
1518 raid_wait_read_end_io(struct bio *bio) argument
1537 struct bio *bio; local
1664 raid56_parity_write(struct bio *bio, struct btrfs_io_context *bioc) argument
2068 raid56_parity_recover(struct bio *bio, struct btrfs_io_context *bioc, int mirror_num) argument
2199 raid_wait_write_end_io(struct bio *bio) argument
2214 struct bio *bio; local
2361 raid56_parity_alloc_scrub_rbio(struct bio *bio, struct btrfs_io_context *bioc, struct btrfs_device *scrub_dev, unsigned long *dbitmap, int stripe_nsectors) argument
[all...]
/linux-master/fs/squashfs/
H A Dzstd_wrapper.c12 #include <linux/bio.h>
62 struct bio *bio, int offset, int length,
95 if (!bio_next_segment(bio, &iter_all)) {
61 zstd_uncompress(struct squashfs_sb_info *msblk, void *strm, struct bio *bio, int offset, int length, struct squashfs_page_actor *output) argument
H A Dzlib_wrapper.c13 #include <linux/bio.h>
53 struct bio *bio, int offset, int length,
77 if (!bio_next_segment(bio, &iter_all)) {
52 zlib_uncompress(struct squashfs_sb_info *msblk, void *strm, struct bio *bio, int offset, int length, struct squashfs_page_actor *output) argument
H A Dlzo_wrapper.c12 #include <linux/bio.h>
66 struct bio *bio, int offset, int length,
76 while (bio_next_segment(bio, &iter_all)) {
65 lzo_uncompress(struct squashfs_sb_info *msblk, void *strm, struct bio *bio, int offset, int length, struct squashfs_page_actor *output) argument
H A Dlz4_wrapper.c7 #include <linux/bio.h>
92 struct bio *bio, int offset, int length,
101 while (bio_next_segment(bio, &iter_all)) {
91 lz4_uncompress(struct squashfs_sb_info *msblk, void *strm, struct bio *bio, int offset, int length, struct squashfs_page_actor *output) argument
/linux-master/include/linux/
H A Dfsverity.h174 void fsverity_verify_bio(struct bio *bio);
244 static inline void fsverity_verify_bio(struct bio *bio) argument
H A Ddevice-mapper.h12 #include <linux/bio.h>
62 typedef int (*dm_map_fn) (struct dm_target *ti, struct bio *bio);
79 struct bio *bio, blk_status_t *error);
250 * A target implements own bio data integrity.
312 * The bio number can be accessed with dm_bio_get_target_bio_nr.
320 * The bio number can be accessed with dm_bio_get_target_bio_nr.
326 * The bio number can be accessed with dm_bio_get_target_bio_nr.
332 * The bio numbe
[all...]
H A Dblk_types.h16 struct bio;
21 typedef void (bio_end_io_t) (struct bio *);
26 * in Linux (blk, bio, genhd). The size of one sector is 512 = 2**9
112 * and the bio would block (cf bio_wouldblock_error())
206 struct bio { struct
207 struct bio *bi_next; /* request queue link */
230 * Represents the association of the css and request_queue for the bio.
231 * If a bio goes direct to device, it will not have a blkg as it will
233 * on release of the bio.
267 * We can inline a number of vecs at the end of the bio, t
423 bio_op(const struct bio *bio) argument
[all...]
H A Dfscrypt.h417 /* bio.c */
418 bool fscrypt_decrypt_bio(struct bio *bio);
720 /* bio.c */
721 static inline bool fscrypt_decrypt_bio(struct bio *bio) argument
836 void fscrypt_set_bio_crypt_ctx(struct bio *bio,
840 void fscrypt_set_bio_crypt_ctx_bh(struct bio *bio,
861 fscrypt_set_bio_crypt_ctx(struct bio *bio, const struct inode *inode, u64 first_lblk, gfp_t gfp_mask) argument
865 fscrypt_set_bio_crypt_ctx_bh( struct bio *bio, const struct buffer_head *first_bh, gfp_t gfp_mask) argument
870 fscrypt_mergeable_bio(struct bio *bio, const struct inode *inode, u64 next_lblk) argument
877 fscrypt_mergeable_bio_bh(struct bio *bio, const struct buffer_head *next_bh) argument
[all...]
H A Dblkdev.h17 #include <linux/bio.h>
663 bool blk_zone_plug_bio(struct bio *bio, unsigned int nr_segs);
687 static inline bool blk_zone_plug_bio(struct bio *bio, unsigned int nr_segs)
841 void submit_bio_noacct(struct bio *bio);
842 struct bio *bio_split_to_limits(struct bio *bio);
686 blk_zone_plug_bio(struct bio *bio, unsigned int nr_segs) argument
869 bio_zone_no(struct bio *bio) argument
874 bio_straddles_zones(struct bio *bio) argument
1347 bio_offset_from_zone_start(struct bio *bio) argument
1488 bio_end_io_acct(struct bio *bio, unsigned long start_time) argument
[all...]
/linux-master/drivers/md/
H A Ddm.h86 * To check whether the target type is bio-based or not (request-based).
91 * To check whether the target type is request-based or not (bio-based).
97 * either request-based or bio-based).
106 void dm_zone_endio(struct dm_io *io, struct bio *clone);
110 bool dm_is_zone_write(struct mapped_device *md, struct bio *bio);
114 static inline bool dm_is_zone_write(struct mapped_device *md, struct bio *bio)
190 int linear_map(struct dm_target *ti, struct bio *bio);
113 dm_is_zone_write(struct mapped_device *md, struct bio *bio) argument
[all...]
H A Ddm-region-hash.c131 region_t dm_rh_bio_to_region(struct dm_region_hash *rh, struct bio *bio) argument
133 return dm_rh_sector_to_region(rh, bio->bi_iter.bi_sector -
390 * @bio
392 * The bio was written on some mirror(s) but failed on other mirror(s).
393 * We can successfully endio the bio but should avoid the region being
398 void dm_rh_mark_nosync(struct dm_region_hash *rh, struct bio *bio) argument
403 region_t region = dm_rh_bio_to_region(rh, bio);
406 if (bio
531 struct bio *bio; local
693 dm_rh_delay(struct dm_region_hash *rh, struct bio *bio) argument
[all...]
H A Ddm-bio-prison-v2.h14 #include <linux/bio.h>
24 * Sometimes we can't deal with a bio straight away. We put them in prison
62 * Eventually all bio prison clients should manage their own cell memory.
73 * Shared locks have a bio associated with them.
75 * If the lock is granted the caller can continue to use the bio, and must
78 * If the lock cannot be granted then the bio will be tracked within the
91 struct bio *inmate,
103 * Locks a cell. No associated bio. Exclusive locks get priority. These
139 * Adds any held bios to the bio list.
/linux-master/drivers/md/bcache/
H A Dwriteback.c326 struct bio bio; member in struct:dirty_io
332 struct bio *bio = &io->bio; local
334 bio_init(bio, NULL, bio->bi_inline_vecs,
337 bio_set_prio(bio, IOPRIO_PRIO_VALUE(IOPRIO_CLASS_IDLE, 0));
339 bio->bi_iter.bi_size = KEY_SIZE(&w->key) << 9;
340 bio
390 dirty_endio(struct bio *bio) argument
452 read_dirty_endio(struct bio *bio) argument
[all...]
/linux-master/block/
H A Dt10-pi.c148 struct bio *bio; local
150 __rq_for_each_bio(bio, rq) {
151 struct bio_integrity_payload *bip = bio_integrity(bio);
200 struct bio *bio; local
202 __rq_for_each_bio(bio, rq) {
203 struct bio_integrity_payload *bip = bio_integrity(bio);
400 struct bio *bio; local
441 struct bio *bio; local
[all...]
H A Delevator.h33 bool (*allow_merge)(struct request_queue *, struct request *, struct bio *);
34 bool (*bio_merge)(struct request_queue *, struct bio *, unsigned int);
35 int (*request_merge)(struct request_queue *q, struct request **, struct bio *);
130 struct bio *);
153 extern bool elv_bio_merge_ok(struct request *, struct bio *);
H A Dblk-mq.c11 #include <linux/bio.h>
606 rq->bio = rq->biotail = NULL;
681 rq->bio = rq->biotail = NULL;
762 printk(KERN_INFO " bio %p, biotail %p, len %u\n",
763 rq->bio, rq->biotail, blk_rq_bytes(rq));
800 struct bio *bio = req->bio; local
804 if (!bio)
821 struct bio *nex
901 struct bio *bio = req->bio; local
2543 blk_mq_bio_to_request(struct request *rq, struct bio *bio, unsigned int nr_segs) argument
2836 blk_mq_attempt_bio_merge(struct request_queue *q, struct bio *bio, unsigned int nr_segs) argument
2848 blk_mq_get_new_requests(struct request_queue *q, struct blk_plug *plug, struct bio *bio, unsigned int nsegs) argument
2899 blk_mq_use_cached_rq(struct request *rq, struct blk_plug *plug, struct bio *bio) argument
2930 blk_mq_submit_bio(struct bio *bio) argument
3109 struct bio *bio; local
3141 struct bio *bio, *bio_src; local
[all...]
/linux-master/fs/xfs/
H A Dxfs_discard.c93 struct bio *bio)
95 struct xfs_busy_extents *extents = bio->bi_private;
99 bio_put(bio);
113 struct bio *bio = NULL; local
125 GFP_KERNEL, &bio);
136 if (bio) {
137 bio->bi_private = extents;
138 bio
92 xfs_discard_endio( struct bio *bio) argument
[all...]
/linux-master/fs/bcachefs/
H A Dio_write_types.h37 struct bio bio; member in struct:bch_write_bio
/linux-master/fs/gfs2/
H A Dmeta_io.c17 #include <linux/bio.h>
189 static void gfs2_meta_read_endio(struct bio *bio) argument
194 bio_for_each_segment_all(bvec, bio, iter_all) {
204 bh->b_end_io(bh, !bio->bi_status);
208 bio_put(bio);
212 * Submit several consecutive buffer head I/O requests as a single bio I/O
219 struct bio *bio; local
221 bio
[all...]
/linux-master/drivers/block/
H A Dbrd.c18 #include <linux/bio.h>
190 * Process a single bvec of a bio.
242 static void brd_submit_bio(struct bio *bio) argument
244 struct brd_device *brd = bio->bi_bdev->bd_disk->private_data;
245 sector_t sector = bio->bi_iter.bi_sector;
249 if (unlikely(op_is_discard(bio->bi_opf))) {
250 brd_do_discard(brd, sector, bio->bi_iter.bi_size);
251 bio_endio(bio);
255 bio_for_each_segment(bvec, bio, ite
[all...]
/linux-master/drivers/target/
H A Dtarget_core_pscsi.c816 static void pscsi_bi_endio(struct bio *bio) argument
818 bio_uninit(bio);
819 kfree(bio);
827 struct bio *bio = NULL; local
859 if (!bio) {
862 bio = bio_kmalloc(nr_vecs, GFP_KERNEL);
863 if (!bio)
865 bio_init(bio, NUL
[all...]
/linux-master/drivers/nvme/host/
H A Dmultipath.c88 struct bio *bio; local
103 for (bio = req->bio; bio; bio = bio->bi_next) {
104 bio_set_dev(bio, ns->head->disk->part0);
105 if (bio->bi_opf & REQ_POLLED) {
106 bio
376 nvme_ns_head_submit_bio(struct bio *bio) argument
504 struct bio *bio, *next; local
[all...]
/linux-master/fs/f2fs/
H A Diostat.c240 void iostat_update_and_unbind_ctx(struct bio *bio) argument
242 struct bio_iostat_ctx *iostat_ctx = bio->bi_private;
245 if (op_is_write(bio_op(bio))) {
246 lat_type = bio->bi_opf & REQ_SYNC ?
248 bio->bi_private = iostat_ctx->sbi;
251 bio->bi_private = iostat_ctx->post_read_ctx;
259 struct bio *bio, struct bio_post_read_ctx *ctx)
268 bio
258 iostat_alloc_and_bind_ctx(struct f2fs_sb_info *sbi, struct bio *bio, struct bio_post_read_ctx *ctx) argument
[all...]
/linux-master/kernel/trace/
H A Dblktrace.c779 static u64 blk_trace_bio_get_cgid(struct request_queue *q, struct bio *bio) argument
789 blkcg_css = bio_blkcg_css(bio);
795 static u64 blk_trace_bio_get_cgid(struct request_queue *q, struct bio *bio) argument
804 if (!rq->bio)
806 /* Use the first bio */
807 return blk_trace_bio_get_cgid(rq->q, rq->bio);
823 * Records an action against a request. Will log the bio offset + size.
880 * blk_add_trace_bio - Add a trace for a bio oriente
890 blk_add_trace_bio(struct request_queue *q, struct bio *bio, u32 what, int error) argument
908 blk_add_trace_bio_bounce(void *ignore, struct bio *bio) argument
913 blk_add_trace_bio_complete(void *ignore, struct request_queue *q, struct bio *bio) argument
920 blk_add_trace_bio_backmerge(void *ignore, struct bio *bio) argument
926 blk_add_trace_bio_frontmerge(void *ignore, struct bio *bio) argument
932 blk_add_trace_bio_queue(void *ignore, struct bio *bio) argument
937 blk_add_trace_getrq(void *ignore, struct bio *bio) argument
974 blk_add_trace_split(void *ignore, struct bio *bio, unsigned int pdu) argument
1002 blk_add_trace_bio_remap(void *ignore, struct bio *bio, dev_t dev, sector_t from) argument
[all...]

Completed in 220 milliseconds

1234567891011>>