Documented in 1 files:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/ata/libata-sff.c ata_sff_hsm_move() -> ata_sff_busy_wait()

Type Parameter Key Value
PARAM_VALUE 0 ap 4096-ptr_max
PARAM_VALUE 0 ap->ops 4096-ptr_max
PARAM_VALUE 0 ap->ops->sff_check_status 0,4096-ptr_max
PARAM_VALUE 0 ap->ops->sff_irq_clear 0,4096-ptr_max,(-2)
PARAM_VALUE 1 bits 136
PARAM_VALUE 2 max 10
DATA_SOURCE 0 ap $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &host->lock
HALF_LOCKED2 irq
HALF_LOCKED2 0 ap->lock

drivers/ata/libata-sff.c ata_sff_pio_task() -> ata_sff_busy_wait()

Type Parameter Key Value
PARAM_VALUE 0 ap 4096-ptr_max
PARAM_VALUE 0 ap->lock 4096-ptr_max
PARAM_VALUE 0 ap->lock->rlock.dep_map->name 0-255
PARAM_VALUE 0 ap->ops->sff_check_status 0,4096-ptr_max
PARAM_VALUE 0 ap->sff_pio_task_link 0,4096-ptr_max
PARAM_VALUE 0 ap->sff_pio_task_link->active_tag 0-32
PARAM_VALUE 1 bits 128,136
PARAM_VALUE 2 max 5
FUZZY_MAX 1 bits 128
BIT_INFO 1 bits 0x80,0x88
PREEMPT_ADD <- disables preempt
LOCK2 irq
LOCK2 0 ap->lock
HALF_LOCKED2 &pool->lock

drivers/ata/libata-sff.c ata_sff_pio_task() -> ata_sff_busy_wait()

Type Parameter Key Value
PARAM_VALUE 0 ap 4096-ptr_max
PARAM_VALUE 0 ap->lock 4096-ptr_max
PARAM_VALUE 0 ap->lock->rlock.dep_map->name 0-255
PARAM_VALUE 0 ap->ops 4096-ptr_max
PARAM_VALUE 0 ap->ops->sff_check_status 4096-ptr_max
PARAM_VALUE 0 ap->sff_pio_task_link 0,4096-ptr_max
PARAM_VALUE 0 ap->sff_pio_task_link->active_tag 0-32
PARAM_VALUE 1 bits 128,136
PARAM_VALUE 2 max 10
FUZZY_MAX 1 bits 128
BIT_INFO 1 bits 0x80,0xff
PREEMPT_ADD <- disables preempt
LOCK2 irq
LOCK2 0 ap->lock
HALF_LOCKED2 &pool->lock

drivers/ata/libata-sff.c ata_wait_idle() -> ata_sff_busy_wait()

