Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
io_uring/uring_cmd.c io_uring_cmd_buffer_select() -> io_do_buffer_select()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| DATA_SOURCE | 0 | req | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ctx->uring_lock |
io_uring/net.c io_recv() -> io_do_buffer_select()
| 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/net.c io_recvmsg() -> io_do_buffer_select()
| 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/net.c io_send() -> io_do_buffer_select()
| 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_import_rw_buffer() -> io_do_buffer_select()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->flags | 32-u64max |
| BUF_SIZE | 0 | req->ctx | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | req | $1 |
| BIT_INFO | 0 | req->flags | 0x0,0xffffff7fffffffff |
| 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] |
| HALF_LOCKED2 | &ctx->uring_lock |
io_uring/rw.c __io_read() -> io_do_buffer_select()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| DATA_SOURCE | 0 | req | $0 |
| BIT_INFO | 0 | req->flags | 0x0,0xffffff7fffffffff |
| 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_do_import() -> io_do_buffer_select()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->flags | 4194304-4194464,4202496-4202656,4718592-4718752,4726784-4726944,274882101248-274882101408,274882109440-274882109600,274882625536-274882625696,274882633728-274882633888 |
| BUF_SIZE | 0 | req->ctx | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | req->opcode | 1 |
| DATA_SOURCE | 0 | req | $0 |
| USER_DATA | 0 | req->ctx->submit_state.need_plug | 0-1 |
| USER_DATA | 0 | req->ctx->submit_state.submit_nr | 1-u16max[c] |
| LOCK2 | &ctx->uring_lock | ||
| HALF_LOCKED2 | &sqd->lock | ||
| TYPE_LOCK | (struct io_ring_ctx)->uring_lock |