Defined in 1 files as a function:
Referenced in 5 files:
- io_uring/net.c
- io_uring/rsrc.c
- io_uring/rw.c
- io_uring/uring_cmd.c, line 262
- io_uring/waitid.c, line 76
Smatch caller information:
io_uring/rsrc.c __io_sqe_buffers_update() -> io_is_compat()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->int_flags | 4-u32max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | ctx->buf_table.nr | 1 |
| CAPPED_DATA | 0 | ctx->submitter_task | 1 |
| DATA_SOURCE | 0 | ctx | $0 |
| RX_PATH | |||
| LOCK2 | 0 | &ctx->uring_lock | |
| TYPE_LOCK | (struct io_ring_ctx)->uring_lock |
io_uring/rsrc.c __io_sqe_buffers_update() -> io_is_compat()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->int_flags | 4-u32max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | ctx->buf_table.nr | 1 |
| CAPPED_DATA | 0 | ctx->submitter_task | 1 |
| DATA_SOURCE | 0 | ctx | $0 |
| RX_PATH | |||
| LOCK2 | 0 | &ctx->uring_lock | |
| TYPE_LOCK | (struct io_ring_ctx)->uring_lock |
io_uring/rsrc.c io_prep_reg_iovec() -> io_is_compat()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | ctx | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ctx | s32min-(-1),1-s32max |
| 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 | &ctx->uring_lock |
io_uring/rsrc.c io_sqe_buffers_register() -> io_is_compat()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->int_flags | 4-u32max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | ctx->submitter_task | 1 |
| DATA_SOURCE | 0 | ctx | $0 |
| LOCK2 | 0 | &ctx->uring_lock | |
| TYPE_LOCK | (struct io_ring_ctx)->uring_lock |
io_uring/rsrc.c io_sqe_buffers_register() -> io_is_compat()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->int_flags | 4-u32max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | ctx->submitter_task | 1 |
| DATA_SOURCE | 0 | ctx | $0 |
| LOCK2 | 0 | &ctx->uring_lock | |
| TYPE_LOCK | (struct io_ring_ctx)->uring_lock |
io_uring/uring_cmd.c io_uring_cmd() -> io_is_compat()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| 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 |
io_uring/net.c io_msg_copy_hdr() -> io_is_compat()
| 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 |
| 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 |
io_uring/net.c io_net_import_vec() -> io_is_compat()
| 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 |
| 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 |
io_uring/net.c io_recvmsg_prep() -> io_is_compat()
| 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 |
| 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 |
io_uring/net.c io_send_zc_prep() -> io_is_compat()
| 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 |
| 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 |
io_uring/net.c io_sendmsg_prep() -> io_is_compat()
| 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 |
| 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 |
io_uring/waitid.c io_waitid_copy_si() -> io_is_compat()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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 |
io_uring/rw.c io_import_vec() -> io_is_compat()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | ctx | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ctx | s32min-(-1),1-s32max |
| 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 | &ctx->uring_lock |
io_uring/rw.c io_iov_buffer_select_prep() -> io_is_compat()
| 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 |
| 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 |