Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/ceph/messenger.c ceph_con_in_msg_alloc() -> msg_con_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | msg | 4096-ptr_max |
| PARAM_VALUE | 1 | con | 4096-ptr_max |
| PARAM_VALUE | 1 | con->in_msg | 0 |
| PARAM_VALUE | 1 | con->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | con->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | con->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | con->mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | con->mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 1 | con->mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 1 | con->mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 1 | con->mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 1 | con->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | con->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | con->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | con->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | con->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | con->ops->alloc_msg | 1819672071517347840,3985100338545319936,8051317338035064832 |
| PARAM_VALUE | 1 | con->ops->dispatch | 0,4096-ptr_max |
| PARAM_VALUE | 1 | con->ops->peer_reset | 0,4096-ptr_max |
| PARAM_VALUE | 1 | con->ops->sparse_read | 0,4096-ptr_max |
| PARAM_VALUE | 1 | con->state | 12 |
| BUF_SIZE | 0 | msg | (-1),1-s32max |
| BUF_SIZE | 0 | msg | (-1),1-s32max |
| CAPPED_DATA | 1 | con | 1 |
| CAPPED_DATA | 1 | &con->mutex | 1 |
| DATA_SOURCE | 1 | con | $0 |
| NOCHECK_CALL | |||
| LOCK2 | 1 | &con->mutex | |
| TYPE_LOCK | (struct ceph_connection)->mutex |
net/ceph/messenger.c ceph_con_send() -> msg_con_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | msg | 4096-ptr_max |
| PARAM_VALUE | 0 | msg->front.iov_len | 0-u32max |
| PARAM_VALUE | 0 | msg->needs_out_seq | 1 |
| PARAM_VALUE | 1 | con | 4096-ptr_max |
| PARAM_VALUE | 1 | con->msgr | 4096-ptr_max |
| PARAM_VALUE | 1 | con->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | con->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | con->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | con->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | con->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | con->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | con->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | con->state | s32min-0,2-s32max |
| BUF_SIZE | 0 | msg | (-1)-s32max |
| BUF_SIZE | 0 | msg | (-1)-s32max |
| CAPPED_DATA | 0 | msg | 1 |
| CAPPED_DATA | 0 | msg->front.iov_len | 1 |
| CAPPED_DATA | 0 | msg->hdr.front_len | 1 |
| CAPPED_DATA | 1 | &con->mutex | 1 |
| DATA_SOURCE | 0 | msg | $1 |
| DATA_SOURCE | 1 | con | $0 |
| PARAM_COMPARE | 0 | msg->front.iov_len | == $0->hdr.front_len |
| NOSPEC | 1 | con->peer_name.num | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | msg->con->v2.in_cursor.resid | 0-u64max |
| USER_DATA | 0 | msg->con->v2.in_iter.count | 0 |
| USER_DATA | 0 | msg->con->v2.out_cursor.bio_iter.iter.bi_size | 1-s32max[c] |
| USER_DATA | 0 | msg->con->v2.out_cursor.bvec_iter.bi_size | 1-s32max[c] |
| USER_DATA | 0 | msg->con->v2.out_cursor.iov_iter.count | 0-u64max |
| USER_DATA | 0 | msg->con->v2.out_cursor.iov_iter.iov_offset | 0-u64max[c] |
| USER_DATA | 0 | msg->con->v2.out_cursor.page_offset | 0-2559[c] |
| USER_DATA | 0 | msg->con->v2.out_cursor.resid | 0-u64max |
| USER_DATA | 0 | msg->con->v2.out_iter.count | 0-9589934592,18446744071562067969-u64max |
| USER_DATA | 0 | msg->hdr.data_off | 0-u16max |
| USER_DATA | 1 | con->peer_name.num | 0-s32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | msg->front.iov_len | |
| NO_OVERFLOW_SIMPLE | 0 | msg->hdr.front_len | |
| NO_OVERFLOW_SIMPLE | 0 | msg->max_data_items | |
| LOCK2 | 1 | &con->mutex | |
| HALF_LOCKED2 | &mdsc->mutex | ||
| HALF_LOCKED2 | &mdsc->snap_rwsem | ||
| HALF_LOCKED2 | &monc->mutex | ||
| HALF_LOCKED2 | &osd->lock | ||
| HALF_LOCKED2 | &osdc->lock | ||
| HALF_LOCKED2 | &s->s_mutex | ||
| HALF_LOCKED2 | &session->s_mutex | ||
| TYPE_LOCK | (struct ceph_connection)->mutex |
net/ceph/messenger.c ceph_msg_release() -> msg_con_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | msg | 4096-ptr_max |
| PARAM_VALUE | 1 | con | 0 |
| CAPPED_DATA | 0 | &msg->list_head | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &con->mutex | ||
| HALF_LOCKED2 | &mdsc->mutex | ||
| HALF_LOCKED2 | &mdsc->snap_rwsem | ||
| HALF_LOCKED2 | &osd->lock | ||
| HALF_LOCKED2 | &osdc->lock | ||
| HALF_LOCKED2 | &session->s_mutex |