Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

net/ceph/messenger_v2.c handle_control() -> alloc_conn_buf()

Type Parameter Key Value
PARAM_VALUE 0 con 4096-ptr_max
PARAM_VALUE 0 con->state 8
PARAM_VALUE 0 con->v2.in_desc.fd_lens 4096-ptr_max
DATA_SOURCE 0 con $0

net/ceph/messenger_v2.c prepare_auth_request() -> alloc_conn_buf()

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->ops->peer_reset 0,4096-ptr_max
PARAM_VALUE 0 con->ops->sparse_read 0,4096-ptr_max
PARAM_VALUE 0 con->state 7
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 1 len 512
CAPPED_DATA 0 con->peer_name.type 1
DATA_SOURCE 0 con $0

net/ceph/messenger_v2.c prepare_auth_request() -> alloc_conn_buf()

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 0,4096-ptr_max
PARAM_VALUE 0 con->mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 con->mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 con->mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 con->mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 con->mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 con->mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 con->mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 con->mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 con->mutex.wait_lock.owner (-1)
PARAM_VALUE 0 con->mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 con->ops 4096-ptr_max
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->state 7
PARAM_VALUE 0 con->v2.conn_buf_cnt 1-16
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
CAPPED_DATA 0 con->peer_name.type 1
CAPPED_DATA 0 &con->mutex 1
DATA_SOURCE 0 con $0
NO_OVERFLOW_SIMPLE 1 len
LOCK2 0 &con->mutex
TYPE_LOCK (struct ceph_connection)->mutex

net/ceph/messenger_v2.c prepare_auth_request_more() -> alloc_conn_buf()

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->ops->peer_reset 0,4096-ptr_max
PARAM_VALUE 0 con->ops->sparse_read 0,4096-ptr_max
PARAM_VALUE 0 con->state 8
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.out_iter_sendpage 0
PARAM_VALUE 0 con->v2.out_kvec_cnt 0
PARAM_VALUE 1 len 512
DATA_SOURCE 0 con $0

net/ceph/messenger_v2.c prepare_auth_signature() -> alloc_conn_buf()

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 0,4096-ptr_max
PARAM_VALUE 0 con->mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 con->mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 con->mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 con->mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 con->mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 con->mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 con->mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 con->mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 con->mutex.wait_lock.owner (-1)
PARAM_VALUE 0 con->mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 con->ops 4096-ptr_max
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->state 8
PARAM_VALUE 0 con->v2.con_mode 1-2
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.out_iter_sendpage 0
PARAM_VALUE 0 con->v2.out_kvec_cnt 0
DATA_SOURCE 0 con $0
BIT_INFO 1 len 0x0,0x7fffffff
USER_DATA 0 con->v2.con_mode 1-2
LOCK2 0 &con->mutex
TYPE_LOCK (struct ceph_connection)->mutex

net/ceph/messenger_v2.c prepare_banner() -> alloc_conn_buf()

Type Parameter Key Value
PARAM_VALUE 0 con 4096-ptr_max
PARAM_VALUE 0 con->msgr 4096-ptr_max
PARAM_VALUE 0 con->msgr->global_seq_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 con->mutex.dep_map->name 0-255
PARAM_VALUE 0 con->mutex.first_waiter 0,4096-ptr_max
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->mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 con->mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 con->mutex.wait_lock.owner (-1)
PARAM_VALUE 0 con->mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 con->ops->dispatch 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->state 5
PARAM_VALUE 0 con->v2.conn_buf_cnt 1-16
PARAM_VALUE 0 con->v2.global_seq 1-u32max
PARAM_VALUE 0 con->v2.in_kvec_cnt 1-3
PARAM_VALUE 0 con->v2.in_sign_kvec_cnt 1-8
PARAM_VALUE 0 con->v2.out_iter_sendpage 0
PARAM_VALUE 0 con->v2.out_kvec_cnt 0
PARAM_VALUE 1 len 26
CAPPED_DATA 0 con 1
DATA_SOURCE 0 con $0
USER_DATA 0 con->v2.out_cursor.resid 0-u64max
LOCK2 0 &con->mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct ceph_connection)->mutex

net/ceph/messenger_v2.c prepare_client_ident() -> alloc_conn_buf()

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->ops->peer_reset 0,4096-ptr_max
PARAM_VALUE 0 con->ops->sparse_read 0,4096-ptr_max
PARAM_VALUE 0 con->state 9,11
PARAM_VALUE 0 con->v2.client_cookie 1-u64max
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.server_cookie 0
DATA_SOURCE 0 con $0
BIT_INFO 1 len 0x0,0x7fffffff
HARD_MAX 0 con->state 11
HALF_LOCKED2 0 &con->mutex

