Defined in 1 files as a function:

Referenced in 9 files:

Smatch caller information:

drivers/char/tpm/tpm_tis_core.c __tpm_tis_request_locality() -> clear_ti_thread_flag()

Type Parameter Key Value
PARAM_VALUE 1 flag 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &priv->locality_count_mutex
HALF_LOCKED2 &chip->ops_sem
HALF_LOCKED2 &chip->tpm_mutex
TYPE_LOCK (struct tpm_tis_data)->locality_count_mutex

drivers/char/tpm/tpm_tis_core.c wait_for_tpm_stat() -> clear_ti_thread_flag()

Type Parameter Key Value
PARAM_VALUE 1 flag 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &chip->ops_sem
HALF_LOCKED2 &chip->tpm_mutex

fs/coredump.c clear_tsk_thread_flag() -> clear_ti_thread_flag()

Type Parameter Key Value
PARAM_VALUE 0 ti 4096-ptr_max
PARAM_VALUE 1 flag 1
DATA_SOURCE 1 flag $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &tsk->sighand->siglock
LOCK2 irq
TYPE_LOCK (struct sighand_struct)->siglock

kernel/fork.c clear_tsk_thread_flag() -> clear_ti_thread_flag()

Type Parameter Key Value
PARAM_VALUE 0 ti 4096-ptr_max
PARAM_VALUE 1 flag 7
DATA_SOURCE 1 flag $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/char/tpm/xen-tpmfront.c wait_for_tpm_stat() -> clear_ti_thread_flag()

Type Parameter Key Value
PARAM_VALUE 1 flag 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &chip->ops_sem
HALF_LOCKED2 &chip->tpm_mutex
HALF_LOCKED2 &priv->buffer_mutex

arch/x86/mm/tlb.c l1d_flush_evaluate() -> clear_ti_thread_flag()

Type Parameter Key Value
PARAM_VALUE 0 ti 4096-ptr_max
PARAM_VALUE 1 flag 18
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &next->alloc_lock
HALF_LOCKED2 &tsk->alloc_lock
HALF_LOCKED2 &tsk->signal->exec_update_lock
HALF_LOCKED2 _T->flags
HALF_LOCKED2 flags
HALF_LOCKED2 irq

arch/x86/kernel/fpu/core.c fpregs_mark_activate() -> clear_ti_thread_flag()

Type Parameter Key Value
PARAM_VALUE 1 flag 19
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 bh

arch/x86/kernel/fpu/core.c fpregs_restore_userregs() -> clear_ti_thread_flag()

Type Parameter Key Value
PARAM_VALUE 1 flag 19
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 bh

kernel/entry/common.c clear_tif_rseq() -> clear_ti_thread_flag()

Type Parameter Key Value
PARAM_VALUE 1 flag 11
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 irq

kernel/entry/common.c hrtimer_rearm_deferred_user_irq() -> clear_ti_thread_flag()

Type Parameter Key Value
PARAM_VALUE 1 flag 12
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 irq

kernel/entry/common.c hrtimer_test_and_clear_rearm_deferred_tif() -> clear_ti_thread_flag()

Type Parameter Key Value
PARAM_VALUE 1 flag 12
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 irq

kernel/entry/common.c resume_user_mode_work() -> clear_ti_thread_flag()

Type Parameter Key Value
PARAM_VALUE 1 flag 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

mm/oom_kill.c exit_oom_victim() -> clear_ti_thread_flag()

Type Parameter Key Value
PARAM_VALUE 1 flag 3
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &system_transition_mutex

drivers/char/tpm/st33zp24/st33zp24.c wait_for_stat() -> clear_ti_thread_flag()

Type Parameter Key Value
PARAM_VALUE 1 flag 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

io_uring/sqpoll.c clear_notify_signal() -> clear_ti_thread_flag()

Type Parameter Key Value
PARAM_VALUE 1 flag 2
NOCHECK_CALL
LOCK2 &sqd->lock
TYPE_LOCK (struct io_sq_data)->lock

io_uring/sqpoll.c resume_user_mode_work() -> clear_ti_thread_flag()

Type Parameter Key Value
PARAM_VALUE 1 flag 0
NOCHECK_CALL
LOCK2 &sqd->lock
TYPE_LOCK (struct io_sq_data)->lock

arch/x86/kernel/ptrace.c clear_tsk_thread_flag() -> clear_ti_thread_flag()

Type Parameter Key Value
PARAM_VALUE 0 ti 4096-ptr_max
PARAM_VALUE 1 flag 24
DATA_SOURCE 1 flag $1
NOCHECK_CALL

kernel/user-return-notifier.c clear_tsk_thread_flag() -> clear_ti_thread_flag()

Type Parameter Key Value
PARAM_VALUE 1 flag 7
DATA_SOURCE 1 flag $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

io_uring/wait.c clear_notify_signal() -> clear_ti_thread_flag()

Type Parameter Key Value
PARAM_VALUE 1 flag 2
NOCHECK_CALL

io_uring/wait.c resume_user_mode_work() -> clear_ti_thread_flag()

