Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 6 files:
- fs/ceph/caps.c
- fs/ceph/mds_client.c
- fs/ceph/metric.c, line 157
- net/ceph/messenger.c, line 2026
- net/ceph/mon_client.c
- net/ceph/osd_client.c
Smatch caller information:
fs/ceph/metric.c ceph_mdsc_send_metrics() -> ceph_msg_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 29 |
| PARAM_VALUE | 2 | flags | 3136 |
| PARAM_VALUE | 3 | can_fail | 1 |
| UNITS | 1 | front_len | unit_byte |
| HALF_LOCKED2 | &pool->lock |
fs/ceph/mds_client.c ceph_create_session_msg() -> ceph_msg_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 22 |
| PARAM_VALUE | 1 | front_len | 28 |
| PARAM_VALUE | 2 | flags | 3136 |
| PARAM_VALUE | 3 | can_fail | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | front_len | unit_byte |
| HALF_LOCKED2 | &s->s_mutex |
fs/ceph/mds_client.c ceph_mdsc_lease_send_msg() -> ceph_msg_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 785 |
| PARAM_VALUE | 1 | front_len | 294 |
| PARAM_VALUE | 2 | flags | 3136 |
| PARAM_VALUE | 3 | can_fail | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | front_len | unit_byte |
fs/ceph/mds_client.c ceph_send_cap_releases() -> ceph_msg_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 787 |
| PARAM_VALUE | 1 | front_len | 4096 |
| PARAM_VALUE | 2 | flags | 3136 |
| PARAM_VALUE | 3 | can_fail | 0 |
| UNITS | 1 | front_len | unit_byte |
| LOCK2 | &session->s_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ceph_mds_session)->s_mutex |
fs/ceph/mds_client.c create_session_full_msg() -> ceph_msg_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 22 |
| PARAM_VALUE | 2 | flags | 3136 |
| PARAM_VALUE | 3 | can_fail | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | front_len | unit_byte |
| HALF_LOCKED2 | &session->s_mutex |
fs/ceph/mds_client.c mds_alloc_msg() -> ceph_msg_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 0-u16max |
| PARAM_VALUE | 2 | flags | 3136 |
| PARAM_VALUE | 3 | can_fail | 0 |
| UNITS | 1 | front_len | unit_byte |
fs/ceph/caps.c __send_cap() -> ceph_msg_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 784 |
| PARAM_VALUE | 1 | front_len | 268-316 |
| PARAM_VALUE | 2 | flags | 3136 |
| PARAM_VALUE | 3 | can_fail | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/ceph/caps.c __send_flush_snap() -> ceph_msg_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 784 |
| PARAM_VALUE | 1 | front_len | 268 |
| PARAM_VALUE | 2 | flags | 3136 |
| PARAM_VALUE | 3 | can_fail | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
net/ceph/mon_client.c __ceph_monc_get_version() -> ceph_msg_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 19 |
| PARAM_VALUE | 1 | front_len | 18 |
| PARAM_VALUE | 2 | flags | 3072 |
| PARAM_VALUE | 3 | can_fail | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | front_len | unit_byte |
| HALF_LOCKED2 | &osdc->lock |
net/ceph/mon_client.c __ceph_monc_get_version() -> ceph_msg_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 20 |
| PARAM_VALUE | 1 | front_len | 32 |
| PARAM_VALUE | 2 | flags | 3072 |
| PARAM_VALUE | 3 | can_fail | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &osdc->lock |
net/ceph/mon_client.c ceph_monc_do_statfs() -> ceph_msg_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 13 |
| PARAM_VALUE | 1 | front_len | 43 |
| PARAM_VALUE | 2 | flags | 3136 |
| PARAM_VALUE | 3 | can_fail | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | front_len | unit_byte |
| HALF_LOCKED2 | &s->s_umount |
net/ceph/mon_client.c ceph_monc_do_statfs() -> ceph_msg_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 14 |
| PARAM_VALUE | 1 | front_len | 64 |
| PARAM_VALUE | 2 | flags | 3136 |
| PARAM_VALUE | 3 | can_fail | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &s->s_umount |
net/ceph/mon_client.c ceph_monc_init() -> ceph_msg_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 16 |
| PARAM_VALUE | 1 | front_len | 20 |
| PARAM_VALUE | 2 | flags | 3264 |
| PARAM_VALUE | 3 | can_fail | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | front_len | unit_byte |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &client_mutex |
net/ceph/mon_client.c ceph_monc_init() -> ceph_msg_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 15 |
| PARAM_VALUE | 1 | front_len | 128 |
| PARAM_VALUE | 2 | flags | 3264 |
| PARAM_VALUE | 3 | can_fail | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &client_mutex |
net/ceph/mon_client.c ceph_monc_init() -> ceph_msg_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 18 |
| PARAM_VALUE | 1 | front_len | 4096 |
| PARAM_VALUE | 2 | flags | 3264 |
| PARAM_VALUE | 3 | can_fail | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &client_mutex |
net/ceph/mon_client.c ceph_monc_init() -> ceph_msg_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 17 |
| PARAM_VALUE | 1 | front_len | 4096 |
| PARAM_VALUE | 2 | flags | 3264 |
| PARAM_VALUE | 3 | can_fail | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &client_mutex |
net/ceph/mon_client.c do_mon_command_vargs() -> ceph_msg_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 50 |
| PARAM_VALUE | 1 | front_len | 256 |
| PARAM_VALUE | 2 | flags | 3072 |
| PARAM_VALUE | 3 | can_fail | 1 |
| HALF_LOCKED2 | &mdsc->snap_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &rbd_dev->lock_rwsem |
net/ceph/mon_client.c do_mon_command_vargs() -> ceph_msg_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 51 |
| PARAM_VALUE | 1 | front_len | 512 |
| PARAM_VALUE | 2 | flags | 3072 |
| PARAM_VALUE | 3 | can_fail | 1 |
| HALF_LOCKED2 | &mdsc->snap_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &rbd_dev->lock_rwsem |
net/ceph/mon_client.c mon_alloc_msg() -> ceph_msg_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 4,20-21,41,103 |
| PARAM_VALUE | 2 | flags | 3136 |
| PARAM_VALUE | 3 | can_fail | 0 |
| UNITS | 1 | front_len | unit_byte |
net/ceph/mon_client.c mon_alloc_msg() -> ceph_msg_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 4,16,18,20-21,41,103 |
| PARAM_VALUE | 1 | front_len | (-2147483647)-s32max |
| PARAM_VALUE | 2 | flags | 3136 |
| PARAM_VALUE | 3 | can_fail | 0 |
| UNITS | 1 | front_len | unit_byte |
net/ceph/osd_client.c create_backoff_message() -> ceph_msg_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 61 |
| PARAM_VALUE | 2 | flags | 3072 |
| PARAM_VALUE | 3 | can_fail | 1 |
| LOCK2 | &osd->lock | ||
| LOCK2 | &osdc->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ceph_osd)->lock | ||
| TYPE_LOCK | (struct ceph_osd_client)->lock |
net/ceph/osd_client.c get_reply() -> ceph_msg_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 43 |
| PARAM_VALUE | 1 | front_len | (-2147483647)-s32max |
| PARAM_VALUE | 2 | flags | 3136 |
| PARAM_VALUE | 3 | can_fail | 0 |
| UNITS | 1 | front_len | unit_byte |
| LOCK2 | &osd->lock | ||
| LOCK2 | &osdc->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ceph_osd)->lock | ||
| TYPE_LOCK | (struct ceph_osd_client)->lock |