net/ceph/messenger_v2.c prepare_hello() -> alloc_conn_buf()

Type Parameter Key Value
PARAM_VALUE 0 con 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_lock.wq.head.prev 4096-ptr_max
PARAM_VALUE 0 con->sock->sk->sk_memcg->high_work.entry.next->prev 4096-ptr_max
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->sock->sk->sk_rcu.flags 0-4294967295
PARAM_VALUE 0 con->sock->sk->sk_user_data->work.is_hard 0-1
PARAM_VALUE 0 con->sock->sk->sk_user_data->work.is_lazy 0-1
PARAM_VALUE 0 con->sock->sk->sk_user_data->work.is_soft 0-1
PARAM_VALUE 0 con->state 6
PARAM_VALUE 0 con->v2.in_kvecs 4096-ptr_max
PARAM_VALUE 1 len 72,84
DATA_SOURCE 0 con $0

net/ceph/messenger_v2.c prepare_read_banner_payload() -> alloc_conn_buf()

Type Parameter Key Value
PARAM_VALUE 0 con 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_lock.wq.head.prev 4096-ptr_max
PARAM_VALUE 0 con->sock->sk->sk_memcg->high_work.entry.next->prev 4096-ptr_max
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->sock->sk->sk_rcu.flags 0-4294967295
PARAM_VALUE 0 con->sock->sk->sk_user_data->work.is_hard 0-1
PARAM_VALUE 0 con->sock->sk->sk_user_data->work.is_lazy 0-1
PARAM_VALUE 0 con->sock->sk->sk_user_data->work.is_soft 0-1
PARAM_VALUE 0 con->state 5
PARAM_VALUE 0 con->v2.in_kvecs 4096-ptr_max
PARAM_VALUE 1 len 0-u16max
DATA_SOURCE 0 con $0
DATA_SOURCE 1 len $1
USER_DATA 1 len 0-u16max

net/ceph/messenger_v2.c prepare_read_banner_prefix() -> alloc_conn_buf()

Type Parameter Key Value
PARAM_VALUE 0 con 4096-ptr_max
PARAM_VALUE 0 con->msgr 4096-ptr_max
PARAM_VALUE 0 con->msgr->global_seq_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 con->mutex.dep_map->name 0-255
PARAM_VALUE 0 con->mutex.first_waiter 0,4096-ptr_max
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->mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 con->mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 con->mutex.wait_lock.owner (-1)
PARAM_VALUE 0 con->mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 con->ops->dispatch 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->state 2
PARAM_VALUE 0 con->v2.global_seq 1-u32max
PARAM_VALUE 1 len 10
CAPPED_DATA 0 con 1
DATA_SOURCE 0 con $0
USER_DATA 0 con->v2.out_cursor.resid 0-u64max
UNITS 1 len unit_byte
LOCK2 0 &con->mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct ceph_connection)->mutex

net/ceph/messenger_v2.c prepare_read_control() -> alloc_conn_buf()

Type Parameter Key Value
PARAM_VALUE 0 con 4096-ptr_max
PARAM_VALUE 0 con->ops->dispatch 0,5069345856845316096,5185361939284975616,8367005991706517504
PARAM_VALUE 0 con->ops->peer_reset 0,2747659020159242240
PARAM_VALUE 0 con->ops->sparse_read 0,8552505226235363328
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_lock.wq.head.prev 4096-ptr_max
PARAM_VALUE 0 con->sock->sk->sk_memcg->high_work.entry.next->prev 4096-ptr_max
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->sock->sk->sk_rcu.flags 0-4294967295
PARAM_VALUE 0 con->sock->sk->sk_user_data->work.is_hard 0-1
PARAM_VALUE 0 con->sock->sk->sk_user_data->work.is_lazy 0-1
PARAM_VALUE 0 con->sock->sk->sk_user_data->work.is_soft 0-1
PARAM_VALUE 0 con->state 7-8
PARAM_VALUE 0 con->v2.con_mode s32min-1,3-s32max
PARAM_VALUE 0 con->v2.in_desc.fd_lens 4096-ptr_max
PARAM_VALUE 0 con->v2.in_desc.fd_seg_cnt 1-4
PARAM_VALUE 0 con->v2.in_desc.fd_tag 0-255
PARAM_VALUE 0 con->v2.in_kvec_cnt 0
PARAM_VALUE 0 con->v2.in_state 1
PARAM_VALUE 0 *con->v2.in_desc->fd_aligns 0-u16max
PARAM_VALUE 0 *con->v2.in_desc->fd_lens s32min-s32max
PARAM_VALUE 1 len 37-16777252
DATA_SOURCE 0 con $0
DATA_SOURCE 1 len r head_onwire_len
FUZZY_MAX 0 con->state 8

