Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

fs/gfs2/glock.c gfs2_glockfd_next_file() -> fget_task_next()

Type Parameter Key Value
PARAM_VALUE 1 ret_fd 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 &seq->lock
TYPE_LOCK (struct seq_file)->lock

fs/proc/fd.c proc_readfd_common() -> fget_task_next()

Type Parameter Key Value
PARAM_VALUE 0 task 4096-ptr_max
PARAM_VALUE 1 ret_fd 2394404582403543040
DATA_SOURCE 0 task r get_proc_task
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dir_fp->readdir_lock
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct inode)->i_rwsem

kernel/bpf/task_iter.c task_file_seq_get_next() -> fget_task_next()

Type Parameter Key Value
PARAM_VALUE 0 task 1-u64max
PARAM_VALUE 1 ret_fd 4859230180605100032
RX_PATH
TASK_NOT_RUNNING
LOCK2 &seq->lock
TYPE_LOCK (struct seq_file)->lock