Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
Smatch caller information:
net/ceph/msgpool.c ceph_msgpool_get() -> ceph_msg_new2()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | max_data_items | 0-s32max |
| PARAM_VALUE | 3 | flags | 3136 |
| PARAM_VALUE | 4 | can_fail | 0 |
| CAPPED_DATA | 1 | front_len | 1 |
| DATA_SOURCE | 1 | front_len | $1 |
| DATA_SOURCE | 2 | max_data_items | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | front_len | unit_byte |
| UNITS | 2 | max_data_items | unit_array_size |
net/ceph/msgpool.c msgpool_alloc() -> ceph_msg_new2()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | flags | 0,3264,8192-u32max |
| PARAM_VALUE | 4 | can_fail | 1 |
| CAPPED_DATA | 3 | flags | 1 |
| DATA_SOURCE | 3 | flags | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | front_len | unit_byte |
| UNITS | 2 | max_data_items | unit_array_size |
fs/ceph/mds_client.c create_request_message() -> ceph_msg_new2()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 24 |
| PARAM_VALUE | 2 | max_data_items | 1 |
| PARAM_VALUE | 3 | flags | 3136 |
| PARAM_VALUE | 4 | can_fail | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | front_len | unit_byte |
| 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_new2()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 23 |
| PARAM_VALUE | 1 | front_len | 0 |
| PARAM_VALUE | 2 | max_data_items | 1 |
| PARAM_VALUE | 3 | flags | 3136 |
| PARAM_VALUE | 4 | can_fail | 0 |
fs/ceph/mds_client.c send_reconnect_partial() -> ceph_msg_new2()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 23 |
| PARAM_VALUE | 1 | front_len | 0 |
| PARAM_VALUE | 2 | max_data_items | 1 |
| PARAM_VALUE | 3 | flags | 3136 |
| PARAM_VALUE | 4 | can_fail | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mdsc->snap_rwsem | ||
| HALF_LOCKED2 | &session->s_mutex |
net/ceph/messenger.c ceph_msg_new() -> ceph_msg_new2()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 0-u16max |
| PARAM_VALUE | 2 | max_data_items | 0 |
| PARAM_VALUE | 3 | flags | 3072,3136,3264 |
| DATA_SOURCE | 0 | type | $0 |
| DATA_SOURCE | 1 | front_len | $1 |
| DATA_SOURCE | 3 | flags | $2 |
| DATA_SOURCE | 4 | can_fail | $3 |
| HARD_MAX | 3 | flags | 3264 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | front_len | unit_byte |
| HALF_LOCKED2 | &osd->lock | ||
| HALF_LOCKED2 | &osdc->lock | ||
| HALF_LOCKED2 | &session->s_mutex |
net/ceph/osd_client.c __ceph_osdc_alloc_messages() -> ceph_msg_new2()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 42 |
| PARAM_VALUE | 2 | max_data_items | 0-s32max |
| PARAM_VALUE | 3 | flags | 3072,3136,3264 |
| PARAM_VALUE | 4 | can_fail | 1 |
| DATA_SOURCE | 2 | max_data_items | $2 |
| DATA_SOURCE | 3 | flags | $1 |
| HARD_MAX | 3 | flags | 3264 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | max_data_items | unit_array_size |
net/ceph/osd_client.c __ceph_osdc_alloc_messages() -> ceph_msg_new2()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 43 |
| PARAM_VALUE | 2 | max_data_items | 0-s32max |
| PARAM_VALUE | 3 | flags | 3072,3136,3264 |
| PARAM_VALUE | 4 | can_fail | 1 |
| DATA_SOURCE | 2 | max_data_items | $3 |
| DATA_SOURCE | 3 | flags | $1 |
| HARD_MAX | 3 | flags | 3264 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | max_data_items | unit_array_size |
net/ceph/osd_client.c alloc_msg_with_page_vector() -> ceph_msg_new2()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 0-u16max |
| PARAM_VALUE | 2 | max_data_items | 1 |
| PARAM_VALUE | 3 | flags | 3072 |
| PARAM_VALUE | 4 | can_fail | 0 |
| UNITS | 1 | front_len | unit_byte |
| HALF_LOCKED2 | &pool->lock |