Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 6 files:

Smatch caller information:

drivers/ata/pata_it821x.c it821x_passthru_dev_select() -> ata_sff_dev_select()

Type Parameter Key Value
PARAM_VALUE 0 ap 4096-ptr_max
PARAM_VALUE 0 ap->link.device->link->active_tag 0-4294967295
PARAM_VALUE 0 ap->link.device->link->sactive 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->private_data 0,4096-ptr_max
DATA_SOURCE 0 ap $0
DATA_SOURCE 1 device $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 ap->last_ctl 0-255
HOST_DATA 0 ap->link.eh_info.serror 0-u32max
HALF_LOCKED2 ap->lock

drivers/ata/pata_ninja32.c ninja32_dev_select() -> ata_sff_dev_select()

Type Parameter Key Value
PARAM_VALUE 0 ap 4096-ptr_max
PARAM_VALUE 0 ap->ioaddr.bmdma_addr 4096-ptr_max
PARAM_VALUE 0 ap->link.device 4096-ptr_max
PARAM_VALUE 0 ap->link.device->link->active_tag 0-4294967295
PARAM_VALUE 0 ap->link.device->link->sactive 0-4294967295
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
DATA_SOURCE 0 ap $0
DATA_SOURCE 1 device $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 ap->last_ctl 0-255
HOST_DATA 0 ap->link.eh_info.serror 0-u32max
HALF_LOCKED2 ap->lock

drivers/ata/pata_arasan_cf.c arasan_cf_qc_issue() -> ata_sff_dev_select()

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 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 ap->lock
HALF_LOCKED2 flags

drivers/ata/libata-sff.c ata_dev_select() -> (struct ata_port_operations)->sff_dev_select()

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
DATA_SOURCE 0 ap $0
DATA_SOURCE 1 device $1
CONTAINER 0 -304-8+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 ap->lock
HALF_LOCKED2 flags

drivers/ata/libata-sff.c ata_devchk() -> (struct ata_port_operations)->sff_dev_select()

Type Parameter Key Value
PARAM_VALUE 0 ap 4096-ptr_max
PARAM_VALUE 0 ap->dev 4096-ptr_max
PARAM_VALUE 0 ap->ops 4096-ptr_max
PARAM_VALUE 0 ap->ops->sff_dev_select 0,4096-ptr_max
PARAM_VALUE 1 device 0-1
DATA_SOURCE 0 ap $0
DATA_SOURCE 1 device $1
CONTAINER 0 -304-8+0 $(-1)
HARD_MAX 1 device 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 ap->last_ctl 0-255
HOST_DATA 0 ap->link.eh_info.serror 0-u32max
HALF_LOCKED2 &ap->host->eh_mutex

drivers/ata/libata-sff.c ata_sff_dev_classify() -> (struct ata_port_operations)->sff_dev_select()

Type Parameter Key Value
PARAM_VALUE 0 ap 4096-ptr_max
PARAM_VALUE 0 ap->ops 4096-ptr_max
CONTAINER 0 -304-8+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/ata/libata-sff.c ata_sff_postreset() -> (struct ata_port_operations)->sff_dev_select()

Type Parameter Key Value
PARAM_VALUE 0 ap 4096-ptr_max
PARAM_VALUE 0 ap->ops 4096-ptr_max
PARAM_VALUE 1 device 1
CONTAINER 0 -304-8+0 $(-1)
NOCHECK_CALL

drivers/ata/libata-sff.c ata_sff_postreset() -> (struct ata_port_operations)->sff_dev_select()

Type Parameter Key Value
PARAM_VALUE 0 ap 4096-ptr_max
PARAM_VALUE 0 ap->ops 4096-ptr_max
PARAM_VALUE 1 device 0
CONTAINER 0 -304-8+0 $(-1)
NOCHECK_CALL

drivers/ata/libata-sff.c ata_sff_softreset() -> (struct ata_port_operations)->sff_dev_select()

Type Parameter Key Value
PARAM_VALUE 0 ap 4096-ptr_max
PARAM_VALUE 0 ap->dev 4096-ptr_max
PARAM_VALUE 0 ap->ioaddr.lbal_addr 0-ptr_max
PARAM_VALUE 0 ap->ioaddr.nsect_addr 0-ptr_max
PARAM_VALUE 0 ap->ops 4096-ptr_max
PARAM_VALUE 0 ap->ops->sff_dev_select 4096-ptr_max
PARAM_VALUE 0 ap->private_data 4096-ptr_max
PARAM_VALUE 1 device 0
CONTAINER 0 -304-8+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 ap->last_ctl 0-255
HOST_DATA 0 ap->link.eh_info.serror 0-u32max
HALF_LOCKED2 &ap->host->eh_mutex

