Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
lib/xarray.c update_node() -> xas_update()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | node | 4096-ptr_max |
| DATA_SOURCE | 0 | xas | $0 |
| DATA_SOURCE | 1 | node | $1 |
| NOCHECK_CALL |
lib/xarray.c xas_alloc() -> xas_update()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xas | 4096-ptr_max |
| PARAM_VALUE | 0 | xas->xa_alloc | 0 |
| PARAM_VALUE | 0 | xas->xa_node | 4096-ptr_max |
| PARAM_VALUE | 1 | node | 4096-ptr_max |
| BUF_SIZE | 0 | xas->xa | (-1),4,16,32,88 |
| DATA_SOURCE | 0 | xas | $0 |
| STR_LEN | 0 | xas->xa | (-1),5-16,20,23 |
| NOSPEC | 0 | xas->xa_index | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | xas->xa_index | 0-u64max[c] |
| HOST_DATA | 0 | xas->xa_offset | 0-15[c] |
| HOST_DATA | 0 | xas->xa_sibs | 0-15,255[c] |
| USER_DATA | 0 | xas->xa_index | 0-u64max |
| USER_DATA | 0 | xas->xa_offset | 0-255 |
| USER_DATA | 0 | xas->xa_sibs | 0-255 |
| HALF_LOCKED2 | &((&xas)->xa)->xa_lock |
lib/xarray.c xas_delete_node() -> xas_update()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xas | 4096-ptr_max |
| PARAM_VALUE | 0 | xas->xa_node | 4096-ptr_max |
| PARAM_VALUE | 1 | node | 4096-ptr_max |
| PARAM_VALUE | 1 | node->parent->slots | 4096-ptr_max |
| DATA_SOURCE | 0 | xas | $0 |
| NOCHECK_CALL |
lib/xarray.c xas_expand() -> xas_update()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xas | 4096-ptr_max |
| PARAM_VALUE | 0 | xas->xa | 4096-ptr_max |
| PARAM_VALUE | 0 | xas->xa->xa_head | 4098-18446744073709547522 |
| PARAM_VALUE | 0 | xas->xa_alloc | 0 |
| PARAM_VALUE | 0 | xas->xa_node | 0 |
| PARAM_VALUE | 0 | xas->xa_node->private_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | xas->xa_node->private_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | xas->xa_node->private_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | xas->xa_node->private_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | node | 4096-ptr_max |
| PARAM_VALUE | 1 | node->count | 1 |
| PARAM_VALUE | 1 | node->slots | 4096-ptr_max |
| BUF_SIZE | 0 | xas->xa | (-1),4,16,32,88 |
| DATA_SOURCE | 0 | xas | $0 |
| DATA_SOURCE | 1 | node | r xas_alloc |
| STR_LEN | 0 | xas->xa | (-1),5-16,20,23 |
| NOSPEC | 0 | xas->xa_index | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | xas->xa_index | 0-u64max[c] |
| HOST_DATA | 0 | xas->xa_offset | 0-15[c] |
| HOST_DATA | 0 | xas->xa_sibs | 0-15,255[c] |
| USER_DATA | 0 | xas->xa_index | 0-u64max |
| USER_DATA | 0 | xas->xa_offset | 0-255 |
| USER_DATA | 0 | xas->xa_sibs | 0-255 |
| HALF_LOCKED2 | &((&xas)->xa)->xa_lock |
lib/xarray.c xas_free_nodes() -> xas_update()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xas | 4096-ptr_max |
| PARAM_VALUE | 0 | xas->xa | 4096-ptr_max |
| PARAM_VALUE | 0 | xas->xa_alloc | 0 |
| PARAM_VALUE | 0 | xas->xa_index | 0 |
| PARAM_VALUE | 0 | xas->xa_lru | 0 |
| PARAM_VALUE | 0 | xas->xa_node | 0 |
| PARAM_VALUE | 0 | xas->xa_pad | 0 |
| PARAM_VALUE | 0 | xas->xa_shift | 0 |
| PARAM_VALUE | 0 | xas->xa_sibs | 0 |
| PARAM_VALUE | 0 | xas->xa_update | 0 |
| PARAM_VALUE | 1 | node | 4096-ptr_max |
| PARAM_VALUE | 1 | node->count | 0 |
| PARAM_VALUE | 1 | node->nr_values | 0 |
| CAPPED_DATA | 1 | node->parent | 1 |
| DATA_SOURCE | 0 | xas | $0 |
| PREEMPT_ADD | |||
| NOCHECK_CALL | |||
| LOCK2 | &((&xas)->xa)->xa_lock | ||
| LOCK2 | flags |
lib/xarray.c xas_shrink() -> xas_update()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xas | 4096-ptr_max |
| PARAM_VALUE | 0 | xas->xa_node | 1 |
| PARAM_VALUE | 1 | node | 4096-ptr_max |
| PARAM_VALUE | 1 | node->count | 0 |
| PARAM_VALUE | 1 | node->nr_values | 0 |
| DATA_SOURCE | 0 | xas | $0 |
| NOCHECK_CALL |
lib/xarray.c xas_split() -> xas_update()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xas | 2322829303633539072,8714264325197791232 |
| PARAM_VALUE | 0 | xas->xa | 4096-ptr_max |
| PARAM_VALUE | 0 | xas->xa_lru | 0 |
| PARAM_VALUE | 0 | xas->xa_node | 4096-ptr_max |
| PARAM_VALUE | 0 | xas->xa_node->shift | 1-255 |
| PARAM_VALUE | 0 | xas->xa_node->slots | 4096-ptr_max |
| PARAM_VALUE | 0 | xas->xa_pad | 0 |
| PARAM_VALUE | 0 | xas->xa_shift | 0-254 |
| PARAM_VALUE | 0 | xas->xa_update | 0 |
| PARAM_VALUE | 1 | node | 4096-ptr_max |
| PARAM_VALUE | 1 | node->count | 16 |
| PARAM_VALUE | 1 | node->nr_values | 0,16 |
| PARAM_VALUE | 1 | node->parent | 4096-ptr_max |
| PARAM_VALUE | 1 | node->parent->shift | 1-255 |
| PARAM_VALUE | 1 | node->shift | 0-251,253-255 |
| BUF_SIZE | 0 | xas->xa | (-1),88 |
| CAPPED_DATA | 0 | xas->xa_shift | 1 |
| DATA_SOURCE | 0 | xas | $0 |
| FUZZY_MAX | 1 | node->nr_values | 16 |
| BIT_INFO | 1 | node->nr_values | 0x0,0x10 |
| HARD_MAX | 1 | node->nr_values | 16 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &((&xas)->xa)->xa_lock | ||
| HALF_LOCKED2 | irq |
lib/xarray.c xas_split() -> xas_update()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xas | 2322829303633539072,8714264325197791232 |
| PARAM_VALUE | 0 | xas->xa | 4096-ptr_max |
| PARAM_VALUE | 0 | xas->xa_lru | 0 |
| PARAM_VALUE | 0 | xas->xa_node | 4096-ptr_max |
| PARAM_VALUE | 0 | xas->xa_node->slots | 4096-ptr_max |
| PARAM_VALUE | 0 | xas->xa_pad | 0 |
| PARAM_VALUE | 0 | xas->xa_shift | 0-254 |
| PARAM_VALUE | 0 | xas->xa_update | 0 |
| PARAM_VALUE | 1 | node | 4096-ptr_max |
| PARAM_VALUE | 1 | node->slots | 4096-ptr_max |
| BUF_SIZE | 0 | xas->xa | (-1),88 |
| CAPPED_DATA | 0 | xas->xa_shift | 1 |
| DATA_SOURCE | 0 | xas | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &((&xas)->xa)->xa_lock | ||
| HALF_LOCKED2 | irq |
lib/xarray.c xas_try_split() -> xas_update()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xas | 4096-ptr_max |
| PARAM_VALUE | 0 | xas->xa | 4096-ptr_max |
| PARAM_VALUE | 0 | xas->xa_node | 4096-ptr_max |
| PARAM_VALUE | 0 | xas->xa_node->shift | 1-255 |
| PARAM_VALUE | 0 | xas->xa_node->slots | 4096-ptr_max |
| PARAM_VALUE | 0 | xas->xa_shift | 0-254 |
| PARAM_VALUE | 1 | node | 4096-ptr_max |
| PARAM_VALUE | 1 | node->array | 4096-ptr_max |
| PARAM_VALUE | 1 | node->count | 16 |
| PARAM_VALUE | 1 | node->nr_values | 0,16 |
| PARAM_VALUE | 1 | node->parent | 4096-ptr_max |
| PARAM_VALUE | 1 | node->parent->shift | 1-255 |
| PARAM_VALUE | 1 | node->shift | 0-251,253-255 |
| BUF_SIZE | 0 | xas->xa | (-1),88 |
| CAPPED_DATA | 0 | xas->xa_shift | 1 |
| CAPPED_DATA | 0 | xas->xa_sibs | 1 |
| DATA_SOURCE | 0 | xas | $0 |
| FUZZY_MAX | 1 | node->nr_values | 16 |
| BIT_INFO | 1 | node->nr_values | 0x0,0x10 |
| HARD_MAX | 1 | node->nr_values | 16 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | xas->xa_offset | 0-15[c] |
| USER_DATA | 0 | xas->xa_offset | 0-255 |
| HALF_LOCKED2 | &((&xas)->xa)->xa_lock | ||
| HALF_LOCKED2 | irq |
lib/xarray.c xas_try_split() -> xas_update()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xas | 4096-ptr_max |
| PARAM_VALUE | 0 | xas->xa | 4096-ptr_max |
| PARAM_VALUE | 0 | xas->xa_node | 4096-ptr_max |
| PARAM_VALUE | 0 | xas->xa_node->slots | 4096-ptr_max |
| PARAM_VALUE | 1 | node | 4096-ptr_max |
| PARAM_VALUE | 1 | node->slots | 4096-ptr_max |
| BUF_SIZE | 0 | xas->xa | (-1),88 |
| CAPPED_DATA | 1 | node->shift | 1 |
| DATA_SOURCE | 0 | xas | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | xas->xa_offset | 0-15[c] |
| USER_DATA | 0 | xas->xa_offset | 0-255 |
| HALF_LOCKED2 | &((&xas)->xa)->xa_lock | ||
| HALF_LOCKED2 | irq |