Defined in 1 files as a function:
Referenced in 8 files:
- include/linux/io_uring/cmd.h
- io_uring/cmd_net.c, line 93
- io_uring/msg_ring.c, line 231
- io_uring/notif.c
- io_uring/rsrc.c
- io_uring/rw.c
- io_uring/timeout.c
- io_uring/uring_cmd.c
Smatch caller information:
io_uring/rsrc.c io_buffer_register_bvec() -> cmd_to_io_kiocb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | ptr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ctx->uring_lock |
io_uring/rsrc.c io_buffer_unregister_bvec() -> cmd_to_io_kiocb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | ptr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ctx->uring_lock |
io_uring/msg_ring.c io_msg_tw_fd_complete() -> cmd_to_io_kiocb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu |
io_uring/uring_cmd.c __io_uring_cmd_do_in_task() -> cmd_to_io_kiocb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | ptr | (-1)-s32max |
| DATA_SOURCE | 0 | ptr | $0 |
| STR_LEN | 0 | ptr | (-1),8,11-12,14,17,19-20,23,26-27,29,31-32 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
io_uring/uring_cmd.c __io_uring_cmd_done() -> cmd_to_io_kiocb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | ptr | (-1),96,104,144,5504 |
| DATA_SOURCE | 0 | ptr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
io_uring/uring_cmd.c io_cmd_poll_multishot() -> cmd_to_io_kiocb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 4096-ptr_max |
| DATA_SOURCE | 0 | ptr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ctx->uring_lock |
io_uring/uring_cmd.c io_uring_cmd_buffer_select() -> cmd_to_io_kiocb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | ptr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ctx->uring_lock |
io_uring/uring_cmd.c io_uring_cmd_del_cancelable() -> cmd_to_io_kiocb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 4096-ptr_max |
| BUF_SIZE | 0 | ptr | (-1),96,104,144,5504 |
| DATA_SOURCE | 0 | ptr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
io_uring/uring_cmd.c io_uring_cmd_import_fixed() -> cmd_to_io_kiocb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 4096-ptr_max |
| DATA_SOURCE | 0 | ptr | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ctx->uring_lock |
io_uring/uring_cmd.c io_uring_cmd_import_fixed_vec() -> cmd_to_io_kiocb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 4096-ptr_max |
| DATA_SOURCE | 0 | ptr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ctx->uring_lock |
io_uring/uring_cmd.c io_uring_cmd_issue_blocking() -> cmd_to_io_kiocb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | ptr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ctx->uring_lock | ||
| HALF_LOCKED2 | _T->lock |
io_uring/uring_cmd.c io_uring_cmd_mark_cancelable() -> cmd_to_io_kiocb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 4096-ptr_max |
| DATA_SOURCE | 0 | ptr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ctx->uring_lock |
io_uring/uring_cmd.c io_uring_cmd_post_mshot_cqe32() -> cmd_to_io_kiocb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 4096-ptr_max |
| DATA_SOURCE | 0 | ptr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ctx->uring_lock |
io_uring/uring_cmd.c io_uring_mshot_cmd_post_cqe() -> cmd_to_io_kiocb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 4096-ptr_max |
| DATA_SOURCE | 0 | ptr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ctx->uring_lock |
io_uring/cmd_net.c io_process_timestamp_skb() -> cmd_to_io_kiocb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 4096-ptr_max |
| DATA_SOURCE | 0 | ptr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ctx->uring_lock |
io_uring/timeout.c io_flush_killed_timeouts() -> cmd_to_io_kiocb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 1830262756487315432,3875571559650258920 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ctx->uring_lock |
io_uring/timeout.c io_flush_timeouts() -> cmd_to_io_kiocb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ctx->timeout_lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | &ctx->uring_lock | ||
| TYPE_LOCK | (struct io_ring_ctx)->timeout_lock |
io_uring/timeout.c io_kill_timeouts() -> cmd_to_io_kiocb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ctx->completion_lock | ||
| LOCK2 | &ctx->timeout_lock | ||
| LOCK2 | &ctx->uring_lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | &sqd->lock | ||
| TYPE_LOCK | (struct io_ring_ctx)->completion_lock | ||
| TYPE_LOCK | (struct io_ring_ctx)->timeout_lock | ||
| TYPE_LOCK | (struct io_ring_ctx)->uring_lock |
io_uring/timeout.c io_linked_timeout_update() -> cmd_to_io_kiocb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ctx->timeout_lock | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct io_ring_ctx)->timeout_lock |
io_uring/timeout.c io_timeout() -> cmd_to_io_kiocb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ctx->timeout_lock | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct io_ring_ctx)->timeout_lock |
io_uring/timeout.c io_timeout_extract() -> cmd_to_io_kiocb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ctx->timeout_lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | &ctx->completion_lock | ||
| TYPE_LOCK | (struct io_ring_ctx)->timeout_lock |
drivers/nvme/host/ioctl.c io_uring_cmd_ctx_handle() -> cmd_to_io_kiocb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | ptr | 96,104,144,5504 |
| DATA_SOURCE | 0 | ptr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ctx->uring_lock |
drivers/block/ublk_drv.c io_uring_cmd_ctx_handle() -> cmd_to_io_kiocb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | ptr | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/block/ublk_drv.c io_uring_cmd_get_task() -> cmd_to_io_kiocb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 4096-ptr_max |
| DATA_SOURCE | 0 | ptr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ctx->uring_lock |
io_uring/notif.c io_link_skb() -> cmd_to_io_kiocb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 4096-ptr_max |
io_uring/notif.c io_link_skb() -> cmd_to_io_kiocb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 4096-ptr_max |
io_uring/notif.c io_notif_tw_complete() -> cmd_to_io_kiocb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ctx->uring_lock | ||
| HALF_LOCKED2 | _T->lock |
io_uring/notif.c io_tx_ubuf_complete() -> cmd_to_io_kiocb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | rcu_read |
io_uring/rw.c io_complete_rw() -> cmd_to_io_kiocb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &epdata->dev->lock |
io_uring/rw.c io_complete_rw_iopoll() -> cmd_to_io_kiocb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &epdata->dev->lock |
io_uring/rw.c loop_rw_iter() -> cmd_to_io_kiocb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 4096-ptr_max |
| BUF_SIZE | 0 | ptr | 64 |
| DATA_SOURCE | 0 | ptr | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |