Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

net/ceph/messenger_v2.c encode_preamble() -> ceph_encode_16()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
PARAM_VALUE 0 *p 4096-ptr_max
NOCHECK_CALL

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

Type Parameter Key Value
PARAM_VALUE 0 p 8267118322415697920
PARAM_VALUE 0 *p 24,4096-ptr_max
PARAM_VALUE 1 v 16
NOCHECK_CALL
UNITS 1 v unit_byte
LOCK2 &con->mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct ceph_connection)->mutex

net/ceph/decode.c ceph_encode_entity_addr() -> ceph_encode_16()

Type Parameter Key Value
PARAM_VALUE 0 p 6931842857772679168,7393033143524454400,9154287247538429952
PARAM_VALUE 0 *(*p) 28,40
PARAM_VALUE 0 **p 0-4294967295
DATA_SOURCE 0 p $0
NOCHECK_CALL
LOCK2 &con->mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct ceph_connection)->mutex

net/ceph/auth.c build_request() -> ceph_encode_16()

Type Parameter Key Value
PARAM_VALUE 0 p 5886686093376180224
PARAM_VALUE 0 *p 4096-ptr_max
PARAM_VALUE 1 v u16max
NOCHECK_CALL
LOCK2 &ac->mutex
LOCK2 &monc->mutex
TYPE_LOCK (struct ceph_auth_client)->mutex
TYPE_LOCK (struct ceph_mon_client)->mutex

net/ceph/auth_x.c ceph_x_build_request() -> ceph_encode_16()

Type Parameter Key Value
PARAM_VALUE 0 p 7413956378024378368
PARAM_VALUE 0 *p 4096-ptr_max
PARAM_VALUE 1 v 512
NOCHECK_CALL
LOCK2 &ac->mutex
LOCK2 &monc->mutex
TYPE_LOCK (struct ceph_auth_client)->mutex
TYPE_LOCK (struct ceph_mon_client)->mutex

net/ceph/osd_client.c encode_request_partial() -> ceph_encode_16()

Type Parameter Key Value
PARAM_VALUE 0 p 5593230873640685568
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 v unit_array_size
LOCK2 &osdc->lock
HALF_LOCKED2 &lreq->lock
HALF_LOCKED2 &osd->lock
TYPE_LOCK (struct ceph_osd_client)->lock