Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
lib/xarray.c xas_create() -> xa_entry_locked()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | node | 4096-ptr_max |
| PARAM_VALUE | 2 | offset | 0-255 |
| BUF_SIZE | 0 | xa | (-1),88 |
| BUF_SIZE | 0 | xa | (-1),88 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 2 | offset | 0-15[c] |
| USER_DATA | 2 | offset | 0-255 |
| UNITS | 2 | offset | unit_page |
| HALF_LOCKED2 | &((&xas)->xa)->xa_lock | ||
| HALF_LOCKED2 | irq |
lib/xarray.c xas_find_conflict() -> xa_entry_locked()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | node | 4096-ptr_max |
| PARAM_VALUE | 2 | offset | 0-255 |
| BUF_SIZE | 0 | xa | (-1),88 |
| BUF_SIZE | 0 | xa | (-1),88 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &((&xas)->xa)->xa_lock | ||
| HALF_LOCKED2 | irq |
lib/xarray.c xas_find_conflict() -> xa_entry_locked()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | offset | 0 |
| BUF_SIZE | 0 | xa | (-1),88 |
| BUF_SIZE | 0 | xa | (-1),88 |
| DATA_SOURCE | 1 | node | r xa_to_node |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &((&xas)->xa)->xa_lock | ||
| HALF_LOCKED2 | irq |
lib/xarray.c xas_free_nodes() -> xa_entry_locked()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xa | 4096-ptr_max |
| PARAM_VALUE | 2 | offset | 0-15,17-u32max |
| FUZZY_MAX | 2 | offset | 0 |
| PREEMPT_ADD | |||
| UNITS | 2 | offset | unit_page |
| LOCK2 | &((&xas)->xa)->xa_lock | ||
| LOCK2 | flags |
lib/xarray.c xas_shrink() -> xa_entry_locked()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | node | 4096-ptr_max |
| PARAM_VALUE | 1 | node->count | 1 |
| PARAM_VALUE | 2 | offset | 0 |
lib/xarray.c xas_store() -> xa_entry_locked()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | node | 4096-ptr_max |
| PARAM_VALUE | 1 | node->slots | 4096-ptr_max |
| BUF_SIZE | 0 | xa | (-1),88 |
| BUF_SIZE | 0 | xa | (-1),88 |
| CAPPED_DATA | 1 | node->shift | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &(&cache->reqs)->xa_lock | ||
| HALF_LOCKED2 | &(&ictx->objects)->xa_lock | ||
| HALF_LOCKED2 | &(&mapping->i_pages)->xa_lock | ||
| HALF_LOCKED2 | &((&xas)->xa)->xa_lock | ||
| HALF_LOCKED2 | &(xas->xa)->xa_lock | ||
| HALF_LOCKED2 | &access->ioas_lock | ||
| HALF_LOCKED2 | &buffer->mutex | ||
| HALF_LOCKED2 | &cache->daemon_mutex | ||
| HALF_LOCKED2 | &frag->frag_sem | ||
| HALF_LOCKED2 | &iopt->iova_rwsem | ||
| HALF_LOCKED2 | &mapping->host->i_lock | ||
| HALF_LOCKED2 | &mapping->i_mmap_rwsem | ||
| HALF_LOCKED2 | &pages->mutex | ||
| HALF_LOCKED2 | &udev->cmdr_lock | ||
| HALF_LOCKED2 | &xa->xa_lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq |
lib/test_xarray.c check_xa_shrink() -> xa_entry_locked()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xa | 5024146686711472128 |
| PARAM_VALUE | 0 | xa->xa_head | 0 |
| PARAM_VALUE | 0 | xa->xa_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | node | 0-1,4096-ptr_max |
| PARAM_VALUE | 2 | offset | 0 |
| DATA_SOURCE | 0 | xa | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | &((&xas)->xa)->xa_lock |
lib/test_xarray.c check_xa_shrink() -> xa_entry_locked()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xa | 5024146686711472128 |
| PARAM_VALUE | 0 | xa->xa_head | 0 |
| PARAM_VALUE | 0 | xa->xa_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | node | 4096-ptr_max |
| PARAM_VALUE | 2 | offset | 0 |
| DATA_SOURCE | 0 | xa | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | &((&xas)->xa)->xa_lock |