Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
kernel/kthread.c __kthread_should_park() -> to_kthread()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | k | $0 |
| PREEMPT_ADD | |||
| TASK_NOT_RUNNING |
kernel/kthread.c free_kthread_struct() -> to_kthread()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | k | 4096-ptr_max |
| PARAM_VALUE | 0 | k->flags | 2097152-u32max |
| CAPPED_DATA | 0 | k | 1 |
| DATA_SOURCE | 0 | k | $0 |
| BIT_INFO | 0 | k->flags | 0x200000,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING |
kernel/kthread.c get_kthread_comm() -> to_kthread()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | k | 4096-ptr_max |
| PARAM_VALUE | 0 | k->flags | 2097152-u32max |
| CAPPED_DATA | 0 | k | 1 |
| DATA_SOURCE | 0 | k | $2 |
| BIT_INFO | 0 | k->flags | 0x200000,0xffffffdf |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &m->lock | ||
| HALF_LOCKED2 | 0 | &k->signal->exec_update_lock | |
| TYPE_LOCK | (struct seq_file)->lock |
kernel/kthread.c kthread() -> to_kthread()
| Type | Parameter | Key | Value |
|---|
kernel/kthread.c kthread_affine_node() -> to_kthread()
| Type | Parameter | Key | Value |
|---|
kernel/kthread.c kthread_affine_preferred() -> to_kthread()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | k | 4096-ptr_max |
| CAPPED_DATA | 0 | k | 1 |
| DATA_SOURCE | 0 | k | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ipvs->est_mutex | ||
| HALF_LOCKED2 | &rnp->kthread_mutex |
kernel/kthread.c kthread_associate_blkcg() -> to_kthread()
| Type | Parameter | Key | Value |
|---|---|---|---|
| HALF_LOCKED2 | &pool->lock |
kernel/kthread.c kthread_bind() -> to_kthread()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | k | 4096-ptr_max |
| DATA_SOURCE | 0 | k | $0 |
| STR_LEN | 0 | k | (-1),8-9,11-29,31-34,38 |
| STR_LEN | 0 | k | (-1),8-9,11-29,31-34,38 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
kernel/kthread.c kthread_bind_mask() -> to_kthread()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | k | 4096-ptr_max |
| CAPPED_DATA | 0 | k | 1 |
| DATA_SOURCE | 0 | k | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &wq_pool_mutex |
kernel/kthread.c kthread_blkcg() -> to_kthread()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read |
kernel/kthread.c kthread_create_on_cpu() -> to_kthread()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | k | 4096-ptr_max |
| PARAM_VALUE | 0 | k->flags | 0,67108864-u32max |
| PARAM_VALUE | 0 | k->worker_private | 4096-ptr_max |
| CAPPED_DATA | 0 | k | 1 |
| DATA_SOURCE | 0 | k | r kthread_create_on_node |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &test->data.start | ||
| HALF_LOCKED2 | global &boost_mutex | ||
| HALF_LOCKED2 | global &pernet_ops_rwsem | ||
| HALF_LOCKED2 | global &rdtgroup_mutex | ||
| HALF_LOCKED2 | global &smpboot_threads_lock |
kernel/kthread.c kthread_data() -> to_kthread()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | k | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | k | unit_byte |
| HALF_LOCKED2 | &ctx->flc_lock | ||
| HALF_LOCKED2 | &m->lock | ||
| HALF_LOCKED2 | global &wq_pool_attach_mutex | ||
| HALF_LOCKED2 | irq | ||
| HALF_LOCKED2 | 0 | &k->signal->exec_update_lock |
kernel/kthread.c kthread_park() -> to_kthread()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | k | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | k | unit_byte |
| HALF_LOCKED2 | &dev->mt76.mutex | ||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &rcu_state.nocb_mutex | ||
| HALF_LOCKED2 | global &smpboot_threads_lock |
kernel/kthread.c kthread_parkme() -> to_kthread()
| Type | Parameter | Key | Value |
|---|---|---|---|
| TASK_NOT_RUNNING |
kernel/kthread.c kthread_set_per_cpu() -> to_kthread()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | k | $0 |
| NOSPEC | 0 | k->thread.fsbase | |
| NOSPEC | 0 | k->thread.gsbase | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | k->group_leader->thread.fsbase | 0-u32max |
| USER_DATA | 0 | k->group_leader->thread.gsbase | 0-u32max |
| USER_DATA | 0 | k->thread.fsbase | 0-u32max |
| USER_DATA | 0 | k->thread.gsbase | 0-u32max |
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &smpboot_threads_lock | ||
| HALF_LOCKED2 | global &wq_pool_attach_mutex | ||
| HALF_LOCKED2 | global &wq_pool_mutex | ||
| HALF_LOCKED2 | 0 | &k->pi_lock |
kernel/kthread.c kthread_should_stop() -> to_kthread()
| Type | Parameter | Key | Value |
|---|
kernel/kthread.c kthread_stop() -> to_kthread()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | k | 4096-ptr_max |
| DATA_SOURCE | 0 | k | $0 |
kernel/kthread.c kthread_unpark() -> to_kthread()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | k | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | k | unit_byte |
| HALF_LOCKED2 | &dev->mt76.mutex | ||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | global &rcu_state.nocb_mutex | ||
| HALF_LOCKED2 | global &smpboot_threads_lock | ||
| HALF_LOCKED2 | global &sparse_irq_lock |
kernel/kthread.c set_kthread_struct() -> to_kthread()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | k | 4096-ptr_max |
| PARAM_VALUE | 0 | k->flags | 0,64-u32max |
| PARAM_VALUE | 0 | k->worker_private | 0 |
| DATA_SOURCE | 0 | k | $0 |
| BIT_INFO | 0 | k->flags | 0x40,0xffffffffffffffff |
| MEM_ZERO | 0 | &k->ioac | |
| MEM_ZERO | 0 | &k->pending.signal | |
| MEM_ZERO | 0 | &k->posix_cputimers | |
| RX_PATH |