Documented in 1 files:
Defined in 1 files as a function:
Referenced in 6 files:
- drivers/mtd/ubi/attach.c
- drivers/mtd/ubi/eba.c
- drivers/mtd/ubi/fastmap.c
- drivers/mtd/ubi/io.c, line 1335
- drivers/mtd/ubi/vtbl.c, line 295
- drivers/mtd/ubi/wl.c, line 673
Smatch caller information:
287600322642ac2d new_fm_vbuf() -> ubi_alloc_vid_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ubi | 4096-ptr_max |
| PARAM_VALUE | 0 | ubi->bgt_thread->delays->blkio_count | 0-4294967295 |
| PARAM_VALUE | 0 | ubi->bgt_thread->delays->blkio_delay_max | 0-s64max |
| PARAM_VALUE | 0 | ubi->bgt_thread->delays->blkio_delay_min | 0-s64max |
| PARAM_VALUE | 0 | ubi->bgt_thread->kcov->mode | 0-4294967295 |
| PARAM_VALUE | 0 | ubi->bgt_thread->kcov->remote | 0-1 |
| PARAM_VALUE | 0 | ubi->bgt_thread->kcov->remote_size | 0-4294967295 |
| PARAM_VALUE | 0 | ubi->bgt_thread->kcov_remote->mode | 0-4294967295 |
| PARAM_VALUE | 0 | ubi->bgt_thread->kcov_remote->remote | 0-1 |
| PARAM_VALUE | 0 | ubi->bgt_thread->kcov_remote->remote_size | 0-4294967295 |
| PARAM_VALUE | 0 | ubi->bgt_thread->ptracer_cred->process_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | ubi->bgt_thread->ptracer_cred->process_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | ubi->bgt_thread->ptracer_cred->request_key_auth->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | ubi->bgt_thread->ptracer_cred->request_key_auth->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | ubi->bgt_thread->ptracer_cred->session_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | ubi->bgt_thread->ptracer_cred->session_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | ubi->bgt_thread->ptracer_cred->thread_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | ubi->bgt_thread->ptracer_cred->thread_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | ubi->bgt_thread->sched_task_group->idle | s32min-s32max |
| PARAM_VALUE | 0 | ubi->bgt_thread->sched_task_group->parent | 0-s64max |
| PARAM_VALUE | 0 | ubi->bgt_thread->thread_pid->attr->exit_code | s32min-s32max |
| PARAM_VALUE | 0 | ubi->dev.kobj.release.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | ubi->dev.kobj.release.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 0 | ubi->dev.kobj.release.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 0 | ubi->dev.p->deferred_probe_reason | 0-s64max |
| PARAM_VALUE | 0 | ubi->fm_eba_sem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ubi->fm_eba_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ubi->fm_eba_sem.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | ubi->fm_eba_sem.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | ubi->fm_eba_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ubi->fm_protect.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ubi->fm_protect.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ubi->fm_protect.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | ubi->fm_protect.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | ubi->fm_protect.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ubi->wl_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ubi->work_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ubi->work_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | *ubi->fm_pool->pebs | s32min-s32max |
| PARAM_VALUE | 0 | *ubi->fm_wl_pool->pebs | s32min-s32max |
| PARAM_VALUE | 1 | gfp_flags | 3136 |
| DATA_SOURCE | 0 | ubi | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | ubi->bgt_thread->dl.pi_se->dl_runtime | |
| NO_OVERFLOW_SIMPLE | 0 | ubi->vid_hdr_aloffset | |
| LOCK2 | 0 | &ubi->fm_eba_sem | |
| LOCK2 | 0 | &ubi->fm_protect | |
| LOCK2 | 0 | &ubi->work_sem | |
| HALF_LOCKED2 | &le->mutex | ||
| HALF_LOCKED2 | global &ubi_devices_mutex | ||
| HALF_LOCKED2 | 0 | &ubi->device_mutex | |
| TYPE_LOCK | (struct ubi_device)->fm_eba_sem | ||
| TYPE_LOCK | (struct ubi_device)->fm_protect | ||
| TYPE_LOCK | (struct ubi_device)->work_sem |
287600322642ac2d scan_pool() -> ubi_alloc_vid_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ubi | 4096-ptr_max |
| PARAM_VALUE | 0 | ubi->ec_hdr_alsize | 0-4000000 |
| PARAM_VALUE | 1 | gfp_flags | 3264 |
| DATA_SOURCE | 0 | ubi | $0 |
287600322642ac2d ubi_scan_fastmap() -> ubi_alloc_vid_buf()
| 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->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->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_mem->defpool.vaddr | 0 |
| PARAM_VALUE | 0 | ubi->dev.dma_io_tlb_mem->dyn_alloc.data.counter | 9007199250546704 |
| PARAM_VALUE | 0 | ubi->dev.dma_io_tlb_mem->dyn_alloc.entry.prev | 1473117533515866344 |
| PARAM_VALUE | 0 | ubi->dev.dma_io_tlb_mem->dyn_alloc.func | 1583282886040592384 |
| PARAM_VALUE | 0 | ubi->dev.dma_io_tlb_mem->pools.prev | 1473117533515866320 |
| 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.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->fm_protect.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | ubi->fm_protect.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | ubi->fm_protect.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ubi->fm_protect.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ubi->fm_protect.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ubi->fm_protect.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | ubi->fm_protect.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | ubi->fm_size | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 1 | gfp_flags | 3264 |
| 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->mtd | s32min,(-1),1-s32max |
| BUF_SIZE | 0 | ubi->peb_buf | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | ubi->fm_size | 1 |
| CAPPED_DATA | 0 | ubi->mtd | 1 |
| CAPPED_DATA | 0 | &ubi->fm_protect | 1 |
| DATA_SOURCE | 0 | ubi | $0 |
| STR_LEN | 0 | ubi->dev.parent->driver_data | (-1) |
| STR_LEN | 0 | ubi->mtd | (-1),18 |
| STR_LEN | 0 | ubi->mtd->dev.driver_data | (-1) |
| STR_LEN | 0 | ubi->mtd->name | (-1) |
| NOSPEC | 0 | ubi->vid_hdr_offset | |
| MEM_ZERO | 0 | ubi->fm_buf | |
| MEM_ZERO | 0 | &ubi->dev.power.suspend_timer | |
| 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->mtd->erasesize | |
| NO_OVERFLOW_SIMPLE | 0 | ubi->peb_size | |
| LOCK2 | global &ubi_devices_mutex | ||
| LOCK2 | 0 | &ubi->fm_protect | |
| HALF_LOCKED2 | global &mtd_table_mutex | ||
| TYPE_LOCK | (struct ubi_device)->fm_protect |
drivers/mtd/ubi/vtbl.c create_vtbl() -> ubi_alloc_vid_buf()
| 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->list.prev->next | 5159360019465732096 |
| 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->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_mem->debugfs | 0 |
| PARAM_VALUE | 0 | ubi->dev.dma_io_tlb_mem->defpool.vaddr | 0 |
| PARAM_VALUE | 0 | ubi->dev.dma_io_tlb_mem->dyn_alloc.data.counter | 9007199250546704 |
| PARAM_VALUE | 0 | ubi->dev.dma_io_tlb_mem->dyn_alloc.entry.prev | 1473117533515866344 |
| PARAM_VALUE | 0 | ubi->dev.dma_io_tlb_mem->dyn_alloc.func | 1583282886040592384 |
| PARAM_VALUE | 0 | ubi->dev.dma_io_tlb_mem->pools.prev | 1473117533515866320 |
| 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,2344685749105987584,4089303432171261952,6274457576243130368,8186263191508828160 |
| PARAM_VALUE | 0 | ubi->dev.kobj.ktype->get_ownership | 0,754295003445952512,1770093955000758272,2031763320308453376,9073032014207823872,9089295143347961856 |
| PARAM_VALUE | 0 | ubi->dev.kobj.ktype->namespace | 0,4096-ptr_max |
| 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->fm_eba_sem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ubi->fm_protect.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | gfp_flags | 3264 |
| DATA_SOURCE | 0 | ubi | $0 |
| STR_LEN | 0 | ubi->dev.parent->driver_data | (-1) |
| STR_LEN | 0 | ubi->mtd | (-1) |
| STR_LEN | 0 | ubi->mtd->dev.driver_data | (-1) |
| STR_LEN | 0 | ubi->mtd->name | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | *ubi->peb_buf | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | ubi->mtd->erasesize | |
| NO_OVERFLOW_SIMPLE | 0 | ubi->peb_size | |
| LOCK2 | global &ubi_devices_mutex | ||
| HALF_LOCKED2 | global &mtd_table_mutex |
drivers/mtd/ubi/io.c self_check_peb_vid_hdr() -> ubi_alloc_vid_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ubi | 4096-ptr_max |
| PARAM_VALUE | 0 | ubi->bgt_thread->sched_class->set_cpus_allowed | 0,1927640468783054848,5094656021401329664,7127180339355369472 |
| PARAM_VALUE | 0 | ubi->dbg.chk_io | 1 |
| PARAM_VALUE | 0 | ubi->dev.dma_io_tlb_mem->phys_limit | 0-s64max |
| PARAM_VALUE | 0 | ubi->dev.kobj.parent->sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | ubi->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | ubi->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | ubi->fm_eba_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ubi->fm_eba_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ubi->fm_protect.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ubi->fm_protect.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ubi->ro_mode | 0 |
| PARAM_VALUE | 0 | ubi->work_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ubi->work_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | gfp_flags | 3136 |
| BUF_SIZE | 0 | ubi | (-1),128 |
| BUF_SIZE | 0 | ubi | (-1),128 |
| BUF_SIZE | 0 | ubi->lookuptbl | (-1),8 |
| CAPPED_DATA | 0 | ubi->leb_start | 1 |
| DATA_SOURCE | 0 | ubi | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | *ubi->peb_buf | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | ubi->bgt_thread->dl.pi_se->dl_runtime | |
| NO_OVERFLOW_SIMPLE | 0 | ubi->cdev.count | |
| NO_OVERFLOW_SIMPLE | 0 | ubi->ec_hdr_alsize | |
| NO_OVERFLOW_SIMPLE | 0 | ubi->fm_size | |
| NO_OVERFLOW_SIMPLE | 0 | ubi->leb_size | |
| NO_OVERFLOW_SIMPLE | 0 | ubi->mtd->erasesize | |
| NO_OVERFLOW_SIMPLE | 0 | ubi->peb_count | |
| NO_OVERFLOW_SIMPLE | 0 | ubi->peb_size | |
| NO_OVERFLOW_SIMPLE | 0 | ubi->vid_hdr_aloffset | |
| NO_OVERFLOW_SIMPLE | 0 | ubi->vid_hdr_alsize | |
| NO_OVERFLOW_SIMPLE | 0 | ubi->vtbl_size | |
| HALF_LOCKED2 | &le->mutex | ||
| HALF_LOCKED2 | global &ubi_devices_mutex | ||
| HALF_LOCKED2 | 0 | &ubi->buf_mutex | |
| HALF_LOCKED2 | 0 | &ubi->device_mutex | |
| HALF_LOCKED2 | 0 | &ubi->fm_eba_sem | |
| HALF_LOCKED2 | 0 | &ubi->fm_protect | |
| HALF_LOCKED2 | 0 | &ubi->move_mutex | |
| HALF_LOCKED2 | 0 | &ubi->work_sem |
drivers/mtd/ubi/wl.c wear_leveling_worker() -> ubi_alloc_vid_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ubi | 4096-ptr_max |
| PARAM_VALUE | 0 | ubi->dev.dma_io_tlb_mem->debugfs | 0-s64max |
| PARAM_VALUE | 0 | ubi->dev.kobj.parent->sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | ubi->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | ubi->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | ubi->fm_eba_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ubi->fm_eba_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ubi->fm_protect.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ubi->fm_protect.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ubi->wl_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ubi->work_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ubi->work_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | gfp_flags | 3136 |
| BUF_SIZE | 0 | ubi | (-1),128 |
| BUF_SIZE | 0 | ubi | (-1),128 |
| DATA_SOURCE | 0 | ubi | $0 |
| STR_LEN | 0 | ubi->dev.parent->driver_data | (-1) |
| STR_LEN | 0 | ubi->mtd | (-1) |
| STR_LEN | 0 | ubi->mtd->dev.driver_data | (-1) |
| STR_LEN | 0 | ubi->mtd->name | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | ubi->bgt_thread->dl.pi_se->dl_runtime | |
| NO_OVERFLOW_SIMPLE | 0 | ubi->cdev.count | |
| NO_OVERFLOW_SIMPLE | 0 | ubi->ec_hdr_alsize | |
| NO_OVERFLOW_SIMPLE | 0 | ubi->leb_size | |
| NO_OVERFLOW_SIMPLE | 0 | ubi->mtd->erasesize | |
| NO_OVERFLOW_SIMPLE | 0 | ubi->peb_count | |
| NO_OVERFLOW_SIMPLE | 0 | ubi->peb_size | |
| NO_OVERFLOW_SIMPLE | 0 | ubi->vid_hdr_aloffset | |
| NO_OVERFLOW_SIMPLE | 0 | ubi->vid_hdr_alsize | |
| NO_OVERFLOW_SIMPLE | 0 | ubi->vtbl_size | |
| LOCK2 | 0 | &ubi->work_sem | |
| HALF_LOCKED2 | 0 | &ubi->device_mutex | |
| TYPE_LOCK | (struct ubi_device)->work_sem |
drivers/mtd/ubi/eba.c check_mapping() -> ubi_alloc_vid_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ubi | 4096-ptr_max |
| PARAM_VALUE | 0 | ubi->fast_attach | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | ubi->fm_eba_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ubi->fm_eba_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ubi->fm_protect.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ubi->fm_protect.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ubi->ltree.rb_node | 1-u64max |
| PARAM_VALUE | 0 | ubi->ltree_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ubi->work_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ubi->work_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | gfp_flags | 3136 |
| DATA_SOURCE | 0 | ubi | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | *ubi->peb_buf | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | ubi->bgt_thread->dl.pi_se->dl_runtime | |
| NO_OVERFLOW_SIMPLE | 0 | ubi->ec_hdr_alsize | |
| NO_OVERFLOW_SIMPLE | 0 | ubi->fm_size | |
| NO_OVERFLOW_SIMPLE | 0 | ubi->leb_size | |
| NO_OVERFLOW_SIMPLE | 0 | ubi->mtd->erasesize | |
| NO_OVERFLOW_SIMPLE | 0 | ubi->peb_count | |
| NO_OVERFLOW_SIMPLE | 0 | ubi->peb_size | |
| NO_OVERFLOW_SIMPLE | 0 | ubi->vid_hdr_alsize | |
| NO_OVERFLOW_SIMPLE | 0 | ubi->vtbl_size | |
| LOCK2 | &le->mutex | ||
| HALF_LOCKED2 | 0 | &ubi->ckvol_mutex | |
| HALF_LOCKED2 | 0 | &ubi->device_mutex |
drivers/mtd/ubi/eba.c recover_peb() -> ubi_alloc_vid_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ubi | 4096-ptr_max |
| PARAM_VALUE | 0 | ubi->bad_allowed | 1 |
| PARAM_VALUE | 0 | ubi->fm_eba_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ubi->fm_eba_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ubi->fm_protect.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ubi->fm_protect.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ubi->ltree.rb_node | 1-u64max |
| PARAM_VALUE | 0 | ubi->ltree_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ubi->mtd->parent | 0 |
| PARAM_VALUE | 0 | ubi->volumes | 4096-ptr_max |
| PARAM_VALUE | 0 | ubi->work_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ubi->work_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | gfp_flags | 3136 |
| DATA_SOURCE | 0 | ubi | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | *ubi->peb_buf | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | ubi->bgt_thread->dl.pi_se->dl_runtime | |
| NO_OVERFLOW_SIMPLE | 0 | ubi->ec_hdr_alsize | |
| NO_OVERFLOW_SIMPLE | 0 | ubi->fm_size | |
| NO_OVERFLOW_SIMPLE | 0 | ubi->leb_size | |
| NO_OVERFLOW_SIMPLE | 0 | ubi->mtd->erasesize | |
| NO_OVERFLOW_SIMPLE | 0 | ubi->peb_count | |
| NO_OVERFLOW_SIMPLE | 0 | ubi->peb_size | |
| NO_OVERFLOW_SIMPLE | 0 | ubi->vid_hdr_alsize | |
| NO_OVERFLOW_SIMPLE | 0 | ubi->vtbl_size | |
| LOCK2 | &le->mutex | ||
| HALF_LOCKED2 | 0 | &ubi->device_mutex |
drivers/mtd/ubi/eba.c ubi_eba_atomic_leb_change() -> ubi_alloc_vid_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ubi | 4096-ptr_max |
| PARAM_VALUE | 0 | ubi->dev.dma_io_tlb_mem->debugfs | 0-s64max |
| PARAM_VALUE | 0 | ubi->fm_eba_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ubi->fm_eba_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ubi->fm_protect.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ubi->fm_protect.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ubi->ro_mode | 0 |
| PARAM_VALUE | 0 | ubi->work_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ubi->work_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | gfp_flags | 3136 |
| DATA_SOURCE | 0 | ubi | $0 |
| STR_LEN | 0 | ubi->dev.parent->driver_data | (-1) |
| STR_LEN | 0 | ubi->mtd | (-1) |
| STR_LEN | 0 | ubi->mtd->dev.driver_data | (-1) |
| STR_LEN | 0 | ubi->mtd->name | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | ubi->bgt_thread->dl.pi_se->dl_runtime | |
| NO_OVERFLOW_SIMPLE | 0 | ubi->ec_hdr_alsize | |
| NO_OVERFLOW_SIMPLE | 0 | ubi->mtd->erasesize | |
| NO_OVERFLOW_SIMPLE | 0 | ubi->peb_count | |
| NO_OVERFLOW_SIMPLE | 0 | ubi->peb_size | |
| NO_OVERFLOW_SIMPLE | 0 | ubi->vid_hdr_aloffset | |
| NO_OVERFLOW_SIMPLE | 0 | ubi->vtbl_size | |
| HALF_LOCKED2 | 0 | &ubi->device_mutex |
drivers/mtd/ubi/eba.c ubi_eba_read_leb() -> ubi_alloc_vid_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ubi | 4096-ptr_max |
| PARAM_VALUE | 0 | ubi->fm_eba_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ubi->fm_eba_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ubi->fm_protect.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ubi->fm_protect.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ubi->ltree.rb_node | 1-u64max |
| PARAM_VALUE | 0 | ubi->ltree_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ubi->work_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ubi->work_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | gfp_flags | 3136 |
| DATA_SOURCE | 0 | ubi | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | ubi->bgt_thread->dl.pi_se->dl_runtime | |
| LOCK2 | &le->mutex | ||
| HALF_LOCKED2 | 0 | &ubi->ckvol_mutex |
drivers/mtd/ubi/eba.c ubi_eba_write_leb() -> ubi_alloc_vid_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ubi | 4096-ptr_max |
| PARAM_VALUE | 0 | ubi->dev.dma_io_tlb_mem->can_grow | 0-1 |
| PARAM_VALUE | 0 | ubi->dev.dma_io_tlb_mem->debugfs | 0-s64max |
| PARAM_VALUE | 0 | ubi->dev.dma_io_tlb_mem->for_alloc | 0-1 |
| PARAM_VALUE | 0 | ubi->dev.dma_io_tlb_mem->force_bounce | 0-1 |
| PARAM_VALUE | 0 | ubi->dev.dma_io_tlb_mem->nslabs | 0-s64max |
| PARAM_VALUE | 0 | ubi->dev.dma_io_tlb_mem->phys_limit | 0-s64max |
| PARAM_VALUE | 0 | ubi->fm_eba_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ubi->fm_eba_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ubi->fm_protect.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ubi->fm_protect.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ubi->ltree.rb_node | 1-u64max |
| PARAM_VALUE | 0 | ubi->ltree_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ubi->work_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ubi->work_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | gfp_flags | 3136 |
| DATA_SOURCE | 0 | ubi | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | *ubi->peb_buf | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | ubi->bgt_thread->dl.pi_se->dl_runtime | |
| NO_OVERFLOW_SIMPLE | 0 | ubi->mtd->erasesize | |
| NO_OVERFLOW_SIMPLE | 0 | ubi->peb_count | |
| NO_OVERFLOW_SIMPLE | 0 | ubi->peb_size | |
| NO_OVERFLOW_SIMPLE | 0 | ubi->vid_hdr_aloffset | |
| NO_OVERFLOW_SIMPLE | 0 | ubi->vid_hdr_alsize | |
| LOCK2 | &le->mutex | ||
| HALF_LOCKED2 | 0 | &ubi->device_mutex |
drivers/mtd/ubi/eba.c ubi_eba_write_leb_st() -> ubi_alloc_vid_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ubi | 4096-ptr_max |
| PARAM_VALUE | 0 | ubi->fm_eba_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ubi->fm_eba_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ubi->fm_protect.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ubi->fm_protect.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ubi->ro_mode | 0 |
| PARAM_VALUE | 0 | ubi->work_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ubi->work_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | gfp_flags | 3136 |
| DATA_SOURCE | 0 | ubi | $0 |
| NO_OVERFLOW_SIMPLE | 0 | ubi->bgt_thread->dl.pi_se->dl_runtime |
drivers/mtd/ubi/attach.c scan_all() -> ubi_alloc_vid_buf()
| 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->list.prev->next | 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->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_mem->dyn_alloc.data.counter | 9007199250546704 |
| PARAM_VALUE | 0 | ubi->dev.dma_io_tlb_mem->dyn_alloc.entry.prev | 1473117533515866344 |
| PARAM_VALUE | 0 | ubi->dev.dma_io_tlb_mem->dyn_alloc.func | 1583282886040592384 |
| PARAM_VALUE | 0 | ubi->dev.dma_io_tlb_mem->pools.prev | 1473117533515866320 |
| 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.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->work_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ubi->work_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | gfp_flags | 3264 |
| BUF_SIZE | 0 | ubi | 7232 |
| BUF_SIZE | 0 | ubi | 7232 |
| 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->mtd | s32min,(-1),1-s32max |
| BUF_SIZE | 0 | ubi->peb_buf | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | ubi | $0 |
| 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 |
| USER_DATA | 0 | *ubi->peb_buf | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | ubi->mtd->erasesize | |
| NO_OVERFLOW_SIMPLE | 0 | ubi->peb_count | |
| NO_OVERFLOW_SIMPLE | 0 | ubi->peb_size | |
| LOCK2 | global &ubi_devices_mutex | ||
| HALF_LOCKED2 | global &mtd_table_mutex |
drivers/mtd/ubi/attach.c scan_fast() -> ubi_alloc_vid_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ubi | 4096-ptr_max |
| PARAM_VALUE | 0 | ubi->autoresize_vol_id | (-1) |
| PARAM_VALUE | 0 | ubi->bad_allowed | 1 |
| PARAM_VALUE | 0 | ubi->buf_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ubi->buf_mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | ubi->buf_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ubi->buf_mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | ubi->buf_mutex.owner.counter | 0 |
| PARAM_VALUE | 0 | ubi->ckvol_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ubi->ckvol_mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | ubi->ckvol_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ubi->ckvol_mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | ubi->ckvol_mutex.owner.counter | 0 |
| PARAM_VALUE | 0 | ubi->dev.class | 2254474035406569472 |
| PARAM_VALUE | 0 | ubi->dev.devres_head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ubi->dev.devres_head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ubi->dev.devres_head.prev | 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_mem | 1473117533515866112 |
| PARAM_VALUE | 0 | ubi->dev.dma_io_tlb_mem->dyn_alloc.data.counter | 9007199250546704 |
| PARAM_VALUE | 0 | ubi->dev.dma_io_tlb_mem->dyn_alloc.entry.prev | 1473117533515866344 |
| PARAM_VALUE | 0 | ubi->dev.dma_io_tlb_mem->dyn_alloc.func | 1583282886040592384 |
| PARAM_VALUE | 0 | ubi->dev.dma_io_tlb_mem->pools.prev | 1473117533515866320 |
| PARAM_VALUE | 0 | ubi->dev.dma_io_tlb_pools.next | 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 | 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 | 4096-ptr_max |
| PARAM_VALUE | 0 | ubi->dev.dma_pools.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ubi->dev.dma_pools.prev | 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.dma_uses_io_tlb | 0 |
| PARAM_VALUE | 0 | ubi->dev.flags | 4096-ptr_max |
| PARAM_VALUE | 0 | ubi->dev.groups | 7815334371045072896 |
| PARAM_VALUE | 0 | ubi->dev.kobj.kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | ubi->dev.kobj.kset | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ubi->dev.kobj.ktype | 5399513539053756416 |
| PARAM_VALUE | 0 | ubi->dev.kobj.state_add_uevent_sent | 0 |
| PARAM_VALUE | 0 | ubi->dev.kobj.state_in_sysfs | 0 |
| PARAM_VALUE | 0 | ubi->dev.kobj.state_initialized | 1 |
| PARAM_VALUE | 0 | ubi->dev.kobj.state_remove_uevent_sent | 0 |
| PARAM_VALUE | 0 | ubi->dev.links.consumers.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ubi->dev.links.consumers.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ubi->dev.links.consumers.prev | 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 | 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 | 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.status | 0 |
| PARAM_VALUE | 0 | ubi->dev.links.suppliers.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ubi->dev.links.suppliers.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ubi->dev.links.suppliers.prev | 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.numa_node | (-1) |
| PARAM_VALUE | 0 | ubi->dev.parent | 4096-ptr_max |
| PARAM_VALUE | 0 | ubi->dev.power.child_count.counter | 0 |
| PARAM_VALUE | 0 | ubi->dev.power.deferred_resume | 0 |
| PARAM_VALUE | 0 | ubi->dev.power.disable_depth | 1 |
| PARAM_VALUE | 0 | ubi->dev.power.early_init | 1 |
| PARAM_VALUE | 0 | ubi->dev.power.entry.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ubi->dev.power.entry.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ubi->dev.power.entry.prev | 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.idle_notification | 0 |
| PARAM_VALUE | 0 | ubi->dev.power.ignore_children | 0 |
| PARAM_VALUE | 0 | ubi->dev.power.is_late_suspended | 0 |
| PARAM_VALUE | 0 | ubi->dev.power.is_noirq_suspended | 0 |
| PARAM_VALUE | 0 | ubi->dev.power.is_prepared | 0 |
| PARAM_VALUE | 0 | ubi->dev.power.is_suspended | 0 |
| PARAM_VALUE | 0 | ubi->dev.power.last_status | (-1) |
| PARAM_VALUE | 0 | ubi->dev.power.needs_force_resume | 0 |
| PARAM_VALUE | 0 | ubi->dev.power.qos | 0 |
| PARAM_VALUE | 0 | ubi->dev.power.request | 0 |
| PARAM_VALUE | 0 | ubi->dev.power.request_pending | 0 |
| PARAM_VALUE | 0 | ubi->dev.power.runtime_auto | 1 |
| PARAM_VALUE | 0 | ubi->dev.power.runtime_error | 0 |
| PARAM_VALUE | 0 | ubi->dev.power.runtime_status | 2 |
| PARAM_VALUE | 0 | ubi->dev.power.timer_expires | 0 |
| PARAM_VALUE | 0 | ubi->dev.power.usage_count.counter | 0 |
| PARAM_VALUE | 0 | ubi->dev.power.wait_queue.head.next | 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 | 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->dev.release | 3697143440114700288 |
| PARAM_VALUE | 0 | ubi->device_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ubi->device_mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | ubi->device_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ubi->device_mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | ubi->device_mutex.owner.counter | 0 |
| PARAM_VALUE | 0 | ubi->ec_hdr_alsize | 0-4000000 |
| PARAM_VALUE | 0 | ubi->fm_buf | 1-u64max |
| PARAM_VALUE | 0 | ubi->fm_disabled | 0-1 |
| PARAM_VALUE | 0 | ubi->fm_eba_sem.count.counter | 0 |
| PARAM_VALUE | 0 | ubi->fm_eba_sem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ubi->fm_eba_sem.first_waiter | 0 |
| PARAM_VALUE | 0 | ubi->fm_eba_sem.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ubi->fm_eba_sem.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | ubi->fm_eba_sem.owner.counter | 0 |
| PARAM_VALUE | 0 | ubi->fm_pool.max_size | 8-256 |
| PARAM_VALUE | 0 | ubi->fm_pool.size | 0 |
| PARAM_VALUE | 0 | ubi->fm_pool.used | 0 |
| PARAM_VALUE | 0 | ubi->fm_pool_rsv_cnt | 0,8-256 |
| PARAM_VALUE | 0 | ubi->fm_protect.count.counter | 0 |
| PARAM_VALUE | 0 | ubi->fm_protect.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ubi->fm_protect.first_waiter | 0 |
| PARAM_VALUE | 0 | ubi->fm_protect.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ubi->fm_protect.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | ubi->fm_protect.owner.counter | 0 |
| PARAM_VALUE | 0 | ubi->fm_wl_pool.max_size | 4-128 |
| PARAM_VALUE | 0 | ubi->fm_wl_pool.size | 0 |
| PARAM_VALUE | 0 | ubi->fm_wl_pool.used | 0 |
| PARAM_VALUE | 0 | ubi->leb_start | 128-s32max |
| PARAM_VALUE | 0 | ubi->max_erroneous | 16-s32max |
| PARAM_VALUE | 0 | ubi->mtd | 4096-ptr_max |
| PARAM_VALUE | 0 | ubi->mtd->parent | 0 |
| PARAM_VALUE | 0 | ubi->nor_flash | 1 |
| PARAM_VALUE | 0 | ubi->peb_buf | 1-u64max |
| PARAM_VALUE | 0 | ubi->peb_size | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | ubi->ro_mode | 1 |
| PARAM_VALUE | 0 | ubi->ubi_num | s32min-(-2),0-31 |
| PARAM_VALUE | 0 | ubi->vid_hdr_alsize | s32min-(-1),64-s32max |
| PARAM_VALUE | 0 | ubi->vid_hdr_offset | s32min-(-1),1-s32max |
| PARAM_VALUE | 1 | gfp_flags | 3264 |
| BUF_SIZE | 0 | ubi | 7232 |
| BUF_SIZE | 0 | ubi | 7232 |
| BUF_SIZE | 0 | ubi->dev.class | 96 |
| BUF_SIZE | 0 | ubi->dev.groups | 16 |
| BUF_SIZE | 0 | ubi->dev.parent | 1616 |
| BUF_SIZE | 0 | ubi->mtd | s32min,(-1),1-s32max |
| BUF_SIZE | 0 | ubi->peb_buf | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | ubi->fm_pool.max_size | 1 |
| CAPPED_DATA | 0 | ubi->fm_pool_rsv_cnt | 1 |
| CAPPED_DATA | 0 | ubi->fm_wl_pool.max_size | 1 |
| DATA_SOURCE | 0 | ubi | $0 |
| FUZZY_MAX | 0 | ubi->fm_disabled | 1 |
| FUZZY_MAX | 0 | ubi->fm_pool_rsv_cnt | 0 |
| HARD_MAX | 0 | ubi->fm_disabled | 1 |
| 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 |
| NO_OVERFLOW_SIMPLE | 0 | ubi->mtd->erasesize | |
| NO_OVERFLOW_SIMPLE | 0 | ubi->peb_size | |
| LOCK2 | global &ubi_devices_mutex | ||
| HALF_LOCKED2 | global &mtd_table_mutex |
drivers/mtd/ubi/attach.c ubi_compare_lebs() -> ubi_alloc_vid_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ubi->dev.dma_io_tlb_mem->can_grow | 0-1 |
| PARAM_VALUE | 0 | ubi->dev.dma_io_tlb_mem->debugfs | 0-s64max |
| PARAM_VALUE | 0 | ubi->dev.dma_io_tlb_mem->for_alloc | 0-1 |
| PARAM_VALUE | 0 | ubi->dev.dma_io_tlb_mem->force_bounce | 0-1 |
| PARAM_VALUE | 0 | ubi->dev.dma_io_tlb_mem->nslabs | 0-s64max |
| PARAM_VALUE | 0 | ubi->dev.dma_io_tlb_mem->phys_limit | 0-s64max |
| PARAM_VALUE | 0 | ubi->work_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ubi->work_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | gfp_flags | 3264 |
| 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->mtd | s32min,(-1),1-s32max |
| BUF_SIZE | 0 | ubi->peb_buf | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | ubi | $0 |
| 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 |
| USER_DATA | 0 | *ubi->peb_buf | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | ubi->bgt_thread->dl.pi_se->dl_runtime | |
| NO_OVERFLOW_SIMPLE | 0 | ubi->ec_hdr_alsize | |
| NO_OVERFLOW_SIMPLE | 0 | ubi->fm_size | |
| NO_OVERFLOW_SIMPLE | 0 | ubi->mtd->erasesize | |
| NO_OVERFLOW_SIMPLE | 0 | ubi->peb_count | |
| NO_OVERFLOW_SIMPLE | 0 | ubi->peb_size | |
| NO_OVERFLOW_SIMPLE | 0 | ubi->vtbl_size | |
| HALF_LOCKED2 | global &ubi_devices_mutex |