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