Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

net/ceph/messenger_v1.c ceph_con_v1_revoke() -> sizeof_footer()

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_v1.c prepare_write_message_footer() -> sizeof_footer()

Type Parameter Key Value
PARAM_VALUE 0 con 4096-ptr_max
CAPPED_DATA 0 con 1
DATA_SOURCE 0 con $0
LOCK2 0 &con->mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct ceph_connection)->mutex

net/ceph/messenger_v1.c read_partial_message() -> sizeof_footer()

Type Parameter Key Value
PARAM_VALUE 0 con 4096-ptr_max
CAPPED_DATA 0 con 1
CAPPED_DATA 0 con->v1.in_hdr.crc 1
DATA_SOURCE 0 con $0
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_v1.c read_partial_message() -> sizeof_footer()

Type Parameter Key Value
PARAM_VALUE 0 con 4096-ptr_max
CAPPED_DATA 0 con 1
CAPPED_DATA 0 con->v1.in_hdr.crc 1
DATA_SOURCE 0 con $0
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_v1.c read_partial_message() -> sizeof_footer()

Type Parameter Key Value
PARAM_VALUE 0 con 4096-ptr_max
CAPPED_DATA 0 con 1
CAPPED_DATA 0 con->v1.in_hdr.crc 1
DATA_SOURCE 0 con $0
USER_DATA 0 con->in_msg->cursor.bio_iter.iter.bi_bvec_done 1-4096[c]
USER_DATA 0 con->in_msg->cursor.bvec_iter.bi_size 1-s32max[c]
USER_DATA 0 con->in_msg->cursor.iov_iter.count 0-u64max
USER_DATA 0 con->in_msg->cursor.iov_iter.iov_offset 0-u64max[c]
USER_DATA 0 con->in_msg->cursor.lastlen 1-4096[c]
USER_DATA 0 con->in_msg->cursor.need_crc 0-1
USER_DATA 0 con->in_msg->cursor.page_offset 0-2559[c]
USER_DATA 0 con->in_msg->cursor.resid 0-u64max
USER_DATA 0 con->v2.out_cursor.resid 0-u64max
LOCK2 0 &con->mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct ceph_connection)->mutex