Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/smb/client/readdir.c cifs_readdir() -> finished_cached_dirents_count()

Type Parameter Key Value
PARAM_VALUE 0 cde 4096-ptr_max
PARAM_VALUE 1 ctx 4096-ptr_max
PARAM_VALUE 1 ctx->pos s64min-(-1),2-s64max
PARAM_VALUE 2 file 4096-ptr_max
BUF_SIZE 2 file (-1)-s32max
BUF_SIZE 2 file (-1)-s32max
CAPPED_DATA 1 ctx->pos 1
DATA_SOURCE 1 ctx $1
DATA_SOURCE 2 file $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 ctx->count s32min-s32max
NO_OVERFLOW_SIMPLE 2 file->f_inode->i_size
LOCK2 &cfid->dirents.de_mutex
HALF_LOCKED2 &dir_fp->readdir_lock
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct cached_dirents)->de_mutex
TYPE_LOCK (struct inode)->i_rwsem