Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

net/ceph/osd_client.c alloc_msg_with_page_vector() -> ceph_msg_data_add_pages()

Type Parameter Key Value
PARAM_VALUE 0 msg 4096-ptr_max
PARAM_VALUE 0 msg->front.iov_base 0,16,4096-ptr_max
PARAM_VALUE 0 msg->front.iov_len 0-s32max
PARAM_VALUE 0 msg->hdr.front_len 0-s32max
PARAM_VALUE 0 msg->hdr.priority 127
PARAM_VALUE 0 msg->kref.refcount.refs.counter 1
PARAM_VALUE 0 msg->list_head.next 4096-ptr_max
PARAM_VALUE 0 msg->list_head.next->next 4096-ptr_max
PARAM_VALUE 0 msg->list_head.prev 4096-ptr_max
PARAM_VALUE 0 msg->list_head.prev->next 4096-ptr_max
PARAM_VALUE 0 msg->list_head.prev->prev 4096-ptr_max
PARAM_VALUE 1 pages 16,4096-ptr_max
PARAM_VALUE 2 length 1-u32max
PARAM_VALUE 3 alignment 0
PARAM_VALUE 4 own_pages 1
BUF_SIZE 1 pages s32min-s32max
DATA_SOURCE 0 msg r ceph_msg_new2
DATA_SOURCE 1 pages r ceph_alloc_page_vector
BIT_INFO 0 msg->front.iov_len 0x0,0xffffffff
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 msg->max_data_items
UNITS 2 length unit_byte
HALF_LOCKED2 &pool->lock

net/ceph/osd_client.c ceph_osdc_msg_data_add() -> ceph_msg_data_add_pages()

Type Parameter Key Value
PARAM_VALUE 0 msg 4096-ptr_max
PARAM_VALUE 2 length 1-u64max
PARAM_VALUE 4 own_pages 0
BUF_SIZE 1 pages 1-8388608
DATA_SOURCE 0 msg $0
DATA_SOURCE 2 length r ceph_osd_data_length
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 msg->front.iov_len
NO_OVERFLOW_SIMPLE 0 msg->hdr.front_len
NO_OVERFLOW_SIMPLE 0 msg->max_data_items
UNITS 1 pages unit_page
LOCK2 &osdc->lock
HALF_LOCKED2 &lreq->lock
HALF_LOCKED2 &osd->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct ceph_osd_client)->lock