Defined in 1 files as a function:

Referenced in 18 files:

Smatch caller information:

fs/coredump.c coredump_file() -> task_tgid_vnr()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

fs/coredump.c coredump_file() -> task_tgid_vnr()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

fs/coredump.c coredump_file() -> task_tgid_vnr()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

fs/coredump.c coredump_parse() -> task_tgid_vnr()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

fs/coredump.c coredump_parse() -> task_tgid_vnr()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

fs/coredump.c coredump_parse() -> task_tgid_vnr()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

fs/coredump.c coredump_parse() -> task_tgid_vnr()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

fs/coredump.c coredump_parse() -> task_tgid_vnr()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

fs/coredump.c coredump_pipe() -> task_tgid_vnr()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

fs/coredump.c coredump_pipe() -> task_tgid_vnr()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

fs/coredump.c coredump_pipe() -> task_tgid_vnr()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

fs/coredump.c coredump_pipe() -> task_tgid_vnr()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

fs/coredump.c coredump_pipe() -> task_tgid_vnr()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

fs/coredump.c coredump_sock_connect() -> task_tgid_vnr()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

fs/coredump.c coredump_sock_connect() -> task_tgid_vnr()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

fs/coredump.c coredump_sock_wait() -> task_tgid_vnr()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

fs/coredump.c coredump_sock_wait() -> task_tgid_vnr()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

fs/coredump.c do_coredump() -> task_tgid_vnr()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

fs/coredump.c validate_coredump_safety() -> task_tgid_vnr()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

fs/pidfs.c pidfd_info() -> task_tgid_vnr()

Type Parameter Key Value
PARAM_VALUE 0 tsk 4096-ptr_max
PARAM_VALUE 0 tsk->real_cred 4096-ptr_max
PARAM_VALUE 0 tsk->real_cred->non_rcu 0
PARAM_VALUE 0 tsk->real_cred->process_keyring->user->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 tsk->real_cred->process_keyring->user->qnbytes s32min-s32max
PARAM_VALUE 0 tsk->real_cred->process_keyring->user->qnkeys s32min-s32max
PARAM_VALUE 0 tsk->real_cred->rcu.func 1-u64max
PARAM_VALUE 0 tsk->real_cred->rcu.next 0
PARAM_VALUE 0 tsk->real_cred->request_key_auth->user->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 tsk->real_cred->request_key_auth->user->qnbytes s32min-s32max
PARAM_VALUE 0 tsk->real_cred->request_key_auth->user->qnkeys s32min-s32max
PARAM_VALUE 0 tsk->real_cred->session_keyring->user->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 tsk->real_cred->session_keyring->user->qnbytes s32min-s32max
PARAM_VALUE 0 tsk->real_cred->session_keyring->user->qnkeys s32min-s32max
PARAM_VALUE 0 tsk->real_cred->thread_keyring->user->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 tsk->real_cred->thread_keyring->user->qnbytes s32min-s32max
PARAM_VALUE 0 tsk->real_cred->thread_keyring->user->qnkeys s32min-s32max
PARAM_VALUE 0 tsk->real_cred->ucounts->ns->work.entry.next 4096-ptr_max
PARAM_VALUE 0 tsk->real_cred->ucounts->ns->work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 tsk->real_cred->user->uidhash_node->next->pprev 1-u64max
PARAM_VALUE 0 tsk->real_cred->user->uidhash_node.next->pprev 1-u64max
PARAM_VALUE 0 tsk->real_cred->user_ns->work.entry.next->prev 4096-ptr_max
DATA_SOURCE 0 tsk r get_pid_task

drivers/scsi/sg.c sg_check_file_access() -> task_tgid_vnr()

Type Parameter Key Value

drivers/hid/uhid.c uhid_char_write() -> task_tgid_vnr()

Type Parameter Key Value
LOCK2 &uhid->devlock
TYPE_LOCK (struct uhid_device)->devlock

drivers/platform/x86/lenovo/thinkpad_acpi.c brightness_write() -> task_tgid_vnr()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/platform/x86/lenovo/thinkpad_acpi.c fan_pwm1_enable_store() -> task_tgid_vnr()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/platform/x86/lenovo/thinkpad_acpi.c fan_pwm1_store() -> task_tgid_vnr()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/platform/x86/lenovo/thinkpad_acpi.c fan_watchdog_store() -> task_tgid_vnr()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/platform/x86/lenovo/thinkpad_acpi.c fan_write_cmd_disable() -> task_tgid_vnr()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/platform/x86/lenovo/thinkpad_acpi.c fan_write_cmd_enable() -> task_tgid_vnr()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/platform/x86/lenovo/thinkpad_acpi.c fan_write_cmd_level() -> task_tgid_vnr()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/platform/x86/lenovo/thinkpad_acpi.c fan_write_cmd_speed() -> task_tgid_vnr()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/platform/x86/lenovo/thinkpad_acpi.c fan_write_cmd_watchdog() -> task_tgid_vnr()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/platform/x86/lenovo/thinkpad_acpi.c hotkey_mask_store() -> task_tgid_vnr()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/platform/x86/lenovo/thinkpad_acpi.c hotkey_poll_freq_store() -> task_tgid_vnr()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/platform/x86/lenovo/thinkpad_acpi.c hotkey_source_mask_store() -> task_tgid_vnr()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/platform/x86/lenovo/thinkpad_acpi.c hotkey_write() -> task_tgid_vnr()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &hotkey_mutex

