Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/nfs/dir.c find_and_lock_cache_page() -> nfs_readdir_xdr_to_array()

Type Parameter Key Value
PARAM_VALUE 0 desc 4096-ptr_max
PARAM_VALUE 0 desc->ctx 4096-ptr_max
PARAM_VALUE 0 desc->ctx->dt_flags_mask 0,4096,u32max
PARAM_VALUE 0 desc->dtsize 1024-u32max
PARAM_VALUE 0 desc->file 4096-ptr_max
PARAM_VALUE 0 desc->file->f_mapping 4096-ptr_max
PARAM_VALUE 0 desc->file->f_mapping->host 4096-ptr_max
PARAM_VALUE 0 desc->file->f_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 desc->file->f_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 desc->file->f_mode 33554432-u32max
PARAM_VALUE 0 desc->file->f_op 4096-ptr_max
PARAM_VALUE 0 desc->file->f_path.dentry 4096-ptr_max
PARAM_VALUE 0 desc->file->private_data 4096-ptr_max
PARAM_VALUE 0 desc->folio 4096-ptr_max
PARAM_VALUE 0 *desc->verf 0-4294967295
PARAM_VALUE 2 verf_res 5189167074123100160
PARAM_VALUE 3 arrays 4096-ptr_max
PARAM_VALUE 3 *arrays 4096-ptr_max
PARAM_VALUE 4 narrays 1
BUF_SIZE 0 desc 120
BUF_SIZE 0 desc->file (-1),1-s32max
BUF_SIZE 1 verf_arg 8
BUF_SIZE 2 verf_res 8
DATA_SOURCE 0 desc $0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 desc->ctx->count s32min-s32max
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 uncached_readdir() -> nfs_readdir_xdr_to_array()

Type Parameter Key Value
PARAM_VALUE 0 desc 4096-ptr_max
PARAM_VALUE 0 desc->cache_entry_index 0
PARAM_VALUE 0 desc->ctx 4096-ptr_max
PARAM_VALUE 0 desc->ctx->dt_flags_mask 0,4096,u32max
PARAM_VALUE 0 desc->dir_cookie 1-u64max
PARAM_VALUE 0 desc->dtsize 1024-u32max
PARAM_VALUE 0 desc->eof 0
PARAM_VALUE 0 desc->file 4096-ptr_max
PARAM_VALUE 0 desc->file->f_mapping 4096-ptr_max
PARAM_VALUE 0 desc->file->f_mapping->host 4096-ptr_max
PARAM_VALUE 0 desc->file->f_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 desc->file->f_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 desc->file->f_mode 33554432-u32max
PARAM_VALUE 0 desc->file->f_op 4096-ptr_max
PARAM_VALUE 0 desc->file->f_path.dentry 4096-ptr_max
PARAM_VALUE 0 desc->file->private_data 4096-ptr_max
PARAM_VALUE 0 desc->folio 0
PARAM_VALUE 0 desc->folio_index 0
PARAM_VALUE 0 desc->folio_index_max 0
PARAM_VALUE 0 desc->last_cookie 1-u64max
PARAM_VALUE 0 *desc->verf 0-4294967295
PARAM_VALUE 2 verf_res 4208625965846011904
PARAM_VALUE 3 arrays 4096-ptr_max
PARAM_VALUE 4 narrays 512
BUF_SIZE 0 desc 120
BUF_SIZE 0 desc->file (-1)-s32max
BUF_SIZE 1 verf_arg 8
BUF_SIZE 2 verf_res 8
BUF_SIZE 3 arrays 4096
BUF_SIZE 3 arrays 4096
CAPPED_DATA 0 desc->file->f_mapping 1
DATA_SOURCE 0 desc $0
DATA_SOURCE 3 arrays r _kzalloc_noprof
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 desc->ctx->count s32min-s32max
NO_OVERFLOW_SIMPLE 4 narrays
UNITS 4 narrays unit_array_size
ELEM_COUNT 3 ==arrays4 8051
HALF_LOCKED2 &dir_fp->readdir_lock
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct inode)->i_rwsem