Defined in 2 files as a function:
Referenced in 1 files:
Smatch caller information:
kernel/sched/core.c __schedule() -> rq_set_donor()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rq | 4096-ptr_max |
| PARAM_VALUE | 1 | t | 4096-ptr_max |
| DATA_SOURCE | 1 | t | r pick_next_task |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | irq |
kernel/sched/core.c __schedule() -> rq_set_donor()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rq | 4096-ptr_max |
| PARAM_VALUE | 1 | t | 4096-ptr_max |
| DATA_SOURCE | 1 | t | r pick_next_task |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | irq |
kernel/sched/core.c init_idle() -> rq_set_donor()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rq | 4096-ptr_max |
| PARAM_VALUE | 1 | t | 4096-ptr_max |
| DATA_SOURCE | 1 | t | $0 |
| BIT_INFO | 1 | t->flags | 0x4200000,0xffffffffffffffff |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 1 | &t->pi_lock | |
| TYPE_LOCK | (struct task_struct)->pi_lock |
kernel/sched/core.c proxy_resched_idle() -> rq_set_donor()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rq | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->donor | 4096-ptr_max |
| PARAM_VALUE | 1 | t | 4096-ptr_max |
| BUF_SIZE | 0 | rq->next_class | 248 |
| CAPPED_DATA | 0 | rq | 1 |
| CAPPED_DATA | 0 | rq->donor | 1 |
| CAPPED_DATA | 0 | rq->idle | 1 |
| CAPPED_DATA | 1 | t | 1 |
| DATA_SOURCE | 0 | rq | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | rq->fair_server.dl_runtime | |
| UNITS | 1 | t | unit_byte |
| LOCK2 | irq | ||
| HALF_LOCKED2 | &mutex->wait_lock | ||
| HALF_LOCKED2 | &p->blocked_lock |
kernel/sched/core.c proxy_reset_donor() -> rq_set_donor()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rq | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->donor | 4096-ptr_max |
| PARAM_VALUE | 1 | t | 4096-ptr_max |
| CAPPED_DATA | 0 | rq->curr | 1 |
| CAPPED_DATA | 0 | rq->donor | 1 |
| CAPPED_DATA | 1 | t | 1 |
| DATA_SOURCE | 0 | rq | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | t | unit_byte |
| LOCK2 | &p->blocked_lock | ||
| LOCK2 | &p->pi_lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | &p->sighand->siglock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct task_struct)->blocked_lock | ||
| TYPE_LOCK | (struct task_struct)->pi_lock |