Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
io_uring/io_uring.c __io_alloc_req_refill() -> io_req_add_to_cache()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | ctx | 4096-ptr_max |
| BUF_SIZE | 1 | ctx | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | ctx | s32min-(-1),1-s32max |
| DATA_SOURCE | 1 | ctx | $0 |
| NOCHECK_CALL | |||
| USER_DATA | 1 | ctx->submit_state.need_plug | 0-1 |
| USER_DATA | 1 | ctx->submit_state.submit_nr | 1-u16max[c] |
| UNITS | 1 | ctx | unit_byte |
| HALF_LOCKED2 | &ctx->uring_lock | ||
| HALF_LOCKED2 | &sqd->lock | ||
| HALF_LOCKED2 | 1 | &ctx->uring_lock | |
| TYPE_LOCK | (struct io_ring_ctx)->uring_lock |
io_uring/io_uring.c io_free_batch_list() -> io_req_add_to_cache()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->tctx | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx | 4096-ptr_max |
| BUF_SIZE | 1 | ctx | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | ctx | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | req->tctx->task | 1 |
| DATA_SOURCE | 1 | ctx | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | ctx->submit_state.need_plug | 0-1 |
| USER_DATA | 1 | ctx->submit_state.submit_nr | 1-u16max[c] |
| UNITS | 1 | ctx | unit_byte |
| HALF_LOCKED2 | 1 | &ctx->uring_lock |
io_uring/io_uring.c io_submit_sqes() -> io_req_add_to_cache()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx | 4096-ptr_max |
| BUF_SIZE | 1 | ctx | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | ctx | s32min-(-1),1-s32max |
| CAPPED_DATA | 1 | ctx | 1 |
| CAPPED_DATA | 1 | ctx->sq_entries | 1 |
| DATA_SOURCE | 1 | ctx | $0 |
| BIT_INFO | 1 | ctx->flags | 0x0,0xffffffff |
| NOCHECK_CALL | |||
| USER_DATA | 1 | ctx->submit_state.need_plug | 0-1 |
| USER_DATA | 1 | ctx->submit_state.submit_nr | 1-u16max[c] |
| LOCK2 | 1 | &ctx->uring_lock | |
| HALF_LOCKED2 | &sqd->lock | ||
| TYPE_LOCK | (struct io_ring_ctx)->uring_lock |