Home
last modified time | relevance | path

Searched defs:bio (Results 1 – 18 of 18) sorted by relevance

/block/
Dbio.c238 static void __bio_free(struct bio *bio) in __bio_free()
246 static void bio_free(struct bio *bio) in bio_free()
270 void bio_init(struct bio *bio) in bio_init()
289 void bio_reset(struct bio *bio) in bio_reset()
301 static void bio_chain_endio(struct bio *bio, int error) in bio_chain_endio()
318 void bio_chain(struct bio *bio, struct bio *parent) in bio_chain()
331 struct bio *bio; in bio_alloc_rescue() local
348 struct bio *bio; in punt_bios_to_rescuer() local
418 struct bio *bio; in bio_alloc_bioset() local
503 void zero_fill_bio(struct bio *bio) in zero_fill_bio()
[all …]
Dbio-integrity.c45 struct bio_integrity_payload *bio_integrity_alloc(struct bio *bio, in bio_integrity_alloc()
98 void bio_integrity_free(struct bio *bio) in bio_integrity_free()
130 int bio_integrity_add_page(struct bio *bio, struct page *page, in bio_integrity_add_page()
161 bool bio_integrity_enabled(struct bio *bio) in bio_integrity_enabled()
214 static int bio_integrity_process(struct bio *bio, in bio_integrity_process()
259 int bio_integrity_prep(struct bio *bio) in bio_integrity_prep()
356 struct bio *bio = bip->bip_bio; in bio_integrity_verify_fn() local
379 void bio_integrity_endio(struct bio *bio, int error) in bio_integrity_endio()
410 void bio_integrity_advance(struct bio *bio, unsigned int bytes_done) in bio_integrity_advance()
431 void bio_integrity_trim(struct bio *bio, unsigned int offset, in bio_integrity_trim()
[all …]
Dbounce.c125 static void bounce_end_io(struct bio *bio, mempool_t *pool, int err) in bounce_end_io()
150 static void bounce_end_io_write(struct bio *bio, int err) in bounce_end_io_write()
155 static void bounce_end_io_write_isa(struct bio *bio, int err) in bounce_end_io_write_isa()
161 static void __bounce_end_io_read(struct bio *bio, mempool_t *pool, int err) in __bounce_end_io_read()
171 static void bounce_end_io_read(struct bio *bio, int err) in bounce_end_io_read()
176 static void bounce_end_io_read_isa(struct bio *bio, int err) in bounce_end_io_read_isa()
182 static int must_snapshot_stable_pages(struct request_queue *q, struct bio *bio) in must_snapshot_stable_pages()
193 static int must_snapshot_stable_pages(struct request_queue *q, struct bio *bio) in must_snapshot_stable_pages()
202 struct bio *bio; in __blk_queue_bounce() local
Dblk-merge.c13 struct bio *bio, in __blk_recalc_rq_segments()
98 void blk_recount_segments(struct request_queue *q, struct bio *bio) in blk_recount_segments()
123 static int blk_phys_contig_segment(struct request_queue *q, struct bio *bio, in blk_phys_contig_segment()
201 static int __blk_bios_map_sg(struct request_queue *q, struct bio *bio, in __blk_bios_map_sg()
297 int blk_bio_map_sg(struct request_queue *q, struct bio *bio, in blk_bio_map_sg()
317 struct bio *bio) in ll_new_hw_segment()
342 struct bio *bio) in ll_back_merge_fn()
360 struct bio *bio) in ll_front_merge_fn()
441 struct bio *bio; in blk_rq_set_mixed_merge() local
582 bool blk_rq_merge_ok(struct request *rq, struct bio *bio) in blk_rq_merge_ok()
[all …]
Dblk-map.c13 struct bio *bio) in blk_rq_append_bio()
28 static int __blk_rq_unmap_user(struct bio *bio) in __blk_rq_unmap_user()
47 struct bio *bio, *orig_bio; in __blk_rq_map_user() local
115 struct bio *bio = NULL; in blk_rq_map_user() local
193 struct bio *bio; in blk_rq_map_user_iov() local
253 int blk_rq_unmap_user(struct bio *bio) in blk_rq_unmap_user()
295 struct bio *bio; in blk_rq_map_kern() local
Dblk-core.c119 static void req_bio_endio(struct request *rq, struct bio *bio, in req_bio_endio()
895 static bool blk_rq_should_init_elevator(struct bio *bio) in blk_rq_should_init_elevator()
917 static struct io_context *rq_ioc(struct bio *bio) in rq_ioc()
941 struct bio *bio, gfp_t gfp_mask) in __get_request()
1118 struct bio *bio, gfp_t gfp_mask) in get_request()
1217 struct request *blk_make_request(struct request_queue *q, struct bio *bio, in blk_make_request()
1413 struct bio *bio = rq->bio; in blk_add_request_payload() local
1429 struct bio *bio) in bio_attempt_back_merge()
1451 struct bio *bio) in bio_attempt_front_merge()
1493 bool blk_attempt_plug_merge(struct request_queue *q, struct bio *bio, in blk_attempt_plug_merge()
[all …]
Dblk-lib.c18 static void bio_batch_end_io(struct bio *bio, int err) in bio_batch_end_io()
49 struct bio *bio; in blkdev_issue_discard() local
163 struct bio *bio; in blkdev_issue_write_same() local
233 struct bio *bio; in __blkdev_issue_zeroout() local
Dblk-throttle.c323 static void throtl_qnode_add_bio(struct bio *bio, struct throtl_qnode *qn, in throtl_qnode_add_bio()
340 struct bio *bio; in throtl_peek_queued() local
368 struct bio *bio; in throtl_pop_queued() local
811 static bool tg_with_in_iops_limit(struct throtl_grp *tg, struct bio *bio, in tg_with_in_iops_limit()
861 static bool tg_with_in_bps_limit(struct throtl_grp *tg, struct bio *bio, in tg_with_in_bps_limit()
907 static bool tg_may_dispatch(struct throtl_grp *tg, struct bio *bio, in tg_may_dispatch()
985 static void throtl_charge_bio(struct throtl_grp *tg, struct bio *bio) in throtl_charge_bio()
1020 static void throtl_add_bio_tg(struct bio *bio, struct throtl_qnode *qn, in throtl_add_bio_tg()
1048 struct bio *bio; in tg_update_disptime() local
1084 struct bio *bio; in tg_dispatch_one_bio() local
[all …]
Dblk-integrity.c44 int blk_rq_count_integrity_sg(struct request_queue *q, struct bio *bio) in blk_rq_count_integrity_sg()
89 int blk_rq_map_integrity_sg(struct request_queue *q, struct bio *bio, in blk_rq_map_integrity_sg()
211 struct bio *bio) in blk_integrity_merge_bio()
Delevator.c56 static int elv_iosched_allow_merge(struct request *rq, struct bio *bio) in elv_iosched_allow_merge()
70 bool elv_rq_merge_ok(struct request *rq, struct bio *bio) in elv_rq_merge_ok()
415 int elv_merge(struct request_queue *q, struct request **req, struct bio *bio) in elv_merge()
534 struct bio *bio) in elv_bio_merged()
707 struct bio *bio, gfp_t gfp_mask) in elv_set_request()
Dblk-cgroup.h190 static inline struct blkcg *bio_blkcg(struct bio *bio) in bio_blkcg()
325 struct bio *bio) in blk_get_rl()
584 static inline struct blkcg *bio_blkcg(struct bio *bio) { return NULL; } in bio_blkcg()
594 struct bio *bio) { return &q->root_rl; } in blk_get_rl()
Dblk-mq.c601 struct blk_mq_ctx *ctx, struct bio *bio) in blk_mq_attempt_merge()
1032 static void blk_mq_bio_to_request(struct request *rq, struct bio *bio) in blk_mq_bio_to_request()
1048 struct request *rq, struct bio *bio) in blk_mq_merge_queue_io()
1078 struct bio *bio, in blk_mq_map_request()
1127 static void blk_mq_make_request(struct request_queue *q, struct bio *bio) in blk_mq_make_request()
1193 static void blk_sq_make_request(struct request_queue *q, struct bio *bio) in blk_sq_make_request()
Dscsi_ioctl.c255 struct bio *bio) in blk_complete_sghdr_rq()
298 struct bio *bio; in sg_io() local
Dbsg.c84 struct bio *bio; member
430 struct bio *bio, struct bio *bidi_bio) in blk_complete_sgv4_hdr_rq()
933 struct bio *bio, *bidi_bio = NULL; in bsg_ioctl() local
Dblk.h281 static inline bool blk_throtl_bio(struct request_queue *q, struct bio *bio) in blk_throtl_bio()
Dcfq-iosched.c898 static inline bool cfq_bio_sync(struct bio *bio) in cfq_bio_sync()
2282 cfq_find_rq_fmerge(struct cfq_data *cfqd, struct bio *bio) in cfq_find_rq_fmerge()
2339 struct bio *bio) in cfq_merge()
2364 struct bio *bio) in cfq_bio_merged()
2403 struct bio *bio) in cfq_allow_merge()
3494 static void check_ioprio_changed(struct cfq_io_cq *cic, struct bio *bio) in check_ioprio_changed()
3546 static void check_blkcg_changed(struct cfq_io_cq *cic, struct bio *bio) in check_blkcg_changed()
3577 static inline void check_blkcg_changed(struct cfq_io_cq *cic, struct bio *bio) { } in check_blkcg_changed()
3582 struct bio *bio, gfp_t gfp_mask) in cfq_find_alloc_queue()
3662 struct bio *bio, gfp_t gfp_mask) in cfq_get_queue()
[all …]
Dblk-flush.c466 struct bio *bio; in blkdev_issue_flush() local
Ddeadline-iosched.c125 deadline_merge(struct request_queue *q, struct request **req, struct bio *bio) in deadline_merge()