Function report |
Source Code:mm\page_io.c |
Create Date:2022-07-28 15:13:31 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:end_swap_bio_read
Proto:static void end_swap_bio_read(struct bio *bio)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct bio * | bio |
123 | page = bio_first_page_all(bio) |
124 | waiter = bi_private |
126 | If bi_status Then |
127 | SetPageError(page) |
128 | ClearPageUptodate(page) |
129 | pr_alert("Read-error on swap-device (%u:%u:%llu)\n", MAJOR(bio_dev(bio)), MINOR(bio_dev(bio)), (unsignedlonglong) device address in 512 byte sectors ) |
132 | Go to out |
135 | SetPageUptodate(page) |
137 | out : |
139 | WRITE_ONCE(bi_private, NULL) |
141 | If waiter Then |
142 | blk_wake_io_task(waiter) |
143 | put_task_struct(waiter) |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |