Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
fs/ceph/mds_client.c create_request_message() -> ceph_msg_data_add_pagelist()
| 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->hdr.priority | 127 |
| PARAM_VALUE | 0 | msg->hdr.type | 24 |
| PARAM_VALUE | 0 | msg->hdr.version | 3-4,6 |
| 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 | pagelist | 1-u64max |
| BUF_SIZE | 1 | pagelist | (-1)-0,72 |
| BUF_SIZE | 1 | pagelist | (-1)-0,72 |
| DATA_SOURCE | 0 | msg | r ceph_msg_new2 |
| FUZZY_MAX | 0 | msg->hdr.version | 6 |
| HARD_MAX | 0 | msg->hdr.version | 6 |
| 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 send_mds_reconnect() -> ceph_msg_data_add_pagelist()
| 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 |
| PARAM_VALUE | 0 | msg->hdr.front_len | 0 |
| PARAM_VALUE | 0 | msg->hdr.priority | 127 |
| PARAM_VALUE | 0 | msg->hdr.type | 23 |
| 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 | pagelist | 4096-ptr_max |
| PARAM_VALUE | 1 | pagelist->free_list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | pagelist->free_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | pagelist->free_list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | pagelist->free_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | pagelist->free_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | pagelist->head.next | 4096-ptr_max |
| PARAM_VALUE | 1 | pagelist->head.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | pagelist->head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | pagelist->head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | pagelist->head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | pagelist->head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | pagelist->mapped_tail | 0,18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 1 | pagelist->refcnt.refs.counter | 1 |
| DATA_SOURCE | 0 | msg | r ceph_msg_new2 |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | msg->max_data_items | |
| LOCK2 | &mdsc->snap_rwsem | ||
| LOCK2 | &session->s_mutex | ||
| TYPE_LOCK | (struct ceph_mds_client)->snap_rwsem | ||
| TYPE_LOCK | (struct ceph_mds_session)->s_mutex |
fs/ceph/mds_client.c send_reconnect_partial() -> ceph_msg_data_add_pagelist()
| 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 |
| PARAM_VALUE | 0 | msg->hdr.compat_version | 4 |
| PARAM_VALUE | 0 | msg->hdr.front_len | 0 |
| PARAM_VALUE | 0 | msg->hdr.priority | 127 |
| PARAM_VALUE | 0 | msg->hdr.type | 23 |
| PARAM_VALUE | 0 | msg->hdr.version | 5 |
| 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 | pagelist | 4096-ptr_max |
| PARAM_VALUE | 1 | pagelist->head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | pagelist->head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | pagelist->head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | pagelist->mapped_tail | 18379471554275704832,18446612682070032384 |
| DATA_SOURCE | 0 | msg | r ceph_msg_new2 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | msg->max_data_items | |
| HALF_LOCKED2 | &mdsc->snap_rwsem | ||
| HALF_LOCKED2 | &session->s_mutex |
net/ceph/osd_client.c ceph_osdc_msg_data_add() -> ceph_msg_data_add_pagelist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | msg | 4096-ptr_max |
| DATA_SOURCE | 0 | msg | $0 |
| 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 | |
| LOCK2 | &osdc->lock | ||
| HALF_LOCKED2 | &lreq->lock | ||
| HALF_LOCKED2 | &osd->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ceph_osd_client)->lock |