Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

fs/smb/client/smb2pdu.c SMB2_open() -> SMB2_open_init()

Type Parameter Key Value
PARAM_VALUE 0 tcon 4096-ptr_max
PARAM_VALUE 0 tcon->ses 0,4096-ptr_max
PARAM_VALUE 0 tcon->ses->chan_count 0-s32max
PARAM_VALUE 0 tcon->ses->chan_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 server 1-u64max
PARAM_VALUE 1 *server->fastest_cmd 0-4294967295
PARAM_VALUE 1 *server->slowest_cmd 0-4294967295
PARAM_VALUE 2 rqst 1092374015415336960
PARAM_VALUE 2 rqst->rq_iov 5771721971795095552
PARAM_VALUE 2 rqst->rq_nvec 9
PARAM_VALUE 3 oplock 4096-ptr_max
PARAM_VALUE 4 oparms 4096-ptr_max
PARAM_VALUE 4 oparms->tcon 4096-ptr_max
PARAM_VALUE 4 oparms->tcon->ses 0,4096-ptr_max
PARAM_VALUE 4 oparms->tcon->ses->chan_count 0-s32max
PARAM_VALUE 4 oparms->tcon->ses->chan_lock.rlock.dep_map->name 0-255
PARAM_VALUE 4 oparms->tcon->ses->server->vals->protocol_id 0,514,528,768,770,785
PARAM_VALUE 4 oparms->tcon->ses->server->vals->req_capabilities 0,4,6,8,12,14,16-648
PARAM_VALUE 5 path 16,4096-ptr_max
DATA_SOURCE 1 server r cifs_pick_channel
DATA_SOURCE 3 oplock $3
DATA_SOURCE 4 oparms $1
DATA_SOURCE 5 path $2
MEM_ZERO 2 rqst
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &cifs_mount_mutex

fs/smb/client/smb2inode.c smb2_unlink() -> SMB2_open_init()

Type Parameter Key Value
PARAM_VALUE 0 tcon 4096-ptr_max
PARAM_VALUE 0 tcon->ses 0,4096-ptr_max
PARAM_VALUE 0 tcon->ses->server->vals->protocol_id 0,514,528,768,770,785
PARAM_VALUE 0 tcon->ses->server->vals->req_capabilities 0,4,6,8-648
PARAM_VALUE 0 *tcon->ses->server->fastest_cmd 0-4294967295
PARAM_VALUE 0 *tcon->ses->server->slowest_cmd 0-4294967295
PARAM_VALUE 1 server->ops->get_lease_key 0,311838212866678784
PARAM_VALUE 1 *server->fastest_cmd 0-4294967295
PARAM_VALUE 1 *server->slowest_cmd 0-4294967295
PARAM_VALUE 2 rqst 270394189404594176
PARAM_VALUE 2 rqst->rq_iov 7147945304185028608
PARAM_VALUE 2 rqst->rq_nvec 9
PARAM_VALUE 3 oplock 2128869654341251072
PARAM_VALUE 3 *oplock 0,255
PARAM_VALUE 4 oparms 8322845850854514688
PARAM_VALUE 4 oparms->fid 1105112880309669888
PARAM_VALUE 5 path 16,4096-ptr_max
BUF_SIZE 2 rqst 128
BUF_SIZE 5 path s32min-s32max
DATA_SOURCE 0 tcon $1
DATA_SOURCE 1 server r cifs_pick_channel
DATA_SOURCE 5 path r cifs_convert_path_to_utf16
RX_PATH
TASK_NOT_RUNNING

fs/smb/client/cached_dir.c open_cached_dir() -> SMB2_open_init()