net/ceph/messenger_v2.c prepare_read_control() -> alloc_conn_buf()

Type Parameter Key Value
PARAM_VALUE 0 con 4096-ptr_max
PARAM_VALUE 0 con->ops->dispatch 0,5069345856845316096,5185361939284975616,8367005991706517504
PARAM_VALUE 0 con->ops->peer_reset 0,2747659020159242240
PARAM_VALUE 0 con->ops->sparse_read 0,8552505226235363328
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_lock.wq.head.prev 4096-ptr_max
PARAM_VALUE 0 con->sock->sk->sk_memcg->high_work.entry.next->prev 4096-ptr_max
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->sock->sk->sk_rcu.flags 0-4294967295
PARAM_VALUE 0 con->sock->sk->sk_user_data->work.is_hard 0-1
PARAM_VALUE 0 con->sock->sk->sk_user_data->work.is_lazy 0-1
PARAM_VALUE 0 con->sock->sk->sk_user_data->work.is_soft 0-1
PARAM_VALUE 0 con->state 9-12
PARAM_VALUE 0 con->v2.con_mode s32min-1,3-s32max
PARAM_VALUE 0 con->v2.in_desc.fd_lens 4096-ptr_max
PARAM_VALUE 0 con->v2.in_desc.fd_seg_cnt 1-4
PARAM_VALUE 0 con->v2.in_desc.fd_tag 0-255
PARAM_VALUE 0 con->v2.in_kvec_cnt 0
PARAM_VALUE 0 con->v2.in_state 1
PARAM_VALUE 0 *con->v2.in_desc->fd_aligns 0-u16max
PARAM_VALUE 0 *con->v2.in_desc->fd_lens s32min-s32max
PARAM_VALUE 1 len 49-s32max
DATA_SOURCE 0 con $0
FUZZY_MAX 1 len 49

net/ceph/messenger_v2.c prepare_read_control_remainder() -> alloc_conn_buf()

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->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_lock.wq.head.prev 4096-ptr_max
PARAM_VALUE 0 con->sock->sk->sk_memcg->high_work.entry.next->prev 4096-ptr_max
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->sock->sk->sk_rcu.flags 0-4294967295
PARAM_VALUE 0 con->sock->sk->sk_user_data->work.is_hard 0-1
PARAM_VALUE 0 con->sock->sk->sk_user_data->work.is_lazy 0-1
PARAM_VALUE 0 con->sock->sk->sk_user_data->work.is_soft 0-1
PARAM_VALUE 0 con->state 7-12
PARAM_VALUE 0 con->v2.con_mode 2
PARAM_VALUE 0 con->v2.gcm_req->assoclen 0
PARAM_VALUE 0 con->v2.gcm_req->cryptlen 96
PARAM_VALUE 0 con->v2.gcm_req->dst 1843380460425068544
PARAM_VALUE 0 con->v2.gcm_req->iv 4096-ptr_max
PARAM_VALUE 0 con->v2.gcm_req->src 1843380460425068544
PARAM_VALUE 0 con->v2.in_desc.fd_lens 4096-ptr_max
PARAM_VALUE 0 con->v2.in_desc.fd_seg_cnt 1-4
PARAM_VALUE 0 con->v2.in_desc.fd_tag 0-255
PARAM_VALUE 0 con->v2.in_state 1
PARAM_VALUE 0 *con->v2.in_desc->fd_aligns 0-u16max
PARAM_VALUE 0 *con->v2.in_desc->fd_lens s32min-s32max
CAPPED_DATA 0 con->v2.in_buf 1
DATA_SOURCE 0 con $0
FUZZY_MAX 0 con->state 12

net/ceph/messenger_v2.c prepare_session_reconnect() -> alloc_conn_buf()

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->ops->peer_reset 0,4096-ptr_max
PARAM_VALUE 0 con->ops->sparse_read 0,4096-ptr_max
PARAM_VALUE 0 con->state 9,11
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
DATA_SOURCE 0 con $0
BIT_INFO 1 len 0x0,0x7fffffff
HARD_MAX 0 con->state 11