Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
kernel/kthread.c kthread_affine_node() -> kthread_fetch_affinity()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kthread | 4096-ptr_max |
| PARAM_VALUE | 0 | kthread->affinity_node.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | cpumask | 1-u64max |
| BUF_SIZE | 0 | kthread | 280,464 |
| BUF_SIZE | 0 | kthread | 280,464 |
| CAPPED_DATA | 0 | &kthread->affinity_node | 1 |
| DATA_SOURCE | 0 | kthread | r to_kthread |
| NOCHECK_CALL | |||
| LOCK2 | global &kthread_affinity_lock |
kernel/kthread.c kthread_affine_preferred() -> kthread_fetch_affinity()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kthread | 4096-ptr_max |
| PARAM_VALUE | 0 | kthread->affinity_node.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | kthread->preferred_affinity | 4096-ptr_max |
| PARAM_VALUE | 0 | kthread->started | 0 |
| PARAM_VALUE | 1 | cpumask | 1-u64max |
| BUF_SIZE | 0 | kthread | 280,464 |
| BUF_SIZE | 0 | kthread | 280,464 |
| BUF_SIZE | 0 | kthread->preferred_affinity | 1024 |
| CAPPED_DATA | 0 | &kthread->affinity_node | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &kthread_affinity_lock | ||
| HALF_LOCKED2 | &ipvs->est_mutex | ||
| HALF_LOCKED2 | &rnp->kthread_mutex |
kernel/kthread.c kthreads_update_affinity() -> kthread_fetch_affinity()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kthread | 4096-ptr_max |
| PARAM_VALUE | 0 | kthread->task | 4096-ptr_max |
| PARAM_VALUE | 1 | cpumask | 1-u64max |
| BIT_INFO | 0 | kthread->task->flags | 0x0,0xfbffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | global &cpuset_top_mutex |