Type Parameter Key Value
PARAM_VALUE 0 tcon 4096-ptr_max
PARAM_VALUE 0 tcon->ses 0,4096-ptr_max
PARAM_VALUE 0 tcon->ses->server->ops->query_all_EAs 2784442507862106112,8949092441142919168
PARAM_VALUE 0 tcon->ses->server->ops->queryfs 1470061647759446016,1892238605944643584,8758392920818122752
PARAM_VALUE 0 tcon->ses->server->ops->rename 2098044801683816448,5085313326206754816
PARAM_VALUE 0 tcon->ses->server->ops->rmdir 5396563262500839424,6290783084343971840
PARAM_VALUE 0 tcon->ses->server->ops->set_EA 3006127908053323776,3346690649043267584
PARAM_VALUE 0 tcon->ses->server->vals->protocol_id 0,514,528,768,770,785
PARAM_VALUE 0 tcon->ses->server->vals->req_capabilities 0,4,6,8-648
PARAM_VALUE 0 *tcon->ses->server->fastest_cmd 0-4294967295
PARAM_VALUE 0 *tcon->ses->server->slowest_cmd 0-4294967295
PARAM_VALUE 1 server 4096-ptr_max
PARAM_VALUE 1 server->ops 4096-ptr_max
PARAM_VALUE 1 server->ops->new_lease_key 4006903461083181056
PARAM_VALUE 1 *server->fastest_cmd 0-4294967295
PARAM_VALUE 1 *server->slowest_cmd 0-4294967295
PARAM_VALUE 2 rqst 763655343675592704
PARAM_VALUE 2 rqst->rq_iov 8847788481533120512
PARAM_VALUE 2 rqst->rq_nvec 9
PARAM_VALUE 3 oplock 4153769410629472256
PARAM_VALUE 3 *oplock 1
PARAM_VALUE 4 oparms 1452515965941948416
PARAM_VALUE 5 path 16,4096-ptr_max
BUF_SIZE 0 tcon (-1),2584
BUF_SIZE 0 tcon (-1),2584
BUF_SIZE 2 rqst 128
BUF_SIZE 5 path s32min-s32max
DATA_SOURCE 0 tcon $1
DATA_SOURCE 1 server r cifs_pick_channel
DATA_SOURCE 5 path r cifs_convert_path_to_utf16
STR_LEN 0 tcon (-1)-0
STR_LEN 0 tcon (-1)-0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &cifs_mount_mutex

fs/smb/client/smb2ops.c smb2_ioctl_query_info() -> SMB2_open_init()

