Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

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

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 2-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
PARAM_VALUE 0 *con->v2.conn_bufs 1-s64max
PARAM_VALUE 1 tag 2
PARAM_VALUE 2 base 16,4096-ptr_max
PARAM_VALUE 4 extdata 1-18446744073709551614
PARAM_VALUE 6 to_be_signed 1
BUF_SIZE 2 base 512
BUF_SIZE 2 base 512
BUF_SIZE 4 extdata s32min-s32max
CAPPED_DATA 0 con->peer_name.type 1
CAPPED_DATA 0 &con->mutex 1
DATA_SOURCE 0 con $0
DATA_SOURCE 2 base r alloc_conn_buf
DATA_SOURCE 4 extdata r alloc_conn_buf
NO_OVERFLOW_SIMPLE 5 extdata_len
LOCK2 0 &con->mutex
TYPE_LOCK (struct ceph_connection)->mutex

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

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.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
PARAM_VALUE 0 con->v2.out_iter_sendpage 0
PARAM_VALUE 0 con->v2.out_kvec_cnt 0
PARAM_VALUE 1 tag 5
PARAM_VALUE 2 base 16,4096-ptr_max
PARAM_VALUE 6 to_be_signed 1
BUF_SIZE 2 base 512
BUF_SIZE 2 base 512
CAPPED_DATA 0 &con->mutex 1
DATA_SOURCE 0 con $0
DATA_SOURCE 2 base r alloc_conn_buf
LOCK2 0 &con->mutex
TYPE_LOCK (struct ceph_connection)->mutex

net/ceph/messenger_v2.c prepare_control() -> __prepare_control()

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->state 8-9,11-12
PARAM_VALUE 1 tag 7-8,11,18,20
PARAM_VALUE 3 ctrl_len 8,32,80,92,123,135,147
PARAM_VALUE 4 extdata 0
PARAM_VALUE 5 extdata_len 0
PARAM_VALUE 6 to_be_signed 0
BUF_SIZE 2 base (-1),96
BUF_SIZE 2 base (-1),96
CAPPED_DATA 0 con 1
DATA_SOURCE 0 con $0
DATA_SOURCE 1 tag $1
DATA_SOURCE 2 base $2
DATA_SOURCE 3 ctrl_len $3
NOSPEC 0 con->v2.out_cursor.resid
HARD_MAX 0 con->state 12
HARD_MAX 1 tag 20
USER_DATA 0 con->v2.con_mode 1-2
USER_DATA 0 con->v2.out_cursor.lastlen 1-4096[c]
USER_DATA 0 con->v2.out_cursor.resid 0-u64max
UNITS 3 ctrl_len unit_byte
HALF_LOCKED2 0 &con->mutex

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

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.conn_buf_cnt 1-16
PARAM_VALUE 0 con->v2.in_kvecs 4096-ptr_max
PARAM_VALUE 1 tag 1
PARAM_VALUE 2 base 16,4096-ptr_max
PARAM_VALUE 3 ctrl_len 36,48
PARAM_VALUE 4 extdata 0
PARAM_VALUE 5 extdata_len 0
PARAM_VALUE 6 to_be_signed 1
BUF_SIZE 2 base 72,84
BUF_SIZE 2 base 72,84
DATA_SOURCE 0 con $0
DATA_SOURCE 2 base r alloc_conn_buf