Type Parameter Key Value
PARAM_VALUE 1 flag 0
NOCHECK_CALL

io_uring/io-wq.c clear_notify_signal() -> clear_ti_thread_flag()

Type Parameter Key Value
PARAM_VALUE 1 flag 2
NOCHECK_CALL

io_uring/io-wq.c resume_user_mode_work() -> clear_ti_thread_flag()

Type Parameter Key Value
PARAM_VALUE 1 flag 0
NOCHECK_CALL

arch/x86/kernel/process.c arch_setup_new_exec() -> clear_ti_thread_flag()

Type Parameter Key Value
PARAM_VALUE 1 flag 16
NOCHECK_CALL
LOCK2 &tsk->signal->exec_update_lock

arch/x86/kernel/process.c clear_tsk_thread_flag() -> clear_ti_thread_flag()

Type Parameter Key Value
PARAM_VALUE 0 ti 4096-ptr_max
PARAM_VALUE 1 flag 7,16-17,22
DATA_SOURCE 1 flag $1
HARD_MAX 1 flag 22
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

arch/x86/kernel/process.c hrtimer_rearm_deferred_user_irq() -> clear_ti_thread_flag()

Type Parameter Key Value
PARAM_VALUE 1 flag 12
NOCHECK_CALL
LOCK2 irq

arch/x86/kernel/process.c native_tss_update_io_bitmap() -> clear_ti_thread_flag()

Type Parameter Key Value
PARAM_VALUE 1 flag 22
NOCHECK_CALL

arch/x86/kernel/process_64.c set_personality_64bit() -> clear_ti_thread_flag()

Type Parameter Key Value
PARAM_VALUE 1 flag 27
NOCHECK_CALL
LOCK2 &tsk->signal->exec_update_lock

arch/x86/kernel/cpu/mce/core.c hrtimer_rearm_deferred_user_irq() -> clear_ti_thread_flag()

Type Parameter Key Value
PARAM_VALUE 1 flag 12
NOCHECK_CALL

arch/x86/kernel/traps.c exc_debug_user() -> clear_ti_thread_flag()

Type Parameter Key Value
PARAM_VALUE 1 flag 26
NOCHECK_CALL

arch/x86/kernel/traps.c hrtimer_rearm_deferred_user_irq() -> clear_ti_thread_flag()

Type Parameter Key Value
PARAM_VALUE 1 flag 12
NOCHECK_CALL

arch/x86/coco/sev/vc-handle.c hrtimer_rearm_deferred_user_irq() -> clear_ti_thread_flag()

Type Parameter Key Value
PARAM_VALUE 1 flag 12
NOCHECK_CALL

io_uring/io_uring.c clear_notify_signal() -> clear_ti_thread_flag()

Type Parameter Key Value
PARAM_VALUE 1 flag 2
NOCHECK_CALL

io_uring/io_uring.c resume_user_mode_work() -> clear_ti_thread_flag()

Type Parameter Key Value
PARAM_VALUE 1 flag 0
NOCHECK_CALL

kernel/pid_namespace.c zap_pid_ns_processes() -> clear_ti_thread_flag()

Type Parameter Key Value
PARAM_VALUE 1 flag 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &system_transition_mutex

kernel/pid_namespace.c zap_pid_ns_processes() -> clear_ti_thread_flag()

Type Parameter Key Value
PARAM_VALUE 1 flag 2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &system_transition_mutex

io_uring/cancel.c clear_notify_signal() -> clear_ti_thread_flag()

Type Parameter Key Value
PARAM_VALUE 1 flag 2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &sqd->lock

io_uring/cancel.c resume_user_mode_work() -> clear_ti_thread_flag()

Type Parameter Key Value
PARAM_VALUE 1 flag 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &sqd->lock

kernel/softirq.c hrtimer_test_and_clear_rearm_deferred_tif() -> clear_ti_thread_flag()

Type Parameter Key Value
PARAM_VALUE 1 flag 12
PREEMPT_ADD
NOCHECK_CALL
HALF_LOCKED2 irq

kernel/entry/virt.c resume_user_mode_work() -> clear_ti_thread_flag()

Type Parameter Key Value
PARAM_VALUE 1 flag 0
NOCHECK_CALL
LOCK2 &vcpu->mutex
TYPE_LOCK (struct kvm_vcpu)->mutex

arch/x86/entry/common.c hrtimer_test_and_clear_rearm_deferred_tif() -> clear_ti_thread_flag()

Type Parameter Key Value
PARAM_VALUE 1 flag 12
NOCHECK_CALL

arch/x86/entry/syscall_32.c hrtimer_rearm_deferred_user_irq() -> clear_ti_thread_flag()

Type Parameter Key Value
PARAM_VALUE 1 flag 12
NOCHECK_CALL
LOCK2 irq

io_uring/loop.c clear_notify_signal() -> clear_ti_thread_flag()

Type Parameter Key Value
PARAM_VALUE 1 flag 2
NOCHECK_CALL

