Defined in 1 files as a function:
Referenced in 4 files:
Smatch caller information:
io_uring/io_uring.c io_wq_submit_work() -> io_file_can_poll()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->flags | 67108864-u64max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
io_uring/io_uring.c io_wq_submit_work() -> io_file_can_poll()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->flags | 16-u64max |
| BIT_INFO | 0 | req->flags | 0x10,0xfffffffff3ffffff |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
io_uring/kbuf.c io_should_commit() -> io_file_can_poll()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->flags | 0,131072-u64max |
| BUF_SIZE | 0 | req->ctx | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | req | $0 |
| BIT_INFO | 0 | req->flags | 0x800020000,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | req->ctx->submit_state.need_plug | 0-1 |
| USER_DATA | 0 | req->ctx->submit_state.submit_nr | 1-u16max[c] |
io_uring/poll.c io_arm_apoll() -> io_file_can_poll()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| DATA_SOURCE | 0 | req | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | req->ctx->submit_state.need_plug | 0-1 |
| USER_DATA | 0 | req->ctx->submit_state.submit_nr | 1-u16max[c] |
io_uring/poll.c io_arm_poll_handler() -> io_file_can_poll()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| DATA_SOURCE | 0 | req | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | req->ctx->submit_state.need_plug | 0-1 |
| USER_DATA | 0 | req->ctx->submit_state.submit_nr | 1-u16max[c] |
io_uring/rw.c __io_read() -> io_file_can_poll()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->file | 4096-ptr_max |
| DATA_SOURCE | 0 | req | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | req->cqe.res | 0-1000000000 |
| USER_DATA | 0 | req->ctx->submit_state.need_plug | 0-1 |
| USER_DATA | 0 | req->ctx->submit_state.submit_nr | 1-u16max[c] |
io_uring/rw.c io_file_supports_nowait() -> io_file_can_poll()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->file | 4096-ptr_max |
| DATA_SOURCE | 0 | req | $0 |
| BIT_INFO | 0 | req->flags | 0x0,0xffffffffdfffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | req->cqe.res | 0-1000000000 |
| USER_DATA | 0 | req->ctx->submit_state.need_plug | 0-1 |
| USER_DATA | 0 | req->ctx->submit_state.submit_nr | 1-u16max[c] |
io_uring/rw.c io_read_mshot() -> io_file_can_poll()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| DATA_SOURCE | 0 | req | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | req->ctx->submit_state.need_plug | 0-1 |
| USER_DATA | 0 | req->ctx->submit_state.submit_nr | 1-u16max[c] |
io_uring/rw.c io_rw_should_retry() -> io_file_can_poll()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->file | 4096-ptr_max |
| DATA_SOURCE | 0 | req | $0 |
| BIT_INFO | 0 | req->flags | 0x0,0xffffffbffffff7ff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | req->cqe.res | 0-1000000000 |
| USER_DATA | 0 | req->ctx->submit_state.need_plug | 0-1 |
| USER_DATA | 0 | req->ctx->submit_state.submit_nr | 1-u16max[c] |