Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

net/ceph/messenger_v2.c __finish_skip() -> prepare_read_preamble()

Type Parameter Key Value
PARAM_VALUE 0 con 4096-ptr_max
PARAM_VALUE 0 con->ops->dispatch 0,4096-ptr_max
PARAM_VALUE 0 con->state 7-12
CAPPED_DATA 0 con 1
DATA_SOURCE 0 con $0
FUZZY_MAX 0 con->state 12
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 con->in_msg->middle->alloc_len
NO_OVERFLOW_SIMPLE 0 con->in_msg->middle->vec.iov_len

net/ceph/messenger_v2.c process_banner_payload() -> prepare_read_preamble()

Type Parameter Key Value
PARAM_VALUE 0 con 4096-ptr_max
PARAM_VALUE 0 con->state 7
PARAM_VALUE 0 con->v2.con_mode s32min-1,3-s32max
PARAM_VALUE 0 con->v2.conn_buf_cnt 1-16
PARAM_VALUE 0 con->v2.in_kvecs 4096-ptr_max
PARAM_VALUE 0 con->v2.out_kvec_cnt 1-8
PARAM_VALUE 0 con->v2.out_sign_kvec_cnt 1-8
DATA_SOURCE 0 con $0
NOCHECK_CALL

net/ceph/messenger_v2.c process_control() -> prepare_read_preamble()

Type Parameter Key Value
PARAM_VALUE 0 con 4096-ptr_max
PARAM_VALUE 0 con->mutex.dep_map->name 0-255
PARAM_VALUE 0 con->mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 con->mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 con->ops->dispatch 0,4096-ptr_max
PARAM_VALUE 0 con->ops->peer_reset 0,4096-ptr_max
PARAM_VALUE 0 con->ops->sparse_read 0,4096-ptr_max
PARAM_VALUE 0 con->sock->sk->ns_tracker->alloc_stack_handle 0-4294967295
PARAM_VALUE 0 con->sock->sk->ns_tracker->dead 0-1
PARAM_VALUE 0 con->sock->sk->ns_tracker->free_stack_handle 0-4294967295
PARAM_VALUE 0 con->sock->sk->sk_memcg->high_work.flags 0-4294967295
PARAM_VALUE 0 con->sock->sk->sk_memcg->high_work.is_hard 0-1
PARAM_VALUE 0 con->sock->sk->sk_memcg->high_work.is_lazy 0-1
PARAM_VALUE 0 con->sock->sk->sk_memcg->high_work.is_queued 0-1
PARAM_VALUE 0 con->sock->sk->sk_memcg->high_work.is_soft 0-1
PARAM_VALUE 0 con->sock->sk->sk_memcg->kmem.high 0,2251799813685247
PARAM_VALUE 0 con->sock->sk->sk_memcg->kmem.low 0,2251799813685247
PARAM_VALUE 0 con->sock->sk->sk_memcg->kmem.min 0,2251799813685247
PARAM_VALUE 0 con->sock->sk->sk_memcg->swap.high 0-2251799813685247
PARAM_VALUE 0 con->sock->sk->sk_memcg->tcpmem_pressure 0-1
PARAM_VALUE 0 con->sock->sk->sk_prot_creator->owner->refcnt.counter 0-s32max
PARAM_VALUE 0 con->sock->sk->sk_protocol 0-255
PARAM_VALUE 0 con->state 8-12
PARAM_VALUE 0 con->v2.in_desc.fd_lens 4096-ptr_max
PARAM_VALUE 0 con->v2.in_desc.fd_tag s32min-16,18-s32max
PARAM_VALUE 0 con->v2.in_state 1-3
PARAM_VALUE 0 *con->sock->sk->sk_backlog.head->dev->name 0-255
PARAM_VALUE 0 *con->v2.in_buf (-4611686018427387904)-4611686018427387903
DATA_SOURCE 0 con $0
HARD_MAX 0 con->v2.in_state 3
NOCHECK_CALL
USER_DATA 0 con->peer_features 0-u64max
USER_DATA 0 con->peer_name.num 0-u64max
USER_DATA 0 con->private->auth->global_id s64min-s64max
USER_DATA 0 con->private->client->msgr.inst.name.num s64min-s64max
USER_DATA 0 con->private->m_subscribe->con->v2.out_cursor.resid s64min-s64max
USER_DATA 0 con->private->m_subscribe->con->v2.out_iter.count s64min-s64max
USER_DATA 0 con->v2.con_mode s32min-s32max
USER_DATA 0 con->v2.in_cursor.resid 0-u64max
USER_DATA 0 con->v2.out_cursor.resid 0-u64max
USER_DATA 0 con->v2.out_iter.count 0-5294967294
USER_DATA 0 con->v2.peer_global_seq 0-u64max
USER_DATA 0 con->v2.server_cookie 0-u64max
NO_OVERFLOW_SIMPLE 0 con->sock->sk->sk_backlog.len
NO_OVERFLOW_SIMPLE 0 con->sock->sk->sk_receive_queue.prev->next->tail
NO_OVERFLOW_SIMPLE 0 con->sock->sk->sk_receive_queue.prev->tail
NO_OVERFLOW_SIMPLE 0 con->sock->sk->sk_write_queue.next->prev->tail
NO_OVERFLOW_SIMPLE 0 con->sock->sk->sk_write_queue.next->prev->truesize
NO_OVERFLOW_SIMPLE 0 con->sock->sk->sk_write_queue.next->tail
NO_OVERFLOW_SIMPLE 0 con->sock->sk->sk_write_queue.next->truesize
NO_OVERFLOW_SIMPLE 0 con->v1.out_kvec_bytes
LOCK2 &pool->lock
LOCK2 0 &con->mutex
TYPE_LOCK (struct ceph_connection)->mutex

