Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/smb/client/readdir.c find_cifs_entry() -> (struct smb_version_operations)->dir_needs_close()

Type Parameter Key Value
PARAM_VALUE 0 cfile 4096-ptr_max
PARAM_VALUE 0 cfile->file_info_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 cfile->srch_inf.index_of_last_entry (-9223372036854775807)-s64max
BUF_SIZE 0 cfile s32min-(-2),1-s32max
BUF_SIZE 0 cfile s32min-(-2),1-s32max
CAPPED_DATA 0 cfile->srch_inf.index_of_last_entry 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &cfile->file_info_lock
HALF_LOCKED2 &dir_fp->readdir_lock
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct cifsFileInfo)->file_info_lock
TYPE_LOCK (struct inode)->i_rwsem

fs/smb/client/file.c cifs_closedir() -> (struct smb_version_operations)->dir_needs_close()

Type Parameter Key Value
PARAM_VALUE 0 cfile 4096-ptr_max
PARAM_VALUE 0 cfile->file_info_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 cfile->tlink 4096-ptr_max
PARAM_VALUE 0 cfile->tlink->tl_tcon->ses 4096-ptr_max
BUF_SIZE 0 cfile (-1),26
BUF_SIZE 0 cfile (-1),26
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &cfile->file_info_lock
TYPE_LOCK (struct cifsFileInfo)->file_info_lock