Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

fs/ceph/mds_client.c __send_request() -> ceph_msg_get()

Type Parameter Key Value
PARAM_VALUE 0 msg 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 msg->max_data_items
LOCK2 &mdsc->mutex
HALF_LOCKED2 &session->s_mutex
TYPE_LOCK (struct ceph_mds_client)->mutex

fs/ceph/mds_client.c handle_lease() -> ceph_msg_get()

Type Parameter Key Value
PARAM_VALUE 0 msg 4096-ptr_max
PARAM_VALUE 0 msg->front.iov_base 4096-ptr_max
PARAM_VALUE 0 msg->front.iov_len 39-u64max
DATA_SOURCE 0 msg $2
FUZZY_MAX 0 msg->front.iov_len 39
NOCHECK_CALL
LOCK2 &session->s_mutex
HALF_LOCKED2 &dentry->d_lockref.lock
HALF_LOCKED2 &parent->d_lockref.lock
TYPE_LOCK (struct ceph_mds_session)->s_mutex

fs/ceph/mds_client.c handle_reply() -> ceph_msg_get()

Type Parameter Key Value
PARAM_VALUE 0 msg 4096-ptr_max
PARAM_VALUE 0 msg->front.iov_base 4096-ptr_max
PARAM_VALUE 0 msg->front.iov_len 15-u64max
CAPPED_DATA 0 msg->front.iov_len 1
DATA_SOURCE 0 msg $1
FUZZY_MAX 0 msg->front.iov_len 15
LOCK2 &mdsc->mutex
LOCK2 &session->s_mutex
TYPE_LOCK (struct ceph_mds_client)->mutex
TYPE_LOCK (struct ceph_mds_session)->s_mutex

net/ceph/messenger.c ceph_con_get_out_msg() -> ceph_msg_get()

Type Parameter Key Value
PARAM_VALUE 0 msg 4096-ptr_max
PARAM_VALUE 0 msg->list_head.next 4096-ptr_max
PARAM_VALUE 0 msg->list_head.next->prev 4096-ptr_max
PARAM_VALUE 0 msg->list_head.prev->next 4096-ptr_max
PARAM_VALUE 0 msg->needs_out_seq 0
LOCK2 &con->mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct ceph_connection)->mutex

net/ceph/mon_client.c __resend_generic_request() -> ceph_msg_get()

Type Parameter Key Value
PARAM_VALUE 0 msg 4096-ptr_max
PARAM_VALUE 0 msg->con 0,4096-ptr_max
LOCK2 &monc->mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct ceph_mon_client)->mutex

net/ceph/mon_client.c __send_prepared_auth_request() -> ceph_msg_get()

Type Parameter Key Value
PARAM_VALUE 0 msg 4096-ptr_max
PARAM_VALUE 0 msg->con 0,4096-ptr_max
PARAM_VALUE 0 msg->front.iov_len 1-s32max
PARAM_VALUE 0 msg->front_alloc_len 1-s32max
PARAM_VALUE 0 msg->hdr.front_len 1-s32max
CAPPED_DATA 0 msg 1
CAPPED_DATA 0 msg->front.iov_len 1
CAPPED_DATA 0 msg->hdr.front_len 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 msg->con->v2.out_iter.count 0-5294967296,18446744071562067969-u64max
LOCK2 &monc->mutex
TYPE_LOCK (struct ceph_mon_client)->mutex

net/ceph/mon_client.c __send_subscribe() -> ceph_msg_get()

Type Parameter Key Value
PARAM_VALUE 0 msg 4096-ptr_max
PARAM_VALUE 0 msg->con 0,4096-ptr_max
PARAM_VALUE 0 msg->hdr.version 2
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &monc->mutex
TYPE_LOCK (struct ceph_mon_client)->mutex

net/ceph/mon_client.c get_generic_reply() -> ceph_msg_get()

Type Parameter Key Value
LOCK2 &monc->mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct ceph_mon_client)->mutex

net/ceph/mon_client.c mon_alloc_msg() -> ceph_msg_get()

Type Parameter Key Value

net/ceph/mon_client.c mon_alloc_msg() -> ceph_msg_get()

Type Parameter Key Value

net/ceph/mon_client.c send_generic_request() -> ceph_msg_get()

Type Parameter Key Value
PARAM_VALUE 0 msg 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &monc->mutex
TYPE_LOCK (struct ceph_mon_client)->mutex

net/ceph/osd_client.c get_reply() -> ceph_msg_get()

Type Parameter Key Value
PARAM_VALUE 0 msg 4096-ptr_max
PARAM_VALUE 0 msg->con->v1.in_tag 1
PARAM_VALUE 0 msg->con->v2.in_cursor.data 4096-ptr_max
PARAM_VALUE 0 msg->con->v2.in_cursor.iov_iter.__iov 4096-u64max
PARAM_VALUE 0 msg->con->v2.in_cursor.iov_iter.bvec 4096-u64max
PARAM_VALUE 0 msg->con->v2.in_cursor.iov_iter.folioq 1-u64max
PARAM_VALUE 0 msg->con->v2.in_state s32min-3,10-s32max
USER_DATA 0 msg->con->v2.in_iter.count 0
LOCK2 &osd->lock
LOCK2 &osdc->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct ceph_osd)->lock
TYPE_LOCK (struct ceph_osd_client)->lock

net/ceph/osd_client.c handle_watch_notify() -> ceph_msg_get()

Type Parameter Key Value
PARAM_VALUE 0 msg 4096-ptr_max
PARAM_VALUE 0 msg->front.iov_base 4096-ptr_max
DATA_SOURCE 0 msg $1
LOCK2 &lreq->lock
LOCK2 &osdc->lock
TYPE_LOCK (struct ceph_osd_client)->lock
TYPE_LOCK (struct ceph_osd_linger_request)->lock

net/ceph/osd_client.c send_request() -> ceph_msg_get()

Type Parameter Key Value
PARAM_VALUE 0 msg 4096-ptr_max
PARAM_VALUE 0 msg->front.iov_base 4096-ptr_max
PARAM_VALUE 0 msg->front.iov_len 0-9223372036854771712,9223372036854779904-u64max
PARAM_VALUE 0 msg->hdr.version 8
PARAM_VALUE 0 *msg->front.iov_base 0-127
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 msg->con->v2.out_cursor.lastlen 1-4096[c]
USER_DATA 0 msg->con->v2.out_cursor.need_crc 0-1
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-5294967296,18446744071562067969-u64max
USER_DATA 0 msg->hdr.data_off 0-u16max
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 &osdc->lock
HALF_LOCKED2 &lreq->lock
HALF_LOCKED2 &osd->lock
TYPE_LOCK (struct ceph_osd_client)->lock