Type Parameter Key Value
PARAM_VALUE 0 tcon 4096-ptr_max
PARAM_VALUE 0 tcon->ses 0,4096-ptr_max
PARAM_VALUE 0 tcon->ses->server 4096-ptr_max
PARAM_VALUE 0 tcon->ses->server->ops 4096-ptr_max
PARAM_VALUE 0 tcon->ses->server->ops->ioctl_query_info 5345611379303972864
PARAM_VALUE 0 *tcon->ses->ip_addr 0-255
PARAM_VALUE 0 *tcon->ses->preauth_sha_hash 0-255
PARAM_VALUE 0 *tcon->ses->server->cryptkey 0-255
PARAM_VALUE 0 *tcon->ses->server->fastest_cmd 0-4294967295
PARAM_VALUE 0 *tcon->ses->server->server_GUID 0-255
PARAM_VALUE 0 *tcon->ses->server->slowest_cmd 0-4294967295
PARAM_VALUE 0 *tcon->ses->server->ssocket->sk->sk_backlog.head->dev->name 0-255
PARAM_VALUE 1 server 1-u64max
PARAM_VALUE 1 server->ops->add_credits 4096-ptr_max
PARAM_VALUE 1 server->ops->adjust_credits 0,5075037794204405760
PARAM_VALUE 1 server->ops->async_readv 4096-ptr_max
PARAM_VALUE 1 server->ops->async_writev 4096-ptr_max
PARAM_VALUE 1 server->ops->calc_smb_size 4096-ptr_max
PARAM_VALUE 1 server->ops->can_echo 4096-ptr_max
PARAM_VALUE 1 server->ops->check_message 4096-ptr_max
PARAM_VALUE 1 server->ops->check_receive 4096-ptr_max
PARAM_VALUE 1 server->ops->check_trans2 0,6300747720491319296
PARAM_VALUE 1 server->ops->clear_stats 4096-ptr_max
PARAM_VALUE 1 server->ops->close 1-u64max
PARAM_VALUE 1 server->ops->close_dir 1-u64max
PARAM_VALUE 1 server->ops->close_getattr 0,7068871338307186688
PARAM_VALUE 1 server->ops->compare_fids 4096-ptr_max
PARAM_VALUE 1 server->ops->copychunk_range 0,4359182417368846336
PARAM_VALUE 1 server->ops->create_hardlink 4096-ptr_max
PARAM_VALUE 1 server->ops->create_lease_buf 0,6152673070102196224,7317131541516980224
PARAM_VALUE 1 server->ops->create_mf_symlink 1-u64max
PARAM_VALUE 1 server->ops->create_reparse_inode 4096-ptr_max
PARAM_VALUE 1 server->ops->dir_needs_close 4096-ptr_max
PARAM_VALUE 1 server->ops->downgrade_oplock 4096-ptr_max
PARAM_VALUE 1 server->ops->dump_detail 4096-ptr_max
PARAM_VALUE 1 server->ops->dump_share_caps 0,1901511823763505152
PARAM_VALUE 1 server->ops->duplicate_extents 0,4993026252135825408
PARAM_VALUE 1 server->ops->echo 4096-ptr_max
PARAM_VALUE 1 server->ops->enum_snapshots 0,8334165776308752384
PARAM_VALUE 1 server->ops->fallocate 0,7926336135924965376
PARAM_VALUE 1 server->ops->fiemap 0,3443914170541109248
PARAM_VALUE 1 server->ops->find_mid 4096-ptr_max
PARAM_VALUE 1 server->ops->flush 1-u64max
PARAM_VALUE 1 server->ops->generate_signingkey 0,3655047902812889088,8536357663518494720
PARAM_VALUE 1 server->ops->get_acl 4096-ptr_max
PARAM_VALUE 1 server->ops->get_acl_by_fid 4096-ptr_max
PARAM_VALUE 1 server->ops->get_credits 4096-ptr_max
PARAM_VALUE 1 server->ops->get_credits_field 4096-ptr_max
PARAM_VALUE 1 server->ops->get_dfs_refer 4096-ptr_max
PARAM_VALUE 1 server->ops->get_lease_key 0,311838212866678784
PARAM_VALUE 1 server->ops->get_next_mid 4096-ptr_max
PARAM_VALUE 1 server->ops->get_reparse_point_buffer 715635538746155008,1985044248160686080
PARAM_VALUE 1 server->ops->get_srv_inum 4096-ptr_max
PARAM_VALUE 1 server->ops->handle_cancelled_mid 0,4096-ptr_max
PARAM_VALUE 1 server->ops->init_transform_rq 0,4096-ptr_max
PARAM_VALUE 1 server->ops->ioctl_query_info 0,5345611379303972864
PARAM_VALUE 1 server->ops->is_network_name_deleted 4096-ptr_max
PARAM_VALUE 1 server->ops->is_oplock_break 4096-ptr_max
PARAM_VALUE 1 server->ops->is_path_accessible 4096-ptr_max
PARAM_VALUE 1 server->ops->is_read_op 4096-ptr_max
PARAM_VALUE 1 server->ops->is_session_expired 0,7347258589302591488
PARAM_VALUE 1 server->ops->is_status_io_timeout 0,8980158677023936512
PARAM_VALUE 1 server->ops->is_status_pending 0,6742650767380713472
PARAM_VALUE 1 server->ops->is_transform_hdr 0,7176274675243610112
PARAM_VALUE 1 server->ops->llseek 0,1802391218220650496
PARAM_VALUE 1 server->ops->logoff 4628176709654794240,7961230517305634816
PARAM_VALUE 1 server->ops->make_node 4096-ptr_max
PARAM_VALUE 1 server->ops->mand_lock 4096-ptr_max
PARAM_VALUE 1 server->ops->mand_unlock_range 4096-ptr_max
PARAM_VALUE 1 server->ops->map_error 4096-ptr_max
PARAM_VALUE 1 server->ops->mkdir 1-u64max
PARAM_VALUE 1 server->ops->mkdir_setinfo 1-u64max
PARAM_VALUE 1 server->ops->need_neg 1-u64max
PARAM_VALUE 1 server->ops->negotiate 1-u64max
PARAM_VALUE 1 server->ops->negotiate_rsize 4096-ptr_max
PARAM_VALUE 1 server->ops->negotiate_wsize 4096-ptr_max
PARAM_VALUE 1 server->ops->new_lease_key 0,4096-ptr_max
PARAM_VALUE 1 server->ops->next_header 0,8630180984356941824
PARAM_VALUE 1 server->ops->notify 0,8437719128491147264
PARAM_VALUE 1 server->ops->open 1-u64max
PARAM_VALUE 1 server->ops->oplock_response 4096-ptr_max
PARAM_VALUE 1 server->ops->parse_lease_buf 0,474349381327081472,6751828617712328704
PARAM_VALUE 1 server->ops->posix_mkdir 0,1097195524889423872
PARAM_VALUE 1 server->ops->print_stats 4096-ptr_max
PARAM_VALUE 1 server->ops->push_mand_locks 4096-ptr_max
PARAM_VALUE 1 server->ops->qfs_tcon 4096-ptr_max
PARAM_VALUE 1 server->ops->query_all_EAs 4096-ptr_max
PARAM_VALUE 1 server->ops->query_dir_first 1-u64max
PARAM_VALUE 1 server->ops->query_dir_next 1-u64max
PARAM_VALUE 1 server->ops->query_file_info 1-u64max
PARAM_VALUE 1 server->ops->query_mf_symlink 1-u64max
PARAM_VALUE 1 server->ops->query_path_info 4096-ptr_max
PARAM_VALUE 1 server->ops->query_reparse_point 1-u64max
PARAM_VALUE 1 server->ops->query_server_interfaces 0,7783036724232511488
PARAM_VALUE 1 server->ops->query_symlink 0,8781163991688114176
PARAM_VALUE 1 server->ops->queryfs 1-u64max
PARAM_VALUE 1 server->ops->read_data_length 4096-ptr_max
PARAM_VALUE 1 server->ops->read_data_offset 4096-ptr_max
PARAM_VALUE 1 server->ops->receive_transform 0,564095901655928832
PARAM_VALUE 1 server->ops->rename 4096-ptr_max
PARAM_VALUE 1 server->ops->rename_pending_delete 4096-ptr_max
PARAM_VALUE 1 server->ops->revert_current_mid 0,4096-ptr_max
PARAM_VALUE 1 server->ops->rmdir 4096-ptr_max
PARAM_VALUE 1 server->ops->select_sectype 4096-ptr_max
PARAM_VALUE 1 server->ops->send_cancel 0,4096-ptr_max
PARAM_VALUE 1 server->ops->sess_setup 1-u64max
PARAM_VALUE 1 server->ops->set_EA 1-u64max
PARAM_VALUE 1 server->ops->set_acl 4096-ptr_max
PARAM_VALUE 1 server->ops->set_compression 1-u64max
PARAM_VALUE 1 server->ops->set_credits 4096-ptr_max
PARAM_VALUE 1 server->ops->set_fid 4096-ptr_max
PARAM_VALUE 1 server->ops->set_file_info 4096-ptr_max
PARAM_VALUE 1 server->ops->set_file_size 4096-ptr_max
PARAM_VALUE 1 server->ops->set_integrity 0,7862464251702898688
PARAM_VALUE 1 server->ops->set_lease_key 0,4156408742693687296
PARAM_VALUE 1 server->ops->set_oplock_level 0,1628928885716488192,1716192525592436736,8641955065747824640
PARAM_VALUE 1 server->ops->set_path_size 4096-ptr_max
PARAM_VALUE 1 server->ops->setup_async_request 4096-ptr_max
PARAM_VALUE 1 server->ops->setup_request 4096-ptr_max
PARAM_VALUE 1 server->ops->sync_read 4096-ptr_max
PARAM_VALUE 1 server->ops->sync_write 4096-ptr_max
PARAM_VALUE 1 server->ops->tree_connect 4096-ptr_max
PARAM_VALUE 1 server->ops->tree_disconnect 4096-ptr_max
PARAM_VALUE 1 server->ops->unlink 4096-ptr_max
PARAM_VALUE 1 server->ops->validate_negotiate 0,3591058432975998976
PARAM_VALUE 1 server->ops->wait_mtu_credits 4096-ptr_max
PARAM_VALUE 1 server->ops->wp_retry_size 4096-ptr_max
PARAM_VALUE 1 server->vals->cap_large_files 0,8,2097152
PARAM_VALUE 1 server->vals->cap_nt_find 0,528,1048576
PARAM_VALUE 1 server->vals->cap_unicode 0,4
PARAM_VALUE 1 server->vals->cap_unix 0,8388608
PARAM_VALUE 1 server->vals->create_disk_id_size 0,56
PARAM_VALUE 1 server->vals->create_durable_size 0,32
PARAM_VALUE 1 server->vals->create_durable_v2_size 0,32
PARAM_VALUE 1 server->vals->create_lease_size 0,56,80
PARAM_VALUE 1 server->vals->create_mxac_size 0,32
PARAM_VALUE 1 server->vals->create_posix_size 0,88
PARAM_VALUE 1 server->vals->exclusive_lock_type 0,2
PARAM_VALUE 1 server->vals->header_size 0,33,64
PARAM_VALUE 1 server->vals->large_lock_type 0,16
PARAM_VALUE 1 server->vals->lock_cmd 0,10,36
PARAM_VALUE 1 server->vals->max_header_size 0,84,120,204
PARAM_VALUE 1 server->vals->max_read_size 0,65536-8388608
PARAM_VALUE 1 server->vals->max_trans_size 0,65536-8388608
PARAM_VALUE 1 server->vals->max_write_size 0,65536-8388608
PARAM_VALUE 1 server->vals->protocol_id 0-768,770,785
PARAM_VALUE 1 server->vals->read_rsp_size 0,59,80
PARAM_VALUE 1 server->vals->req_capabilities 0,2-u32max
PARAM_VALUE 1 server->vals->shared_lock_type 0-1
PARAM_VALUE 1 server->vals->signing_enabled 0,3-4
PARAM_VALUE 1 server->vals->signing_required 0,2,8
PARAM_VALUE 1 server->vals->unlock_lock_type 0,4
PARAM_VALUE 1 server->vals->version_string 0,4096-ptr_max
PARAM_VALUE 1 *server->fastest_cmd 0-4294967295
PARAM_VALUE 1 *server->slowest_cmd 0-4294967295
PARAM_VALUE 2 rqst 4096-ptr_max
PARAM_VALUE 2 rqst->rq_iov 4096-ptr_max
PARAM_VALUE 2 rqst->rq_nvec 9
PARAM_VALUE 3 oplock 340133820481294336
PARAM_VALUE 3 *oplock 0
PARAM_VALUE 4 oparms 4309364302732267520
PARAM_VALUE 5 path 16,4096-ptr_max
BUF_SIZE 2 rqst 640
DATA_SOURCE 0 tcon $1
DATA_SOURCE 1 server r cifs_pick_channel
DATA_SOURCE 5 path $3

