Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 6 files:
- drivers/block/rbd.c
- fs/ceph/addr.c, line 2478
- fs/ceph/file.c
- fs/ceph/ioctl.c, line 220
- net/ceph/osd_client.c, line 1109
- net/ceph/osdmap.c, line 2189
Smatch caller information:
fs/ceph/ioctl.c ceph_ioctl_get_dataloc() -> ceph_oid_printf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | oid | 8344178031960973312 |
| PARAM_VALUE | 0 | oid->name_len | 0 |
| PARAM_VALUE | 1 | fmt | 8347350738675638272 |
| BUF_SIZE | 1 | fmt | 3 |
| BUF_SIZE | 2 | $ | 64 |
| STR_LEN | 0 | oid | 2 |
| STR_LEN | 1 | fmt | 63 |
| STR_LEN | 2 | $ | 63 |
| TERMINATED | 1 | fmt | 1 |
| NOCHECK_CALL | |||
| LOCK2 | &osdc->lock | ||
| TYPE_LOCK | (struct ceph_osd_client)->lock |
drivers/block/rbd.c rbd_dev_image_name() -> ceph_oid_printf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | oid | 109950905404112896 |
| PARAM_VALUE | 0 | oid->name_len | 0 |
| PARAM_VALUE | 1 | fmt | 8347350738675638272 |
| PARAM_VALUE | 2 | $ | 7638999166541885440 |
| BUF_SIZE | 1 | fmt | 3 |
| BUF_SIZE | 2 | $ | 14 |
| STR_LEN | 0 | oid | 2 |
| STR_LEN | 1 | fmt | 13 |
| TERMINATED | 1 | fmt | 1 |
| TERMINATED | 2 | $ | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &rbd_dev->header_rwsem |
drivers/block/rbd.c rbd_object_map_name() -> ceph_oid_printf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | oid | 4096-ptr_max |
| PARAM_VALUE | 1 | fmt | 4084311616855048192 |
| PARAM_VALUE | 2 | $ | 6249559079313567744 |
| BUF_SIZE | 1 | fmt | 5 |
| BUF_SIZE | 2 | $ | 16 |
| BUF_SIZE | 3 | $ | 1-s32max |
| DATA_SOURCE | 0 | oid | $2 |
| STR_LEN | 0 | oid | 4 |
| STR_LEN | 1 | fmt | 15 |
| TERMINATED | 1 | fmt | 1 |
| TERMINATED | 2 | $ | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &obj_req->state_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &rbd_dev->lock_rwsem |
drivers/block/rbd.c rbd_object_map_name() -> ceph_oid_printf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | oid | 4096-ptr_max |
| PARAM_VALUE | 1 | fmt | 5884730772932902912 |
| PARAM_VALUE | 2 | $ | 6249559079313567744 |
| PARAM_VALUE | 4 | $ | 0-18446744073709551613,u64max |
| BUF_SIZE | 1 | fmt | 13 |
| BUF_SIZE | 2 | $ | 16 |
| BUF_SIZE | 3 | $ | 1-s32max |
| DATA_SOURCE | 0 | oid | $2 |
| DATA_SOURCE | 4 | $ | $1 |
| STR_LEN | 0 | oid | 12 |
| STR_LEN | 1 | fmt | 15 |
| TERMINATED | 1 | fmt | 1 |
| TERMINATED | 2 | $ | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &obj_req->state_mutex |
fs/ceph/addr.c __ceph_pool_perm_get() -> ceph_oid_printf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | oid | 4096-ptr_max |
| PARAM_VALUE | 1 | fmt | 8036479487617011712 |
| BUF_SIZE | 1 | fmt | 14 |
| STR_LEN | 0 | oid | 13 |
| TERMINATED | 1 | fmt | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &mdsc->pool_perm_rwsem | ||
| TYPE_LOCK | (struct ceph_mds_client)->pool_perm_rwsem |
fs/ceph/file.c ceph_do_objects_copy() -> ceph_oid_printf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | oid | 1274353738607984640 |
| PARAM_VALUE | 1 | fmt | 4889830200860073984 |
| BUF_SIZE | 1 | fmt | 12 |
| STR_LEN | 0 | oid | 11 |
| TERMINATED | 1 | fmt | 1 |
| RX_PATH | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
fs/ceph/file.c ceph_do_objects_copy() -> ceph_oid_printf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | oid | 5120734901001572352 |
| PARAM_VALUE | 1 | fmt | 4889830200860073984 |
| BUF_SIZE | 1 | fmt | 12 |
| STR_LEN | 0 | oid | 11 |
| TERMINATED | 1 | fmt | 1 |
| RX_PATH | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
net/ceph/osd_client.c ceph_osdc_new_request() -> ceph_oid_printf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | oid | 4096-ptr_max |
| PARAM_VALUE | 1 | fmt | 4889830200860073984 |
| BUF_SIZE | 1 | fmt | 12 |
| STR_LEN | 0 | oid | 11 |
| TERMINATED | 1 | fmt | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &inode->i_mapping->invalidate_lock | ||
| HALF_LOCKED2 | &inode->i_rwsem |