drivers/ata/libata-sff.c ata_sff_wait_after_reset() -> (struct ata_port_operations)->sff_dev_select()

Type Parameter Key Value
PARAM_VALUE 0 ap 4096-ptr_max
PARAM_VALUE 0 ap->host->eh_mutex.dep_map->name 0-255
PARAM_VALUE 0 ap->host->eh_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ap->host->eh_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ap->host->eh_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ap->host->eh_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 ap->host->eh_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 ap->host->eh_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 ap->host->eh_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 ap->host->eh_mutex.first_waiter->task->blocked_on 0
PARAM_VALUE 0 ap->host->eh_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 ap->host->eh_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 ap->ops 4096-ptr_max
PARAM_VALUE 1 device 1
CONTAINER 0 -304-8+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &ap->host->eh_mutex

drivers/ata/libata-sff.c ata_sff_wait_after_reset() -> (struct ata_port_operations)->sff_dev_select()

Type Parameter Key Value
PARAM_VALUE 0 ap 4096-ptr_max
PARAM_VALUE 0 ap->host->eh_mutex.dep_map->name 0-255
PARAM_VALUE 0 ap->host->eh_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ap->host->eh_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ap->host->eh_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 ap->host->eh_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 ap->host->eh_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 ap->host->eh_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 ap->host->eh_mutex.first_waiter->task->blocked_on 0
PARAM_VALUE 0 ap->host->eh_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 ap->ops 4096-ptr_max
PARAM_VALUE 1 device 0
CONTAINER 0 -304-8+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &ap->host->eh_mutex

drivers/ata/libata-sff.c ata_sff_wait_after_reset() -> (struct ata_port_operations)->sff_dev_select()

Type Parameter Key Value
PARAM_VALUE 0 ap 4096-ptr_max
PARAM_VALUE 0 ap->host->eh_mutex.dep_map->name 0-255
PARAM_VALUE 0 ap->host->eh_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ap->host->eh_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ap->host->eh_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 ap->host->eh_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 ap->host->eh_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 ap->host->eh_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 ap->host->eh_mutex.first_waiter->task->blocked_on 0
PARAM_VALUE 0 ap->host->eh_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 ap->ioaddr.lbal_addr 0-ptr_max
PARAM_VALUE 0 ap->ioaddr.nsect_addr 0-ptr_max
PARAM_VALUE 0 ap->ops 4096-ptr_max
PARAM_VALUE 1 device 1
CONTAINER 0 -304-8+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &ap->host->eh_mutex

drivers/ata/libata-sff.c ata_sff_wait_after_reset() -> (struct ata_port_operations)->sff_dev_select()

Type Parameter Key Value
PARAM_VALUE 0 ap 4096-ptr_max
PARAM_VALUE 0 ap->host->eh_mutex.dep_map->name 0-255
PARAM_VALUE 0 ap->host->eh_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ap->host->eh_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ap->host->eh_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 ap->host->eh_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 ap->host->eh_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 ap->host->eh_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 ap->host->eh_mutex.first_waiter->task->blocked_on 0
PARAM_VALUE 0 ap->host->eh_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 ap->ops 4096-ptr_max
PARAM_VALUE 1 device 0
CONTAINER 0 -304-8+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &ap->host->eh_mutex

drivers/ata/pata_ep93xx.c ep93xx_pata_device_is_present() -> (struct ata_port_operations)->sff_dev_select()

Type Parameter Key Value
PARAM_VALUE 0 ap 4096-ptr_max
PARAM_VALUE 0 ap->dev 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_dev_select 0,4096-ptr_max
PARAM_VALUE 1 device 0-1
DATA_SOURCE 0 ap $0
DATA_SOURCE 1 device $1
CONTAINER 0 -304-8+0 $(-1)
HARD_MAX 1 device 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 ap->last_ctl 0-255
HOST_DATA 0 ap->link.eh_info.serror 0-u32max
HALF_LOCKED2 &ap->host->eh_mutex

drivers/ata/pata_ep93xx.c ep93xx_pata_softreset() -> (struct ata_port_operations)->sff_dev_select()

