Documented in 1 files:
Defined in 2 files as a function:
- drivers/mtd/ubi/attach.c, line 229 (as a function)
- drivers/net/ethernet/google/gve/gve_tx_dqo.c, line 1140 (as a function)
Referenced in 3 files:
- drivers/gpu/drm/exynos/exynos_drm_g2d.c
- drivers/mtd/ubi/attach.c
- drivers/net/ethernet/google/gve/gve_tx_dqo.c
Smatch caller information:
drivers/net/ethernet/google/gve/gve_tx_dqo.c gve_handle_miss_completion() -> add_to_list()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ai | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->dqo.pending_packets | 4096-ptr_max |
| PARAM_VALUE | 1 | pnum | 4096-ptr_max |
| PARAM_VALUE | 2 | vol_id | 4096-ptr_max |
| DATA_SOURCE | 0 | ai | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/ethernet/google/gve/gve_tx_dqo.c remove_miss_completions() -> add_to_list()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ai | 4096-ptr_max |
| PARAM_VALUE | 0 | ai->dqo.pending_packets | 4096-ptr_max |
| PARAM_VALUE | 1 | pnum | 4096-ptr_max |
| PARAM_VALUE | 2 | vol_id | 4096-ptr_max |
| DATA_SOURCE | 0 | ai | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/mtd/ubi/attach.c scan_peb() -> add_to_list()
| 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 |
| PARAM_VALUE | 2 | vol_id | (-1) |
| PARAM_VALUE | 3 | lnum | (-1) |
| PARAM_VALUE | 4 | ec | (-1) |
| PARAM_VALUE | 5 | to_head | 0 |
| PARAM_VALUE | 6 | list | 4096-ptr_max |
| 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 | $1 |
| DATA_SOURCE | 1 | pnum | $2 |
| FUZZY_MAX | 1 | pnum | 63 |
| 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 | 1 | pnum | |
| LOCK2 | global &ubi_devices_mutex | ||
| HALF_LOCKED2 | global &mtd_table_mutex |
drivers/mtd/ubi/attach.c scan_peb() -> add_to_list()
| 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 |
| PARAM_VALUE | 2 | vol_id | (-1) |
| PARAM_VALUE | 3 | lnum | (-1) |
| PARAM_VALUE | 4 | ec | (-1) |
| PARAM_VALUE | 5 | to_head | 1 |
| PARAM_VALUE | 6 | list | 4096-ptr_max |
| 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 | $1 |
| DATA_SOURCE | 1 | pnum | $2 |
| FUZZY_MAX | 1 | pnum | 63 |
| 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 | 1 | pnum | |
| LOCK2 | global &ubi_devices_mutex | ||
| HALF_LOCKED2 | global &mtd_table_mutex |
drivers/mtd/ubi/attach.c scan_peb() -> add_to_list()
| 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 | 0 | *ai->vidb->buffer | 0-255 |
| PARAM_VALUE | 1 | pnum | 0-2147483646 |
| PARAM_VALUE | 2 | vol_id | (-1) |
| PARAM_VALUE | 3 | lnum | (-1) |
| PARAM_VALUE | 4 | ec | (-1)-s32max |
| PARAM_VALUE | 5 | to_head | 1 |
| PARAM_VALUE | 6 | list | 4096-ptr_max |
| 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 | $1 |
| DATA_SOURCE | 1 | pnum | $2 |
| FUZZY_MAX | 1 | pnum | 63 |
| 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 | 1 | pnum | |
| LOCK2 | global &ubi_devices_mutex | ||
| HALF_LOCKED2 | global &mtd_table_mutex |
drivers/mtd/ubi/attach.c scan_peb() -> add_to_list()
| 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 | 0 | *ai->vidb->buffer | 0-255 |
| PARAM_VALUE | 1 | pnum | 0-2147483646 |
| PARAM_VALUE | 2 | vol_id | (-1) |
| PARAM_VALUE | 3 | lnum | (-1) |
| PARAM_VALUE | 4 | ec | (-1)-s32max |
| PARAM_VALUE | 5 | to_head | 1 |
| PARAM_VALUE | 6 | list | 4096-ptr_max |
| 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 | $1 |
| DATA_SOURCE | 1 | pnum | $2 |
| FUZZY_MAX | 1 | pnum | 63 |
| 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 | 1 | pnum | |
| LOCK2 | global &ubi_devices_mutex | ||
| HALF_LOCKED2 | global &mtd_table_mutex |
drivers/mtd/ubi/attach.c scan_peb() -> add_to_list()
| 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 | 0 | *ai->vidb->buffer | 0-255 |
| PARAM_VALUE | 1 | pnum | 0-2147483646 |
| PARAM_VALUE | 2 | vol_id | (-1) |
| PARAM_VALUE | 3 | lnum | (-1) |
| PARAM_VALUE | 4 | ec | (-1)-s32max |
| PARAM_VALUE | 5 | to_head | 1 |
| PARAM_VALUE | 6 | list | 4096-ptr_max |
| 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 | $1 |
| DATA_SOURCE | 1 | pnum | $2 |
| FUZZY_MAX | 1 | pnum | 63 |
| 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 | 1 | pnum | |
| LOCK2 | global &ubi_devices_mutex | ||
| HALF_LOCKED2 | global &mtd_table_mutex |
drivers/mtd/ubi/attach.c scan_peb() -> add_to_list()
| 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->ec | 0-s32max |
| PARAM_VALUE | 0 | ai->ech->magic | 1430407459 |
| 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 | 0 | *ai->vidb->buffer | 0-255 |
| PARAM_VALUE | 1 | pnum | 0-2147483646 |
| PARAM_VALUE | 2 | vol_id | (-1) |
| PARAM_VALUE | 3 | lnum | (-1) |
| PARAM_VALUE | 4 | ec | 0-s32max |
| PARAM_VALUE | 5 | to_head | 0 |
| PARAM_VALUE | 6 | list | 4096-ptr_max |
| 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 | $1 |
| DATA_SOURCE | 1 | pnum | $2 |
| FUZZY_MAX | 1 | pnum | 63 |
| 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 | 1 | pnum | |
| LOCK2 | global &ubi_devices_mutex | ||
| HALF_LOCKED2 | global &mtd_table_mutex |
drivers/mtd/ubi/attach.c scan_peb() -> add_to_list()
| 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 | 0 | *ai->vidb->buffer | 0-255 |
| PARAM_VALUE | 1 | pnum | 0-2147483646 |
| PARAM_VALUE | 2 | vol_id | 2147479554-s32max |
| PARAM_VALUE | 3 | lnum | 0-s32max |
| PARAM_VALUE | 4 | ec | (-1)-s32max |
| PARAM_VALUE | 5 | to_head | 1 |
| PARAM_VALUE | 6 | list | 4096-ptr_max |
| 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 | $1 |
| DATA_SOURCE | 1 | pnum | $2 |
| FUZZY_MAX | 1 | pnum | 63 |
| 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 | 1 | pnum | |
| UNITS | 2 | vol_id | unit_array_size |
| LOCK2 | global &ubi_devices_mutex | ||
| HALF_LOCKED2 | global &mtd_table_mutex |
drivers/mtd/ubi/attach.c scan_peb() -> add_to_list()
| 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 | 0 | *ai->vidb->buffer | 0-255 |
| PARAM_VALUE | 1 | pnum | 0-2147483646 |
| PARAM_VALUE | 2 | vol_id | 2147479554-s32max |
| PARAM_VALUE | 3 | lnum | 0-s32max |
| PARAM_VALUE | 4 | ec | (-1)-s32max |
| PARAM_VALUE | 5 | to_head | 0 |
| PARAM_VALUE | 6 | list | 4096-ptr_max |
| 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 | $1 |
| DATA_SOURCE | 1 | pnum | $2 |
| FUZZY_MAX | 1 | pnum | 63 |
| 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 | 1 | pnum | |
| UNITS | 2 | vol_id | unit_array_size |
| LOCK2 | global &ubi_devices_mutex | ||
| HALF_LOCKED2 | global &mtd_table_mutex |
drivers/mtd/ubi/attach.c ubi_add_to_av() -> add_to_list()
| 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 |
| PARAM_VALUE | 3 | lnum | 0-s32max |
| PARAM_VALUE | 5 | to_head | 0,4 |
| PARAM_VALUE | 6 | list | 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 |
| CAPPED_DATA | 3 | lnum | 1 |
| DATA_SOURCE | 0 | ai | $1 |
| BIT_INFO | 5 | to_head | 0x0,0x4 |
| 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 | |
| UNITS | 2 | vol_id | unit_array_size |
| UNITS | 3 | lnum | unit_array_size |
| LOCK2 | global &ubi_devices_mutex | ||
| HALF_LOCKED2 | global &mtd_table_mutex |
drivers/mtd/ubi/attach.c ubi_add_to_av() -> add_to_list()
| 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 |
| PARAM_VALUE | 2 | vol_id | 0-127,2147479551,2147479554-s32max |
| PARAM_VALUE | 3 | lnum | 0-s32max |
| PARAM_VALUE | 5 | to_head | 0,4 |
| PARAM_VALUE | 6 | list | 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 |
| CAPPED_DATA | 2 | vol_id | 1 |
| CAPPED_DATA | 3 | lnum | 1 |
| DATA_SOURCE | 0 | ai | $1 |
| DATA_SOURCE | 1 | pnum | $2 |
| DATA_SOURCE | 4 | ec | $3 |
| BIT_INFO | 5 | to_head | 0x0,0x4 |
| 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 | |
| UNITS | 2 | vol_id | unit_array_size |
| UNITS | 3 | lnum | unit_array_size |
| LOCK2 | global &ubi_devices_mutex | ||
| HALF_LOCKED2 | global &mtd_table_mutex |