Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/mtd/ubi/attach.c destroy_ai() -> destroy_av()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ai | 4096-ptr_max |
| PARAM_VALUE | 1 | av | 4096-ptr_max |
| PARAM_VALUE | 2 | list | 0 |
| BUF_SIZE | 0 | ai | (-1),192 |
| BUF_SIZE | 0 | ai | (-1),192 |
| BUF_SIZE | 0 | ai->vidb | (-1),16 |
| CAPPED_DATA | 0 | ai | 1 |
| CAPPED_DATA | 0 | &ai->alien | 1 |
| CAPPED_DATA | 0 | &ai->corr | 1 |
| CAPPED_DATA | 0 | &ai->erase | 1 |
| CAPPED_DATA | 0 | &ai->fastmap | 1 |
| CAPPED_DATA | 0 | &ai->free | 1 |
| DATA_SOURCE | 0 | ai | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | *ai->vidb->buffer | 0-255 |
| UNITS | 1 | av | unit_byte |
| LOCK2 | global &ubi_devices_mutex | ||
| HALF_LOCKED2 | global &mtd_table_mutex |
drivers/mtd/ubi/attach.c ubi_remove_av() -> destroy_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 | 0 | ai->volumes.rb_node | 4096-ptr_max |
| PARAM_VALUE | 1 | av | 4096-ptr_max |
| PARAM_VALUE | 1 | av->rb.rb_left | 0,4096-ptr_max |
| PARAM_VALUE | 1 | av->rb.rb_right | 0,4096-ptr_max |
| PARAM_VALUE | 2 | list | 4096-ptr_max |
| BUF_SIZE | 0 | ai | (-1),192 |
| BUF_SIZE | 0 | ai | (-1),192 |
| BUF_SIZE | 1 | av | (-1),64 |
| BUF_SIZE | 1 | av | (-1),64 |
| CAPPED_DATA | 0 | ai->aeb_slab_cache | 1 |
| CAPPED_DATA | 1 | &av->rb | 1 |
| DATA_SOURCE | 0 | ai | $0 |
| DATA_SOURCE | 1 | av | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | ai->highest_vol_id | |
| LOCK2 | global &ubi_devices_mutex | ||
| HALF_LOCKED2 | global &mtd_table_mutex |