Home
last modified time | relevance | path

Searched refs:bio_chain (Results 1 – 3 of 3) sorted by relevance

/linux-2.6.39/kernel/power/
Dblock_io.c29 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 …]
Dpower.h157 struct bio **bio_chain);
159 struct bio **bio_chain);
160 extern int hib_wait_on_bio_chain(struct bio **bio_chain);
Dswap.c245 static int write_page(void *buf, sector_t offset, struct bio **bio_chain) in write_page() argument
252 if (bio_chain) { in write_page()
258 bio_chain = NULL; /* Go synchronous */ in write_page()
264 return hib_bio_write_page(offset, src, bio_chain); in write_page()
306 struct bio **bio_chain) in swap_write_page() argument
314 error = write_page(buf, offset, bio_chain); in swap_write_page()
319 error = hib_wait_on_bio_chain(bio_chain); in swap_write_page()
657 struct bio **bio_chain) in swap_read_page() argument
667 error = hib_bio_read_page(offset, buf, bio_chain); in swap_read_page()
671 error = hib_wait_on_bio_chain(bio_chain); in swap_read_page()