Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
kernel/sched/build_policy.c rq_lock() -> rq_pin_lock()
| 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->__lock.owner_cpu | 0 |
| PARAM_VALUE | 0 | rq->__lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 1 | rf | 1151419757588738048,1197784667481833472,2536240397371756544,3810492630573424640,8773487967293505544 |
| DATA_SOURCE | 0 | rq | $0 |
| DATA_SOURCE | 1 | rf | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | irq |
kernel/sched/build_policy.c rq_lock_irq() -> rq_pin_lock()
| 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->__lock.owner_cpu | 0 |
| PARAM_VALUE | 0 | rq->__lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 1 | rf | 190399772229746696 |
| PARAM_VALUE | 1 | rf->flags | 0 |
| DATA_SOURCE | 0 | rq | $0 |
| DATA_SOURCE | 1 | rf | $1 |
| NOCHECK_CALL | |||
| LOCK2 | irq | ||
| LOCK2 | 0 | rq | |
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &once_lock |
kernel/sched/build_utility.c rq_lock() -> rq_pin_lock()
| 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->__lock.owner_cpu | 0 |
| PARAM_VALUE | 0 | rq->__lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 1 | rf | 72439811920560128,3903800164168273920 |
| DATA_SOURCE | 0 | rq | $0 |
| DATA_SOURCE | 1 | rf | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | irq |
kernel/sched/build_utility.c rq_lock_irq() -> rq_pin_lock()
| 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->__lock.owner_cpu | 0 |
| PARAM_VALUE | 0 | rq->__lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 1 | rf | 8017333724492656648 |
| PARAM_VALUE | 1 | rf->flags | 0 |
| DATA_SOURCE | 0 | rq | $0 |
| DATA_SOURCE | 1 | rf | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | global &cgroup_mutex | ||
| LOCK2 | irq | ||
| LOCK2 | 0 | rq | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
kernel/sched/build_utility.c rq_lock_irqsave() -> rq_pin_lock()
| 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->__lock.owner_cpu | 0 |
| PARAM_VALUE | 0 | rq->__lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 1 | rf | 4529503631361748992,7980806914908495880 |
| CAPPED_DATA | 1 | rf->flags | 1 |
| DATA_SOURCE | 0 | rq | $0 |
| DATA_SOURCE | 1 | rf | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | rq | |
| LOCK2 | 1 | rf->flags | |
| HALF_LOCKED2 | global &sched_domains_mutex | ||
| HALF_LOCKED2 | rcu_read |
kernel/sched/fair.c rq_lock() -> rq_pin_lock()
| 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->__lock.owner_cpu | 0 |
| PARAM_VALUE | 0 | rq->__lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 1 | rf | 1719193544190066688,7872061340588498952 |
| DATA_SOURCE | 0 | rq | $0 |
| DATA_SOURCE | 1 | rf | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | busiest | ||
| HALF_LOCKED2 | irq | ||
| HALF_LOCKED2 | rf.flags |
kernel/sched/fair.c rq_lock_irq() -> rq_pin_lock()
| 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->__lock.owner_cpu | 0 |
| PARAM_VALUE | 0 | rq->__lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 1 | rf | 947498377146966016,5121502018311823360 |
| DATA_SOURCE | 0 | rq | $0 |
| DATA_SOURCE | 1 | rf | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | irq | ||
| LOCK2 | 0 | rq |
kernel/sched/fair.c rq_lock_irqsave() -> rq_pin_lock()
| 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->__lock.owner_cpu | 0 |
| PARAM_VALUE | 0 | rq->__lock.raw_lock.val.counter | 0-s32max |
| 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 | rf | 1275536642820628480,6641754313017753608,6769130545780568064,7560143459410239488,8699810241435197440 |
| CAPPED_DATA | 1 | rf->flags | 1 |
| DATA_SOURCE | 0 | rq | $0 |
| DATA_SOURCE | 1 | rf | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | rq | |
| LOCK2 | 1 | rf->flags | |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &shares_mutex |
kernel/sched/core.c ___task_rq_lock() -> rq_pin_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rq | 4096-ptr_max |
| PARAM_VALUE | 1 | rf | 4772972292310462480,5988219719489474560,7622339128756191232,8269062406816710656,8714097011348029440 |
| CAPPED_DATA | 0 | rq | 1 |
| DATA_SOURCE | 1 | rf | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &p->pi_lock | ||
| HALF_LOCKED2 | irq | ||
| HALF_LOCKED2 | rf.flags |
kernel/sched/core.c __migrate_swap_task() -> rq_pin_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | rf | 8769738589074284544 |
| NOCHECK_CALL |
kernel/sched/core.c __migrate_swap_task() -> rq_pin_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | rf | 6804363994311868416 |
| NOCHECK_CALL |
kernel/sched/core.c _task_rq_lock() -> rq_pin_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rq | 4096-ptr_max |
| PARAM_VALUE | 1 | rf | 4096-ptr_max |
| CAPPED_DATA | 0 | rq | 1 |
| CAPPED_DATA | 1 | rf->flags | 1 |
| DATA_SOURCE | 1 | rf | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &p->pi_lock | ||
| LOCK2 | 1 | rf->flags | |
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &css_set_lock | ||
| HALF_LOCKED2 | irq | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct task_struct)->pi_lock |
kernel/sched/core.c rq_lock() -> rq_pin_lock()
| 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->__lock.owner_cpu | 0 |
| PARAM_VALUE | 0 | rq->__lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 1 | rf | 4096-ptr_max |
| DATA_SOURCE | 0 | rq | $0 |
| DATA_SOURCE | 1 | rf | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &p->pi_lock | ||
| HALF_LOCKED2 | irq | ||
| HALF_LOCKED2 | rf.flags |
kernel/sched/core.c rq_lock_irq() -> rq_pin_lock()
| 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->__lock.owner_cpu | 0 |
| PARAM_VALUE | 0 | rq->__lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 1 | rf | 1824978826264723464 |
| PARAM_VALUE | 1 | rf->flags | 0 |
| DATA_SOURCE | 0 | rq | $0 |
| DATA_SOURCE | 1 | rf | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| LOCK2 | irq | ||
| LOCK2 | 0 | rq | |
| HALF_LOCKED2 | &of->mutex |
kernel/sched/core.c rq_lock_irqsave() -> rq_pin_lock()
| 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->__lock.owner_cpu | 0 |
| PARAM_VALUE | 0 | rq->__lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 1 | rf | 2406306044077858816,3441492487996338184,4140233503249248256,6663504882841112576,8486302442330988544,8687804740396986368,8713385720404885504 |
| CAPPED_DATA | 1 | rf->flags | 1 |
| DATA_SOURCE | 0 | rq | $0 |
| DATA_SOURCE | 1 | rf | $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 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | rq | |
| LOCK2 | 1 | rf->flags | |
| HALF_LOCKED2 | rcu_read |