Lines Matching defs:bio

214 void bio_uninit(struct bio *bio)  in bio_uninit()
229 static void bio_free(struct bio *bio) in bio_free()
246 void bio_init(struct bio *bio, struct block_device *bdev, struct bio_vec *table, in bio_init()
300 void bio_reset(struct bio *bio, struct block_device *bdev, blk_opf_t opf) in bio_reset()
312 static struct bio *__bio_chain_endio(struct bio *bio) in __bio_chain_endio()
322 static void bio_chain_endio(struct bio *bio) in bio_chain_endio()
338 void bio_chain(struct bio *bio, struct bio *parent) in bio_chain()
348 struct bio *blk_next_bio(struct bio *bio, struct block_device *bdev, in blk_next_bio()
365 struct bio *bio; in bio_alloc_rescue() local
382 struct bio *bio; in punt_bios_to_rescuer() local
437 struct bio *bio; in bio_alloc_percpu_cache() local
497 struct bio *bio; in bio_alloc_bioset() local
601 struct bio *bio; in bio_kmalloc() local
609 void zero_fill_bio_iter(struct bio *bio, struct bvec_iter start) in zero_fill_bio_iter()
629 static void bio_truncate(struct bio *bio, unsigned new_size) in bio_truncate()
681 void guard_bio_eod(struct bio *bio) in guard_bio_eod()
707 struct bio *bio; in __bio_alloc_cache_prune() local
760 static inline void bio_put_percpu_cache(struct bio *bio) in bio_put_percpu_cache()
798 void bio_put(struct bio *bio) in bio_put()
812 static int __bio_clone(struct bio *bio, struct bio *bio_src, gfp_t gfp) in __bio_clone()
848 struct bio *bio; in bio_alloc_clone() local
876 int bio_init_clone(struct block_device *bdev, struct bio *bio, in bio_init_clone()
897 static inline bool bio_full(struct bio *bio, unsigned len) in bio_full()
965 int bio_add_hw_page(struct request_queue *q, struct bio *bio, in bio_add_hw_page()
1017 int bio_add_pc_page(struct request_queue *q, struct bio *bio, in bio_add_pc_page()
1042 int bio_add_zone_append_page(struct bio *bio, struct page *page, in bio_add_zone_append_page()
1069 void __bio_add_page(struct bio *bio, struct page *page, in __bio_add_page()
1091 int bio_add_page(struct bio *bio, struct page *page, in bio_add_page()
1115 void bio_add_folio_nofail(struct bio *bio, struct folio *folio, size_t len, in bio_add_folio_nofail()
1137 bool bio_add_folio(struct bio *bio, struct folio *folio, size_t len, in bio_add_folio()
1146 void __bio_release_pages(struct bio *bio, bool mark_dirty) in __bio_release_pages()
1168 void bio_iov_bvec_set(struct bio *bio, struct iov_iter *iter) in bio_iov_bvec_set()
1188 static int bio_iov_add_page(struct bio *bio, struct page *page, in bio_iov_add_page()
1208 static int bio_iov_add_zone_append_page(struct bio *bio, struct page *page, in bio_iov_add_zone_append_page()
1234 static int __bio_iov_iter_get_pages(struct bio *bio, struct iov_iter *iter) in __bio_iov_iter_get_pages()
1326 int bio_iov_iter_get_pages(struct bio *bio, struct iov_iter *iter) in bio_iov_iter_get_pages()
1349 static void submit_bio_wait_endio(struct bio *bio) in submit_bio_wait_endio()
1365 int submit_bio_wait(struct bio *bio) in submit_bio_wait()
1389 void __bio_advance(struct bio *bio, unsigned bytes) in __bio_advance()
1437 void bio_free_pages(struct bio *bio) in bio_free_pages()
1470 void bio_set_pages_dirty(struct bio *bio) in bio_set_pages_dirty()
1504 struct bio *bio, *next; in bio_dirty_fn() local
1519 void bio_check_pages_dirty(struct bio *bio) in bio_check_pages_dirty()
1541 static inline bool bio_remaining_done(struct bio *bio) in bio_remaining_done()
1573 void bio_endio(struct bio *bio) in bio_endio()
1623 struct bio *bio_split(struct bio *bio, int sectors, in bio_split()
1662 void bio_trim(struct bio *bio, sector_t offset, sector_t size) in bio_trim()