fs/smb/client/smb2ops.c smb2_query_dir_first() -> SMB2_open_init()

Type Parameter Key Value
PARAM_VALUE 0 tcon 4096-ptr_max
PARAM_VALUE 0 tcon->ses 0,4096-ptr_max
PARAM_VALUE 0 tcon->ses->server->ops 4096-ptr_max
PARAM_VALUE 0 tcon->ses->server->ops->query_dir_first 782831042314047488,7675899919728111616
PARAM_VALUE 0 tcon->ses->server->vals->protocol_id 0,514,528,768,770,785
PARAM_VALUE 0 tcon->ses->server->vals->req_capabilities 0,4,6,8,12,14,16-532
PARAM_VALUE 0 *tcon->ses->server->fastest_cmd 0-4294967295
PARAM_VALUE 0 *tcon->ses->server->slowest_cmd 0-4294967295
PARAM_VALUE 1 *server->fastest_cmd 0-4294967295
PARAM_VALUE 1 *server->slowest_cmd 0-4294967295
PARAM_VALUE 2 rqst 8455429179247292416
PARAM_VALUE 2 rqst->rq_iov 3102212835628040192
PARAM_VALUE 2 rqst->rq_nvec 9
PARAM_VALUE 3 oplock 35346225461944320
PARAM_VALUE 3 *oplock 0
PARAM_VALUE 4 oparms 3221496458544599040
PARAM_VALUE 5 path 16,4096-ptr_max
BUF_SIZE 2 rqst 128
BUF_SIZE 5 path s32min-s32max
CAPPED_DATA 0 tcon 1
DATA_SOURCE 0 tcon $1
DATA_SOURCE 1 server r cifs_pick_channel
DATA_SOURCE 5 path r cifs_convert_path_to_utf16
RX_PATH
TASK_NOT_RUNNING
LOCK2 &inode->i_rwsem
HALF_LOCKED2 &dir_fp->readdir_lock
TYPE_LOCK (struct inode)->i_rwsem

