Searched refs:bio (Results 1 – 1 of 1) sorted by relevance
61 struct bio **bio_chain) in submit()64 struct bio *bio; in submit() local66 bio = bio_alloc(__GFP_WAIT | __GFP_HIGH, 1); in submit()67 if (!bio) in submit()69 bio->bi_sector = page_off * (PAGE_SIZE >> 9); in submit()70 bio->bi_bdev = resume_bdev; in submit()71 bio->bi_end_io = end_swap_bio_read; in submit()73 if (bio_add_page(bio, page, PAGE_SIZE, 0) < PAGE_SIZE) { in submit()76 bio_put(bio); in submit()81 bio_get(bio); in submit()[all …]