Type Parameter Key Value
PARAM_VALUE 0 ap->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 ap->link.ap->link.device->link->active_tag 0-4294967295
PARAM_VALUE 0 ap->link.ap->link.device->link->ap->fastdrain_timer.flags 0-4294967295
PARAM_VALUE 0 ap->link.ap->link.device->link->ap->pflags 0-4294967295
PARAM_VALUE 0 ap->link.ap->link.device->link->ap->scsi_host->ehandler->se.avg.period_contrib 0-4294967295
PARAM_VALUE 0 ap->link.ap->link.device->link->ap->scsi_host->ehandler->se.avg.util_est 0-4294967295
PARAM_VALUE 0 ap->link.ap->link.device->link->ap->scsi_host->ehandler->se.avg.util_sum 0-4294967295
PARAM_VALUE 0 ap->link.ap->link.device->link->ap->scsi_host->ehandler->se.load.inv_weight 0-4294967295
PARAM_VALUE 0 ap->link.ap->link.device->link->sactive 0-4294967295
PARAM_VALUE 0 ap->link.device->class 0-4294967295
PARAM_VALUE 0 ap->link.device->link->active_tag 0-4294967295
PARAM_VALUE 0 ap->link.device->link->ap->fastdrain_cnt 0-4294967295
PARAM_VALUE 0 ap->link.device->link->ap->fastdrain_timer.flags 0-4294967295
PARAM_VALUE 0 ap->link.device->link->ap->hsm_task_state 0-4294967295
PARAM_VALUE 0 ap->link.device->link->ap->link.eh_context.i.action 0-4294967295
PARAM_VALUE 0 ap->link.device->link->ap->pflags 0-4294967295
PARAM_VALUE 0 ap->link.device->link->ap->scsi_host->ehandler->__state 0-4294967295
PARAM_VALUE 0 ap->link.device->link->ap->scsi_host->ehandler->dl.flags 0-4294967295
PARAM_VALUE 0 ap->link.device->link->ap->scsi_host->ehandler->dl.pi_se->flags 0-4294967295
PARAM_VALUE 0 ap->link.device->link->ap->scsi_host->ehandler->mm->mm_cid.max_cids 0-4294967295
PARAM_VALUE 0 ap->link.device->link->ap->scsi_host->ehandler->mm->mm_cid.nr_cpus_allowed 0-4294967295
PARAM_VALUE 0 ap->link.device->link->ap->scsi_host->ehandler->mm->mm_cid.pcpu_thrs 0-4294967295
PARAM_VALUE 0 ap->link.device->link->ap->scsi_host->ehandler->mm->mm_cid.update_deferred 0-4294967295
PARAM_VALUE 0 ap->link.device->link->ap->scsi_host->ehandler->numa_scan_period 0-4294967295
PARAM_VALUE 0 ap->link.device->link->ap->scsi_host->ehandler->psi_flags 0-4294967295
PARAM_VALUE 0 ap->link.device->link->ap->scsi_host->ehandler->rt.time_slice 0-4294967295
PARAM_VALUE 0 ap->link.device->link->ap->scsi_host->ehandler->saved_state 0-4294967295
PARAM_VALUE 0 ap->link.device->link->ap->scsi_host->ehandler->se.avg.period_contrib 0-4294967295
PARAM_VALUE 0 ap->link.device->link->ap->scsi_host->ehandler->se.avg.util_est 0-4294967295
PARAM_VALUE 0 ap->link.device->link->ap->scsi_host->ehandler->se.avg.util_sum 0-4294967295
PARAM_VALUE 0 ap->link.device->link->ap->scsi_host->ehandler->se.load.inv_weight 0-4294967295
PARAM_VALUE 0 ap->link.device->link->ap->scsi_host->host_eh_scheduled 0-4294967295
PARAM_VALUE 0 ap->link.device->link->ap->scsi_host->shost_state 0-4294967295
PARAM_VALUE 0 ap->link.device->link->eh_context.i.action 0-4294967295
PARAM_VALUE 0 ap->link.device->link->eh_context.saved_ncq_enabled 0-4294967295
PARAM_VALUE 0 ap->link.device->link->eh_info.action 0-4294967295
PARAM_VALUE 0 ap->link.device->link->sactive 0-4294967295
PARAM_VALUE 0 ap->link.device->mwdma_mask 0-4294967295
PARAM_VALUE 0 ap->link.device->pio_mask 0-4294967295
PARAM_VALUE 0 ap->link.device->udma_mask 0-4294967295
PARAM_VALUE 0 ap->ops->sff_check_status 0,4096-ptr_max
PARAM_VALUE 0 ap->ops->sff_dev_select 0,4096-ptr_max
PARAM_VALUE 0 ap->ops->sff_irq_clear 0,4096-ptr_max,(-2)
PARAM_VALUE 0 ap->ops->sff_irq_on 0
PARAM_VALUE 0 ap->ops->sff_set_devctl 0,197815858624954368,721926874892288000,6978039736479019008
PARAM_VALUE 0 ap->slave_link->ap->link.device->link->active_tag 0-4294967295
PARAM_VALUE 0 ap->slave_link->ap->link.device->link->sactive 0-4294967295
PARAM_VALUE 0 ap->slave_link->device->class 0-4294967295
PARAM_VALUE 0 ap->slave_link->device->link->active_tag 0-4294967295
PARAM_VALUE 0 ap->slave_link->device->link->ap->fastdrain_cnt 0-4294967295
PARAM_VALUE 0 ap->slave_link->device->link->ap->fastdrain_timer.flags 0-4294967295
PARAM_VALUE 0 ap->slave_link->device->link->ap->hsm_task_state 0-4294967295
PARAM_VALUE 0 ap->slave_link->device->link->ap->pflags 0-4294967295
PARAM_VALUE 0 ap->slave_link->device->link->ap->scsi_host->ehandler->__state 0-4294967295
PARAM_VALUE 0 ap->slave_link->device->link->ap->scsi_host->ehandler->dl.flags 0-4294967295
PARAM_VALUE 0 ap->slave_link->device->link->ap->scsi_host->ehandler->mm->mm_cid.max_cids 0-4294967295
PARAM_VALUE 0 ap->slave_link->device->link->ap->scsi_host->ehandler->mm->mm_cid.pcpu_thrs 0-4294967295
PARAM_VALUE 0 ap->slave_link->device->link->ap->scsi_host->ehandler->numa_scan_period 0-4294967295
PARAM_VALUE 0 ap->slave_link->device->link->ap->scsi_host->ehandler->psi_flags 0-4294967295
PARAM_VALUE 0 ap->slave_link->device->link->ap->scsi_host->ehandler->rt.time_slice 0-4294967295
PARAM_VALUE 0 ap->slave_link->device->link->ap->scsi_host->ehandler->saved_state 0-4294967295
PARAM_VALUE 0 ap->slave_link->device->link->ap->scsi_host->ehandler->se.avg.period_contrib 0-4294967295
PARAM_VALUE 0 ap->slave_link->device->link->ap->scsi_host->ehandler->se.avg.util_est 0-4294967295
PARAM_VALUE 0 ap->slave_link->device->link->ap->scsi_host->ehandler->se.avg.util_sum 0-4294967295
PARAM_VALUE 0 ap->slave_link->device->link->ap->scsi_host->ehandler->se.load.inv_weight 0-4294967295
PARAM_VALUE 0 ap->slave_link->device->link->ap->scsi_host->host_eh_scheduled 0-4294967295
PARAM_VALUE 0 ap->slave_link->device->link->ap->scsi_host->shost_state 0-4294967295
PARAM_VALUE 0 ap->slave_link->device->link->sactive 0-4294967295
PARAM_VALUE 0 *ap->link.device->gscr 0-4294967295
PARAM_VALUE 0 *ap->link.device->link->eh_context.i.dev_action 0-4294967295
PARAM_VALUE 0 *ap->link.device->link->eh_info.dev_action 0-4294967295
PARAM_VALUE 1 bits 136
PARAM_VALUE 2 max 1000
BUF_SIZE 0 ap (-1),74,832,1024,2304,4768,9216,24528
BUF_SIZE 0 ap (-1),74,832,1024,2304,4768,9216,24528
DATA_SOURCE 0 ap $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 ap->last_ctl 0-255
HOST_DATA 0 ap->link.ap->last_ctl 0-255
HOST_DATA 0 ap->link.ap->link.eh_info.serror 0-u32max
HOST_DATA 0 ap->link.eh_context.i.serror 0-u32max
HALF_LOCKED2 ap->lock
HALF_LOCKED2 0 ap->lock
HALF_LOCKED2 0 &ap->host->eh_mutex