fs/smb/client/smb2ops.c smb2_query_info_compound() -> SMB2_open_init()

Type Parameter Key Value
PARAM_VALUE 0 tcon 4096-ptr_max
PARAM_VALUE 0 tcon->ses->server->ops 4096-ptr_max
PARAM_VALUE 0 tcon->ses->server->ops->query_all_EAs 2784442507862106112,8949092441142919168
PARAM_VALUE 0 tcon->ses->server->ops->queryfs 1470061647759446016,1892238605944643584,8758392920818122752
PARAM_VALUE 0 tcon->ses->server->ops->set_EA 3006127908053323776,3346690649043267584
PARAM_VALUE 0 tcon->ses->server->vals->protocol_id 0,514,528,768,770,785
PARAM_VALUE 0 tcon->ses->server->vals->req_capabilities 0,4,6,8,12,14,16-648
PARAM_VALUE 0 *tcon->ses->server->fastest_cmd 0-4294967295
PARAM_VALUE 0 *tcon->ses->server->slowest_cmd 0-4294967295
PARAM_VALUE 1 *server->fastest_cmd 0-4294967295
PARAM_VALUE 1 *server->slowest_cmd 0-4294967295
PARAM_VALUE 2 rqst 4096-ptr_max
PARAM_VALUE 2 rqst->rq_nvec 9
PARAM_VALUE 3 oplock 3282901489516744704
PARAM_VALUE 3 *oplock 0
PARAM_VALUE 4 oparms 2855344239826956288
PARAM_VALUE 5 path 16,4096-ptr_max
BUF_SIZE 2 rqst 640
BUF_SIZE 5 path s32min-s32max
DATA_SOURCE 0 tcon $1
DATA_SOURCE 1 server r cifs_pick_channel
DATA_SOURCE 5 path r cifs_convert_path_to_utf16
RX_PATH
TASK_NOT_RUNNING

