Searched refs:bio (Results 101 - 125 of 376) sorted by relevance

1234567891011>>

/linux-master/drivers/xen/
H A Dbiomerge.c2 #include <linux/bio.h>
/linux-master/fs/bcachefs/
H A Ddebug.h7 struct bio;
H A Dfs-io-buffered.c18 static inline bool bio_full(struct bio *bio, unsigned len) argument
20 if (bio->bi_vcnt >= bio->bi_max_vecs)
22 if (bio->bi_iter.bi_size > UINT_MAX - len)
29 static void bch2_readpages_end_io(struct bio *bio) argument
33 bio_for_each_folio_all(fi, bio) {
34 if (!bio->bi_status) {
43 bio_put(bio);
98 readpage_bio_extend(struct btree_trans *trans, struct readpages_iter *iter, struct bio *bio, unsigned sectors_this_extent, bool get_more) argument
306 bch2_read_single_folio_end_io(struct bio *bio) argument
391 struct bio *bio = &io->op.wbio.bio; local
401 struct bio *bio = &io->op.wbio.bio; local
[all...]
H A Dchecksum.h82 struct nonce, struct bio *);
84 int bch2_rechecksum_bio(struct bch_fs *, struct bio *, struct bversion,
91 struct nonce, struct bio *);
94 struct nonce nonce, struct bio *bio)
97 ? __bch2_encrypt_bio(c, type, nonce, bio)
/linux-master/drivers/md/
H A Ddm-bio-prison-v1.h14 #include <linux/bio.h>
20 * Sometimes we can't deal with a bio straight away. We put them in prison
56 struct bio *holder;
65 * Eventually all bio prison clients should manage their own cell memory.
93 * bio to it.
99 struct bio *inmate,
H A Draid1.h145 * this is our 'private' RAID1 bio.
163 * original bio going to /dev/mdx
165 struct bio *master_bio;
177 struct bio *behind_master_bio;
183 struct bio *bios[];
H A Dmd.h524 struct bio *flush_bio;
627 static inline void md_sync_acct_bio(struct bio *bio, unsigned long nr_sectors) argument
629 md_sync_acct(bio->bi_bdev, nr_sectors);
638 bool __must_check (*make_request)(struct mddev *mddev, struct bio *bio);
760 struct bio *orig_bio;
762 struct bio bio_clone;
787 extern bool md_write_start(struct mddev *mddev, struct bio *bi);
788 extern void md_write_inc(struct mddev *mddev, struct bio *b
867 mddev_check_write_zeroes(struct mddev *mddev, struct bio *bio) argument
924 mddev_trace_remap(struct mddev *mddev, struct bio *bio, sector_t sector) argument
[all...]
H A Ddm-verity-target.c298 struct bio *bio = dm_bio_from_per_bio_data(io, v->ti->per_io_data_size); local
314 &buf, bio_prio(bio));
350 struct bio *bio = local
353 dm_audit_log_bio(DM_MSG_PREFIX, "verify-metadata", bio,
408 * Calculates the digest for the given bio
414 struct bio *bio = dm_bio_from_per_bio_data(io, v->ti->per_io_data_size); local
421 struct bio_vec bv = bio_iter_iovec(bio, *ite
461 struct bio *bio = dm_bio_from_per_bio_data(io, v->ti->per_io_data_size); local
559 struct bio *bio = dm_bio_from_per_bio_data(io, v->ti->per_io_data_size); local
575 struct bio *bio = dm_bio_from_per_bio_data(io, v->ti->per_io_data_size); local
686 struct bio *bio = dm_bio_from_per_bio_data(io, v->ti->per_io_data_size); local
723 verity_end_io(struct bio *bio) argument
824 verity_map(struct dm_target *ti, struct bio *bio) argument
[all...]
H A Ddm-zone.c125 bool dm_is_zone_write(struct mapped_device *md, struct bio *bio) argument
132 switch (bio_op(bio)) {
135 return !op_is_flush(bio->bi_opf) && bio_sectors(bio);
368 unsigned int zno, struct bio *clone)
464 struct bio *clone)
474 struct bio *clone)
487 static bool dm_need_zone_wp_tracking(struct bio *bio) argument
[all...]
H A Draid0.c317 * remaps the bio to the target device. we separate two flows.
344 * position the bio over the real device
453 static void raid0_handle_discard(struct mddev *mddev, struct bio *bio) argument
457 sector_t start = bio->bi_iter.bi_sector;
471 if (bio_end_sector(bio) > zone->zone_end) {
472 struct bio *split = bio_split(bio,
473 zone->zone_end - bio->bi_iter.bi_sector, GFP_NOIO,
475 bio_chain(split, bio);
553 raid0_map_submit_bio(struct mddev *mddev, struct bio *bio) argument
591 raid0_make_request(struct mddev *mddev, struct bio *bio) argument
[all...]
/linux-master/fs/nilfs2/
H A Dsegbuf.c22 struct bio *bio; member in struct:nilfs_write_info
334 static void nilfs_end_bio_write(struct bio *bio) argument
336 struct nilfs_segment_buffer *segbuf = bio->bi_private;
338 if (bio->bi_status)
341 bio_put(bio);
348 struct bio *bio = wi->bio; local
[all...]
/linux-master/drivers/scsi/
H A Dscsi_bsg.c17 struct bio *bio; local
60 bio = rq->bio;
92 blk_rq_unmap_user(bio);
/linux-master/include/linux/
H A Dblk-integrity.h43 int blk_rq_map_integrity_sg(struct request_queue *, struct bio *,
45 int blk_rq_count_integrity_sg(struct request_queue *, struct bio *);
82 * bio_integrity_intervals - Return number of integrity intervals for a bio
84 * @sectors: Size of the bio in 512-byte sectors
116 return rq->bio->bi_integrity->bip_vec;
120 struct bio *b)
125 struct bio *b,
/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/drivers/block/
H A Dn64cart.c60 * Process a single bvec of a bio.
87 static void n64cart_submit_bio(struct bio *bio) argument
91 struct device *dev = bio->bi_bdev->bd_disk->private_data;
92 u32 pos = bio->bi_iter.bi_sector << SECTOR_SHIFT;
94 bio_for_each_segment(bvec, bio, iter) {
96 bio_io_error(bio);
102 bio_endio(bio);
H A Dpktcdvd.c28 * Its data is defined by the struct packet_iosched and includes two bio
671 if (s <= tmp->bio->bi_iter.bi_sector)
680 if (s > tmp->bio->bi_iter.bi_sector) {
685 BUG_ON(s > tmp->bio->bi_iter.bi_sector);
696 sector_t s = node->bio->bi_iter.bi_sector;
702 if (s < tmp->bio->bi_iter.bi_sector)
826 * Queue a bio for processing by the low-level CD device. Must be called
829 static void pkt_queue_bio(struct pktcdvd_device *pd, struct bio *bio) argument
835 bio
873 struct bio *bio; local
973 pkt_end_io_read(struct bio *bio) argument
992 pkt_end_io_packet_write(struct bio *bio) argument
1016 struct bio *bio; local
1132 struct bio *bio = NULL; local
1312 struct bio *bio; local
2316 pkt_end_io_read_cloned(struct bio *bio) argument
2328 pkt_make_request_read(struct pktcdvd_device *pd, struct bio *bio) argument
2342 pkt_make_request_write(struct bio *bio) argument
2434 pkt_submit_bio(struct bio *bio) argument
[all...]
/linux-master/drivers/md/dm-vdo/
H A Ddata-vio.c9 #include <linux/bio.h>
45 * For certain flags set on user bios, if the user bio has not yet been acknowledged, setting those
46 * flags on our own bio(s) for that request may help underlying layers better fulfill the user
47 * bio's needs. This constant contains the aggregate of those flags; VDO strips all the other
50 * These flags are always irrelevant if we have already finished the user bio as they are only
51 * hints on IO importance. If VDO has finished the user bio, any remaining IO done doesn't care how
52 * important finishing the finished bio was.
54 * Note that bio.c contains the complete list of flags we believe may be set; the following list
57 * * REQ_SYNC: Passed down if the user bio is not yet completed, since it indicates the user bio
221 get_arrival_time(struct bio *bio) argument
274 struct bio *bio = data_vio->user_bio; local
293 copy_to_bio(struct bio *bio, char *data_ptr) argument
522 copy_from_bio(struct bio *bio, char *data_ptr) argument
533 launch_bio(struct vdo *vdo, struct data_vio *data_vio, struct bio *bio) argument
586 struct bio *bio = bio_list_pop(limiter->permitted_waiters); local
597 struct bio *bio = bio_list_pop(&limiter->waiters); local
713 struct bio *bio = bio_list_peek(&pool->limiter.waiters); local
788 struct bio *bio; local
960 vdo_launch_bio(struct data_vio_pool *pool, struct bio *bio) argument
1476 struct bio *bio = data_vio->user_bio; local
1523 read_endio(struct bio *bio) argument
1873 write_bio_finished(struct bio *bio) argument
[all...]
/linux-master/fs/crypto/
H A Dinline_crypt.c10 * as part of the bio, instead of the filesystem doing the crypto itself via
252 * fscrypt_set_bio_crypt_ctx() - prepare a file contents bio for inline crypto
253 * @bio: a bio which will eventually be submitted to the file
260 * encryption, then assign the appropriate encryption context to the bio.
262 * Normally the bio should be newly allocated (i.e. no pages added yet), as
265 * The encryption context will be freed automatically when the bio is freed.
267 void fscrypt_set_bio_crypt_ctx(struct bio *bio, const struct inode *inode, argument
278 bio_crypt_set_ctx(bio, c
316 fscrypt_set_bio_crypt_ctx_bh(struct bio *bio, const struct buffer_head *first_bh, gfp_t gfp_mask) argument
349 fscrypt_mergeable_bio(struct bio *bio, const struct inode *inode, u64 next_lblk) argument
383 fscrypt_mergeable_bio_bh(struct bio *bio, const struct buffer_head *next_bh) argument
[all...]
/linux-master/block/
H A Dblk-zoned.c185 struct bio *bio = NULL; local
205 bio = blk_next_bio(bio, bdev, 0, REQ_OP_ZONE_RESET | REQ_SYNC,
207 bio->bi_iter.bi_sector = sector;
214 if (bio) {
215 ret = submit_bio_wait(bio);
216 bio_put(bio);
226 struct bio bio; local
254 struct bio *bio = NULL; local
[all...]
/linux-master/drivers/nvme/target/
H A Dzns.c404 struct bio *bio = NULL; local
431 bio = blk_next_bio(bio, bdev, 0,
434 bio->bi_iter.bi_sector = sector;
441 if (bio) {
442 ret = submit_bio_wait(bio);
443 bio_put(bio);
524 static void nvmet_bdev_zone_append_bio_done(struct bio *bio) argument
544 struct bio *bio; local
[all...]
/linux-master/fs/jfs/
H A Djfs_metapage.c10 #include <linux/bio.h>
267 static void metapage_read_end_io(struct bio *bio) argument
269 struct page *page = bio->bi_private;
271 if (bio->bi_status) {
277 bio_put(bio);
322 static void metapage_write_end_io(struct bio *bio) argument
324 struct page *page = bio->bi_private;
328 if (bio
338 struct bio *bio = NULL; local
474 struct bio *bio = NULL; local
[all...]
/linux-master/drivers/md/bcache/
H A Djournal.c28 static void journal_read_endio(struct bio *bio) argument
30 struct closure *cl = bio->bi_private;
39 struct bio *bio = &ja->bio; local
56 bio_reset(bio, ca->bdev, REQ_OP_READ);
57 bio->bi_iter.bi_sector = bucket + offset;
58 bio->bi_iter.bi_size = len << 9;
60 bio
571 journal_discard_endio(struct bio *bio) argument
594 struct bio *bio = &ja->discard_bio; local
718 journal_write_endio(struct bio *bio) argument
758 struct bio *bio; local
[all...]
H A Dbcache.h181 #include <linux/bio.h>
278 struct bio *bio, unsigned int sectors);
307 struct bio sb_bio;
421 struct bio sb_bio;
611 * For any bio we don't skip we subtract the number of sectors from
754 struct bio bio; member in struct:bbio
937 struct bio *bio,
936 closure_bio_submit(struct cache_set *c, struct bio *bio, struct closure *cl) argument
[all...]
H A Djournal.h152 struct bio discard_bio;
156 struct bio bio; member in struct:journal_device
/linux-master/fs/squashfs/
H A Ddecompressor_multi_percpu.c77 static int squashfs_decompress(struct squashfs_sb_info *msblk, struct bio *bio, argument
88 res = msblk->decompressor->decompress(msblk, stream->stream, bio,

Completed in 240 milliseconds

1234567891011>>