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:

drivers/mtd/ubi/wl.c ubi_sync_erase() -> ubi_io_write_ec_hdr()

Type Parameter Key Value
PARAM_VALUE 0 ubi 4096-ptr_max
PARAM_VALUE 0 ubi->buf_mutex.dep_map->name 0-255
PARAM_VALUE 0 ubi->buf_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ubi->buf_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ubi->buf_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ubi->buf_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 ubi->buf_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 ubi->buf_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 ubi->buf_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 ubi->buf_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 ubi->buf_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 ubi->ec_hdr_alsize 0-4000000
PARAM_VALUE 0 ubi->ro_mode 0
PARAM_VALUE 2 ec_hdr 4096-ptr_max
PARAM_VALUE 2 ec_hdr->ec 1-s32max
BUF_SIZE 2 ec_hdr 0-s32max,18446744071562067968-u64max
BUF_SIZE 2 ec_hdr 0-s32max,18446744071562067968-u64max
CAPPED_DATA 0 ubi->mtd 1
DATA_SOURCE 0 ubi $0
DATA_SOURCE 2 ec_hdr r _kzalloc_noprof
NO_OVERFLOW_SIMPLE 1 pnum

drivers/mtd/ubi/attach.c early_erase_peb() -> ubi_io_write_ec_hdr()

Type Parameter Key Value
PARAM_VALUE 0 ubi 4096-ptr_max
PARAM_VALUE 0 ubi->buf_mutex.dep_map->name 0-255
PARAM_VALUE 0 ubi->buf_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ubi->buf_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ubi->buf_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ubi->buf_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 ubi->buf_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 ubi->buf_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 ubi->buf_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 ubi->buf_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 ubi->buf_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 ubi->ckvol_mutex.dep_map->name 0-255
PARAM_VALUE 0 ubi->dev.devres_head.next->next 4096-ptr_max
PARAM_VALUE 0 ubi->dev.devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 ubi->dev.devres_head.prev->prev 4096-ptr_max
PARAM_VALUE 0 ubi->dev.dma_io_tlb_pools.next->next 4096-ptr_max
PARAM_VALUE 0 ubi->dev.dma_io_tlb_pools.prev->next 4096-ptr_max
PARAM_VALUE 0 ubi->dev.dma_io_tlb_pools.prev->prev 4096-ptr_max
PARAM_VALUE 0 ubi->dev.dma_pools.next->next 4096-ptr_max
PARAM_VALUE 0 ubi->dev.dma_pools.prev->next 4096-ptr_max
PARAM_VALUE 0 ubi->dev.dma_pools.prev->prev 4096-ptr_max
PARAM_VALUE 0 ubi->dev.flags 4096-ptr_max
PARAM_VALUE 0 ubi->dev.kobj.entry.next->next 4096-ptr_max
PARAM_VALUE 0 ubi->dev.kobj.entry.prev->next 4096-ptr_max
PARAM_VALUE 0 ubi->dev.kobj.entry.prev->prev 4096-ptr_max
PARAM_VALUE 0 ubi->dev.kobj.ktype->child_ns_type 0
PARAM_VALUE 0 ubi->dev.kobj.ktype->get_ownership 9073032014207823872
PARAM_VALUE 0 ubi->dev.kobj.ktype->namespace 4142580293989273600
PARAM_VALUE 0 ubi->dev.links.consumers.next->next 4096-ptr_max
PARAM_VALUE 0 ubi->dev.links.consumers.prev->next 4096-ptr_max
PARAM_VALUE 0 ubi->dev.links.consumers.prev->prev 4096-ptr_max
PARAM_VALUE 0 ubi->dev.links.defer_sync.next->next 4096-ptr_max
PARAM_VALUE 0 ubi->dev.links.defer_sync.prev->next 4096-ptr_max
PARAM_VALUE 0 ubi->dev.links.defer_sync.prev->prev 4096-ptr_max
PARAM_VALUE 0 ubi->dev.links.suppliers.next->next 4096-ptr_max
PARAM_VALUE 0 ubi->dev.links.suppliers.prev->next 4096-ptr_max
PARAM_VALUE 0 ubi->dev.links.suppliers.prev->prev 4096-ptr_max
PARAM_VALUE 0 ubi->dev.power.entry.next->next 4096-ptr_max
PARAM_VALUE 0 ubi->dev.power.entry.prev->next 4096-ptr_max
PARAM_VALUE 0 ubi->dev.power.entry.prev->prev 4096-ptr_max
PARAM_VALUE 0 ubi->dev.power.wait_queue.head.next->next 4096-ptr_max
PARAM_VALUE 0 ubi->dev.power.wait_queue.head.prev->next 4096-ptr_max
PARAM_VALUE 0 ubi->dev.power.wait_queue.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 ubi->device_mutex.dep_map->name 0-255
PARAM_VALUE 0 ubi->ec_hdr_alsize 0-4000000
PARAM_VALUE 0 ubi->fm_eba_sem.dep_map->name 0-255
PARAM_VALUE 0 ubi->fm_protect.dep_map->name 0-255
PARAM_VALUE 0 ubi->ro_mode 0
PARAM_VALUE 2 ec_hdr 4096-ptr_max
PARAM_VALUE 2 ec_hdr->ec 0-2147483646,18446744071562067968-u64max
BUF_SIZE 0 ubi->dev.class (-1),96
BUF_SIZE 0 ubi->dev.groups (-1),16
BUF_SIZE 0 ubi->dev.parent (-1),1616
BUF_SIZE 0 ubi->peb_buf s32min-(-1),1-s32max
BUF_SIZE 2 ec_hdr 0-s32max,18446744071562067968-u64max
BUF_SIZE 2 ec_hdr 0-s32max,18446744071562067968-u64max
CAPPED_DATA 0 ubi->mtd 1
DATA_SOURCE 0 ubi $0
DATA_SOURCE 1 pnum $2
DATA_SOURCE 2 ec_hdr r _kzalloc_noprof
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 ubi->ubi_num 0-31
USER_DATA 0 ubi->vid_hdr_aloffset 0-s32max[c]
USER_DATA 0 ubi->vid_hdr_offset 1-s32max[c]
NO_OVERFLOW_SIMPLE 0 ubi->fm_size
NO_OVERFLOW_SIMPLE 0 ubi->mtd->erasesize
NO_OVERFLOW_SIMPLE 0 ubi->peb_size
NO_OVERFLOW_SIMPLE 1 pnum
LOCK2 global &ubi_devices_mutex
HALF_LOCKED2 global &mtd_table_mutex