fs/smb/client/smb2ops.c smb2_set_ea() -> SMB2_open_init()

Type Parameter Key Value
PARAM_VALUE 0 tcon 4096-ptr_max
PARAM_VALUE 0 tcon->ses->server->ops 4096-ptr_max
PARAM_VALUE 0 tcon->ses->server->ops->query_all_EAs 2784442507862106112,8949092441142919168
PARAM_VALUE 0 tcon->ses->server->ops->set_EA 3006127908053323776,3346690649043267584
PARAM_VALUE 0 *tcon->ses->ip_addr 0-255
PARAM_VALUE 0 *tcon->ses->preauth_sha_hash 0-255
PARAM_VALUE 0 *tcon->ses->server->cryptkey 0-255
PARAM_VALUE 0 *tcon->ses->server->fastest_cmd 0-4294967295
PARAM_VALUE 0 *tcon->ses->server->server_GUID 0-255
PARAM_VALUE 0 *tcon->ses->server->slowest_cmd 0-4294967295
PARAM_VALUE 0 *tcon->ses->server->ssocket->sk->sk_backlog.head->dev->name 0-255
PARAM_VALUE 1 *server->fastest_cmd 0-4294967295
PARAM_VALUE 1 *server->slowest_cmd 0-4294967295
PARAM_VALUE 2 rqst 4096-ptr_max
PARAM_VALUE 2 rqst->rq_nvec 9
PARAM_VALUE 3 oplock 6132999768639754240
PARAM_VALUE 3 *oplock 0
PARAM_VALUE 4 oparms 6055742970275659776
PARAM_VALUE 5 path 16,4096-ptr_max
BUF_SIZE 2 rqst 640
BUF_SIZE 5 path s32min-s32max
DATA_SOURCE 0 tcon $1
DATA_SOURCE 1 server r cifs_pick_channel
DATA_SOURCE 5 path r cifs_convert_path_to_utf16
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dentry->d_inode->i_rwsem
HALF_LOCKED2 &inode->i_rwsem