drivers/ata/pata_via.c ata_wait_idle() -> ata_sff_busy_wait()

Type Parameter Key Value
PARAM_VALUE 0 ap 4096-ptr_max
PARAM_VALUE 0 ap->ops 4096-ptr_max
PARAM_VALUE 0 ap->ops->sff_check_status 0,4096-ptr_max
PARAM_VALUE 0 ap->ops->sff_dev_select 0,4096-ptr_max
PARAM_VALUE 1 bits 136
PARAM_VALUE 2 max 1000
DATA_SOURCE 0 ap $0
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 ap->last_ctl 0-255
HOST_DATA 0 ap->link.ap->last_ctl 0-255
HOST_DATA 0 ap->link.ap->link.eh_info.serror 0-u32max
HALF_LOCKED2 ap->lock
HALF_LOCKED2 flags

drivers/ata/sata_svw.c ata_wait_idle() -> ata_sff_busy_wait()

Type Parameter Key Value
PARAM_VALUE 0 ap 4096-ptr_max
PARAM_VALUE 0 ap->ops 4096-ptr_max
PARAM_VALUE 0 ap->ops->sff_check_status 0,4096-ptr_max
PARAM_VALUE 0 ap->ops->sff_dev_select 0,4096-ptr_max
PARAM_VALUE 1 bits 136
PARAM_VALUE 2 max 1000
DATA_SOURCE 0 ap $0
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 ap->last_ctl 0-255
HOST_DATA 0 ap->link.ap->last_ctl 0-255
HOST_DATA 0 ap->link.ap->link.eh_info.serror 0-u32max
HALF_LOCKED2 ap->lock
HALF_LOCKED2 flags

