Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/nfs/dir.c nfs_do_filldir() -> nfs_readdir_use_cookie()

Type Parameter Key Value
PARAM_VALUE 0 filp 4096-ptr_max
PARAM_VALUE 0 filp->f_mode 33554432-u32max
BUF_SIZE 0 filp (-1)-s32max
BUF_SIZE 0 filp (-1)-s32max
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

fs/nfs/dir.c nfs_llseek_dir() -> nfs_readdir_use_cookie()

Type Parameter Key Value
PARAM_VALUE 0 filp 4096-ptr_max
BUF_SIZE 0 filp (-1)-s32max
BUF_SIZE 0 filp (-1)-s32max
DATA_SOURCE 0 filp $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 filp->f_pos 0-s64max
NO_OVERFLOW_SIMPLE 0 filp->f_path.d_inode->i_size
NO_OVERFLOW_SIMPLE 0 filp->f_path.dentry->d_inode->i_size
NO_OVERFLOW_SIMPLE 0 filp->f_path.moved->d_inode->i_size
LOCK2 0 &filp->f_lock
TYPE_LOCK (struct file)->f_lock

fs/nfs/dir.c nfs_readdir_search_for_cookie() -> nfs_readdir_use_cookie()

Type Parameter Key Value
PARAM_VALUE 0 filp 4096-ptr_max
PARAM_VALUE 0 filp->f_mode 33554432-u32max
CAPPED_DATA 0 filp->f_mapping 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &inode->i_rwsem
HALF_LOCKED2 &dir_fp->readdir_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct inode)->i_rwsem

fs/nfs/dir.c uncached_readdir() -> nfs_readdir_use_cookie()

Type Parameter Key Value
PARAM_VALUE 0 filp 4096-ptr_max
PARAM_VALUE 0 filp->f_mode 33554432-u32max
BUF_SIZE 0 filp (-1)-s32max
BUF_SIZE 0 filp (-1)-s32max
CAPPED_DATA 0 filp->f_mapping 1
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