Defined in 2 files as a function:
Referenced in 3 files:
Smatch caller information:
kernel/sched/fair.c task_change_group_fair() -> set_task_rq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->__state | 0-2047,2049-u32max |
| PARAM_VALUE | 0 | p->dl.inactive_timer.flags | 0-4294967295 |
| PARAM_VALUE | 0 | p->dl.rb_node.rb_left | 0 |
| PARAM_VALUE | 0 | p->kcov_remote->mode | 0-4294967295 |
| PARAM_VALUE | 0 | p->kcov_remote->remote | 0-1 |
| PARAM_VALUE | 0 | p->kcov_remote->remote_size | 0-4294967295 |
| PARAM_VALUE | 0 | p->pushable_dl_tasks.__rb_parent_color | 1 |
| PARAM_VALUE | 0 | p->pushable_tasks.prio_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | p->sched_class | 4096-ptr_max |
| PARAM_VALUE | 0 | p->sched_class->task_change_group | 7251702690162270208 |
| PARAM_VALUE | 0 | p->se.avg.last_update_time | 0 |
| PARAM_VALUE | 0 | p->se.cfs_rq->h_curr | 0 |
| PARAM_VALUE | 0 | p->se.cfs_rq->next | 0 |
| PARAM_VALUE | 0 | p->se.cfs_rq->pelt_clock_throttled | 1 |
| PARAM_VALUE | 0 | p->se.cfs_rq->propagate | 1 |
| PARAM_VALUE | 0 | p->se.cfs_rq->removed.load_avg | 0 |
| PARAM_VALUE | 0 | p->se.cfs_rq->removed.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | p->se.cfs_rq->removed.lock.owner | (-1) |
| PARAM_VALUE | 0 | p->se.cfs_rq->removed.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | p->se.cfs_rq->removed.nr | 0 |
| PARAM_VALUE | 0 | p->se.cfs_rq->removed.runnable_avg | 0 |
| PARAM_VALUE | 0 | p->se.cfs_rq->removed.util_avg | 0 |
| PARAM_VALUE | 0 | p->se.cfs_rq->rq->curr->mm->sc_stat.cpu | (-1) |
| PARAM_VALUE | 0 | p->se.cfs_rq->rq->curr->pref_llc_queued | 0-1 |
| PARAM_VALUE | 0 | p->se.cfs_rq->rq->donor->__state | 0,512 |
| PARAM_VALUE | 0 | p->se.cfs_rq->rq->donor->core_node.__rb_parent_color | 1 |
| PARAM_VALUE | 0 | p->se.cfs_rq->rq->donor->core_node.rb_left | 4096-ptr_max |
| PARAM_VALUE | 0 | p->se.cfs_rq->rq->donor->core_node.rb_right | 4096-ptr_max |
| PARAM_VALUE | 0 | p->se.cfs_rq->rq->donor->cpus_ptr | 4096-ptr_max |
| PARAM_VALUE | 0 | p->se.cfs_rq->rq->donor->mm->mm_cid.irq_work.node.a_flags.counter | 0-s32max |
| PARAM_VALUE | 0 | p->se.cfs_rq->rq->donor->pushable_dl_tasks.__rb_parent_color | 1 |
| PARAM_VALUE | 0 | p->se.cfs_rq->rq->donor->pushable_dl_tasks.rb_left | 4096-ptr_max |
| PARAM_VALUE | 0 | p->se.cfs_rq->rq->donor->pushable_tasks.node_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | p->se.cfs_rq->rq->donor->pushable_tasks.node_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | p->se.cfs_rq->rq->donor->pushable_tasks.prio_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | p->se.cfs_rq->rq->donor->rseq.event.ids_changed | 1 |
| PARAM_VALUE | 0 | p->se.cfs_rq->rq->donor->sched_migrated | 1 |
| PARAM_VALUE | 0 | p->se.cfs_rq->rq->donor->sched_throttle_work.next | 0-7661163036167163903,7661163036167163905-u64max |
| PARAM_VALUE | 0 | p->se.cfs_rq->rq->donor->se.group_node.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | p->se.cfs_rq->rq->donor->throttle_node.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | p->se.cfs_rq->rq->donor->wake_cpu | 0-s32max |
| PARAM_VALUE | 0 | p->se.cfs_rq->rq->fair_server.dl_timer.base->cpu_base->expires_next | 0-s64max |
| PARAM_VALUE | 0 | p->se.cfs_rq->rq->fair_server.dl_timer.base->cpu_base->softirq_expires_next | 0-s64max |
| PARAM_VALUE | 0 | p->se.cfs_rq->rq->fair_server.inactive_timer.base | 4096-ptr_max |
| PARAM_VALUE | 0 | p->se.cfs_rq->rq->fair_server.inactive_timer.node.node.node.__rb_parent_color | 1 |
| PARAM_VALUE | 0 | p->se.cfs_rq->rq->fair_server.inactive_timer.node.node.node.rb_left | 4096-ptr_max |
| PARAM_VALUE | 0 | p->se.cfs_rq->rq->fair_server.inactive_timer.node.node.node.rb_right | 4096-ptr_max |
| PARAM_VALUE | 0 | p->se.cfs_rq->rq->fair_server.pi_se | 4096-ptr_max |
| PARAM_VALUE | 0 | p->se.cfs_rq->rq->fair_server.pi_se->pi_se | 4096-ptr_max |
| PARAM_VALUE | 0 | p->se.cfs_rq->rq->fair_server.rb_node.__rb_parent_color | 1 |
| PARAM_VALUE | 0 | p->se.cfs_rq->rq->leaf_cfs_rq_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | p->se.cfs_rq->rq->leaf_cfs_rq_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | p->se.cfs_rq->rq->tmp_alone_branch | 4096-ptr_max |
| PARAM_VALUE | 0 | p->se.cfs_rq->rq->tmp_alone_branch->next | 4096-ptr_max |
| PARAM_VALUE | 0 | p->se.cfs_rq->rq->tmp_alone_branch->next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | p->se.cfs_rq->rq->tmp_alone_branch->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | p->se.cfs_rq->throttled_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | p->se.my_q->prop_runnable_sum | 0 |
| PARAM_VALUE | 0 | p->se.my_q->propagate | 0 |
| PARAM_VALUE | 0 | p->signal->cgroup_threadgroup_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | p->signal->cgroup_threadgroup_rwsem.first_waiter->type | 0-1 |
| CAPPED_DATA | 0 | p | 1 |
| DATA_SOURCE | 0 | p | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | p->dl.pi_se->runtime | 1-17592186044415[c] |
| USER_DATA | 0 | p->exit_code | 0,256-65280[c] |
| USER_DATA | 0 | p->signal->group_exit_code | 0,256-65280[c] |
kernel/sched/core.c __set_task_cpu() -> set_task_rq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->latency_record->count | 0-4294967295 |
| PARAM_VALUE | 0 | p->latency_record->max | 0-s32max |
| PARAM_VALUE | 0 | p->latency_record->time | 0-s32max |
| PARAM_VALUE | 0 | p->mm->mmap_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | p->mm->mmap_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | p->sched_class->balance | 0,4895810773273071616,6490409225490120704,7260575883162300416,8638459336928428032 |
| PARAM_VALUE | 0 | p->sched_class->dequeue_task | 0,4096-ptr_max |
| PARAM_VALUE | 0 | p->sched_class->enqueue_task | 0,4096-ptr_max |
| PARAM_VALUE | 0 | p->sched_class->find_lock_rq | 0,7,1273389266380275712,1330506845949976576,2186316422496772096,3746302679399247872,7992910395761221632 |
| PARAM_VALUE | 0 | p->sched_class->get_prio | 0,7,4096-ptr_max |
| PARAM_VALUE | 0 | p->sched_class->get_rr_interval | 0,160577115725877248,5264859755264851968,8566262156424376320 |
| PARAM_VALUE | 0 | p->sched_class->migrate_task_rq | 0,20,4096-ptr_max |
| PARAM_VALUE | 0 | p->sched_class->pick_task | 0,71,4096-ptr_max |
| PARAM_VALUE | 0 | p->sched_class->prio_changed | 0,6,4096-ptr_max |
| PARAM_VALUE | 0 | p->sched_class->put_prev_task | 0,45,4096-ptr_max |
| PARAM_VALUE | 0 | p->sched_class->reweight_task | 0,4096-ptr_max |
| PARAM_VALUE | 0 | p->sched_class->rq_offline | 0,6,4096-ptr_max |
| PARAM_VALUE | 0 | p->sched_class->rq_online | 0,5,4096-ptr_max |
| PARAM_VALUE | 0 | p->sched_class->select_task_rq | 0,43,84,4096-ptr_max |
| PARAM_VALUE | 0 | p->sched_class->set_cpus_allowed | 0,7,1927640468783054848,4090974917235912704,4284209241675612160,5094656021401329664,7127180339355369472 |
| PARAM_VALUE | 0 | p->sched_class->set_next_task | 0,6,33,4096-ptr_max |
| PARAM_VALUE | 0 | p->sched_class->switched_from | 0,8,4096-ptr_max |
| PARAM_VALUE | 0 | p->sched_class->switched_to | 0,6,1207858565835722752,5165838827171962880,5857971317054578688,6355784522873475072,7142770315824652288 |
| PARAM_VALUE | 0 | p->sched_class->switching_from | 0,4096-ptr_max |
| PARAM_VALUE | 0 | p->sched_class->switching_to | 0,8,1207858565835722752,6355784522873475072,6932178706407411712,8530452231382753280,8897597262779232256 |
| PARAM_VALUE | 0 | p->sched_class->task_change_group | 0,2420086066110373888,2446272091500916736,2561397482238263296,2943871782664327168,7251702690162270208,8139140255186919424 |
| PARAM_VALUE | 0 | p->sched_class->task_dead | 0,1181151505743122432,6092562452304658432,6742757381008068608 |
| PARAM_VALUE | 0 | p->sched_class->task_fork | 0,5,4096-ptr_max |
| PARAM_VALUE | 0 | p->sched_class->task_is_throttled | 0,72,626302238049026048,4879098428662644736,6508522699847725056,7251702690162270208 |
| PARAM_VALUE | 0 | p->sched_class->task_tick | 0,6,4096-ptr_max |
| PARAM_VALUE | 0 | p->sched_class->task_woken | 0,4,1111187247153754112,4090974917235912704,4284209241675612160,4715741308934107136 |
| PARAM_VALUE | 0 | p->sched_class->uclamp_enabled | 0-1 |
| PARAM_VALUE | 0 | p->sched_class->update_curr | 0,2,85,4096-ptr_max |
| PARAM_VALUE | 0 | p->sched_class->wakeup_preempt | 0,1077039320164851712,1147033115188453376,2990157993661198336,6476960569952718848,6679893776262037504 |
| PARAM_VALUE | 0 | p->sched_class->yield_task | 0,2190573298372911104,3192817945493614592,3256919456170586112,7456815790656131072 |
| PARAM_VALUE | 0 | p->sched_class->yield_to_task | 0,3940359203731251200 |
| BUF_SIZE | 0 | p | (-1)-s32max |
| BUF_SIZE | 0 | p | (-1)-s32max |
| BUF_SIZE | 0 | p->migration_pending | (-1),176 |
| BUF_SIZE | 0 | p->vfork_done | (-1),96 |
| CAPPED_DATA | 0 | p | 1 |
| DATA_SOURCE | 0 | p | $0 |
| DATA_SOURCE | 1 | cpu | $1 |
| NOSPEC | 0 | p->thread.fsbase | |
| NOSPEC | 0 | p->thread.gsbase | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | p->dl.pi_se->runtime | 1-17592186044415[c] |
| USER_DATA | 0 | p->exit_code | 0-64 |
| USER_DATA | 0 | p->exit_signal | 1-64[c] |
| USER_DATA | 0 | p->group_leader->thread.fsbase | 0-u32max |
| USER_DATA | 0 | p->group_leader->thread.gsbase | 0-u32max |
| USER_DATA | 0 | p->ptrace | 0-u32max[c] |
| USER_DATA | 0 | p->syscall_dispatch.len | 0-u64max |
| USER_DATA | 0 | p->syscall_dispatch.offset | 0-s32max[c] |
| USER_DATA | 0 | p->thread.ds | 0-u16max |
| USER_DATA | 0 | p->thread.es | 0-u16max |
| USER_DATA | 0 | p->thread.features_locked | 0-u64max[c][u] |
| USER_DATA | 0 | p->thread.fsbase | 0-u32max |
| USER_DATA | 0 | p->thread.fsindex | 0-u16max |
| USER_DATA | 0 | p->thread.gsbase | 0-u32max |
| USER_DATA | 0 | p->thread.gsindex | 0-u16max |
| USER_DATA | 0 | p->thread.ptrace_dr7 | 0-u64max |
| USER_DATA | 0 | p->thread.virtual_dr6 | 0-u64max |
| NO_OVERFLOW_SIMPLE | 0 | p->dl.pi_se->dl_runtime | |
| NO_OVERFLOW_SIMPLE | 0 | p->nsproxy->pid_ns_for_children->pid_cachep->sheaf_capacity | |
| UNITS | 0 | p | unit_byte |
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| HALF_LOCKED2 | rcu_read | ||
| HALF_LOCKED2 | rf.flags | ||
| HALF_LOCKED2 | 0 | &p->pi_lock | |
| HALF_LOCKED2 | 0 | &p->sighand->siglock |
kernel/sched/core.c sched_change_group() -> set_task_rq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->dl.inactive_timer.base->index | 0-7 |
| PARAM_VALUE | 0 | p->pushable_dl_tasks.__rb_parent_color | 1 |
| PARAM_VALUE | 0 | p->pushable_dl_tasks.rb_left | 4096-ptr_max |
| PARAM_VALUE | 0 | p->pushable_tasks.prio_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | p->sched_class | 4096-ptr_max |
| PARAM_VALUE | 0 | p->sched_class->select_task_rq | 0,84,819017430815793152,1774144038744014848,2097362150474280960,8429637501012336640,8680431057181843456 |
| PARAM_VALUE | 0 | p->sched_class->set_next_task | 0,6,2315212163512696832,4028699749262393344,4361835877848195072,6461874264613330944,8232387521787854848 |
| PARAM_VALUE | 0 | p->sched_class->task_change_group | 0 |
| PARAM_VALUE | 0 | p->sched_class->update_curr | 0,2,2420086066110373888,2446272091500916736,2561397482238263296,2943871782664327168,8139140255186919424 |
| PARAM_VALUE | 0 | p->se.cfs_rq->h_curr | 0 |
| PARAM_VALUE | 0 | p->se.cfs_rq->removed.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | p->se.cfs_rq->rq->curr->mm->sc_stat.cpu | (-1) |
| PARAM_VALUE | 0 | p->se.cfs_rq->rq->curr->pref_llc_queued | 0-1 |
| PARAM_VALUE | 0 | p->se.cfs_rq->rq->donor->__state | 0,512 |
| PARAM_VALUE | 0 | p->se.cfs_rq->rq->donor->core_node.__rb_parent_color | 1 |
| PARAM_VALUE | 0 | p->se.cfs_rq->rq->donor->core_node.rb_left | 4096-ptr_max |
| PARAM_VALUE | 0 | p->se.cfs_rq->rq->donor->core_node.rb_right | 4096-ptr_max |
| PARAM_VALUE | 0 | p->se.cfs_rq->rq->donor->cpus_ptr | 4096-ptr_max |
| PARAM_VALUE | 0 | p->se.cfs_rq->rq->donor->delays->lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | p->se.cfs_rq->rq->donor->mm->mm_cid.irq_work.node.a_flags.counter | 0-s32max |
| PARAM_VALUE | 0 | p->se.cfs_rq->rq->donor->pushable_dl_tasks.__rb_parent_color | 1 |
| PARAM_VALUE | 0 | p->se.cfs_rq->rq->donor->pushable_dl_tasks.rb_left | 4096-ptr_max |
| PARAM_VALUE | 0 | p->se.cfs_rq->rq->donor->pushable_tasks.node_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | p->se.cfs_rq->rq->donor->pushable_tasks.node_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | p->se.cfs_rq->rq->donor->pushable_tasks.node_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | p->se.cfs_rq->rq->donor->pushable_tasks.node_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | p->se.cfs_rq->rq->donor->pushable_tasks.prio_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | p->se.cfs_rq->rq->donor->pushable_tasks.prio_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | p->se.cfs_rq->rq->donor->pushable_tasks.prio_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | p->se.cfs_rq->rq->donor->rseq.event.ids_changed | 1 |
| PARAM_VALUE | 0 | p->se.cfs_rq->rq->donor->sched_migrated | 1 |
| PARAM_VALUE | 0 | p->se.cfs_rq->rq->donor->sched_throttle_work.next | 0-7661163036167163903,7661163036167163905-u64max |
| PARAM_VALUE | 0 | p->se.cfs_rq->rq->donor->se.group_node.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | p->se.cfs_rq->rq->donor->throttle_node.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | p->se.cfs_rq->rq->donor->wake_cpu | 0-s32max |
| PARAM_VALUE | 0 | p->se.cfs_rq->rq->fair_server.dl_timer.base->cpu_base->expires_next | 0-s64max |
| PARAM_VALUE | 0 | p->se.cfs_rq->rq->fair_server.dl_timer.base->cpu_base->softirq_expires_next | 0-s64max |
| PARAM_VALUE | 0 | p->se.cfs_rq->rq->fair_server.inactive_timer.base | 4096-ptr_max |
| PARAM_VALUE | 0 | p->se.cfs_rq->rq->fair_server.inactive_timer.node.node.node.__rb_parent_color | 1 |
| PARAM_VALUE | 0 | p->se.cfs_rq->rq->fair_server.inactive_timer.node.node.node.rb_left | 4096-ptr_max |
| PARAM_VALUE | 0 | p->se.cfs_rq->rq->fair_server.inactive_timer.node.node.node.rb_right | 4096-ptr_max |
| PARAM_VALUE | 0 | p->se.cfs_rq->rq->fair_server.pi_se | 4096-ptr_max |
| PARAM_VALUE | 0 | p->se.cfs_rq->rq->fair_server.pi_se->pi_se | 4096-ptr_max |
| PARAM_VALUE | 0 | p->se.cfs_rq->rq->fair_server.rb_node.__rb_parent_color | 1 |
| PARAM_VALUE | 0 | p->se.cfs_rq->throttled_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | p->signal->cgroup_threadgroup_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | p->signal->cgroup_threadgroup_rwsem.first_waiter->type | 0-1 |
| CAPPED_DATA | 0 | p | 1 |
| DATA_SOURCE | 0 | p | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | p->exit_code | 0,256-65280[c] |
| USER_DATA | 0 | p->signal->group_exit_code | 0,256-65280[c] |