Function report |
Source Code:fs\io_uring.c |
Create Date:2022-07-28 20:22:16 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:io_timeout
Proto:static int io_timeout(struct io_kiocb *req)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct io_kiocb * | req |
2943 | span = 0 |
2953 | If Not count Then |
2960 | sequence = cached_sq_head + count - 1 |
2961 | seq_offset = count |
2967 | spin_lock_irq( & completion_lock) |
2972 | nxt_offset = seq_offset |
2974 | If flags & timeout sequence Then Continue |
2981 | tmp = cached_sq_head + count - 1 |
2982 | nxt_sq_head = sequence - nxt_offset + 1 |
2983 | tmp_nxt = nxt_sq_head + nxt_offset - 1 |
2989 | If cached_sq_head < nxt_sq_head Then tmp += UINT_MAX |
2999 | span++ |
3000 | sequence++ |
3003 | add : |
3005 | function = io_timeout_fn |
3007 | spin_unlock_irq( & completion_lock) |
3008 | Return 0 |
Name | Describe |
---|---|
io_issue_sqe |
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 |