Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/ceph/messenger_v2.c __handle_control() -> con_secure()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | con | 4096-ptr_max |
| CAPPED_DATA | 0 | con | 1 |
| DATA_SOURCE | 0 | con | $0 |
net/ceph/messenger_v2.c __prepare_control() -> con_secure()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | con | 4096-ptr_max |
| DATA_SOURCE | 0 | con | $0 |
| NOSPEC | 0 | con->v2.out_bvec.bv_len | |
| NOSPEC | 0 | con->v2.out_cursor.resid | |
| USER_DATA | 0 | con->peer_features | 0-u64max |
| USER_DATA | 0 | con->peer_name.num | 0-u64max |
| 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_bvec.bv_len | 1-1000000000[c] |
| USER_DATA | 0 | con->v2.out_bvec.bv_offset | 0-4095[c] |
| USER_DATA | 0 | con->v2.out_cursor.bvec_iter.bi_size | 1-s32max[c] |
| USER_DATA | 0 | con->v2.out_cursor.iov_iter.count | 0-u64max |
| USER_DATA | 0 | con->v2.out_cursor.lastlen | 1-4096[c] |
| USER_DATA | 0 | con->v2.out_cursor.need_crc | 0-1 |
| USER_DATA | 0 | con->v2.out_cursor.page_offset | 0-2559[c] |
| 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->sock->sk->sk_backlog.len | |
| NO_OVERFLOW_SIMPLE | 0 | con->sock->sk->sk_receive_queue.prev->end | |
| NO_OVERFLOW_SIMPLE | 0 | con->sock->sk->sk_receive_queue.prev->len | |
| NO_OVERFLOW_SIMPLE | 0 | con->sock->sk->sk_receive_queue.prev->next->end | |
| NO_OVERFLOW_SIMPLE | 0 | con->sock->sk->sk_receive_queue.prev->next->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 |
net/ceph/messenger_v2.c ceph_con_v2_revoke() -> con_secure()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | con | 4096-ptr_max |
| CAPPED_DATA | 0 | con->out_msg | 1 |
| DATA_SOURCE | 0 | con | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | con->v2.out_cursor.need_crc | 0-1 |
| USER_DATA | 0 | con->v2.out_cursor.page_offset | 0-2559[c] |
| USER_DATA | 0 | con->v2.out_cursor.resid | 0-u64max |
| USER_DATA | 0 | con->v2.out_iter.count | 0-5294967296,18446744071562067969-u64max |
| LOCK2 | 0 | &con->mutex | |
| HALF_LOCKED2 | &monc->mutex | ||
| HALF_LOCKED2 | &osdc->lock | ||
| TYPE_LOCK | (struct ceph_connection)->mutex |
net/ceph/messenger_v2.c finish_skip() -> con_secure()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | con | $0 |
net/ceph/messenger_v2.c handle_control() -> con_secure()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | con | 4096-ptr_max |
| DATA_SOURCE | 0 | con | $0 |
net/ceph/messenger_v2.c handle_control_remainder() -> con_secure()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | con | $0 |
net/ceph/messenger_v2.c handle_epilogue() -> con_secure()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | con | $0 |
net/ceph/messenger_v2.c handle_preamble() -> con_secure()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | con | $0 |
net/ceph/messenger_v2.c handle_preamble() -> con_secure()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | con | 4096-ptr_max |
| DATA_SOURCE | 0 | con | $0 |
net/ceph/messenger_v2.c prepare_auth_signature() -> con_secure()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | con | 4096-ptr_max |
| PARAM_VALUE | 0 | con->v2.con_mode | 1-2 |
| DATA_SOURCE | 0 | con | $0 |
| 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_client_ident() -> con_secure()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | con | 4096-ptr_max |
| DATA_SOURCE | 0 | con | $0 |
| HALF_LOCKED2 | 0 | &con->mutex |
net/ceph/messenger_v2.c prepare_message() -> con_secure()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | con | 4096-ptr_max |
| CAPPED_DATA | 0 | con | 1 |
| CAPPED_DATA | 0 | con->in_seq | 1 |
| DATA_SOURCE | 0 | con | $0 |
| PARAM_COMPARE | 0 | con->in_seq | <= $0->in_seq_acked |
| 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_read_preamble() -> con_secure()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | con | 4096-ptr_max |
| CAPPED_DATA | 0 | con | 1 |
| DATA_SOURCE | 0 | con | $0 |
| USER_DATA | 0 | con->peer_features | 0-u64max |
| USER_DATA | 0 | con->peer_name.num | 0-u64max |
| 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 | 0 | &con->mutex |
net/ceph/messenger_v2.c prepare_session_reconnect() -> con_secure()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | con | 4096-ptr_max |
| DATA_SOURCE | 0 | con | $0 |
net/ceph/messenger_v2.c prepare_skip_message() -> con_secure()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | con | 4096-ptr_max |
| CAPPED_DATA | 0 | con | 1 |
| DATA_SOURCE | 0 | con | $0 |
| USER_DATA | 0 | con->peer_features | 0-u64max |
| USER_DATA | 0 | con->peer_name.num | 0-u64max |
| 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 | |
| LOCK2 | &pool->lock | ||
| LOCK2 | 0 | &con->mutex | |
| TYPE_LOCK | (struct ceph_connection)->mutex |
net/ceph/messenger_v2.c prepare_sparse_read_data() -> con_secure()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | con | 4096-ptr_max |
| DATA_SOURCE | 0 | con | $0 |
net/ceph/messenger_v2.c revoke_at_prepare_read_data() -> con_secure()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | con | 4096-ptr_max |
| CAPPED_DATA | 0 | con->in_msg | 1 |
| DATA_SOURCE | 0 | con | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | con->v2.in_cursor.bvec_iter.bi_size | 1-s32max[c] |
| USER_DATA | 0 | con->v2.in_cursor.lastlen | 1-4096[c] |
| USER_DATA | 0 | con->v2.in_cursor.need_crc | 0-1 |
| USER_DATA | 0 | con->v2.in_cursor.page_offset | 0-2559[c] |
| USER_DATA | 0 | con->v2.in_cursor.resid | 0-u64max |
| USER_DATA | 0 | con->v2.in_iter.count | 0-1000000000 |
| LOCK2 | 0 | &con->mutex | |
| HALF_LOCKED2 | &monc->mutex | ||
| HALF_LOCKED2 | &osd->lock | ||
| HALF_LOCKED2 | &osdc->lock | ||
| TYPE_LOCK | (struct ceph_connection)->mutex |
net/ceph/messenger_v2.c revoke_at_prepare_read_data_cont() -> con_secure()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | con | 4096-ptr_max |
| CAPPED_DATA | 0 | con->in_msg | 1 |
| DATA_SOURCE | 0 | con | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | con->v2.in_cursor.bvec_iter.bi_size | 1-s32max[c] |
| USER_DATA | 0 | con->v2.in_cursor.lastlen | 1-4096[c] |
| USER_DATA | 0 | con->v2.in_cursor.need_crc | 0-1 |
| USER_DATA | 0 | con->v2.in_cursor.page_offset | 0-2559[c] |
| USER_DATA | 0 | con->v2.in_cursor.resid | 0-u64max |
| USER_DATA | 0 | con->v2.in_iter.count | 0-1000000000 |
| LOCK2 | 0 | &con->mutex | |
| HALF_LOCKED2 | &monc->mutex | ||
| HALF_LOCKED2 | &osd->lock | ||
| HALF_LOCKED2 | &osdc->lock | ||
| TYPE_LOCK | (struct ceph_connection)->mutex |
net/ceph/messenger_v2.c revoke_at_prepare_read_enc_page() -> con_secure()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | con | 4096-ptr_max |
| CAPPED_DATA | 0 | con->in_msg | 1 |
| DATA_SOURCE | 0 | con | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | con->v2.in_cursor.bvec_iter.bi_size | 1-s32max[c] |
| USER_DATA | 0 | con->v2.in_cursor.lastlen | 1-4096[c] |
| USER_DATA | 0 | con->v2.in_cursor.need_crc | 0-1 |
| USER_DATA | 0 | con->v2.in_cursor.page_offset | 0-2559[c] |
| USER_DATA | 0 | con->v2.in_cursor.resid | 0-u64max |
| USER_DATA | 0 | con->v2.in_iter.count | 0-1000000000 |
| LOCK2 | 0 | &con->mutex | |
| HALF_LOCKED2 | &monc->mutex | ||
| HALF_LOCKED2 | &osd->lock | ||
| HALF_LOCKED2 | &osdc->lock | ||
| TYPE_LOCK | (struct ceph_connection)->mutex |
net/ceph/messenger_v2.c revoke_at_prepare_sparse_data() -> con_secure()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | con | 4096-ptr_max |
| CAPPED_DATA | 0 | con->in_msg | 1 |
| DATA_SOURCE | 0 | con | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | con->v2.in_cursor.bvec_iter.bi_size | 1-s32max[c] |
| USER_DATA | 0 | con->v2.in_cursor.lastlen | 1-4096[c] |
| USER_DATA | 0 | con->v2.in_cursor.need_crc | 0-1 |
| USER_DATA | 0 | con->v2.in_cursor.page_offset | 0-2559[c] |
| USER_DATA | 0 | con->v2.in_cursor.resid | 0-u64max |
| USER_DATA | 0 | con->v2.in_iter.count | 0-1000000000 |
| LOCK2 | 0 | &con->mutex | |
| HALF_LOCKED2 | &monc->mutex | ||
| HALF_LOCKED2 | &osd->lock | ||
| HALF_LOCKED2 | &osdc->lock | ||
| TYPE_LOCK | (struct ceph_connection)->mutex |