Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

fs/smb/client/transport.c cifs_readv_receive() -> cifs_read_from_socket()

Type Parameter Key Value
PARAM_VALUE 0 server 4096-ptr_max
PARAM_VALUE 0 server->vals 4096-ptr_max
PARAM_VALUE 0 server->vals->read_rsp_size 0,59,80
PARAM_VALUE 1 buf 4096-ptr_max
DATA_SOURCE 0 server $0
UNITS 1 buf unit_byte
UNITS 2 to_read unit_byte

fs/smb/client/transport.c cifs_readv_receive() -> cifs_read_from_socket()

Type Parameter Key Value
PARAM_VALUE 0 server 4096-ptr_max
PARAM_VALUE 0 server->_srv_mutex->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 server->_srv_mutex.dep_map->name 0-255
PARAM_VALUE 0 server->_srv_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 server->_srv_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 server->_srv_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 server->_srv_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 server->_srv_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 server->_srv_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 server->_srv_mutex.first_waiter->task->blocked_on 0
PARAM_VALUE 0 server->_srv_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 server->credits 1
PARAM_VALUE 0 server->dstaddr.sin_addr s32min-s32max
PARAM_VALUE 0 server->echo->timer->entry.pprev 4096-ptr_max
PARAM_VALUE 0 server->echo.work.entry.next->next 1-u64max
PARAM_VALUE 0 server->echo.work.entry.prev->next 1-u64max
PARAM_VALUE 0 server->echo.work.entry.prev->prev 1-u64max
PARAM_VALUE 0 server->maxBuf 0
PARAM_VALUE 0 server->max_read 0
PARAM_VALUE 0 server->mid_queue_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 server->nofs_flag 0,262144
PARAM_VALUE 0 server->nr_targets s32min-(-1),1-s32max
PARAM_VALUE 0 server->ops 4096-ptr_max
PARAM_VALUE 0 server->ops->is_session_expired 0,7347258589302591488
PARAM_VALUE 0 server->ops->is_status_pending 0,6742650767380713472
PARAM_VALUE 0 server->rdma_readwrite_threshold 0-4096
PARAM_VALUE 0 server->rlist.next->next 4096-ptr_max
PARAM_VALUE 0 server->rlist.prev->next 4096-ptr_max
PARAM_VALUE 0 server->rlist.prev->prev 4096-ptr_max
PARAM_VALUE 0 server->sequence_number 0
PARAM_VALUE 0 server->session_estab 0
PARAM_VALUE 0 server->session_key.len 0
PARAM_VALUE 0 server->session_key.response 0
PARAM_VALUE 0 server->smbd_conn 0
PARAM_VALUE 0 server->ssocket->sk->__sk_common.skc_bind_node.pprev 4096-ptr_max
PARAM_VALUE 0 server->ssocket->sk->__sk_common.skc_net.net->ipv4.ping_port_rover 1-u16max
PARAM_VALUE 0 server->ssocket->sk->__sk_common.skc_net.net->notrefcnt_tracker.dead 1
PARAM_VALUE 0 server->ssocket->sk->__sk_common.skc_net.net->notrefcnt_tracker.quarantine.prev 4096-ptr_max
PARAM_VALUE 0 server->ssocket->sk->__sk_common.skc_net.net->refcnt_tracker.list.next->next 4096-ptr_max
PARAM_VALUE 0 server->ssocket->sk->__sk_common.skc_net.net->refcnt_tracker.list.next->prev 4096-ptr_max
PARAM_VALUE 0 server->ssocket->sk->__sk_common.skc_u16hashes 0-u32max
PARAM_VALUE 0 server->ssocket->sk->ns_tracker->alloc_stack_handle 0-4294967295
PARAM_VALUE 0 server->ssocket->sk->ns_tracker->dead 0-1
PARAM_VALUE 0 server->ssocket->sk->ns_tracker->free_stack_handle 0-4294967295
PARAM_VALUE 0 server->ssocket->sk->sk_backlog.head 0
PARAM_VALUE 0 server->ssocket->sk->sk_backlog.head->cb->type 4
PARAM_VALUE 0 server->ssocket->sk->sk_backlog.head->dev->flags 1-u32max
PARAM_VALUE 0 server->ssocket->sk->sk_backlog.head->extensions->refcnt.refs.counter 1
PARAM_VALUE 0 server->ssocket->sk->sk_dst_cache->callback_head.entry.next s64max
PARAM_VALUE 0 server->ssocket->sk->sk_dst_cache->callback_head.flags 0-4294967295
PARAM_VALUE 0 server->ssocket->sk->sk_dst_cache->callback_head.is_hard 0-1
PARAM_VALUE 0 server->ssocket->sk->sk_dst_cache->callback_head.is_lazy 0-1
PARAM_VALUE 0 server->ssocket->sk->sk_dst_cache->callback_head.is_queued 0-1
PARAM_VALUE 0 server->ssocket->sk->sk_dst_cache->callback_head.is_soft 0-1
PARAM_VALUE 0 server->ssocket->sk->sk_dst_cache->callback_head.node.node.next 0
PARAM_VALUE 0 server->ssocket->sk->sk_dst_cache->callback_head.node.node.prev 0
PARAM_VALUE 0 server->ssocket->sk->sk_filter->rcu.flags 0-4294967295
PARAM_VALUE 0 server->ssocket->sk->sk_filter->rcu.is_hard 0-1
PARAM_VALUE 0 server->ssocket->sk->sk_filter->rcu.is_lazy 0-1
PARAM_VALUE 0 server->ssocket->sk->sk_filter->rcu.is_queued 0-1
PARAM_VALUE 0 server->ssocket->sk->sk_filter->rcu.is_soft 0-1
PARAM_VALUE 0 server->ssocket->sk->sk_filter->rcu.node.node.next 0
PARAM_VALUE 0 server->ssocket->sk->sk_filter->rcu.node.node.prev 0
PARAM_VALUE 0 server->ssocket->sk->sk_filter->refcnt.refs.counter (-1073741824),0-s32max
PARAM_VALUE 0 server->ssocket->sk->sk_lock.slock.rlock.dep_map->name 0-255
PARAM_VALUE 0 server->ssocket->sk->sk_lock.wq.head.next 4096-ptr_max
PARAM_VALUE 0 server->ssocket->sk->sk_lock.wq.head.next->next 4096-ptr_max
PARAM_VALUE 0 server->ssocket->sk->sk_lock.wq.head.prev->next 4096-ptr_max
PARAM_VALUE 0 server->ssocket->sk->sk_lock.wq.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 server->ssocket->sk->sk_memcg->high_work.node.node.next 0
PARAM_VALUE 0 server->ssocket->sk->sk_memcg->high_work.node.node.prev 0
PARAM_VALUE 0 server->ssocket->sk->sk_memcg->id.id 0-s32max
PARAM_VALUE 0 server->ssocket->sk->sk_memcg->memory.high 0-2251799813685247
PARAM_VALUE 0 server->ssocket->sk->sk_memcg->memory.low 0,2251799813685247
PARAM_VALUE 0 server->ssocket->sk->sk_memcg->memory.min 0,2251799813685247
PARAM_VALUE 0 server->ssocket->sk->sk_memcg->memsw.high 0-2251799813685247
PARAM_VALUE 0 server->ssocket->sk->sk_memcg->memsw.low 0,2251799813685247
PARAM_VALUE 0 server->ssocket->sk->sk_memcg->memsw.min 0,2251799813685247
PARAM_VALUE 0 server->ssocket->sk->sk_memcg->tcpmem.high 0-2251799813685247
PARAM_VALUE 0 server->ssocket->sk->sk_memcg->tcpmem.low 0,2251799813685247
PARAM_VALUE 0 server->ssocket->sk->sk_memcg->tcpmem.min 0,2251799813685247
PARAM_VALUE 0 server->ssocket->sk->sk_owner->refcnt.counter 0-s32max
PARAM_VALUE 0 server->ssocket->sk->sk_reuseport_cb->num_closed_socks 0
PARAM_VALUE 0 server->ssocket->sk->sk_reuseport_cb->rcu.flags 0-4294967295
PARAM_VALUE 0 server->ssocket->sk->sk_reuseport_cb->rcu.node.node.next 0
PARAM_VALUE 0 server->ssocket->sk->sk_reuseport_cb->rcu.node.node.prev 0
PARAM_VALUE 0 server->ssocket->sk->sk_rx_dst->callback_head.flags 0-4294967295
PARAM_VALUE 0 server->ssocket->sk->sk_rx_dst->callback_head.is_hard 0-1
PARAM_VALUE 0 server->ssocket->sk->sk_rx_dst->callback_head.is_lazy 0-1
PARAM_VALUE 0 server->ssocket->sk->sk_rx_dst->callback_head.is_queued 0-1
PARAM_VALUE 0 server->ssocket->sk->sk_rx_dst->callback_head.is_soft 0-1
PARAM_VALUE 0 server->ssocket->sk->sobject 0-u16max
PARAM_VALUE 0 server->ssocket->type 1
PARAM_VALUE 0 server->tcp_ses_list.next->next 4096-ptr_max
PARAM_VALUE 0 server->tcp_ses_list.next->prev 4096-ptr_max
PARAM_VALUE 0 server->tcp_ses_list.prev->next 4096-ptr_max
PARAM_VALUE 0 server->tcp_ses_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 server->use_swn_dstaddr 0
PARAM_VALUE 0 server->vals 4096-ptr_max
PARAM_VALUE 0 server->vals->read_rsp_size 0,59,80
PARAM_VALUE 0 *server->fastest_cmd 0-4294967295
PARAM_VALUE 0 *server->session_key.response 0
PARAM_VALUE 0 *server->slowest_cmd 0-4294967295
PARAM_VALUE 0 *server->smbd_conn->socket->ib.pd->res.comp.wait.lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 *server->smbd_conn->socket->ib.qp->srq_completion.wait.lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 *server->smbd_conn->socket->ib.recv_cq->res.comp.wait.lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 *server->smbd_conn->socket->ib.send_cq->res.comp.wait.lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 *server->ssocket->sk->sk_backlog.head->cb->data_end (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 *server->ssocket->sk->sk_backlog.head->data->hdr 0-4294967295
PARAM_VALUE 0 *server->ssocket->sk->sk_backlog.head->dev->name 0-255
PARAM_VALUE 1 buf 4096-ptr_max
PARAM_VALUE 2 to_read 1-s32max
CAPPED_DATA 0 server->total_read 1
CAPPED_DATA 0 server->vals->read_rsp_size 1
CAPPED_DATA 2 to_read 1
DATA_SOURCE 0 server $0
PARAM_COMPARE 0 server->total_read >= $0->vals->read_rsp_size
UNITS 1 buf unit_byte
UNITS 2 to_read unit_byte

fs/smb/client/smb2ops.c receive_encrypted_read() -> cifs_read_from_socket()

Type Parameter Key Value
PARAM_VALUE 0 server 4096-ptr_max
PARAM_VALUE 0 server->pdu_size 116-u32max
PARAM_VALUE 0 server->smallbuf 4096-ptr_max
PARAM_VALUE 0 server->vals 4096-ptr_max
DATA_SOURCE 0 server $0
UNITS 1 buf unit_byte
UNITS 2 to_read unit_byte

fs/smb/client/smb2ops.c receive_encrypted_standard() -> cifs_read_from_socket()

Type Parameter Key Value
PARAM_VALUE 0 server 4096-ptr_max
PARAM_VALUE 0 server->pdu_size 116-2147483851
PARAM_VALUE 0 server->smallbuf 4096-ptr_max
PARAM_VALUE 0 server->total_read 0-u32max
PARAM_VALUE 0 server->vals 4096-ptr_max
PARAM_VALUE 1 buf 4096-ptr_max
DATA_SOURCE 0 server $0
UNITS 1 buf unit_byte
UNITS 2 to_read unit_byte

fs/smb/client/connect.c cifs_demultiplex_thread() -> cifs_read_from_socket()

Type Parameter Key Value
PARAM_VALUE 0 server 4096-ptr_max
PARAM_VALUE 0 server->bigbuf 1-u64max
PARAM_VALUE 0 server->large_buf 0
PARAM_VALUE 0 server->ops->dump_detail 1179934547782934528,5263156627788169216
PARAM_VALUE 0 server->ops->is_network_name_deleted 5905334185464066048,8359393018571853824
PARAM_VALUE 0 server->ops->is_oplock_break 1421931149924728832,6061908479973941248
PARAM_VALUE 0 server->ops->is_status_io_timeout 0,8980158677023936512
PARAM_VALUE 0 server->ops->is_transform_hdr 0,7176274675243610112
PARAM_VALUE 0 server->ops->next_header 0,8630180984356941824
PARAM_VALUE 0 server->ops->receive_transform 0,564095901655928832
PARAM_VALUE 0 server->smallbuf 1-u64max
PARAM_VALUE 0 server->tcpStatus 0-1,3-u32max
PARAM_VALUE 0 server->vals->header_size 0,33,64
PARAM_VALUE 0 server->vals->lock_cmd 0,10,36
PARAM_VALUE 0 server->vals->protocol_id 0,514,528,768,770,785
PARAM_VALUE 0 server->vals->read_rsp_size 0,59,80
PARAM_VALUE 0 *server->fastest_cmd 0-4294967295
PARAM_VALUE 0 *server->slowest_cmd 0-4294967295
PARAM_VALUE 1 buf 1-u64max
PARAM_VALUE 2 to_read 4
BUF_SIZE 0 server 128
BUF_SIZE 0 server 128
DATA_SOURCE 0 server $0
NO_OVERFLOW_SIMPLE 0 server->pdu_size
NO_OVERFLOW_SIMPLE 0 server->total_read
UNITS 2 to_read unit_byte

fs/smb/client/connect.c standard_receive3() -> cifs_read_from_socket()

Type Parameter Key Value
PARAM_VALUE 0 server 4096-ptr_max
PARAM_VALUE 0 server->pdu_size 0-2147483851
PARAM_VALUE 0 server->total_read 0-u32max
PARAM_VALUE 0 server->vals 4096-ptr_max
PARAM_VALUE 1 buf 4096-ptr_max
DATA_SOURCE 0 server $0
UNITS 1 buf unit_byte
UNITS 2 to_read unit_byte