Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 7 files:
- fs/ceph/mdsmap.c, line 215
- net/ceph/cls_lock_client.c, line 275
- net/ceph/decode.c
- net/ceph/messenger_v2.c, line 2206
- net/ceph/mon_client.c, line 140
- net/ceph/osd_client.c, line 5005
- net/ceph/osdmap.c
Smatch caller information:
net/ceph/messenger_v2.c process_hello() -> ceph_decode_entity_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | *p | 4097-18446744073709547521 |
| PARAM_VALUE | 1 | end | 4096-ptr_max |
| PARAM_VALUE | 2 | addr | 3872027441420656640 |
| CAPPED_DATA | 1 | end | 1 |
| DATA_SOURCE | 1 | end | $2 |
| UNITS | 1 | end | unit_byte |
net/ceph/decode.c ceph_decode_entity_addrvec() -> ceph_decode_entity_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | *(*p) | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 1 | end | 4097-ptr_max |
| PARAM_VALUE | 2 | addr | 210668098532048896 |
| CAPPED_DATA | 1 | end | 1 |
| DATA_SOURCE | 0 | p | $0 |
| DATA_SOURCE | 1 | end | $1 |
| PREEMPT_ADD | |||
| USER_DATA | 0 | *p | 4096-ptr_max[c][u] |
| UNITS | 1 | end | unit_byte |
| HALF_LOCKED2 | &mdsc->mutex | ||
| HALF_LOCKED2 | &monc->mutex | ||
| HALF_LOCKED2 | &osdc->lock |
net/ceph/cls_lock_client.c decode_locker() -> ceph_decode_entity_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 3513944409585897472 |
| PARAM_VALUE | 0 | *(*p) | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | **p | 0-255 |
| PARAM_VALUE | 1 | end | 4096-u64max |
| PARAM_VALUE | 2 | addr | 4096-ptr_max |
| CAPPED_DATA | 1 | end | 1 |
| DATA_SOURCE | 0 | p | $0 |
| DATA_SOURCE | 1 | end | $1 |
| PREEMPT_ADD | |||
| UNITS | 1 | end | unit_byte |
| LOCK2 | &pool->lock | ||
| LOCK2 | &rbd_dev->lock_rwsem | ||
| TYPE_LOCK | (struct rbd_device)->lock_rwsem |
net/ceph/mon_client.c ceph_monmap_decode() -> ceph_decode_entity_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 7160152355749388288 |
| PARAM_VALUE | 0 | *p | 4096-u64max |
| PARAM_VALUE | 0 | *(*p) | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 1 | end | 4096-ptr_max |
| PARAM_VALUE | 2 | addr | 4096-ptr_max |
| CAPPED_DATA | 1 | end | 1 |
| DATA_SOURCE | 0 | p | $0 |
| DATA_SOURCE | 1 | end | $1 |
| USER_DATA | 0 | *p | 4096-ptr_max[c][u] |
| UNITS | 1 | end | unit_byte |
| LOCK2 | &monc->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ceph_mon_client)->mutex |
fs/ceph/mdsmap.c ceph_mdsmap_decode() -> ceph_decode_entity_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 5637025410326953984 |
| PARAM_VALUE | 0 | *p | 4096-u64max |
| PARAM_VALUE | 0 | *(*p) | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 1 | end | 4096-ptr_max |
| PARAM_VALUE | 2 | addr | 5893599996796448768 |
| CAPPED_DATA | 1 | end | 1 |
| DATA_SOURCE | 0 | p | $1 |
| DATA_SOURCE | 1 | end | $2 [m] |
| UNITS | 1 | end | unit_byte |
| LOCK2 | &mdsc->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ceph_mds_client)->mutex |
net/ceph/osdmap.c decode_new_up_state_weight() -> ceph_decode_entity_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | *p | 4096-u64max |
| PARAM_VALUE | 0 | *(*p) | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 1 | end | 4096-ptr_max |
| PARAM_VALUE | 2 | addr | 2789906163068231680 |
| CAPPED_DATA | 1 | end | 1 |
| DATA_SOURCE | 0 | p | $0 |
| DATA_SOURCE | 1 | end | $1 |
| UNITS | 1 | end | unit_byte |
| LOCK2 | &osdc->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ceph_osd_client)->lock |
net/ceph/osdmap.c decode_new_up_state_weight() -> ceph_decode_entity_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | *p | 4096-ptr_max |
| PARAM_VALUE | 0 | *(*p) | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 1 | end | 4096-ptr_max |
| PARAM_VALUE | 2 | addr | 2789906163068231680 |
| CAPPED_DATA | 1 | end | 1 |
| DATA_SOURCE | 0 | p | $0 |
| DATA_SOURCE | 1 | end | $1 |
| UNITS | 1 | end | unit_byte |
| LOCK2 | &osdc->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ceph_osd_client)->lock |
net/ceph/osdmap.c osdmap_decode() -> ceph_decode_entity_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | *(*p) | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 1 | end | 4096-ptr_max |
| PARAM_VALUE | 2 | addr | 4096-ptr_max |
| CAPPED_DATA | 1 | end | 1 |
| DATA_SOURCE | 0 | p | $0 |
| DATA_SOURCE | 1 | end | $1 |
| USER_DATA | 0 | *p | 4096-ptr_max[c][u] |
| UNITS | 1 | end | unit_byte |
| LOCK2 | &osdc->lock | ||
| TYPE_LOCK | (struct ceph_osd_client)->lock |
net/ceph/osd_client.c decode_watcher() -> ceph_decode_entity_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4188072042091532288 |
| PARAM_VALUE | 0 | *(*p) | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 1 | end | 4096-u64max |
| PARAM_VALUE | 2 | addr | 4096-ptr_max |
| CAPPED_DATA | 1 | end | 1 |
| DATA_SOURCE | 0 | p | $0 |
| DATA_SOURCE | 1 | end | $1 |
| PREEMPT_ADD | |||
| UNITS | 1 | end | unit_byte |
| LOCK2 | &pool->lock | ||
| LOCK2 | &rbd_dev->lock_rwsem | ||
| TYPE_LOCK | (struct rbd_device)->lock_rwsem |