Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
net/ceph/string_table.c ceph_find_or_create_string() -> ceph_compare_string()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cs | 4096-ptr_max |
| PARAM_VALUE | 2 | len | 0-u32max |
| CAPPED_DATA | 2 | len | 1 |
| CAPPED_DATA | 2 | len | 1 |
| DATA_SOURCE | 1 | str | $0 |
| DATA_SOURCE | 2 | len | $1 |
| FUZZY_MAX | 2 | len | 1 |
| STR_LEN | 0 | cs | (-1)-1010101 |
| STR_LEN | 1 | str | (-1)-1010101 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | len | 1-u32max[c] |
| UNITS | 1 | str | unit_byte |
| UNITS | 2 | len | unit_byte |
| LOCK2 | global &string_tree_lock | ||
| HALF_LOCKED2 | &mdsc->snap_rwsem |
net/ceph/string_table.c ceph_find_or_create_string() -> ceph_compare_string()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cs | 4096-ptr_max |
| PARAM_VALUE | 2 | len | 0-3999959 |
| CAPPED_DATA | 2 | len | 1 |
| CAPPED_DATA | 2 | len | 1 |
| DATA_SOURCE | 1 | str | $0 |
| DATA_SOURCE | 2 | len | $1 |
| STR_LEN | 0 | cs | (-1)-1010101 |
| STR_LEN | 1 | str | (-1)-1010101 |
| NOSPEC | 2 | len | |
| NOSPEC | 2 | len | |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | len | 1-3999959[c] |
| UNITS | 1 | str | unit_byte |
| UNITS | 2 | len | unit_byte |
| LOCK2 | global &string_tree_lock | ||
| HALF_LOCKED2 | &mdsc->snap_rwsem |
fs/ceph/addr.c __ceph_pool_perm_get() -> ceph_compare_string()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cs | 0,4096-ptr_max |
| DATA_SOURCE | 0 | cs | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | len | unit_byte |
| LOCK2 | &mdsc->pool_perm_rwsem | ||
| TYPE_LOCK | (struct ceph_mds_client)->pool_perm_rwsem |
fs/ceph/addr.c __ceph_pool_perm_get() -> ceph_compare_string()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cs | 0,4096-ptr_max |
| DATA_SOURCE | 0 | cs | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | len | unit_byte |
| LOCK2 | &mdsc->pool_perm_rwsem | ||
| TYPE_LOCK | (struct ceph_mds_client)->pool_perm_rwsem |
net/ceph/osd_client.c ceph_oloc_decode() -> ceph_compare_string()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cs | 1-u64max |
| PARAM_VALUE | 1 | str | 4096-ptr_max |
| PARAM_VALUE | 2 | len | 1-u32max |
| CAPPED_DATA | 2 | len | 1 |
| DATA_SOURCE | 2 | len | r ceph_decode_32 |
| FUZZY_MAX | 2 | len | 1 |
| USER_DATA | 2 | len | 1-u32max[c] |
| LOCK2 | &osd->lock | ||
| LOCK2 | &osdc->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ceph_osd)->lock | ||
| TYPE_LOCK | (struct ceph_osd_client)->lock |