io_uring/loop.c resume_user_mode_work() -> clear_ti_thread_flag()

Type Parameter Key Value
PARAM_VALUE 1 flag 0
NOCHECK_CALL

arch/x86/entry/syscall_64.c hrtimer_rearm_deferred_user_irq() -> clear_ti_thread_flag()

Type Parameter Key Value
PARAM_VALUE 1 flag 12
NOCHECK_CALL
LOCK2 irq

kernel/signal.c clear_notify_signal() -> clear_ti_thread_flag()

Type Parameter Key Value
PARAM_VALUE 1 flag 2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &sighand->siglock

kernel/signal.c clear_tsk_thread_flag() -> clear_ti_thread_flag()

Type Parameter Key Value
PARAM_VALUE 0 ti 4096-ptr_max
PARAM_VALUE 1 flag 1
DATA_SOURCE 1 flag $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &tsk->sighand->siglock
LOCK2 flags
HALF_LOCKED2 &cls_conn->ep_mutex
HALF_LOCKED2 &hba->hba_mutex
HALF_LOCKED2 &hba->net_dev_lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &session->eh_mutex
HALF_LOCKED2 &session->frwd_lock
HALF_LOCKED2 global &bnx2fc_dev_lock
HALF_LOCKED2 global &rx_queue_mutex
TYPE_LOCK (struct sighand_struct)->siglock

kernel/signal.c do_freezer_trap() -> clear_ti_thread_flag()

Type Parameter Key Value
PARAM_VALUE 1 flag 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &sighand->siglock
LOCK2 irq
TYPE_LOCK (struct sighand_struct)->siglock

kernel/signal.c recalc_sigpending() -> clear_ti_thread_flag()

Type Parameter Key Value
PARAM_VALUE 1 flag 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &sighand->siglock
HALF_LOCKED2 &tsk->sighand->siglock
HALF_LOCKED2 &vcp->vc_mutex
HALF_LOCKED2 flags
HALF_LOCKED2 irq
HALF_LOCKED2 rcu_read

kernel/events/uprobes.c clear_tsk_thread_flag() -> clear_ti_thread_flag()

Type Parameter Key Value
PARAM_VALUE 0 ti 4096-ptr_max
PARAM_VALUE 1 flag 1
DATA_SOURCE 1 flag $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

kernel/events/uprobes.c uprobe_notify_resume() -> clear_ti_thread_flag()

Type Parameter Key Value
PARAM_VALUE 1 flag 8
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

arch/x86/kernel/fpu/xstate.c fpregs_restore_userregs() -> clear_ti_thread_flag()

Type Parameter Key Value
PARAM_VALUE 1 flag 19
PREEMPT_ADD
NOCHECK_CALL
LOCK2 bh
HALF_LOCKED2 &vcpu->mutex

arch/x86/kernel/step.c clear_tsk_thread_flag() -> clear_ti_thread_flag()

Type Parameter Key Value
PARAM_VALUE 1 flag 24-26
DATA_SOURCE 1 flag $1
HARD_MAX 1 flag 26
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 irq

arch/x86/kernel/cpu/bugs.c l1d_flush_prctl_set() -> clear_ti_thread_flag()

Type Parameter Key Value
PARAM_VALUE 1 flag 18
NOCHECK_CALL

net/sunrpc/svc.c svc_unregister() -> clear_ti_thread_flag()

Type Parameter Key Value
PARAM_VALUE 1 flag 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &nfsd_mutex
HALF_LOCKED2 global &nlmsvc_mutex

net/9p/client.c p9_client_rpc() -> clear_ti_thread_flag()

Type Parameter Key Value
PARAM_VALUE 1 flag 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &v9ses->rename_sem

net/9p/client.c p9_client_rpc() -> clear_ti_thread_flag()

Type Parameter Key Value
PARAM_VALUE 1 flag 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &c->trans->sq_sem
HALF_LOCKED2 &inode->i_rwsem

net/9p/client.c p9_client_rpc() -> clear_ti_thread_flag()

Type Parameter Key Value
PARAM_VALUE 1 flag 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &c->trans->sq_sem
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &v9ses->rename_sem

net/9p/client.c p9_client_zc_rpc() -> clear_ti_thread_flag()

Type Parameter Key Value
PARAM_VALUE 1 flag 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

net/9p/client.c p9_client_zc_rpc() -> clear_ti_thread_flag()

Type Parameter Key Value
PARAM_VALUE 1 flag 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

arch/x86/kernel/fpu/signal.c fpregs_restore_userregs() -> clear_ti_thread_flag()

Type Parameter Key Value
PARAM_VALUE 1 flag 19
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 bh

kernel/sched/core.c hrtimer_test_and_clear_rearm_deferred_tif() -> clear_ti_thread_flag()

Type Parameter Key Value
PARAM_VALUE 1 flag 12
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 irq

arch/x86/kernel/ioport.c clear_tsk_thread_flag() -> clear_ti_thread_flag()

Type Parameter Key Value
PARAM_VALUE 1 flag 22
DATA_SOURCE 1 flag $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL