Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
287600322642ac2d add_aeb() -> ubi_alloc_aeb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ai | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->max_sqnum | 0 |
| DATA_SOURCE | 0 | ai | $0 |
| DATA_SOURCE | 1 | pnum | $2 |
| DATA_SOURCE | 2 | ec | $3 |
287600322642ac2d clone_aeb() -> ubi_alloc_aeb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ai | 4096-ptr_max |
| DATA_SOURCE | 0 | ai | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &ubi_devices_mutex | ||
| HALF_LOCKED2 | global &mtd_table_mutex |
287600322642ac2d update_vol() -> ubi_alloc_aeb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | ai | $1 |
| NO_OVERFLOW_SIMPLE | 0 | ai->highest_vol_id |
drivers/mtd/ubi/attach.c add_corrupted() -> ubi_alloc_aeb()
| 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->ech | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->ech->version | 1 |
| 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 | 0 | ai->vidb | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->vidb->buffer | 16,4096-ptr_max |
| PARAM_VALUE | 0 | ai->vidb->hdr | 4096-ptr_max |
| PARAM_VALUE | 1 | pnum | 0-2147483646 |
| BUF_SIZE | 0 | ai | (-1),192 |
| BUF_SIZE | 0 | ai | (-1),192 |
| BUF_SIZE | 0 | ai->vidb | 16 |
| CAPPED_DATA | 0 | ai | 1 |
| CAPPED_DATA | 1 | pnum | 1 |
| DATA_SOURCE | 0 | ai | $0 |
| DATA_SOURCE | 1 | pnum | $1 |
| DATA_SOURCE | 2 | ec | $2 |
| FUZZY_MAX | 1 | pnum | 63 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | *ai->vidb->buffer | 0-255 |
| NO_OVERFLOW_SIMPLE | 1 | pnum | |
| LOCK2 | global &ubi_devices_mutex | ||
| HALF_LOCKED2 | global &mtd_table_mutex |
drivers/mtd/ubi/attach.c add_fastmap() -> ubi_alloc_aeb()
| 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->ech | 16,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 | 0 | ai->vidb | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->vidb->buffer | 16,4096-ptr_max |
| PARAM_VALUE | 0 | ai->vidb->hdr | 4096-ptr_max |
| PARAM_VALUE | 1 | pnum | 0-2147483646 |
| BUF_SIZE | 0 | ai | (-1),192 |
| BUF_SIZE | 0 | ai | (-1),192 |
| BUF_SIZE | 0 | ai->vidb | 16 |
| CAPPED_DATA | 0 | ai | 1 |
| CAPPED_DATA | 1 | pnum | 1 |
| DATA_SOURCE | 0 | ai | $0 |
| DATA_SOURCE | 1 | pnum | $1 |
| DATA_SOURCE | 2 | ec | $3 |
| FUZZY_MAX | 1 | pnum | 63 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | *ai->vidb->buffer | 0-255 |
| NO_OVERFLOW_SIMPLE | 1 | pnum | |
| LOCK2 | global &ubi_devices_mutex | ||
| HALF_LOCKED2 | global &mtd_table_mutex |
drivers/mtd/ubi/attach.c add_to_list() -> ubi_alloc_aeb()
| 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 | (-1),192 |
| BUF_SIZE | 0 | ai | (-1),192 |
| BUF_SIZE | 0 | ai->vidb | (-1),16 |
| CAPPED_DATA | 0 | ai | 1 |
| DATA_SOURCE | 0 | ai | $0 |
| DATA_SOURCE | 1 | pnum | $1 |
| DATA_SOURCE | 2 | ec | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | *ai->vidb->buffer | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | ai->aeb_slab_cache->object_size | |
| NO_OVERFLOW_SIMPLE | 0 | ai->highest_vol_id | |
| NO_OVERFLOW_SIMPLE | 1 | pnum | |
| LOCK2 | global &ubi_devices_mutex | ||
| HALF_LOCKED2 | global &mtd_table_mutex |
drivers/mtd/ubi/attach.c ubi_add_to_av() -> ubi_alloc_aeb()
| 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 | 0 | ai->highest_vol_id | (-2147483647)-s32max |
| BUF_SIZE | 0 | ai | (-1),192 |
| BUF_SIZE | 0 | ai | (-1),192 |
| BUF_SIZE | 0 | ai->vidb | (-1),16 |
| CAPPED_DATA | 0 | ai | 1 |
| DATA_SOURCE | 0 | ai | $1 |
| DATA_SOURCE | 1 | pnum | $2 |
| DATA_SOURCE | 2 | ec | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | *ai->vidb->buffer | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | ai->aeb_slab_cache->object_size | |
| NO_OVERFLOW_SIMPLE | 0 | ai->highest_vol_id | |
| NO_OVERFLOW_SIMPLE | 1 | pnum | |
| LOCK2 | global &ubi_devices_mutex | ||
| HALF_LOCKED2 | global &mtd_table_mutex |