Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- io_uring/net.c
- io_uring/poll.c, line 305
- io_uring/rw.c, line 1093
- io_uring/timeout.c, line 118
- io_uring/uring_cmd.c, line 402
Smatch caller information:
io_uring/uring_cmd.c io_uring_mshot_cmd_post_cqe() -> io_req_post_cqe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 2 | cflags | 2-3,19,65539-4294901779 |
| DATA_SOURCE | 0 | req | $0 |
| BIT_INFO | 2 | cflags | 0x2,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | res | unit_byte |
| HALF_LOCKED2 | &ctx->uring_lock |
io_uring/timeout.c io_timeout_complete() -> io_req_post_cqe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->async_data | 4096-ptr_max |
| PARAM_VALUE | 1 | res | (-62) |
| PARAM_VALUE | 2 | cflags | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ctx->uring_lock | ||
| HALF_LOCKED2 | _T->lock |
io_uring/poll.c io_poll_check_events() -> io_req_post_cqe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->cqe.res | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | req->link->tctx->task->sched_class->enqueue_task | 0,77,126196709549080576,1834828045319467008,6555940243012698112,7779016139136778240 |
| PARAM_VALUE | 0 | req->link->tctx->task->sched_class->find_lock_rq | 0,1330506845949976576,2186316422496772096 |
| PARAM_VALUE | 0 | req->link->tctx->task->sched_class->get_prio | 0,5589494719909007360 |
| PARAM_VALUE | 0 | req->link->tctx->task->sched_class->get_rr_interval | 0,160577115725877248,8566262156424376320 |
| PARAM_VALUE | 0 | req->link->tctx->task->sched_class->migrate_task_rq | 0,1111187247153754112,4715741308934107136 |
| PARAM_VALUE | 0 | req->link->tctx->task->sched_class->prio_changed | 0,6,1146300274019463168,2737281516638617600,4228469244769832960,6494577740674654208,7383617159121645568 |
| PARAM_VALUE | 0 | req->link->tctx->task->sched_class->put_prev_task | 0,45,879997059321819136,2104802920512651264,3309484659987406848,4521943768044347392,6061791611826737152 |
| PARAM_VALUE | 0 | req->link->tctx->task->sched_class->reweight_task | 0,5264859755264851968 |
| PARAM_VALUE | 0 | req->link->tctx->task->sched_class->rq_offline | 0,1273389266380275712,3746302679399247872,7992910395761221632 |
| PARAM_VALUE | 0 | req->link->tctx->task->sched_class->rq_online | 0,1603218695044562944,3838970304731508736,6105480162315575296 |
| PARAM_VALUE | 0 | req->link->tctx->task->sched_class->select_task_rq | 0,84,819017430815793152,1774144038744014848,2097362150474280960,8429637501012336640,8680431057181843456 |
| PARAM_VALUE | 0 | req->link->tctx->task->sched_class->set_cpus_allowed | 0,1927640468783054848,5094656021401329664,7127180339355369472 |
| PARAM_VALUE | 0 | req->link->tctx->task->sched_class->set_next_task | 0,6,2315212163512696832,4028699749262393344,4361835877848195072,6461874264613330944,8232387521787854848 |
| PARAM_VALUE | 0 | req->link->tctx->task->sched_class->switched_from | 0,6932178706407411712,8530452231382753280,8897597262779232256 |
| PARAM_VALUE | 0 | req->link->tctx->task->sched_class->switched_to | 0,5165838827171962880,5857971317054578688,7142770315824652288 |
| PARAM_VALUE | 0 | req->link->tctx->task->sched_class->switching_from | 0,2762873923526262784 |
| PARAM_VALUE | 0 | req->link->tctx->task->sched_class->switching_to | 0,1207858565835722752,6355784522873475072 |
| PARAM_VALUE | 0 | req->link->tctx->task->sched_class->task_change_group | 0,7251702690162270208 |
| PARAM_VALUE | 0 | req->link->tctx->task->sched_class->task_dead | 0,6742757381008068608 |
| PARAM_VALUE | 0 | req->link->tctx->task->sched_class->task_fork | 0,1181151505743122432,6092562452304658432 |
| PARAM_VALUE | 0 | req->link->tctx->task->sched_class->task_is_throttled | 0,626302238049026048,4879098428662644736,6508522699847725056 |
| PARAM_VALUE | 0 | req->link->tctx->task->sched_class->task_tick | 0,6,1093040616512942080,4602209053340655616,5021036204559331328,6268546278195412992,7031988722367209472 |
| PARAM_VALUE | 0 | req->link->tctx->task->sched_class->task_woken | 0,4090974917235912704,4284209241675612160 |
| PARAM_VALUE | 0 | req->link->tctx->task->sched_class->update_curr | 0,2,2420086066110373888,2446272091500916736,2561397482238263296,2943871782664327168,8139140255186919424 |
| PARAM_VALUE | 1 | res | 0-u16max |
| PARAM_VALUE | 2 | cflags | 2 |
| CAPPED_DATA | 1 | res | 1 |
| DATA_SOURCE | 0 | req | $0 |
| DATA_SOURCE | 1 | res | r mangle_poll |
| BIT_INFO | 0 | req->apoll_events | 0x0,0xbfffffff |
| BIT_INFO | 0 | req->flags | 0x0,0xfffffffff7ffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ctx->uring_lock | ||
| HALF_LOCKED2 | _T->lock |
io_uring/net.c io_accept() -> io_req_post_cqe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->file | 4096-ptr_max |
| PARAM_VALUE | 0 | req->file->f_op | 4096-ptr_max |
| PARAM_VALUE | 0 | req->file->private_data | 4096-ptr_max |
| PARAM_VALUE | 0 | req->flags | 134217728-u64max |
| PARAM_VALUE | 0 | req->link->tctx->task->sched_class->prio_changed | 0,6,1146300274019463168,2737281516638617600,4228469244769832960,6494577740674654208,7383617159121645568 |
| PARAM_VALUE | 0 | req->link->tctx->task->sched_class->put_prev_task | 0,45,879997059321819136,2104802920512651264,3309484659987406848,4521943768044347392,6061791611826737152 |
| PARAM_VALUE | 0 | req->link->tctx->task->sched_class->select_task_rq | 0,84,819017430815793152,1774144038744014848,2097362150474280960,8429637501012336640,8680431057181843456 |
| PARAM_VALUE | 0 | req->link->tctx->task->sched_class->set_next_task | 0,6,2315212163512696832,4028699749262393344,4361835877848195072,6461874264613330944,8232387521787854848 |
| PARAM_VALUE | 0 | req->link->tctx->task->sched_class->task_tick | 0,6,1093040616512942080,4602209053340655616,5021036204559331328,6268546278195412992,7031988722367209472 |
| PARAM_VALUE | 0 | req->link->tctx->task->sched_class->update_curr | 0,2,2420086066110373888,2446272091500916736,2561397482238263296,2943871782664327168,8139140255186919424 |
| PARAM_VALUE | 0 | *req->file->private_data->sk->sk_prot_creator->name | 0-255 |
| PARAM_VALUE | 1 | res | 0-s32max |
| PARAM_VALUE | 2 | cflags | 2,6 |
| CAPPED_DATA | 1 | res | 1 |
| DATA_SOURCE | 0 | req | $0 |
| FUZZY_MAX | 1 | res | 0 |
| BIT_INFO | 0 | req->flags | 0x8000000,0xffffffffffffffff |
| BIT_INFO | 2 | cflags | 0x2,0x6 |
| FD_INSTALL | 1 | res | |
| 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_recv_finish() -> io_req_post_cqe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->creds->process_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | req->creds->process_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | req->creds->request_key_auth->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | req->creds->request_key_auth->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | req->creds->session_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | req->creds->session_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | req->creds->thread_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | req->creds->thread_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | req->ctx->io_ev_fd->last_cq_tail | 0-4294967295 |
| PARAM_VALUE | 0 | req->file | 4096-ptr_max |
| PARAM_VALUE | 0 | req->file->f_op | 4096-ptr_max |
| PARAM_VALUE | 0 | req->flags | 134217728-u64max |
| PARAM_VALUE | 0 | req->link->ctx->submitter_task->delays->blkio_count | 0-4294967295 |
| PARAM_VALUE | 0 | req->link->ctx->submitter_task->sched_task_group->idle | s32min-s32max |
| PARAM_VALUE | 0 | req->link->ctx->submitter_task->sched_task_group->parent | 0-s64max |
| PARAM_VALUE | 0 | req->link->tctx->task->delays->blkio_count | 0-4294967295 |
| PARAM_VALUE | 0 | req->link->tctx->task->sched_task_group->idle | s32min-s32max |
| PARAM_VALUE | 2 | cflags | 0,2-u32max |
| CAPPED_DATA | 1 | res | 1 |
| DATA_SOURCE | 0 | req | $0 |
| BIT_INFO | 0 | req->flags | 0x8000000,0xffffffffffffffff |
| BIT_INFO | 2 | cflags | 0x2,0xffffffff |
| 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] |
| NO_OVERFLOW_SIMPLE | 1 | res | |
| UNITS | 1 | res | unit_byte |
io_uring/net.c io_send_finish() -> io_req_post_cqe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->creds->process_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | req->creds->process_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | req->creds->request_key_auth->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | req->creds->request_key_auth->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | req->creds->session_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | req->creds->session_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | req->creds->thread_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | req->creds->thread_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | req->ctx->io_ev_fd->last_cq_tail | 0-4294967295 |
| PARAM_VALUE | 0 | req->file | 4096-ptr_max |
| PARAM_VALUE | 0 | req->file->f_op | 4096-ptr_max |
| PARAM_VALUE | 0 | req->link->ctx->submitter_task->delays->blkio_count | 0-4294967295 |
| PARAM_VALUE | 0 | req->link->ctx->submitter_task->sched_task_group->idle | s32min-s32max |
| PARAM_VALUE | 0 | req->link->ctx->submitter_task->sched_task_group->parent | 0-s64max |
| PARAM_VALUE | 0 | req->link->tctx->task->delays->blkio_count | 0-4294967295 |
| PARAM_VALUE | 0 | req->link->tctx->task->sched_task_group->idle | s32min-s32max |
| PARAM_VALUE | 1 | res | 1-s32max |
| PARAM_VALUE | 2 | cflags | 2-3,19,65539-4294901779 |
| DATA_SOURCE | 0 | req | $0 |
| BIT_INFO | 0 | req->flags | 0x0,0xfffffffdffffbfff |
| BIT_INFO | 2 | cflags | 0x2,0xffffffff |
| 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] |
| UNITS | 1 | res | unit_byte |
io_uring/rw.c io_read_mshot() -> io_req_post_cqe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->async_data->vec.nr | 0-4294967295 |
| PARAM_VALUE | 0 | req->buf_node | 0,4096-ptr_max |
| PARAM_VALUE | 0 | req->cmd.flags | 0-510 |
| PARAM_VALUE | 0 | req->cmd.kiocb.ki_flags | s32min-s32max |
| PARAM_VALUE | 0 | req->cmd.len | 0-4294967295 |
| PARAM_VALUE | 0 | req->cqe.res | 0-1000000000 |
| PARAM_VALUE | 0 | req->ctx->uring_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | req->ctx->uring_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | req->ctx->uring_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | req->ctx->uring_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | req->ctx->uring_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | req->ctx->uring_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | req->ctx->uring_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | req->ctx->uring_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | req->ctx->uring_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | req->ctx->uring_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | req->file->f_iocb_flags | 0-s32max |
| PARAM_VALUE | 0 | req->iopoll_completed | 0 |
| PARAM_VALUE | 0 | req->kbuf | 0,4096-ptr_max |
| PARAM_VALUE | 0 | req->link->tctx->task->sched_class->prio_changed | 0,6,1146300274019463168,2737281516638617600,4228469244769832960,6494577740674654208,7383617159121645568 |
| PARAM_VALUE | 0 | req->link->tctx->task->sched_class->put_prev_task | 0,45,879997059321819136,2104802920512651264,3309484659987406848,4521943768044347392,6061791611826737152 |
| PARAM_VALUE | 0 | req->link->tctx->task->sched_class->select_task_rq | 0,84,819017430815793152,1774144038744014848,2097362150474280960,8429637501012336640,8680431057181843456 |
| PARAM_VALUE | 0 | req->link->tctx->task->sched_class->set_next_task | 0,6,2315212163512696832,4028699749262393344,4361835877848195072,6461874264613330944,8232387521787854848 |
| PARAM_VALUE | 0 | req->link->tctx->task->sched_class->task_tick | 0,6,1093040616512942080,4602209053340655616,5021036204559331328,6268546278195412992,7031988722367209472 |
| PARAM_VALUE | 0 | req->link->tctx->task->sched_class->update_curr | 0,2,2420086066110373888,2446272091500916736,2561397482238263296,2943871782664327168,8139140255186919424 |
| PARAM_VALUE | 1 | res | 1-s32max |
| PARAM_VALUE | 2 | cflags | 2-3,19,65539-4294901779 |
| CAPPED_DATA | 0 | req->async_data->vec.nr | 1 |
| CAPPED_DATA | 1 | res | 1 |
| DATA_SOURCE | 0 | req | $0 |
| DATA_SOURCE | 1 | res | r __io_read |
| BIT_INFO | 2 | cflags | 0x2,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | req->cqe.res | 0-1000000000 |
| USER_DATA | 0 | req->ctx->submit_state.need_plug | 0-1 |
| USER_DATA | 0 | req->ctx->submit_state.submit_nr | 1-u16max[c] |