drivers/ata/pata_ep93xx.c ata_wait_idle() -> ata_sff_busy_wait()

Type Parameter Key Value
PARAM_VALUE 0 ap 4096-ptr_max
PARAM_VALUE 0 ap->host 4096-ptr_max
PARAM_VALUE 0 ap->ops 4096-ptr_max
PARAM_VALUE 0 ap->ops->sff_check_status 0,4096-ptr_max
PARAM_VALUE 0 ap->ops->sff_dev_select 0,4096-ptr_max
PARAM_VALUE 1 bits 136
PARAM_VALUE 2 max 1000
DATA_SOURCE 0 ap $0
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 ap->last_ctl 0-255
HOST_DATA 0 ap->link.ap->last_ctl 0-255
HOST_DATA 0 ap->link.ap->link.eh_info.serror 0-u32max
HALF_LOCKED2 ap->lock
HALF_LOCKED2 flags

drivers/ata/pata_it821x.c ata_wait_idle() -> ata_sff_busy_wait()

Type Parameter Key Value
PARAM_VALUE 0 ap 4096-ptr_max
PARAM_VALUE 0 ap->bmdma_prd 1-ptr_max
PARAM_VALUE 0 ap->host 4096-ptr_max
PARAM_VALUE 0 ap->host->dev->cma_area->alloc_mutex.osq.tail.counter s32min-s32max
PARAM_VALUE 0 ap->host->dev->cma_area->available_count 0-s64max
PARAM_VALUE 0 ap->host->dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 ap->host->dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 ap->host->dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 ap->host->dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 ap->host->dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 ap->ioaddr.ctl_addr 0-ptr_max
PARAM_VALUE 0 ap->ops 4096-ptr_max
PARAM_VALUE 0 ap->ops->port_start 1-u64max
PARAM_VALUE 0 ap->port_no 0
PARAM_VALUE 0 ap->private_data 4096-ptr_max
PARAM_VALUE 1 bits 136
PARAM_VALUE 2 max 1000
BUF_SIZE 0 ap->private_data 20
DATA_SOURCE 0 ap $0
BIT_INFO 0 ap->ctl 0x2,0xff
RX_PATH
TASK_NOT_RUNNING

drivers/ata/sata_promise.c ata_wait_idle() -> ata_sff_busy_wait()

Type Parameter Key Value
PARAM_VALUE 0 ap 4096-ptr_max
PARAM_VALUE 0 ap->link.active_tag 0-32
PARAM_VALUE 0 ap->ops->freeze 0,4096-ptr_max
PARAM_VALUE 0 ap->ops->lost_interrupt 0,4096-ptr_max,(-2)
PARAM_VALUE 0 ap->ops->port_resume 0,4096-ptr_max
PARAM_VALUE 0 ap->ops->qc_prep 0,4096-ptr_max
PARAM_VALUE 0 ap->ops->set_lpm 0,4096-ptr_max
PARAM_VALUE 0 ap->ops->sff_irq_clear 0,4096-ptr_max,(-2)
PARAM_VALUE 0 ap->scsi_host->ehandler->delays->blkio_count 0-4294967295
PARAM_VALUE 0 ap->scsi_host->ehandler->kcov->mode 0-4294967295
PARAM_VALUE 0 ap->scsi_host->ehandler->kcov->remote 0-1
PARAM_VALUE 0 ap->scsi_host->ehandler->kcov->remote_size 0-4294967295
PARAM_VALUE 0 ap->scsi_host->ehandler->kcov_remote->mode 0-4294967295
PARAM_VALUE 0 ap->scsi_host->ehandler->kcov_remote->remote 0-1
PARAM_VALUE 0 ap->scsi_host->ehandler->kcov_remote->remote_size 0-4294967295
PARAM_VALUE 0 ap->scsi_host->ehandler->sched_task_group->idle s32min-s32max
PARAM_VALUE 0 ap->scsi_host->ehandler->thread_pid->attr->exit_code s32min-s32max
PARAM_VALUE 1 bits 136
PARAM_VALUE 2 max 1000
DATA_SOURCE 0 ap $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &host->lock
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
TYPE_LOCK (struct ata_host)->lock

