Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

fs/smb/client/smb2inode.c set_next_compound() -> smb2_set_next_command()

Type Parameter Key Value
DATA_SOURCE 0 tcon $0
NOCHECK_CALL

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

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 rqst 270394189404594176
PARAM_VALUE 1 rqst->rq_iov 7147945304185028608
PARAM_VALUE 1 rqst->rq_nvec 9
BUF_SIZE 1 rqst 128
DATA_SOURCE 0 tcon $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

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

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 rqst 763655343675592704
PARAM_VALUE 1 rqst->rq_iov 8847788481533120512
PARAM_VALUE 1 rqst->rq_nvec 9
BUF_SIZE 0 tcon (-1),2584
BUF_SIZE 0 tcon (-1),2584
BUF_SIZE 1 rqst 128
DATA_SOURCE 0 tcon $1
STR_LEN 0 tcon (-1)-0
STR_LEN 0 tcon (-1)-0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &cifs_mount_mutex

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

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 rqst 4096-ptr_max
PARAM_VALUE 1 rqst->rq_iov 4096-ptr_max
PARAM_VALUE 1 rqst->rq_nvec 9
BUF_SIZE 1 rqst 640
DATA_SOURCE 0 tcon $1
NOCHECK_CALL

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

Type Parameter Key Value
PARAM_VALUE 0 tcon 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->server->vals 4096-ptr_max
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 rqst 4096-ptr_max
PARAM_VALUE 1 rqst->rq_nvec 1-2
BUF_SIZE 1 rqst 576
DATA_SOURCE 0 tcon $1
NOCHECK_CALL

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

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 rqst 8455429179247292416
PARAM_VALUE 1 rqst->rq_iov 3102212835628040192
PARAM_VALUE 1 rqst->rq_nvec 9
BUF_SIZE 1 rqst 128
CAPPED_DATA 0 tcon 1
DATA_SOURCE 0 tcon $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
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_set_next_command()

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 rqst 4096-ptr_max
PARAM_VALUE 1 rqst->rq_nvec 9
BUF_SIZE 1 rqst 640
DATA_SOURCE 0 tcon $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

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

