Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
kernel/sched/build_policy.c _sched_setscheduler() -> __sched_setscheduler()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->sched_class->balance | 0,4895810773273071616,6490409225490120704,7260575883162300416,8638459336928428032 |
| PARAM_VALUE | 0 | p->sched_class->dequeue_task | 0,144070366336110592,1947835499009560576,6189267449403002880,6455432424639717376,6899636822736904192 |
| PARAM_VALUE | 0 | p->sched_class->enqueue_task | 0,126196709549080576,1834828045319467008,6555940243012698112,7779016139136778240 |
| PARAM_VALUE | 0 | p->sched_class->find_lock_rq | 0,1273389266380275712,1330506845949976576,2186316422496772096,3746302679399247872,7992910395761221632 |
| PARAM_VALUE | 0 | p->sched_class->get_prio | 0,5165838827171962880,5589494719909007360,5857971317054578688,7142770315824652288 |
| PARAM_VALUE | 0 | p->sched_class->get_rr_interval | 0,160577115725877248,5264859755264851968,8566262156424376320 |
| PARAM_VALUE | 0 | p->sched_class->pick_task | 0,431140902756892672,1158575681758597120,5720692379550740480,7102393387566546944,7546922302727954432,7601726578106748928 |
| PARAM_VALUE | 0 | p->sched_class->prio_changed | 0,1146300274019463168,2737281516638617600,4228469244769832960,5589494719909007360,6494577740674654208,7383617159121645568 |
| PARAM_VALUE | 0 | p->sched_class->put_prev_task | 0,879997059321819136,2104802920512651264,2702168970777976832,3309484659987406848,4521943768044347392,6061791611826737152 |
| PARAM_VALUE | 0 | p->sched_class->reweight_task | 0,1146300274019463168,2737281516638617600,4228469244769832960,5264859755264851968,6494577740674654208,7383617159121645568 |
| PARAM_VALUE | 0 | p->sched_class->rq_offline | 0,1273389266380275712,1603218695044562944,3746302679399247872,3838970304731508736,6105480162315575296,7992910395761221632 |
| PARAM_VALUE | 0 | p->sched_class->rq_online | 0,1603218695044562944,1927640468783054848,3838970304731508736,5094656021401329664,6105480162315575296,7127180339355369472 |
| PARAM_VALUE | 0 | p->sched_class->switched_from | 0,2762873923526262784,6932178706407411712,8530452231382753280,8897597262779232256 |
| PARAM_VALUE | 0 | p->sched_class->switched_to | 0,1207858565835722752,5165838827171962880,5857971317054578688,6355784522873475072,7142770315824652288 |
| PARAM_VALUE | 0 | p->sched_class->switching_from | 0,2762873923526262784,6742757381008068608 |
| PARAM_VALUE | 0 | p->sched_class->switching_to | 0,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_is_throttled | 0,626302238049026048,4879098428662644736,6508522699847725056,7251702690162270208 |
| PARAM_VALUE | 0 | p->sched_class->task_woken | 0,1111187247153754112,4090974917235912704,4284209241675612160,4715741308934107136 |
| PARAM_VALUE | 0 | p->sched_class->uclamp_enabled | 0-1 |
| 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 |
| PARAM_VALUE | 1 | attr | 1616362178167181312 |
| PARAM_VALUE | 1 | attr->sched_deadline | 0 |
| PARAM_VALUE | 1 | attr->sched_flags | 0-1 |
| PARAM_VALUE | 1 | attr->sched_period | 0 |
| PARAM_VALUE | 1 | attr->sched_policy | 0-s32max,u32max |
| PARAM_VALUE | 1 | attr->sched_util_max | 0 |
| PARAM_VALUE | 1 | attr->sched_util_min | 0 |
| PARAM_VALUE | 1 | attr->size | 0 |
| PARAM_VALUE | 3 | pi | 1 |
| DATA_SOURCE | 0 | p | $0 |
| DATA_SOURCE | 2 | user | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | attr->sched_policy | 0-s32max |
| USER_DATA | 1 | attr->sched_priority | 0-u32max |
| NO_OVERFLOW_SIMPLE | 0 | p->dl.pi_se->dl_runtime |
kernel/sched/build_policy.c sched_setattr() -> __sched_setscheduler()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr | 971500483485368320,5788335121992990720 |
| PARAM_VALUE | 1 | attr->sched_policy | 0-s32max,u32max |
| PARAM_VALUE | 2 | user | 1 |
| PARAM_VALUE | 3 | pi | 1 |
| DATA_SOURCE | 0 | p | $0 |
| DATA_SOURCE | 1 | attr | $1 |
| USER_DATA | 1 | attr->sched_deadline | 0-u64max |
| USER_DATA | 1 | attr->sched_flags | 0-u64max |
| USER_DATA | 1 | attr->sched_nice | s32min-s32max |
| USER_DATA | 1 | attr->sched_period | 0-u64max |
| USER_DATA | 1 | attr->sched_policy | 0-s32max |
| USER_DATA | 1 | attr->sched_priority | 0-u32max |
| USER_DATA | 1 | attr->sched_runtime | 0-u64max |
| USER_DATA | 1 | attr->sched_util_max | 0-u32max |
| USER_DATA | 1 | attr->sched_util_min | 0-u32max |
| USER_DATA | 1 | attr->size | 0-u32max |
kernel/sched/build_policy.c sched_setattr_nocheck() -> __sched_setscheduler()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p->sched_class->balance | 0,4895810773273071616,6490409225490120704,7260575883162300416,8638459336928428032 |
| PARAM_VALUE | 0 | p->sched_class->dequeue_task | 0,144070366336110592,1947835499009560576,6189267449403002880,6455432424639717376,6899636822736904192 |
| PARAM_VALUE | 0 | p->sched_class->enqueue_task | 0,126196709549080576,1834828045319467008,6555940243012698112,7779016139136778240 |
| PARAM_VALUE | 0 | p->sched_class->find_lock_rq | 0,1273389266380275712,1330506845949976576,2186316422496772096,3746302679399247872,7992910395761221632 |
| PARAM_VALUE | 0 | p->sched_class->get_prio | 0,5165838827171962880,5589494719909007360,5857971317054578688,7142770315824652288 |
| PARAM_VALUE | 0 | p->sched_class->get_rr_interval | 0,160577115725877248,5264859755264851968,8566262156424376320 |
| PARAM_VALUE | 0 | p->sched_class->pick_task | 0,431140902756892672,1158575681758597120,5720692379550740480,7102393387566546944,7546922302727954432,7601726578106748928 |
| PARAM_VALUE | 0 | p->sched_class->prio_changed | 0,1146300274019463168,2737281516638617600,4228469244769832960,5589494719909007360,6494577740674654208,7383617159121645568 |
| PARAM_VALUE | 0 | p->sched_class->put_prev_task | 0,879997059321819136,2104802920512651264,2702168970777976832,3309484659987406848,4521943768044347392,6061791611826737152 |
| PARAM_VALUE | 0 | p->sched_class->reweight_task | 0,1146300274019463168,2737281516638617600,4228469244769832960,5264859755264851968,6494577740674654208,7383617159121645568 |
| PARAM_VALUE | 0 | p->sched_class->rq_offline | 0,1273389266380275712,1603218695044562944,3746302679399247872,3838970304731508736,6105480162315575296,7992910395761221632 |
| PARAM_VALUE | 0 | p->sched_class->rq_online | 0,1603218695044562944,1927640468783054848,3838970304731508736,5094656021401329664,6105480162315575296,7127180339355369472 |
| PARAM_VALUE | 0 | p->sched_class->set_cpus_allowed | 0,1927640468783054848,4090974917235912704,4284209241675612160,5094656021401329664,7127180339355369472 |
| PARAM_VALUE | 0 | p->sched_class->switched_from | 0,2762873923526262784,6932178706407411712,8530452231382753280,8897597262779232256 |
| PARAM_VALUE | 0 | p->sched_class->switched_to | 0,1207858565835722752,5165838827171962880,5857971317054578688,6355784522873475072,7142770315824652288 |
| PARAM_VALUE | 0 | p->sched_class->switching_from | 0,2762873923526262784,6742757381008068608 |
| PARAM_VALUE | 0 | p->sched_class->switching_to | 0,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_is_throttled | 0,626302238049026048,4879098428662644736,6508522699847725056,7251702690162270208 |
| PARAM_VALUE | 0 | p->sched_class->task_woken | 0,1111187247153754112,4090974917235912704,4284209241675612160,4715741308934107136 |
| PARAM_VALUE | 0 | p->sched_class->uclamp_enabled | 0-1 |
| 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 |
| PARAM_VALUE | 1 | attr | 3214467456466944000,8991478227003150336 |
| PARAM_VALUE | 1 | attr->sched_deadline | 0,10000000 |
| PARAM_VALUE | 1 | attr->sched_flags | 0,268435456 |
| PARAM_VALUE | 1 | attr->sched_period | 0,10000000 |
| PARAM_VALUE | 1 | attr->sched_policy | 0,6 |
| PARAM_VALUE | 1 | attr->sched_priority | 0 |
| PARAM_VALUE | 1 | attr->sched_runtime | 0,1000000 |
| PARAM_VALUE | 1 | attr->sched_util_max | 0 |
| PARAM_VALUE | 1 | attr->sched_util_min | 0 |
| PARAM_VALUE | 1 | attr->size | 0,56 |
| PARAM_VALUE | 2 | user | 0 |
| PARAM_VALUE | 3 | pi | 1 |
| DATA_SOURCE | 0 | p | $0 |
| DATA_SOURCE | 1 | attr | $1 |
| HARD_MAX | 1 | attr->sched_deadline | 10000000 |
| HARD_MAX | 1 | attr->sched_flags | 268435456 |
| HARD_MAX | 1 | attr->sched_period | 10000000 |
| HARD_MAX | 1 | attr->sched_policy | 6 |
| HARD_MAX | 1 | attr->sched_runtime | 1000000 |
| HARD_MAX | 1 | attr->size | 56 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
kernel/sched/core.c normalize_rt_tasks() -> __sched_setscheduler()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->prio | s32min-99 |
| PARAM_VALUE | 0 | p->sched_class->balance | 0,4895810773273071616,6490409225490120704,7260575883162300416,8638459336928428032 |
| PARAM_VALUE | 0 | p->sched_class->dequeue_task | 0,144070366336110592,1947835499009560576,6189267449403002880,6455432424639717376,6899636822736904192 |
| PARAM_VALUE | 0 | p->sched_class->enqueue_task | 0,126196709549080576,1834828045319467008,6555940243012698112,7779016139136778240 |
| PARAM_VALUE | 0 | p->sched_class->find_lock_rq | 0,1273389266380275712,1330506845949976576,2186316422496772096,3746302679399247872,7992910395761221632 |
| PARAM_VALUE | 0 | p->sched_class->get_prio | 0,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,4096-ptr_max |
| PARAM_VALUE | 0 | p->sched_class->pick_task | 0,431140902756892672,1158575681758597120,5720692379550740480,7102393387566546944,7546922302727954432,7601726578106748928 |
| PARAM_VALUE | 0 | p->sched_class->prio_changed | 0,1146300274019463168,2737281516638617600,4228469244769832960,5589494719909007360,6494577740674654208,7383617159121645568 |
| PARAM_VALUE | 0 | p->sched_class->put_prev_task | 0,879997059321819136,2104802920512651264,2702168970777976832,3309484659987406848,4521943768044347392,6061791611826737152 |
| PARAM_VALUE | 0 | p->sched_class->reweight_task | 0,4096-ptr_max |
| PARAM_VALUE | 0 | p->sched_class->rq_offline | 0,1273389266380275712,1603218695044562944,3746302679399247872,3838970304731508736,6105480162315575296,7992910395761221632 |
| PARAM_VALUE | 0 | p->sched_class->rq_online | 0,1603218695044562944,1927640468783054848,3838970304731508736,5094656021401329664,6105480162315575296,7127180339355369472 |
| PARAM_VALUE | 0 | p->sched_class->select_task_rq | 0,4096-ptr_max |
| PARAM_VALUE | 0 | p->sched_class->set_cpus_allowed | 0,509,4096-ptr_max |
| PARAM_VALUE | 0 | p->sched_class->set_next_task | 0,4096-ptr_max |
| PARAM_VALUE | 0 | p->sched_class->switched_from | 0,4096-ptr_max |
| PARAM_VALUE | 0 | p->sched_class->switched_to | 0,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,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,4096-ptr_max |
| PARAM_VALUE | 0 | p->sched_class->task_is_throttled | 0,626302238049026048,4879098428662644736,6508522699847725056,7251702690162270208 |
| PARAM_VALUE | 0 | p->sched_class->task_tick | 0,4096-ptr_max |
| PARAM_VALUE | 0 | p->sched_class->task_woken | 0,1111187247153754112,4090974917235912704,4284209241675612160,4715741308934107136 |
| PARAM_VALUE | 0 | p->sched_class->uclamp_enabled | 0-1 |
| PARAM_VALUE | 0 | p->sched_class->update_curr | 0,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 |
| PARAM_VALUE | 0 | p->se.exec_start | 0 |
| PARAM_VALUE | 1 | attr | 2019789210301693952 |
| PARAM_VALUE | 1 | attr->sched_deadline | 0 |
| PARAM_VALUE | 1 | attr->sched_flags | 0 |
| PARAM_VALUE | 1 | attr->sched_nice | 0 |
| PARAM_VALUE | 1 | attr->sched_period | 0 |
| PARAM_VALUE | 1 | attr->sched_policy | 0 |
| PARAM_VALUE | 1 | attr->sched_priority | 0 |
| PARAM_VALUE | 1 | attr->sched_runtime | 0 |
| PARAM_VALUE | 1 | attr->sched_util_max | 0 |
| PARAM_VALUE | 1 | attr->sched_util_min | 0 |
| PARAM_VALUE | 1 | attr->size | 0 |
| PARAM_VALUE | 2 | user | 0 |
| PARAM_VALUE | 3 | pi | 0 |
| BIT_INFO | 0 | p->flags | 0x0,0xffdfffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &tasklist_lock | ||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &dev->event_lock | ||
| HALF_LOCKED2 | irq |