Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/memstick/core/ms_block.c msb_write_block() -> msb_verify_block()

Type Parameter Key Value
PARAM_VALUE 0 msb 4096-ptr_max
PARAM_VALUE 0 msb->block_count 1-s32max
PARAM_VALUE 0 msb->boot_block_locations 4096-ptr_max
PARAM_VALUE 0 msb->card 4096-ptr_max
PARAM_VALUE 0 msb->card->current_mrq.data_dir 0
PARAM_VALUE 0 msb->card->current_mrq.data_len 0
PARAM_VALUE 0 msb->card->current_mrq.error 0
PARAM_VALUE 0 msb->card->current_mrq.int_reg 0
PARAM_VALUE 0 msb->card->current_mrq.long_data 0
PARAM_VALUE 0 msb->card->current_mrq.need_card_int 0
PARAM_VALUE 0 msb->card->current_mrq.sg.dma_address 0
PARAM_VALUE 0 msb->card->current_mrq.sg.dma_flags 0
PARAM_VALUE 0 msb->card->current_mrq.sg.dma_length 0
PARAM_VALUE 0 msb->card->current_mrq.sg.length 0
PARAM_VALUE 0 msb->card->current_mrq.sg.offset 0
PARAM_VALUE 0 msb->card->current_mrq.sg.page_link 0
PARAM_VALUE 0 msb->card->current_mrq.tpc 0
PARAM_VALUE 0 msb->card->host 4096-ptr_max
PARAM_VALUE 0 msb->card->host->private->io_thread->blocked_on 0
PARAM_VALUE 0 msb->card->host->private->io_thread->delays->lock.dep_map->name 0-255
PARAM_VALUE 0 msb->card->host->private->io_thread->dl.dl_defer 0-1
PARAM_VALUE 0 msb->card->host->private->io_thread->dl.dl_non_contending 0-1
PARAM_VALUE 0 msb->card->host->private->io_thread->dl.dl_overrun 0-1
PARAM_VALUE 0 msb->card->host->private->io_thread->dl.dl_server 0-1
PARAM_VALUE 0 msb->card->host->private->io_thread->dl.dl_throttled 0-1
PARAM_VALUE 0 msb->card->host->private->io_thread->dl.dl_timer.base->cpu_base->expires_next 0-s64max
PARAM_VALUE 0 msb->card->host->private->io_thread->dl.dl_timer.entry.pprev 0
PARAM_VALUE 0 msb->card->host->private->io_thread->dl.dl_timer.is_hard 0-1
PARAM_VALUE 0 msb->card->host->private->io_thread->dl.dl_timer.is_lazy 0-1
PARAM_VALUE 0 msb->card->host->private->io_thread->dl.dl_timer.is_queued 0-1
PARAM_VALUE 0 msb->card->host->private->io_thread->dl.dl_timer.is_soft 0-1
PARAM_VALUE 0 msb->card->host->private->io_thread->dl.flags 0-4294967295
PARAM_VALUE 0 msb->card->host->private->io_thread->dl.rb_node.__rb_parent_color 1
PARAM_VALUE 0 msb->card->host->private->io_thread->is_blocked 0
PARAM_VALUE 0 msb->card->host->private->io_thread->mm->mm_cid.irq_work.node.a_flags.counter 0-s32max
PARAM_VALUE 0 msb->card->host->private->io_thread->mm->mm_cid.max_cids 0-s32max
PARAM_VALUE 0 msb->card->host->private->io_thread->mm->mm_cid.pcpu_thrs 1-1073741823
PARAM_VALUE 0 msb->card->host->private->io_thread->mm->mm_cid.update_deferred 1
PARAM_VALUE 0 msb->card->host->private->io_thread->on_rq 0-1,3-255
PARAM_VALUE 0 msb->card->host->private->io_thread->rseq.event.ids_changed 1
PARAM_VALUE 0 msb->card->host->private->io_thread->rt.timeout 0
PARAM_VALUE 0 msb->card->host->private->io_thread->saved_state 0
PARAM_VALUE 0 msb->card->host->private->io_thread->sched_task_group->autogroup 0
PARAM_VALUE 0 msb->card->host->private->io_thread->sched_task_group->cfs_rq 0
PARAM_VALUE 0 msb->card->host->private->io_thread->sched_task_group->rt_rq 0
PARAM_VALUE 0 msb->card->host->private->io_thread->sched_task_group->rt_se 0
PARAM_VALUE 0 msb->card->host->private->io_thread->sched_task_group->shares 0
PARAM_VALUE 0 msb->card->host->private->io_thread->se.cfs_rq->propagate 1
PARAM_VALUE 0 msb->card->host->private->io_thread->se.cfs_rq->removed.lock.owner (-1)
PARAM_VALUE 0 msb->card->host->private->io_thread->se.cfs_rq->removed.lock.owner_cpu 4294967295
PARAM_VALUE 0 msb->card->host->private->io_thread->se.cfs_rq->rq->curr->mm->sc_stat.cpu (-1)
PARAM_VALUE 0 msb->card->host->private->io_thread->se.cfs_rq->rq->curr->pref_llc_queued 0-1
PARAM_VALUE 0 msb->card->host->private->io_thread->se.cfs_rq->rq->donor->__state 0,512
PARAM_VALUE 0 msb->card->host->private->io_thread->se.cfs_rq->rq->donor->rseq.event.ids_changed 1
PARAM_VALUE 0 msb->card->host->private->io_thread->se.cfs_rq->rq->donor->sched_migrated 1
PARAM_VALUE 0 msb->card->host->private->io_thread->se.cfs_rq->rq->donor->wake_cpu 0-s32max
PARAM_VALUE 0 msb->card->host->private->io_thread->se.my_q->prop_runnable_sum 0
PARAM_VALUE 0 msb->card->host->private->io_thread->se.my_q->propagate 0
PARAM_VALUE 0 msb->card->host->private->io_thread->se.rel_deadline 0
PARAM_VALUE 0 msb->card->host->private->io_thread->wake_cpu 0-s32max
PARAM_VALUE 0 msb->card->host->private->io_thread_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 msb->card->host->private->notify.next 0
PARAM_VALUE 0 msb->card->mrq_complete.done 0-4294967293,u32max
PARAM_VALUE 0 msb->card->mrq_complete.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 msb->card->mrq_complete.wait.lock.owner (-1)
PARAM_VALUE 0 msb->card->mrq_complete.wait.lock.owner_cpu u32max
PARAM_VALUE 0 msb->card->mrq_complete.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 msb->card->mrq_complete.wait.task_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 msb->card->next_request 315648935600816128,1694252789692252160,3823441835176067072,7732220839079567360,8520565600532500480
PARAM_VALUE 0 msb->current_page 0
PARAM_VALUE 0 msb->current_sg 4096-ptr_max
PARAM_VALUE 0 msb->exit_error 0
PARAM_VALUE 0 msb->int_polling 0
PARAM_VALUE 0 msb->lba_to_pba_table 4096-ptr_max
PARAM_VALUE 0 msb->logical_block_count s32min-(-1),1-s32max
PARAM_VALUE 0 msb->need_flush_cache 0
PARAM_VALUE 0 msb->q_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 msb->read_only 0
PARAM_VALUE 0 msb->regs.extra_data.management_flag 255
PARAM_VALUE 0 msb->regs.extra_data.overwrite_flag 248
PARAM_VALUE 0 msb->regs.param.block_address 0-64
PARAM_VALUE 0 msb->regs.param.cp 0
PARAM_VALUE 0 msb->regs.param.page_address 0
PARAM_VALUE 0 msb->state 0
PARAM_VALUE 1 pba 0-64
PARAM_VALUE 2 orig_sg 4096-ptr_max
BUF_SIZE 0 msb->current_sg (-1),1056
BUF_SIZE 2 orig_sg (-1),1056
BUF_SIZE 2 orig_sg (-1),1056
CAPPED_DATA 0 msb->current_sg_offset 1
CAPPED_DATA 0 msb->page_size 1
CAPPED_DATA 0 msb->regs.extra_data.logical_address 1
CAPPED_DATA 0 msb->regs.param.block_address 1
CAPPED_DATA 1 pba 1
CAPPED_DATA 3 offset 1
DATA_SOURCE 0 msb $0
DATA_SOURCE 1 pba $1
DATA_SOURCE 2 orig_sg $3
DATA_SOURCE 3 offset $4
PARAM_COMPARE 0 msb->block_count > $1
PARAM_COMPARE 1 pba < $0->block_count
MEM_ZERO 0 &msb->card->current_mrq
HALF_LOCKED2 &pool->lock