Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
287600322642ac2d process_pool_aeb() -> ubi_find_av()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | vol_id | s32min-2147479551,2147479554-s32max |
| DATA_SOURCE | 0 | ai | $1 |
| UNITS | 1 | vol_id | unit_array_size |
drivers/mtd/ubi/vtbl.c check_attaching_info() -> ubi_find_av()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ai | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->alien.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->alien.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->alien.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->corr.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->corr.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->corr.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->erase.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->erase.next->prev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ai->erase.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->erase.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->fastmap.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->fastmap.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->fastmap.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->free.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->free.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->free.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | vol_id | 0-s32max |
| BUF_SIZE | 0 | ai | (-1),192 |
| BUF_SIZE | 0 | ai | (-1),192 |
| CAPPED_DATA | 1 | vol_id | 1 |
| DATA_SOURCE | 0 | ai | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | ai->aeb_slab_cache->object_size | |
| NO_OVERFLOW_SIMPLE | 0 | ai->highest_vol_id | |
| UNITS | 1 | vol_id | unit_array_size |
| LOCK2 | global &ubi_devices_mutex | ||
| HALF_LOCKED2 | global &mtd_table_mutex |
drivers/mtd/ubi/vtbl.c init_volumes() -> ubi_find_av()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ai | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->alien.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->alien.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->alien.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->corr.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->corr.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->corr.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->erase.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->erase.next->prev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ai->erase.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->erase.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->fastmap.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->fastmap.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->fastmap.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->free.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->free.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->free.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | vol_id | 0-s32max |
| BUF_SIZE | 0 | ai | (-1),192 |
| BUF_SIZE | 0 | ai | (-1),192 |
| CAPPED_DATA | 1 | vol_id | 1 |
| DATA_SOURCE | 0 | ai | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | ai->aeb_slab_cache->object_size | |
| NO_OVERFLOW_SIMPLE | 0 | ai->highest_vol_id | |
| UNITS | 1 | vol_id | unit_array_size |
| LOCK2 | global &ubi_devices_mutex | ||
| HALF_LOCKED2 | global &mtd_table_mutex |
drivers/mtd/ubi/vtbl.c ubi_read_volume_table() -> ubi_find_av()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ai | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->alien.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->alien.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->alien.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->corr.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->corr.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->corr.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->erase.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->erase.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->erase.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->fastmap.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->fastmap.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->fastmap.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->free.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->free.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->free.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | vol_id | 2147479551 |
| BUF_SIZE | 0 | ai | (-1),192 |
| BUF_SIZE | 0 | ai | (-1),192 |
| DATA_SOURCE | 0 | ai | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &ubi_devices_mutex | ||
| HALF_LOCKED2 | global &mtd_table_mutex |
drivers/mtd/ubi/eba.c self_check_eba() -> ubi_find_av()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ai | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->alien.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->alien.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->alien.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->corr.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->corr.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->corr.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->erase.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->erase.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->erase.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->fastmap.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->fastmap.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->fastmap.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->free.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->free.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->free.prev->prev | 4096-ptr_max |
| BUF_SIZE | 0 | ai | 192 |
| CAPPED_DATA | 0 | ai | 1 |
| CAPPED_DATA | 1 | vol_id | 1 |
| DATA_SOURCE | 0 | ai | $2 |
| BIT_INFO | 1 | vol_id | 0x0,0x7fffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | ai->highest_vol_id | |
| NO_OVERFLOW_SIMPLE | 1 | vol_id | |
| LOCK2 | global &ubi_devices_mutex | ||
| HALF_LOCKED2 | global &mtd_table_mutex |
drivers/mtd/ubi/eba.c self_check_eba() -> ubi_find_av()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ai | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->alien.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->alien.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->alien.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->corr.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->corr.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->corr.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->erase.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->erase.next->prev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ai->erase.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->erase.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->erase.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->fastmap.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->fastmap.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->fastmap.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->free.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->free.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->free.prev->prev | 4096-ptr_max |
| BUF_SIZE | 0 | ai | (-1),192 |
| BUF_SIZE | 0 | ai | (-1),192 |
| CAPPED_DATA | 0 | ai->aeb_slab_cache | 1 |
| CAPPED_DATA | 1 | vol_id | 1 |
| DATA_SOURCE | 0 | ai | $1 |
| BIT_INFO | 1 | vol_id | 0x0,0x7fffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | ai->highest_vol_id | |
| NO_OVERFLOW_SIMPLE | 1 | vol_id | |
| LOCK2 | global &ubi_devices_mutex | ||
| HALF_LOCKED2 | global &mtd_table_mutex |
drivers/mtd/ubi/eba.c ubi_eba_init() -> ubi_find_av()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ai | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->alien.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->alien.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->alien.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->corr.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->corr.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->corr.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->erase.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->erase.next->prev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ai->erase.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->erase.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->erase.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->fastmap.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->fastmap.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->fastmap.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->free.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->free.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->free.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | vol_id | 0-127,2147479551-2147479678 |
| BUF_SIZE | 0 | ai | (-1),192 |
| BUF_SIZE | 0 | ai | (-1),192 |
| CAPPED_DATA | 0 | ai->aeb_slab_cache | 1 |
| CAPPED_DATA | 1 | vol_id | 1 |
| DATA_SOURCE | 0 | ai | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | ai->highest_vol_id | |
| LOCK2 | global &ubi_devices_mutex | ||
| HALF_LOCKED2 | global &mtd_table_mutex |