net/ceph/messenger_v2.c process_message() -> prepare_read_preamble()

Type Parameter Key Value
PARAM_VALUE 0 con 4096-ptr_max
PARAM_VALUE 0 con->in_msg 0
PARAM_VALUE 0 con->in_msg->con->private->o_ref.refs.counter s32min-s32max
PARAM_VALUE 0 con->in_msg->con->private->s_delegated_inos.xa_flags 0-4294967295
PARAM_VALUE 0 con->in_msg->con->private->s_ref.refs.counter s32min-s32max
PARAM_VALUE 0 con->in_msg->data_length 0
PARAM_VALUE 0 con->in_msg->num_data_items 0
PARAM_VALUE 0 con->in_msg->pool->front_len 0-s32max
PARAM_VALUE 0 con->ops 4096-ptr_max
PARAM_VALUE 0 con->ops->dispatch 4096-ptr_max
PARAM_VALUE 0 con->ops->peer_reset 0,4096-ptr_max
PARAM_VALUE 0 con->ops->sparse_read 0,4096-ptr_max
PARAM_VALUE 0 con->private->auth->key->len s32min-s32max
PARAM_VALUE 0 con->private->auth->key->type s32min-s32max
PARAM_VALUE 0 con->private->auth->negotiating 0-1
PARAM_VALUE 0 con->private->auth->ops->add_authorizer_challenge 0,8694480074367614976
PARAM_VALUE 0 con->private->auth->ops->build_request 1500831215093698560,4557810522341318656
PARAM_VALUE 0 con->private->auth->ops->check_message_signature 0,1409719960148287488
PARAM_VALUE 0 con->private->auth->ops->create_authorizer 5116800447108878336,7727551989208821760
PARAM_VALUE 0 con->private->auth->ops->destroy 232516170488102912,8163172160793608192
PARAM_VALUE 0 con->private->auth->ops->handle_reply 2227757077980221440,9129812294381019136
PARAM_VALUE 0 con->private->auth->ops->invalidate_authorizer 0,2134755273616740352
PARAM_VALUE 0 con->private->auth->ops->is_authenticated 4736068865338830848,5467747194246344704
PARAM_VALUE 0 con->private->auth->ops->reset 5039140746860773376,6995935188971859968
PARAM_VALUE 0 con->private->auth->ops->should_authenticate 3224183598294859776,4516429494390382592
PARAM_VALUE 0 con->private->auth->ops->sign_message 0,2680124485992787968
PARAM_VALUE 0 con->private->auth->ops->update_authorizer 0,5337904568822358016
PARAM_VALUE 0 con->private->auth->ops->verify_authorizer_reply 0,1015249060593123328
PARAM_VALUE 0 con->private->auth->protocol 0-2
PARAM_VALUE 0 con->private->client->auth_err s32min-0
PARAM_VALUE 0 con->private->client->have_fsid 1
PARAM_VALUE 0 con->private->client->msgr.inst.name.type 8
PARAM_VALUE 0 con->private->client->osdc.homeless_osd->o_auth.authorizer->session_key.key (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 con->private->client->osdc.homeless_osd.o_osdc->lock.count.counter s64min-(-1),1-s64max
PARAM_VALUE 0 con->private->client->osdc.homeless_osd.o_osdc->lock.dep_map->name 0-255
PARAM_VALUE 0 con->private->client->osdc.homeless_osd.o_osdc->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 con->private->client->osdc.homeless_osd.o_osdc->lock.first_waiter->type 0-1
PARAM_VALUE 0 con->private->client->osdc.homeless_osd.o_osdc->num_homeless.counter s32min-s32max
PARAM_VALUE 0 con->private->client->osdc.homeless_osd.o_osdc->osdmap->crush_wsm.free_ws s32min-s32max
PARAM_VALUE 0 con->private->client->osdc.homeless_osd.o_osdc->osdmap->epoch 0-4294967295
PARAM_VALUE 0 con->private->client->osdc.homeless_osd.o_ref.refs.counter s32min-s32max
PARAM_VALUE 0 con->private->client->osdc.homeless_osd.o_requests_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 con->private->client->osdc.lock.dep_map->name 0-255
PARAM_VALUE 0 con->private->client->osdc.lock.first_waiter->handoff_set 1
PARAM_VALUE 0 con->private->client->osdc.lock.first_waiter->list.next 2624917664208203776
PARAM_VALUE 0 con->private->client->osdc.lock.first_waiter->list.prev 2624917664208203776
PARAM_VALUE 0 con->private->client->osdc.lock.first_waiter->type 0-1
PARAM_VALUE 0 con->private->client->osdc.lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 con->private->client->osdc.osdmap->epoch 1-4294967295
PARAM_VALUE 0 con->private->con.work.cpu s32min-s32max
PARAM_VALUE 0 con->private->con.work.timer.flags 0-4294967295
PARAM_VALUE 0 con->private->delayed_work.cpu s32min-s32max
PARAM_VALUE 0 con->private->delayed_work.timer.flags 0-4294967295
PARAM_VALUE 0 con->private->had_a_connection 1
PARAM_VALUE 0 con->private->hunt_mult 1-s32max
PARAM_VALUE 0 con->private->hunting 0
PARAM_VALUE 0 con->private->lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 con->private->m_auth->con->v2.out_bvec.bv_len 1-4096,2147483648-4294967295
PARAM_VALUE 0 con->private->m_auth->con->v2.out_epil.late_status 1,14
PARAM_VALUE 0 con->private->m_auth->con->v2.out_kvec_cnt 1-8
PARAM_VALUE 0 con->private->m_auth->con->v2.out_state s32min-0,3-s32max
PARAM_VALUE 0 con->private->m_auth->front.iov_len 1-s32max
PARAM_VALUE 0 con->private->m_auth->hdr.front_len 1-s32max
PARAM_VALUE 0 con->private->m_auth->kref.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 con->private->m_auth->needs_out_seq 1
PARAM_VALUE 0 con->private->m_auth->num_data_items s32min-s32max
PARAM_VALUE 0 con->private->m_auth->pool->front_len s32min-s32max
PARAM_VALUE 0 con->private->m_subscribe->con->v2.out_bvec.bv_len 1-4096,2147483648-4294967295
PARAM_VALUE 0 con->private->m_subscribe->con->v2.out_epil.late_status 1,14
PARAM_VALUE 0 con->private->m_subscribe->con->v2.out_kvec_cnt 1-8
PARAM_VALUE 0 con->private->m_subscribe->con->v2.out_state s32min-0,3-s32max
PARAM_VALUE 0 con->private->m_subscribe->hdr.front_len 0-4294967295
PARAM_VALUE 0 con->private->m_subscribe->hdr.version 2
PARAM_VALUE 0 con->private->m_subscribe->kref.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 con->private->m_subscribe->num_data_items s32min-s32max
PARAM_VALUE 0 con->private->m_subscribe->pool->front_len s32min-s32max
PARAM_VALUE 0 con->private->monmap->num_mon 0-31
PARAM_VALUE 0 con->private->o_auth.authorizer->session_key->key s64max
PARAM_VALUE 0 con->private->o_con.work.cpu s32min-s32max
PARAM_VALUE 0 con->private->o_con.work.timer.flags 0-4294967295
PARAM_VALUE 0 con->private->o_osdc->client->monc.con.work.cpu s32min-s32max
PARAM_VALUE 0 con->private->o_osdc->client->monc.con.work.timer.flags 0-4294967295
PARAM_VALUE 0 con->private->o_osdc->client->monc.m_subscribe->con->out_msg->pool->front_len 0-s32max
PARAM_VALUE 0 con->private->o_osdc->client->monc.m_subscribe->con->v2.out_bvec.bv_len 1-4096,2147483648-4294967295
PARAM_VALUE 0 con->private->o_osdc->client->monc.m_subscribe->con->v2.out_epil.late_status 1,14
PARAM_VALUE 0 con->private->o_osdc->client->monc.m_subscribe->con->v2.out_kvec_cnt 1-8
PARAM_VALUE 0 con->private->o_osdc->client->monc.m_subscribe->con->v2.out_state s32min-0,3-s32max
PARAM_VALUE 0 con->private->o_osdc->client->monc.m_subscribe->hdr.front_len 0-4294967295
PARAM_VALUE 0 con->private->o_osdc->client->monc.m_subscribe->hdr.version 2
PARAM_VALUE 0 con->private->o_osdc->client->monc.m_subscribe->kref.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 con->private->o_osdc->client->monc.m_subscribe->pool->front_len 0-s32max
PARAM_VALUE 0 con->private->o_osdc->homeless_osd->o_auth.authorizer->session_key.key (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 con->private->o_osdc->homeless_osd.o_ref.refs.counter s32min-s32max
PARAM_VALUE 0 con->private->o_osdc->homeless_osd.o_requests_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 con->private->o_osdc->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 con->private->o_osdc->num_homeless.counter s32min-s32max
PARAM_VALUE 0 con->private->o_osdc->osd_lru_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 con->private->o_osdc->osdmap->epoch 1-4294967295
PARAM_VALUE 0 con->private->o_requests_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 con->private->o_sparse_read.sr_count 0
PARAM_VALUE 0 con->private->o_sparse_read.sr_datalen 0
PARAM_VALUE 0 con->private->o_sparse_read.sr_ext_len 0
PARAM_VALUE 0 con->private->o_sparse_read.sr_extent 0
PARAM_VALUE 0 con->private->o_sparse_read.sr_index 0
PARAM_VALUE 0 con->private->o_sparse_read.sr_pos 0
PARAM_VALUE 0 con->private->o_sparse_read.sr_req_len 0
PARAM_VALUE 0 con->private->o_sparse_read.sr_req_off 0
PARAM_VALUE 0 con->private->o_sparse_read.sr_state 0
PARAM_VALUE 0 con->private->pending_auth 0-1
PARAM_VALUE 0 con->sock->sk->ns_tracker->alloc_stack_handle 0-4294967295
PARAM_VALUE 0 con->sock->sk->ns_tracker->dead 0-1
PARAM_VALUE 0 con->sock->sk->ns_tracker->free_stack_handle 0-4294967295
PARAM_VALUE 0 con->sock->sk->sk_memcg->high_work.is_queued 0-1
PARAM_VALUE 0 con->sock->sk->sk_protocol 0-255
PARAM_VALUE 0 con->state 12
PARAM_VALUE 0 con->v2.in_state 1-3,9
PARAM_VALUE 0 *con->in_msg->con->private->o_auth.authorizer->session_key.key (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 *con->private->auth->private (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 *con->private->m_auth->front.iov_base (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 *con->private->m_subscribe->front.iov_base (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 *con->sock->sk->sk_backlog.head->dev->name 0-255
PARAM_VALUE 0 *con->v2.in_buf (-4611686018427387904)-4611686018427387903
CAPPED_DATA 0 con 1
DATA_SOURCE 0 con $0
HARD_MAX 0 con->v2.in_state 9
NOCHECK_CALL
USER_DATA 0 con->peer_features 0-u64max
USER_DATA 0 con->peer_name.num 0-u64max
USER_DATA 0 con->private->client->osdc.osdmap->epoch 1-4294967295
USER_DATA 0 con->private->client->osdc.osdmap->flags 0-4294967295
USER_DATA 0 con->private->client->osdc.osdmap->pool_max 0-4294967295
USER_DATA 0 con->private->m_auth->con->v2.out_cursor.resid s64min-s64max
USER_DATA 0 con->private->m_auth->con->v2.out_iter.count s64min-s64max
USER_DATA 0 con->private->m_subscribe->con->v2.out_cursor.resid s64min-s64max
USER_DATA 0 con->private->m_subscribe->con->v2.out_iter.count s64min-s64max
USER_DATA 0 con->private->monmap->epoch 0-4294967295
USER_DATA 0 con->private->o_osdc->client->monc.m_subscribe->con->v2.out_cursor.resid s64min-s64max
USER_DATA 0 con->private->o_osdc->client->monc.m_subscribe->con->v2.out_iter.count s64min-s64max
USER_DATA 0 con->private->o_osdc->osdmap->epoch 1-4294967295
USER_DATA 0 con->private->o_osdc->osdmap->flags 0-4294967295
USER_DATA 0 con->private->o_osdc->osdmap->pool_max 0-4294967295
USER_DATA 0 con->v2.con_mode s32min-s32max
USER_DATA 0 con->v2.in_cursor.resid 0-u64max
USER_DATA 0 con->v2.out_cursor.resid 0-u64max
USER_DATA 0 con->v2.out_iter.count 13-3147483660
USER_DATA 0 con->v2.peer_global_seq 0-u64max
USER_DATA 0 con->v2.server_cookie 0-u64max
NO_OVERFLOW_SIMPLE 0 con->in_msg->middle->alloc_len
NO_OVERFLOW_SIMPLE 0 con->in_msg->middle->vec.iov_len
NO_OVERFLOW_SIMPLE 0 con->sock->sk->sk_backlog.len
NO_OVERFLOW_SIMPLE 0 con->sock->sk->sk_receive_queue.prev->next->tail
NO_OVERFLOW_SIMPLE 0 con->sock->sk->sk_receive_queue.prev->tail
NO_OVERFLOW_SIMPLE 0 con->sock->sk->sk_write_queue.next->prev->tail
NO_OVERFLOW_SIMPLE 0 con->sock->sk->sk_write_queue.next->prev->truesize
NO_OVERFLOW_SIMPLE 0 con->sock->sk->sk_write_queue.next->tail
NO_OVERFLOW_SIMPLE 0 con->sock->sk->sk_write_queue.next->truesize
NO_OVERFLOW_SIMPLE 0 con->v1.out_kvec_bytes
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 0 &con->mutex