Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

kernel/exit.c do_exit() -> tsk_is_kthread()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
DATA_SOURCE 0 p r get_current
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &system_transition_mutex

fs/btrfs/volumes.c update_dev_time() -> tsk_is_kthread()

Type Parameter Key Value

kernel/kthread.c kthread_func() -> tsk_is_kthread()

Type Parameter Key Value
DATA_SOURCE 0 p $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ctx->flc_lock

kernel/kthread.c kthread_is_per_cpu() -> tsk_is_kthread()

Type Parameter Key Value
BUF_SIZE 0 p (-1),1-s32max
BUF_SIZE 0 p (-1),1-s32max
BUF_SIZE 0 p->group_leader (-1),1-s32max
BUF_SIZE 0 p->mempolicy (-1),1-s32max
BUF_SIZE 0 p->vfork_done (-1),96
DATA_SOURCE 0 p $0
NOSPEC 0 p->thread.fsbase
NOSPEC 0 p->thread.gsbase
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 p->dl.pi_se->runtime 1-17592186044415[c]
USER_DATA 0 p->exit_code 0-64
USER_DATA 0 p->exit_signal 1-64[c]
USER_DATA 0 p->group_leader->thread.fsbase 0-s32max[c]
USER_DATA 0 p->group_leader->thread.gsbase 0-s32max[c]
USER_DATA 0 p->ptrace 0-u32max[c]
USER_DATA 0 p->syscall_dispatch.len 0-u64max
USER_DATA 0 p->syscall_dispatch.offset 0-s32max[c]
USER_DATA 0 p->thread.ds 0-u16max
USER_DATA 0 p->thread.es 0-u16max
USER_DATA 0 p->thread.features_locked 0-u64max[c][u]
USER_DATA 0 p->thread.fsbase 0-s32max[c]
USER_DATA 0 p->thread.fsindex 0-u16max
USER_DATA 0 p->thread.gsbase 0-s32max[c]
USER_DATA 0 p->thread.gsindex 0-u16max
USER_DATA 0 p->thread.ptrace_dr7 0-u64max
USER_DATA 0 p->thread.virtual_dr6 0-u64max
NO_OVERFLOW_SIMPLE 0 p->dl.pi_se->dl_runtime
NO_OVERFLOW_SIMPLE 0 p->nsproxy->pid_ns_for_children->pid_cachep->sheaf_capacity
UNITS 0 p unit_byte
HALF_LOCKED2 _T->lock
HALF_LOCKED2 0 &p->pi_lock
HALF_LOCKED2 0 &p->sighand->siglock

kernel/kthread.c kthread_probe_data() -> tsk_is_kthread()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
PARAM_VALUE 0 p->flags 32-u32max
DATA_SOURCE 0 p $0
BIT_INFO 0 p->flags 0x20,0xffffffff
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 0 p unit_byte
HALF_LOCKED2 flags

kernel/kthread.c kthread_should_stop_or_park() -> tsk_is_kthread()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &client->mount_mutex
HALF_LOCKED2 &fepriv->sem
HALF_LOCKED2 &ldata->atomic_read_lock
HALF_LOCKED2 &tty->atomic_write_lock
HALF_LOCKED2 &tty->ldisc_sem
HALF_LOCKED2 &u->iolock
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &pernet_ops_rwsem
HALF_LOCKED2 sk

fs/nfs/blocklayout/dev.c bl_open_path() -> tsk_is_kthread()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/target/target_core_alua.c core_alua_write_tpg_metadata() -> tsk_is_kthread()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &buffer->mutex
HALF_LOCKED2 &frag->frag_sem
HALF_LOCKED2 &lun->lun_tg_pt_md_mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &tg_pt_gp->tg_pt_gp_transition_mutex