Type Parameter Key Value
PARAM_VALUE 0 tcon 4096-ptr_max
PARAM_VALUE 0 tcon->cfids->cfid_list_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 tcon->cfids->dying.next 4096-ptr_max
PARAM_VALUE 0 tcon->cfids->dying.next->next 4096-ptr_max
PARAM_VALUE 0 tcon->cfids->dying.next->prev 4096-ptr_max
PARAM_VALUE 0 tcon->cfids->laundromat_work->timer->entry.pprev 4096-ptr_max
PARAM_VALUE 0 tcon->cfids->laundromat_work.timer.lockdep_map->name 0-255
PARAM_VALUE 0 tcon->cfids->laundromat_work.work.entry.next->next 1-u64max
PARAM_VALUE 0 tcon->cfids->laundromat_work.work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 tcon->cfids->laundromat_work.work.entry.prev->next 1-u64max
PARAM_VALUE 0 tcon->cfids->laundromat_work.work.entry.prev->prev 1-u64max
PARAM_VALUE 0 tcon->open_file_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 tcon->query_interfaces.timer.entry->pprev 4096-ptr_max
PARAM_VALUE 0 tcon->ses->chan_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 tcon->ses->flags 0,2-u32max
PARAM_VALUE 0 tcon->ses->server 4096-ptr_max
PARAM_VALUE 0 tcon->ses->server->_srv_mutex.dep_map->name 0-255
PARAM_VALUE 0 tcon->ses->server->_srv_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 tcon->ses->server->_srv_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 tcon->ses->server->mid_counter_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 tcon->ses->server->mid_queue_lock.rlock.dep_map->name 0-255
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->pending_mid_q.prev->next 4096-ptr_max
PARAM_VALUE 0 tcon->ses->server->pending_mid_q.prev->next->next 4096-ptr_max
PARAM_VALUE 0 tcon->ses->server->request_q.head.prev->next 4096-ptr_max
PARAM_VALUE 0 tcon->ses->server->request_q.head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 tcon->ses->server->smbd_conn->socket->first_error s32min-s32max
PARAM_VALUE 0 tcon->ses->server->smbd_conn->socket->status 0-4294967295
PARAM_VALUE 0 tcon->ses->server->srv_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 tcon->ses->server->ssocket->sk->__sk_common.skc_net.net->ipv4.ping_port_rover 1-u16max
PARAM_VALUE 0 tcon->ses->server->ssocket->sk->__sk_common.skc_net.net->notrefcnt_tracker.dead 1
PARAM_VALUE 0 tcon->ses->server->ssocket->sk->__sk_common.skc_net.net->refcnt_tracker.dead 1
PARAM_VALUE 0 tcon->ses->server->ssocket->sk->__sk_common.skc_nulls_node.next->pprev 1-u64max
PARAM_VALUE 0 tcon->ses->server->ssocket->sk->__sk_common.skc_prot->h.smc_hash->lock.owner (-1)
PARAM_VALUE 0 tcon->ses->server->ssocket->sk->__sk_common.skc_prot->h.smc_hash->lock.owner_cpu 4294967295
PARAM_VALUE 0 tcon->ses->server->ssocket->sk->__sk_common.skc_u16hashes 0-u32max
PARAM_VALUE 0 tcon->ses->server->ssocket->sk->listener->local_addr.svm_cid 4294967295
PARAM_VALUE 0 tcon->ses->server->ssocket->sk->listener->local_addr.svm_family 40
PARAM_VALUE 0 tcon->ses->server->ssocket->sk->listener->local_addr.svm_port 4294967295
PARAM_VALUE 0 tcon->ses->server->ssocket->sk->listener->remote_addr.svm_cid 4294967295
PARAM_VALUE 0 tcon->ses->server->ssocket->sk->listener->remote_addr.svm_family 40
PARAM_VALUE 0 tcon->ses->server->ssocket->sk->listener->remote_addr.svm_port 4294967295
PARAM_VALUE 0 tcon->ses->server->ssocket->sk->listener->sk_prot_creator->owner->refcnt.counter 0-s32max
PARAM_VALUE 0 tcon->ses->server->ssocket->sk->ns_tracker->alloc_stack_handle 0-4294967295
PARAM_VALUE 0 tcon->ses->server->ssocket->sk->ns_tracker->dead 0-1
PARAM_VALUE 0 tcon->ses->server->ssocket->sk->ns_tracker->free_stack_handle 0-4294967295
PARAM_VALUE 0 tcon->ses->server->ssocket->sk->sk_error_queue.next->prev 2011684551238094848
PARAM_VALUE 0 tcon->ses->server->ssocket->sk->sk_filter->rcu.entry.next s64max
PARAM_VALUE 0 tcon->ses->server->ssocket->sk->sk_filter->rcu.flags 0-4294967295
PARAM_VALUE 0 tcon->ses->server->ssocket->sk->sk_filter->rcu.is_hard 0-1
PARAM_VALUE 0 tcon->ses->server->ssocket->sk->sk_filter->rcu.is_lazy 0-1
PARAM_VALUE 0 tcon->ses->server->ssocket->sk->sk_filter->rcu.is_soft 0-1
PARAM_VALUE 0 tcon->ses->server->ssocket->sk->sk_lock.wq.head.prev->next 4096-ptr_max
PARAM_VALUE 0 tcon->ses->server->ssocket->sk->sk_lock.wq.head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 tcon->ses->server->ssocket->sk->sk_memcg->high_work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 tcon->ses->server->ssocket->sk->sk_memcg->high_work.is_hard 0-1
PARAM_VALUE 0 tcon->ses->server->ssocket->sk->sk_memcg->high_work.is_lazy 0-1
PARAM_VALUE 0 tcon->ses->server->ssocket->sk->sk_memcg->high_work.is_soft 0-1
PARAM_VALUE 0 tcon->ses->server->ssocket->sk->sk_memcg->id.id 0-s32max
PARAM_VALUE 0 tcon->ses->server->ssocket->sk->sk_memcg->kmem.high 0,2251799813685247
PARAM_VALUE 0 tcon->ses->server->ssocket->sk->sk_memcg->kmem.low 0,2251799813685247
PARAM_VALUE 0 tcon->ses->server->ssocket->sk->sk_memcg->kmem.min 0,2251799813685247
PARAM_VALUE 0 tcon->ses->server->ssocket->sk->sk_memcg->memory.high 0,2251799813685247
PARAM_VALUE 0 tcon->ses->server->ssocket->sk->sk_memcg->memory.low 0,2251799813685247
PARAM_VALUE 0 tcon->ses->server->ssocket->sk->sk_memcg->memory.min 0,2251799813685247
PARAM_VALUE 0 tcon->ses->server->ssocket->sk->sk_memcg->memsw.high 0,2251799813685247
PARAM_VALUE 0 tcon->ses->server->ssocket->sk->sk_memcg->memsw.low 0,2251799813685247
PARAM_VALUE 0 tcon->ses->server->ssocket->sk->sk_memcg->memsw.min 0,2251799813685247
PARAM_VALUE 0 tcon->ses->server->ssocket->sk->sk_memcg->swap.high 0,2251799813685247
PARAM_VALUE 0 tcon->ses->server->ssocket->sk->sk_memcg->swap.low 0,2251799813685247
PARAM_VALUE 0 tcon->ses->server->ssocket->sk->sk_memcg->swap.min 0,2251799813685247
PARAM_VALUE 0 tcon->ses->server->ssocket->sk->sk_memcg->tcpmem.high 0,2251799813685247
PARAM_VALUE 0 tcon->ses->server->ssocket->sk->sk_memcg->tcpmem.low 0,2251799813685247
PARAM_VALUE 0 tcon->ses->server->ssocket->sk->sk_memcg->tcpmem.min 0,2251799813685247
PARAM_VALUE 0 tcon->ses->server->ssocket->sk->sk_memcg->tcpmem_pressure 0-1
PARAM_VALUE 0 tcon->ses->server->ssocket->sk->sk_reuseport_cb->rcu.entry.next s64max
PARAM_VALUE 0 tcon->ses->server->ssocket->sk->sk_reuseport_cb->rcu.flags 0-4294967295
PARAM_VALUE 0 tcon->ses->server->ssocket->sk->sk_reuseport_cb->rcu.function 1626621062881370112
PARAM_VALUE 0 tcon->ses->server->ssocket->sk->sk_reuseport_cb->rcu.is_hard 0-1
PARAM_VALUE 0 tcon->ses->server->ssocket->sk->sk_reuseport_cb->rcu.is_lazy 0-1
PARAM_VALUE 0 tcon->ses->server->ssocket->sk->sk_reuseport_cb->rcu.is_soft 0-1
PARAM_VALUE 0 tcon->ses->server->ssocket->sk->sk_user_data->work.is_queued 0-1
PARAM_VALUE 0 tcon->ses->server->ssocket->sk->sobject 0-u16max
PARAM_VALUE 0 tcon->ses->server->tcpStatus 2-3
PARAM_VALUE 0 tcon->ses->server->vals 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,12,14,16-648
PARAM_VALUE 0 tcon->ses->ses_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 tcon->ses->session_mutex->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 tcon->ses->session_mutex.dep_map->name 0-255
PARAM_VALUE 0 tcon->ses->session_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 tcon->ses->session_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 tcon->ses->session_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 tcon->ses->session_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 tcon->tc_lock.rlock.dep_map->name 0-255
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_common.skc_node.next->pprev 1-u64max
PARAM_VALUE 0 *tcon->ses->server->ssocket->sk->listener->private (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 *tcon->ses->server->ssocket->sk->listener->private->addtl 0-255
PARAM_VALUE 0 *tcon->ses->server->ssocket->sk->sk_backlog.head->dev->name 0-255
PARAM_VALUE 1 rqst 4096-ptr_max
PARAM_VALUE 1 rqst->rq_iov 4096-ptr_max
PARAM_VALUE 1 rqst->rq_nvec 1
BUF_SIZE 1 rqst 576
DATA_SOURCE 0 tcon $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

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

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 rqst 4096-ptr_max
PARAM_VALUE 1 rqst->rq_nvec 9
BUF_SIZE 1 rqst 640
DATA_SOURCE 0 tcon $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dentry->d_inode->i_rwsem
HALF_LOCKED2 &inode->i_rwsem

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

Type Parameter Key Value
PARAM_VALUE 0 tcon 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->query_all_EAs 2784442507862106112,8949092441142919168
PARAM_VALUE 0 tcon->ses->server->ops->set_EA 3006127908053323776,3346690649043267584
PARAM_VALUE 0 tcon->ses->server->vals 4096-ptr_max
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 rqst 4096-ptr_max
PARAM_VALUE 1 rqst->rq_nvec 1
BUF_SIZE 1 rqst 576
DATA_SOURCE 0 tcon $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dentry->d_inode->i_rwsem
HALF_LOCKED2 &inode->i_rwsem