Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
kernel/sched/core.c __schedule() -> (struct sched_class)->put_prev_task()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rq | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->__lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | rq->balance_callback->next | 0-8420675918325051391,8420675918325051393-u64max |
| PARAM_VALUE | 0 | rq->dl_server | 0 |
| PARAM_VALUE | 0 | rq->donor | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->donor->dl_server | 0 |
| PARAM_VALUE | 0 | rq->donor->sched_class | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->next_class->balance | 0,4895810773273071616,6490409225490120704,7260575883162300416,8638459336928428032 |
| PARAM_VALUE | 0 | rq->next_class->dequeue_task | 0,144070366336110592,1947835499009560576,6189267449403002880,6455432424639717376,6899636822736904192 |
| PARAM_VALUE | 0 | rq->next_class->enqueue_task | 0,126196709549080576,1834828045319467008,6555940243012698112,7779016139136778240 |
| PARAM_VALUE | 0 | rq->next_class->find_lock_rq | 0,1330506845949976576,2186316422496772096 |
| PARAM_VALUE | 0 | rq->next_class->get_prio | 0,5589494719909007360 |
| PARAM_VALUE | 0 | rq->next_class->get_rr_interval | 0,160577115725877248,8566262156424376320 |
| PARAM_VALUE | 0 | rq->next_class->migrate_task_rq | 0,1111187247153754112,4715741308934107136 |
| PARAM_VALUE | 0 | rq->next_class->pick_task | 0,431140902756892672,1158575681758597120,5720692379550740480,7102393387566546944,7601726578106748928 |
| PARAM_VALUE | 0 | rq->next_class->prio_changed | 0,1146300274019463168,2737281516638617600,4228469244769832960,6494577740674654208,7383617159121645568 |
| PARAM_VALUE | 0 | rq->next_class->put_prev_task | 0,879997059321819136,2104802920512651264,3309484659987406848,4521943768044347392,6061791611826737152 |
| PARAM_VALUE | 0 | rq->next_class->reweight_task | 0,5264859755264851968 |
| PARAM_VALUE | 0 | rq->next_class->rq_offline | 0,1273389266380275712,3746302679399247872,7992910395761221632 |
| PARAM_VALUE | 0 | rq->next_class->rq_online | 0,1603218695044562944,3838970304731508736,6105480162315575296 |
| PARAM_VALUE | 0 | rq->next_class->select_task_rq | 0,819017430815793152,1774144038744014848,2097362150474280960,8429637501012336640,8680431057181843456 |
| PARAM_VALUE | 0 | rq->next_class->set_cpus_allowed | 0,1927640468783054848,5094656021401329664,7127180339355369472 |
| PARAM_VALUE | 0 | rq->next_class->set_next_task | 0,2315212163512696832,4028699749262393344,4361835877848195072,6461874264613330944,8232387521787854848 |
| PARAM_VALUE | 0 | rq->next_class->switched_from | 0,6932178706407411712,8530452231382753280,8897597262779232256 |
| PARAM_VALUE | 0 | rq->next_class->switched_to | 0,5165838827171962880,5857971317054578688,7142770315824652288 |
| PARAM_VALUE | 0 | rq->next_class->switching_from | 0,2762873923526262784 |
| PARAM_VALUE | 0 | rq->next_class->switching_to | 0,1207858565835722752,6355784522873475072 |
| PARAM_VALUE | 0 | rq->next_class->task_change_group | 0,7251702690162270208 |
| PARAM_VALUE | 0 | rq->next_class->task_dead | 0,6742757381008068608 |
| PARAM_VALUE | 0 | rq->next_class->task_fork | 0,1181151505743122432,6092562452304658432 |
| PARAM_VALUE | 0 | rq->next_class->task_is_throttled | 0,626302238049026048,4879098428662644736,6508522699847725056 |
| PARAM_VALUE | 0 | rq->next_class->task_tick | 0,1093040616512942080,4602209053340655616,5021036204559331328,6268546278195412992,7031988722367209472 |
| PARAM_VALUE | 0 | rq->next_class->task_woken | 0,4090974917235912704,4284209241675612160 |
| PARAM_VALUE | 0 | rq->next_class->uclamp_enabled | 0-1 |
| PARAM_VALUE | 0 | rq->next_class->update_curr | 0,2420086066110373888,2446272091500916736,2561397482238263296,2943871782664327168,8139140255186919424 |
| PARAM_VALUE | 0 | rq->next_class->wakeup_preempt | 0,1077039320164851712,1147033115188453376,2990157993661198336,6476960569952718848,6679893776262037504 |
| PARAM_VALUE | 0 | rq->next_class->yield_task | 0,2190573298372911104,3192817945493614592,3256919456170586112,7456815790656131072 |
| PARAM_VALUE | 0 | rq->next_class->yield_to_task | 0,3940359203731251200 |
| PARAM_VALUE | 1 | prev | 4096-ptr_max |
| PARAM_VALUE | 1 | prev->dl_server | 0 |
| PARAM_VALUE | 1 | prev->sched_class | 4096-ptr_max |
| PARAM_VALUE | 2 | next | 4096-ptr_max |
| PARAM_VALUE | 2 | next->dl_server | 0 |
| PARAM_VALUE | 2 | next->sched_class | 4096-ptr_max |
| CAPPED_DATA | 0 | rq->donor | 1 |
| CONTAINER | 1 | -64-800+0 | $(-1) |
| CONTAINER | 2 | -64-800+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | irq |
kernel/sched/core.c put_prev_set_next_task() -> (struct sched_class)->put_prev_task()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rq | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->balance_callback->next | 0-8420675918325051391,8420675918325051393-u64max |
| PARAM_VALUE | 0 | rq->dl_server | 0 |
| PARAM_VALUE | 0 | rq->next_class->balance | 0,4096-ptr_max |
| PARAM_VALUE | 0 | rq->next_class->dequeue_task | 0,4096-ptr_max |
| PARAM_VALUE | 0 | rq->next_class->enqueue_task | 0,4096-ptr_max |
| PARAM_VALUE | 0 | rq->next_class->find_lock_rq | 0,3,7,4096-ptr_max |
| PARAM_VALUE | 0 | rq->next_class->get_prio | 0,7,4096-ptr_max |
| PARAM_VALUE | 0 | rq->next_class->get_rr_interval | 0,4096-ptr_max |
| PARAM_VALUE | 0 | rq->next_class->migrate_task_rq | 0,20,84,4096-ptr_max |
| PARAM_VALUE | 0 | rq->next_class->pick_task | 0,71,75,4096-ptr_max |
| PARAM_VALUE | 0 | rq->next_class->prio_changed | 0,6,4096-ptr_max |
| PARAM_VALUE | 0 | rq->next_class->put_prev_task | 0,45,4096-ptr_max |
| PARAM_VALUE | 0 | rq->next_class->reweight_task | 0,6,4096-ptr_max |
| PARAM_VALUE | 0 | rq->next_class->rq_offline | 0,3,6,4096-ptr_max |
| PARAM_VALUE | 0 | rq->next_class->rq_online | 0,5,4096-ptr_max |
| PARAM_VALUE | 0 | rq->next_class->select_task_rq | 0,6,43,84,4096-ptr_max |
| PARAM_VALUE | 0 | rq->next_class->set_cpus_allowed | 0,5,7,509,4096-ptr_max |
| PARAM_VALUE | 0 | rq->next_class->set_next_task | 0,6,33,45,4096-ptr_max |
| PARAM_VALUE | 0 | rq->next_class->switched_from | 0,8,4096-ptr_max |
| PARAM_VALUE | 0 | rq->next_class->switched_to | 0,6,4096-ptr_max |
| PARAM_VALUE | 0 | rq->next_class->switching_from | 0,4096-ptr_max |
| PARAM_VALUE | 0 | rq->next_class->switching_to | 0,8,4096-ptr_max |
| PARAM_VALUE | 0 | rq->next_class->task_change_group | 0,2,4096-ptr_max |
| PARAM_VALUE | 0 | rq->next_class->task_dead | 0,4096-ptr_max |
| PARAM_VALUE | 0 | rq->next_class->task_fork | 0,5-6,4096-ptr_max |
| PARAM_VALUE | 0 | rq->next_class->task_is_throttled | 0,72,4096-ptr_max |
| PARAM_VALUE | 0 | rq->next_class->task_tick | 0,6,4096-ptr_max |
| PARAM_VALUE | 0 | rq->next_class->task_woken | 0,4,4096-ptr_max |
| PARAM_VALUE | 0 | rq->next_class->uclamp_enabled | 0-1 |
| PARAM_VALUE | 0 | rq->next_class->update_curr | 0,2,85,4096-ptr_max |
| PARAM_VALUE | 0 | rq->next_class->wakeup_preempt | 0,4096-ptr_max |
| PARAM_VALUE | 0 | rq->next_class->yield_task | 0,4096-ptr_max |
| PARAM_VALUE | 0 | rq->next_class->yield_to_task | 0,4096-ptr_max |
| PARAM_VALUE | 1 | prev | 4096-ptr_max |
| PARAM_VALUE | 1 | prev->dl_server | 0 |
| PARAM_VALUE | 1 | prev->sched_class | 4096-ptr_max |
| PARAM_VALUE | 2 | next | 4096-ptr_max |
| CAPPED_DATA | 0 | rq | 1 |
| DATA_SOURCE | 0 | rq | $0 |
| DATA_SOURCE | 1 | prev | $1 |
| DATA_SOURCE | 2 | next | $2 |
| CONTAINER | 1 | -64-800+0 | $(-1) |
| PARAM_COMPARE | 1 | prev | != $2 |
| PARAM_COMPARE | 2 | next | != $1 |
| PARAM_COMPARE | 2 | next | != $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | rq->fair_server.dl_runtime | |
| LOCK2 | irq | ||
| HALF_LOCKED2 | &p->blocked_lock | ||
| HALF_LOCKED2 | &p->pi_lock |
kernel/sched/core.c put_prev_task() -> (struct sched_class)->put_prev_task()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rq | 4096-ptr_max |
| PARAM_VALUE | 1 | prev | 4096-ptr_max |
| PARAM_VALUE | 1 | prev->latency_record->count | 0-4294967295 |
| PARAM_VALUE | 1 | prev->latency_record->max | 0-s32max |
| PARAM_VALUE | 1 | prev->latency_record->time | 0-s32max |
| PARAM_VALUE | 1 | prev->mm->mmap_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | prev->mm->mmap_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | prev->ptracer_cred->process_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 1 | prev->ptracer_cred->process_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 1 | prev->ptracer_cred->request_key_auth->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 1 | prev->ptracer_cred->request_key_auth->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 1 | prev->ptracer_cred->session_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 1 | prev->ptracer_cred->session_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 1 | prev->ptracer_cred->thread_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 1 | prev->ptracer_cred->thread_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 1 | prev->sched_class | 4096-ptr_max |
| PARAM_VALUE | 1 | prev->sched_class->balance | 0,4895810773273071616,6490409225490120704,7260575883162300416,8638459336928428032 |
| PARAM_VALUE | 1 | prev->sched_class->dequeue_task | 0,144070366336110592,1947835499009560576,6189267449403002880,6455432424639717376,6899636822736904192 |
| PARAM_VALUE | 1 | prev->sched_class->enqueue_task | 0,126196709549080576,1834828045319467008,6555940243012698112,7779016139136778240 |
| PARAM_VALUE | 1 | prev->sched_class->find_lock_rq | 0,7,1273389266380275712,1330506845949976576,2186316422496772096,3746302679399247872,7992910395761221632 |
| PARAM_VALUE | 1 | prev->sched_class->get_prio | 0,7,4096-ptr_max |
| PARAM_VALUE | 1 | prev->sched_class->get_rr_interval | 0,160577115725877248,5264859755264851968,8566262156424376320 |
| PARAM_VALUE | 1 | prev->sched_class->migrate_task_rq | 0,20,4096-ptr_max |
| PARAM_VALUE | 1 | prev->sched_class->pick_task | 0,71,4096-ptr_max |
| PARAM_VALUE | 1 | prev->sched_class->prio_changed | 0,6,4096-ptr_max |
| PARAM_VALUE | 1 | prev->sched_class->put_prev_task | 0,45,4096-ptr_max |
| PARAM_VALUE | 1 | prev->sched_class->reweight_task | 0,4096-ptr_max |
| PARAM_VALUE | 1 | prev->sched_class->rq_offline | 0,6,4096-ptr_max |
| PARAM_VALUE | 1 | prev->sched_class->rq_online | 0,5,4096-ptr_max |
| PARAM_VALUE | 1 | prev->sched_class->select_task_rq | 0,43,84,4096-ptr_max |
| PARAM_VALUE | 1 | prev->sched_class->set_cpus_allowed | 0,7,509,4096-ptr_max |
| PARAM_VALUE | 1 | prev->sched_class->set_next_task | 0,6,33,4096-ptr_max |
| PARAM_VALUE | 1 | prev->sched_class->switched_from | 0,8,4096-ptr_max |
| PARAM_VALUE | 1 | prev->sched_class->switched_to | 0,6,1207858565835722752,5165838827171962880,5857971317054578688,6355784522873475072,7142770315824652288 |
| PARAM_VALUE | 1 | prev->sched_class->switching_from | 0,4096-ptr_max |
| PARAM_VALUE | 1 | prev->sched_class->switching_to | 0,8,1207858565835722752,6355784522873475072,6932178706407411712,8530452231382753280,8897597262779232256 |
| PARAM_VALUE | 1 | prev->sched_class->task_change_group | 0,2420086066110373888,2446272091500916736,2561397482238263296,2943871782664327168,7251702690162270208,8139140255186919424 |
| PARAM_VALUE | 1 | prev->sched_class->task_dead | 0,1181151505743122432,6092562452304658432,6742757381008068608 |
| PARAM_VALUE | 1 | prev->sched_class->task_fork | 0,5,4096-ptr_max |
| PARAM_VALUE | 1 | prev->sched_class->task_is_throttled | 0,72,626302238049026048,4879098428662644736,6508522699847725056,7251702690162270208 |
| PARAM_VALUE | 1 | prev->sched_class->task_tick | 0,6,4096-ptr_max |
| PARAM_VALUE | 1 | prev->sched_class->task_woken | 0,4,1111187247153754112,4090974917235912704,4284209241675612160,4715741308934107136 |
| PARAM_VALUE | 1 | prev->sched_class->uclamp_enabled | 0-1 |
| PARAM_VALUE | 1 | prev->sched_class->update_curr | 0,2,85,4096-ptr_max |
| PARAM_VALUE | 1 | prev->sched_class->wakeup_preempt | 0,1077039320164851712,1147033115188453376,2990157993661198336,6476960569952718848,6679893776262037504 |
| PARAM_VALUE | 1 | prev->sched_class->yield_task | 0,2190573298372911104,3192817945493614592,3256919456170586112,7456815790656131072 |
| PARAM_VALUE | 1 | prev->sched_class->yield_to_task | 0,3940359203731251200 |
| PARAM_VALUE | 1 | prev->signal->cgroup_threadgroup_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | prev->signal->cgroup_threadgroup_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 2 | next | 0 |
| BUF_SIZE | 1 | prev | (-1),1-s32max |
| BUF_SIZE | 1 | prev | (-1),1-s32max |
| BUF_SIZE | 1 | prev->group_leader | (-1),1-s32max |
| BUF_SIZE | 1 | prev->io_uring | (-1),640 |
| BUF_SIZE | 1 | prev->mempolicy | (-1),1-s32max |
| BUF_SIZE | 1 | prev->numa_faults | (-1),64-65600 |
| BUF_SIZE | 1 | prev->vfork_done | (-1),96 |
| CAPPED_DATA | 1 | prev | 1 |
| DATA_SOURCE | 0 | rq | $0 |
| DATA_SOURCE | 1 | prev | $1 |
| STR_LEN | 0 | rq | (-1),8-9,11-29,31-34,38 |
| STR_LEN | 0 | rq | (-1),8-9,11-29,31-34,38 |
| STR_LEN | 1 | prev | (-1),8-9,11-29,31-34,38 |
| STR_LEN | 1 | prev | (-1),8-9,11-29,31-34,38 |
| CONTAINER | 1 | -64-800+0 | $(-1) |
| NOSPEC | 1 | prev->thread.fsbase | |
| NOSPEC | 1 | prev->thread.gsbase | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | prev->dl.pi_se->runtime | 1-17592186044415[c] |
| USER_DATA | 1 | prev->dl.runtime | 1-17592186044415[c] |
| USER_DATA | 1 | prev->exit_code | 0-64,256-65280[c] |
| USER_DATA | 1 | prev->exit_signal | 1-64[c] |
| USER_DATA | 1 | prev->group_leader->thread.fsbase | 0-s32max[c] |
| USER_DATA | 1 | prev->group_leader->thread.gsbase | 0-s32max[c] |
| USER_DATA | 1 | prev->ptrace | 0-u32max[c] |
| USER_DATA | 1 | prev->sched_reset_on_fork | 0-1 |
| USER_DATA | 1 | prev->signal->group_exit_code | 0,256-65280[c] |
| USER_DATA | 1 | prev->syscall_dispatch.len | 0-u64max |
| USER_DATA | 1 | prev->syscall_dispatch.offset | 0-s32max[c] |
| USER_DATA | 1 | prev->thread.ds | 0-u16max |
| USER_DATA | 1 | prev->thread.es | 0-u16max |
| USER_DATA | 1 | prev->thread.features_locked | 0-u64max[c][u] |
| USER_DATA | 1 | prev->thread.fsbase | 0-s32max[c] |
| USER_DATA | 1 | prev->thread.fsindex | 0-u16max |
| USER_DATA | 1 | prev->thread.gsbase | 0-s32max[c] |
| USER_DATA | 1 | prev->thread.gsindex | 0-u16max |
| USER_DATA | 1 | prev->thread.ptrace_dr7 | 0-u64max |
| USER_DATA | 1 | prev->thread.virtual_dr6 | 0-u64max |
| NO_OVERFLOW_SIMPLE | 1 | prev->dl.dl_runtime | |
| NO_OVERFLOW_SIMPLE | 1 | prev->dl.pi_se->dl_runtime | |
| NO_OVERFLOW_SIMPLE | 1 | prev->nsproxy->pid_ns_for_children->pid_cachep->sheaf_capacity | |
| HALF_LOCKED2 | 1 | &prev->pi_lock | |
| HALF_LOCKED2 | 1 | &prev->sighand->siglock |