drivers/platform/x86/lenovo/thinkpad_acpi.c keyboard_lang_store() -> task_tgid_vnr()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/platform/x86/lenovo/thinkpad_acpi.c tpacpi_log_usertask() -> task_tgid_vnr()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 global &hotkey_mutex

drivers/platform/x86/lenovo/thinkpad_acpi.c tpacpi_rfk_procfs_write() -> task_tgid_vnr()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/platform/x86/lenovo/thinkpad_acpi.c tpacpi_rfk_sysfs_enable_store() -> task_tgid_vnr()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/platform/x86/lenovo/thinkpad_acpi.c volume_alsa_mute_put() -> task_tgid_vnr()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &card->controls_rwsem
HALF_LOCKED2 &card->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 _T->lock

drivers/platform/x86/lenovo/thinkpad_acpi.c volume_alsa_vol_put() -> task_tgid_vnr()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &card->controls_rwsem
HALF_LOCKED2 &card->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 _T->lock

drivers/platform/x86/lenovo/thinkpad_acpi.c volume_write() -> task_tgid_vnr()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/platform/x86/lenovo/thinkpad_acpi.c volume_write() -> task_tgid_vnr()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

security/tomoyo/condition.c tomoyo_sys_getpid() -> task_tgid_vnr()

Type Parameter Key Value
LOCK2 global &tomoyo_ss

security/tomoyo/condition.c tomoyo_sys_getppid() -> task_tgid_vnr()

Type Parameter Key Value
LOCK2 global &tomoyo_ss
LOCK2 rcu_read

drivers/infiniband/core/uverbs_main.c ib_uverbs_write() -> task_tgid_vnr()

Type Parameter Key Value

net/core/scm.c scm_check_creds() -> task_tgid_vnr()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &vq->mutex

drivers/block/ublk_drv.c ublk_ctrl_get_dev_info() -> task_tgid_vnr()

Type Parameter Key Value
PARAM_VALUE 0 tsk 1-u64max
DATA_SOURCE 0 tsk r pid_task
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read
HALF_LOCKED2 &ctx->uring_lock

kernel/cgroup/cgroup-v1.c pidlist_array_load() -> task_tgid_vnr()

Type Parameter Key Value
PARAM_VALUE 0 tsk 4096-ptr_max
DATA_SOURCE 0 tsk r css_task_iter_next
RX_PATH
TASK_NOT_RUNNING
LOCK2 &cgrp->pidlist_mutex
LOCK2 &of->mutex
LOCK2 &s->lock
TYPE_LOCK (struct cgroup)->pidlist_mutex
TYPE_LOCK (struct kernfs_open_file)->mutex
TYPE_LOCK (struct seq_file)->lock

fs/nsfs.c ns_ioctl() -> task_tgid_vnr()

Type Parameter Key Value
PARAM_VALUE 0 tsk 1-u64max
DATA_SOURCE 0 tsk r find_task_by_pid_ns
LOCK2 rcu_read

security/tomoyo/audit.c tomoyo_sys_getpid() -> task_tgid_vnr()

Type Parameter Key Value
LOCK2 global &tomoyo_ss

security/tomoyo/audit.c tomoyo_sys_getppid() -> task_tgid_vnr()

Type Parameter Key Value
LOCK2 global &tomoyo_ss
LOCK2 rcu_read

drivers/infiniband/core/ucma.c ucma_write() -> task_tgid_vnr()

Type Parameter Key Value

kernel/signal.c do_send_specific() -> task_tgid_vnr()

Type Parameter Key Value
PARAM_VALUE 0 tsk 1-u64max
DATA_SOURCE 0 tsk r find_task_by_vpid
LOCK2 rcu_read

kernel/signal.c prepare_kill_siginfo() -> task_tgid_vnr()

Type Parameter Key Value

kernel/sys.c __do_sys_getpid() -> task_tgid_vnr()

Type Parameter Key Value

kernel/sys.c __do_sys_getppid() -> task_tgid_vnr()

Type Parameter Key Value
LOCK2 rcu_read

net/netlink/af_netlink.c netlink_autobind() -> task_tgid_vnr()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING