Searched refs:bio_chain (Results 1 – 3 of 3) sorted by relevance
/linux-3.4.99/kernel/power/ |
D | block_io.c | 29 struct page *page, struct bio **bio_chain) in submit() argument 49 if (bio_chain == NULL) { in submit() 58 bio->bi_private = *bio_chain; in submit() 59 *bio_chain = bio; in submit() 65 int hib_bio_read_page(pgoff_t page_off, void *addr, struct bio **bio_chain) in hib_bio_read_page() argument 68 virt_to_page(addr), bio_chain); in hib_bio_read_page() 71 int hib_bio_write_page(pgoff_t page_off, void *addr, struct bio **bio_chain) in hib_bio_write_page() argument 74 virt_to_page(addr), bio_chain); in hib_bio_write_page() 77 int hib_wait_on_bio_chain(struct bio **bio_chain) in hib_wait_on_bio_chain() argument 83 if (bio_chain == NULL) in hib_wait_on_bio_chain() [all …]
|
D | power.h | 164 struct bio **bio_chain); 166 struct bio **bio_chain); 167 extern int hib_wait_on_bio_chain(struct bio **bio_chain);
|
D | swap.c | 276 static int write_page(void *buf, sector_t offset, struct bio **bio_chain) in write_page() argument 284 if (bio_chain) { in write_page() 290 ret = hib_wait_on_bio_chain(bio_chain); /* Free pages */ in write_page() 300 bio_chain = NULL; /* Go synchronous */ in write_page() 307 return hib_bio_write_page(offset, src, bio_chain); in write_page() 350 struct bio **bio_chain) in swap_write_page() argument 358 error = write_page(buf, offset, bio_chain); in swap_write_page() 367 error = write_page(handle->cur, handle->cur_swap, bio_chain); in swap_write_page() 374 if (bio_chain && low_free_pages() <= handle->reqd_free_pages) { in swap_write_page() 375 error = hib_wait_on_bio_chain(bio_chain); in swap_write_page() [all …]
|