Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/smb/client/file.c cifs_open() -> cifs_del_deferred_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->invalidHandle 0-1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

fs/smb/client/file.c smb2_deferred_work_close() -> cifs_del_deferred_close()

Type Parameter Key Value
PARAM_VALUE 0 cfile 4096-ptr_max
PARAM_VALUE 0 cfile->dentry 4096-ptr_max
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
LOCK2 &cinode->deferred_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct cifsInodeInfo)->deferred_lock

fs/smb/client/misc.c cifs_close_all_deferred_files() -> cifs_del_deferred_close()

Type Parameter Key Value
PARAM_VALUE 0 cfile 4096-ptr_max
PARAM_VALUE 0 cfile->dentry 4096-ptr_max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &tcon->open_file_lock
HALF_LOCKED2 &sb->s_umount
TYPE_LOCK (struct cifs_tcon)->open_file_lock

fs/smb/client/misc.c cifs_close_deferred_file() -> cifs_del_deferred_close()

Type Parameter Key Value
PARAM_VALUE 0 cfile 4096-ptr_max
CAPPED_DATA 0 &cfile->flist 1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &cifs_inode->deferred_lock
LOCK2 &cifs_inode->open_file_lock
TYPE_LOCK (struct cifsInodeInfo)->deferred_lock
TYPE_LOCK (struct cifsInodeInfo)->open_file_lock

fs/smb/client/misc.c cifs_close_deferred_file_under_dentry() -> cifs_del_deferred_close()

Type Parameter Key Value
PARAM_VALUE 0 cfile 4096-ptr_max
PARAM_VALUE 0 cfile->dentry 4096-ptr_max
CAPPED_DATA 0 cfile->dentry 1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &tcon->open_file_lock
HALF_LOCKED2 &target->i_rwsem
TYPE_LOCK (struct cifs_tcon)->open_file_lock