Type Parameter Key Value
PARAM_VALUE 0 ap 4096-ptr_max
PARAM_VALUE 0 ap->dev 4096-ptr_max
PARAM_VALUE 0 ap->host 4096-ptr_max
PARAM_VALUE 0 ap->host->private_data 4096-ptr_max
PARAM_VALUE 0 ap->link.device->link->active_tag 0-4294967295
PARAM_VALUE 0 ap->link.device->link->sactive 0-4294967295
PARAM_VALUE 0 ap->ops 4096-ptr_max
PARAM_VALUE 0 ap->ops->sff_dev_select 4096-ptr_max
PARAM_VALUE 0 ap->private_data 4096-ptr_max
PARAM_VALUE 0 ap->private_data->last_device 0-u16max
PARAM_VALUE 1 device 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 ap->last_ctl 0-255
HOST_DATA 0 ap->link.eh_info.serror 0-u32max
HALF_LOCKED2 &ap->host->eh_mutex

drivers/ata/pata_ep93xx.c ep93xx_pata_wait_after_reset() -> (struct ata_port_operations)->sff_dev_select()

Type Parameter Key Value
PARAM_VALUE 0 ap 4096-ptr_max
PARAM_VALUE 0 ap->host 4096-ptr_max
PARAM_VALUE 0 ap->host->eh_mutex.dep_map->name 0-255
PARAM_VALUE 0 ap->host->eh_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ap->host->eh_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ap->host->eh_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ap->host->eh_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 ap->host->eh_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 ap->host->eh_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 ap->host->eh_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 ap->host->eh_mutex.first_waiter->task->blocked_on 0
PARAM_VALUE 0 ap->host->eh_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 ap->host->eh_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 ap->ops 4096-ptr_max
PARAM_VALUE 1 device 1
CONTAINER 0 -304-8+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &ap->host->eh_mutex

drivers/ata/pata_ep93xx.c ep93xx_pata_wait_after_reset() -> (struct ata_port_operations)->sff_dev_select()

Type Parameter Key Value
PARAM_VALUE 0 ap 4096-ptr_max
PARAM_VALUE 0 ap->host 4096-ptr_max
PARAM_VALUE 0 ap->host->eh_mutex.dep_map->name 0-255
PARAM_VALUE 0 ap->host->eh_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ap->host->eh_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ap->host->eh_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ap->host->eh_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 ap->host->eh_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 ap->host->eh_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 ap->host->eh_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 ap->host->eh_mutex.first_waiter->task->blocked_on 0
PARAM_VALUE 0 ap->host->eh_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 ap->host->eh_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 ap->ops 4096-ptr_max
PARAM_VALUE 1 device 0
CONTAINER 0 -304-8+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &ap->host->eh_mutex

drivers/ata/pata_ep93xx.c ep93xx_pata_wait_after_reset() -> (struct ata_port_operations)->sff_dev_select()

Type Parameter Key Value
PARAM_VALUE 0 ap 4096-ptr_max
PARAM_VALUE 0 ap->host 4096-ptr_max
PARAM_VALUE 0 ap->host->eh_mutex.dep_map->name 0-255
PARAM_VALUE 0 ap->host->eh_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ap->host->eh_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ap->host->eh_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ap->host->eh_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 ap->host->eh_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 ap->host->eh_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 ap->host->eh_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 ap->host->eh_mutex.first_waiter->task->blocked_on 0
PARAM_VALUE 0 ap->host->eh_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 ap->host->eh_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 ap->ops 4096-ptr_max
PARAM_VALUE 1 device 1
CONTAINER 0 -304-8+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &ap->host->eh_mutex

drivers/ata/pata_ep93xx.c ep93xx_pata_wait_after_reset() -> (struct ata_port_operations)->sff_dev_select()

Type Parameter Key Value
PARAM_VALUE 0 ap 4096-ptr_max
PARAM_VALUE 0 ap->host 4096-ptr_max
PARAM_VALUE 0 ap->host->eh_mutex.dep_map->name 0-255
PARAM_VALUE 0 ap->host->eh_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ap->host->eh_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ap->host->eh_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ap->host->eh_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 ap->host->eh_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 ap->host->eh_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 ap->host->eh_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 ap->host->eh_mutex.first_waiter->task->blocked_on 0
PARAM_VALUE 0 ap->host->eh_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 ap->host->eh_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 ap->ops 4096-ptr_max
PARAM_VALUE 1 device 0
CONTAINER 0 -304-8+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &ap->host->eh_mutex