drivers/ata/pata_parport/pata_parport.c ata_wait_idle() -> ata_sff_busy_wait()

Type Parameter Key Value
PARAM_VALUE 0 ap 4096-ptr_max
PARAM_VALUE 0 ap->host 4096-ptr_max
PARAM_VALUE 0 ap->ops 4096-ptr_max
PARAM_VALUE 0 ap->ops->sff_check_status 0,4096-ptr_max
PARAM_VALUE 0 ap->ops->sff_dev_select 0,4096-ptr_max
PARAM_VALUE 1 bits 136
PARAM_VALUE 2 max 1000
DATA_SOURCE 0 ap $0
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 ap->last_ctl 0-255
HOST_DATA 0 ap->link.ap->last_ctl 0-255
HOST_DATA 0 ap->link.ap->link.eh_info.serror 0-u32max
HALF_LOCKED2 ap->lock
HALF_LOCKED2 flags

drivers/ata/sata_sx4.c ata_wait_idle() -> ata_sff_busy_wait()

Type Parameter Key Value
PARAM_VALUE 0 ap 4096-ptr_max
PARAM_VALUE 0 ap->link.active_tag 0-32
PARAM_VALUE 1 bits 136
PARAM_VALUE 2 max 1000
DATA_SOURCE 0 ap $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &host->lock
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
TYPE_LOCK (struct ata_host)->lock

drivers/ata/sata_sx4.c pdc20621_host_intr() -> ata_sff_busy_wait()

Type Parameter Key Value
PARAM_VALUE 0 ap 4096-ptr_max
PARAM_VALUE 0 ap->link.active_tag 0-32
PARAM_VALUE 1 bits 136
PARAM_VALUE 2 max 1000
DATA_SOURCE 0 ap $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &host->lock
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
HALF_LOCKED2 irq
TYPE_LOCK (struct ata_host)->lock

drivers/ata/sata_rcar.c ata_wait_idle() -> ata_sff_busy_wait()

Type Parameter Key Value
PARAM_VALUE 0 ap 4096-ptr_max
PARAM_VALUE 0 ap->ops 4096-ptr_max
PARAM_VALUE 0 ap->ops->sff_check_status 0,4096-ptr_max
PARAM_VALUE 0 ap->ops->sff_dev_select 0,4096-ptr_max
PARAM_VALUE 1 bits 136
PARAM_VALUE 2 max 1000
DATA_SOURCE 0 ap $0
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 ap->last_ctl 0-255
HOST_DATA 0 ap->link.ap->last_ctl 0-255
HOST_DATA 0 ap->link.ap->link.eh_info.serror 0-u32max
HALF_LOCKED2 ap->lock
HALF_LOCKED2 flags

drivers/ata/sata_vsc.c ata_wait_idle() -> ata_sff_busy_wait()

Type Parameter Key Value
PARAM_VALUE 0 ap 4096-ptr_max
PARAM_VALUE 0 ap->ops 4096-ptr_max
PARAM_VALUE 0 ap->ops->sff_check_status 0,4096-ptr_max
PARAM_VALUE 0 ap->ops->sff_dev_select 0,4096-ptr_max
PARAM_VALUE 1 bits 136
PARAM_VALUE 2 max 1000
DATA_SOURCE 0 ap $0
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 ap->last_ctl 0-255
HOST_DATA 0 ap->link.ap->last_ctl 0-255
HOST_DATA 0 ap->link.ap->link.eh_info.serror 0-u32max
HALF_LOCKED2 ap->lock
HALF_LOCKED2 flags

drivers/ata/pata_arasan_cf.c ata_wait_idle() -> ata_sff_busy_wait()

Type Parameter Key Value
PARAM_VALUE 0 ap 4096-ptr_max
PARAM_VALUE 0 ap->host 4096-ptr_max
PARAM_VALUE 0 ap->ops->sff_check_status 0,4096-ptr_max
PARAM_VALUE 1 bits 136
PARAM_VALUE 2 max 1000
DATA_SOURCE 0 ap $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 ap->lock
HALF_LOCKED2 flags