Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 19 files:

Smatch caller information:

drivers/ata/pata_legacy.c legacy_exit() -> ata_host_detach()

Type Parameter Key Value
PARAM_VALUE 0 host 1-u64max
NOCHECK_CALL

drivers/ata/pata_legacy.c legacy_init_one() -> ata_host_detach()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->dev 4096-ptr_max
PARAM_VALUE 0 host->dev->bus 0,4096-ptr_max
PARAM_VALUE 0 host->dev->class 0,4096-ptr_max
PARAM_VALUE 0 host->dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 host->dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 host->dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 host->dev->driver 0,4096-ptr_max
PARAM_VALUE 0 host->dev->driver_data 4096-ptr_max
PARAM_VALUE 0 host->eh_mutex.dep_map->name 0-255
PARAM_VALUE 0 host->eh_mutex.first_waiter 0
PARAM_VALUE 0 host->eh_mutex.magic 4096-ptr_max
PARAM_VALUE 0 host->eh_mutex.osq.tail.counter 0
PARAM_VALUE 0 host->eh_mutex.owner.counter 0
PARAM_VALUE 0 host->flags 2-u64max
PARAM_VALUE 0 host->kref.refcount.refs.counter 1
PARAM_VALUE 0 host->n_ports 1
PARAM_VALUE 0 host->n_tags 1-32
PARAM_VALUE 0 host->ops 0,4096-ptr_max
PARAM_VALUE 0 host->ops->bmdma_setup 0,4096-ptr_max
PARAM_VALUE 0 host->ops->bmdma_start 0,4096-ptr_max
PARAM_VALUE 0 host->ops->bmdma_status 0,2676057714059563008,4696054311118458880,7316303670909812736,7671389423281094656,8145922019994660864,9053029034991206400
PARAM_VALUE 0 host->ops->bmdma_stop 0,4096-ptr_max
PARAM_VALUE 0 host->ops->cable_detect 0,4096-ptr_max
PARAM_VALUE 0 host->ops->check_atapi_dma 0,4096-ptr_max
PARAM_VALUE 0 host->ops->dev_config 0,4096-ptr_max,(-2)
PARAM_VALUE 0 host->ops->em_show 0,3702042038990295040
PARAM_VALUE 0 host->ops->em_store 0,1757495228349177856
PARAM_VALUE 0 host->ops->end_eh 0,3617008066701455360,7971520433373188096
PARAM_VALUE 0 host->ops->error_handler 0,4096-ptr_max
PARAM_VALUE 0 host->ops->freeze 0,4096-ptr_max
PARAM_VALUE 0 host->ops->host_stop 0,4096-ptr_max
PARAM_VALUE 0 host->ops->inherits 0
PARAM_VALUE 0 host->ops->inherits->reset.hardreset 0,4096-ptr_max,(-2)
PARAM_VALUE 0 host->ops->inherits->reset.postreset 0,323504006769045504,2178574733212663808,6200177447344775168,6793932854442733568
PARAM_VALUE 0 host->ops->inherits->reset.softreset 0,4096-ptr_max,(-2)
PARAM_VALUE 0 host->ops->lost_interrupt 0,4117639185340313600,(-2)
PARAM_VALUE 0 host->ops->mode_filter 0,4096-ptr_max
PARAM_VALUE 0 host->ops->pmp_attach 0,763009731917307904,2725274463802626048,5140342300020744192
PARAM_VALUE 0 host->ops->pmp_detach 0,255910536027021312,6731286366967066624,7579230439737245696
PARAM_VALUE 0 host->ops->pmp_reset.hardreset 0,4096-ptr_max,(-2)
PARAM_VALUE 0 host->ops->pmp_reset.postreset 0,323504006769045504,2178574733212663808,6200177447344775168,6793932854442733568
PARAM_VALUE 0 host->ops->pmp_reset.prereset 0,4096-ptr_max
PARAM_VALUE 0 host->ops->pmp_reset.softreset 0,4096-ptr_max,(-2)
PARAM_VALUE 0 host->ops->port_resume 0,1402274537204125696,3515943421690482688,6496454576333930496,8053306597111750656,8638223309761839104
PARAM_VALUE 0 host->ops->port_start 0,4096-ptr_max
PARAM_VALUE 0 host->ops->port_stop 0,4096-ptr_max
PARAM_VALUE 0 host->ops->port_suspend 0,806784383162724352,3772945877559664640,7607101467345211392
PARAM_VALUE 0 host->ops->post_internal_cmd 0,4096-ptr_max
PARAM_VALUE 0 host->ops->qc_defer 0,4096-ptr_max
PARAM_VALUE 0 host->ops->qc_fill_rtf 0,4096-ptr_max
PARAM_VALUE 0 host->ops->qc_issue 0,4096-ptr_max
PARAM_VALUE 0 host->ops->qc_ncq_fill_rtf 0,8044834156202786816
PARAM_VALUE 0 host->ops->qc_prep 0,4096-ptr_max
PARAM_VALUE 0 host->ops->read_id 0,1006358836580667392,2066585399807660032,5093436671898435584,7061517405842956288,9094165459402440704
PARAM_VALUE 0 host->ops->reset.hardreset 0,4096-ptr_max,(-2)
PARAM_VALUE 0 host->ops->reset.postreset 0,323504006769045504,2178574733212663808,6200177447344775168,6793932854442733568
PARAM_VALUE 0 host->ops->reset.prereset 0,4096-ptr_max
PARAM_VALUE 0 host->ops->reset.softreset 0,4096-ptr_max,(-2)
PARAM_VALUE 0 host->ops->sched_eh 0,4928303074202341376,5625211766567526400
PARAM_VALUE 0 host->ops->scr_read 0,4096-ptr_max
PARAM_VALUE 0 host->ops->scr_write 0,4096-ptr_max
PARAM_VALUE 0 host->ops->set_dmamode 0,4096-ptr_max
PARAM_VALUE 0 host->ops->set_lpm 0,4756220295054270464,9203135028482605056
PARAM_VALUE 0 host->ops->set_mode 0,4096-ptr_max
PARAM_VALUE 0 host->ops->set_piomode 0,4096-ptr_max
PARAM_VALUE 0 host->ops->sff_check_altstatus 0,2635785217616359424,2902118176426315776,8321205409061859328
PARAM_VALUE 0 host->ops->sff_check_status 0,313986973074173952,582426132938629120,3414554159431802880,4239992538768809984,7961175422980050944,8766777725502996480
PARAM_VALUE 0 host->ops->sff_data_xfer 0,4096-ptr_max
PARAM_VALUE 0 host->ops->sff_dev_select 0,4096-ptr_max
PARAM_VALUE 0 host->ops->sff_drain_fifo 0,204393187554086912,1392743763688566784,1667791418644402176,2253400050913357824,9116710145369821184
PARAM_VALUE 0 host->ops->sff_exec_command 0,4096-ptr_max
PARAM_VALUE 0 host->ops->sff_irq_check 0,4096-ptr_max
PARAM_VALUE 0 host->ops->sff_irq_clear 0,4096-ptr_max,(-2)
PARAM_VALUE 0 host->ops->sff_irq_on 0
PARAM_VALUE 0 host->ops->sff_set_devctl 0,197815858624954368,721926874892288000,6978039736479019008
PARAM_VALUE 0 host->ops->sff_tf_load 0,4096-ptr_max
PARAM_VALUE 0 host->ops->sff_tf_read 0,4096-ptr_max
PARAM_VALUE 0 host->ops->sw_activity_show 0,927625564069765120
PARAM_VALUE 0 host->ops->sw_activity_store 0,1165616421952688128
PARAM_VALUE 0 host->ops->thaw 0,4096-ptr_max
PARAM_VALUE 0 host->ops->transmit_led_message 0,4690098037659090944,5174227395033460736,6280991133630394368
PARAM_VALUE 0 host->ports 4096-ptr_max
PARAM_VALUE 0 *host->dev->p->deferred_probe_reason 0-255
BUF_SIZE 0 host s32min-s32max
BUF_SIZE 0 host->dev 1616
DATA_SOURCE 0 host r ata_host_alloc
NOCHECK_CALL

drivers/ata/libata-core.c ata_pci_remove_one() -> ata_host_detach()

Type Parameter Key Value
BUF_SIZE 0 host s32min-(-2),1-s32max
BUF_SIZE 0 host s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 host unit_byte

drivers/ata/libata-core.c ata_platform_remove_one() -> ata_host_detach()

Type Parameter Key Value
BUF_SIZE 0 host s32min-(-2),1-s32max
BUF_SIZE 0 host s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 host unit_byte
HALF_LOCKED2 &_dev->mutex

drivers/ata/pata_ep93xx.c ep93xx_pata_remove() -> ata_host_detach()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
BUF_SIZE 0 host s32min-(-2),1-s32max
BUF_SIZE 0 host s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 host unit_byte
HALF_LOCKED2 &_dev->mutex

drivers/ata/pata_isapnp.c isapnp_remove_one() -> ata_host_detach()

Type Parameter Key Value
BUF_SIZE 0 host s32min-(-2),1-s32max
BUF_SIZE 0 host s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 host unit_byte
HALF_LOCKED2 &dev->mutex

drivers/ata/pata_parport/pata_parport.c pi_remove_one() -> ata_host_detach()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
BUF_SIZE 0 host s32min-(-2),1-s32max
BUF_SIZE 0 host s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 host unit_byte
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &pi_mutex

drivers/ata/sata_mv.c mv_platform_remove() -> ata_host_detach()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
BUF_SIZE 0 host s32min-(-2),1-s32max
BUF_SIZE 0 host s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 host unit_byte
HALF_LOCKED2 &_dev->mutex

drivers/ata/sata_dwc_460ex.c sata_dwc_remove() -> ata_host_detach()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
BUF_SIZE 0 host s32min-(-2),1-s32max
BUF_SIZE 0 host s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 host unit_byte
HALF_LOCKED2 &_dev->mutex

drivers/ata/sata_fsl.c sata_fsl_probe() -> ata_host_detach()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->dev 4096-ptr_max
PARAM_VALUE 0 host->dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 host->dev->driver_data 4096-ptr_max
PARAM_VALUE 0 host->dev->kobj.sd->attr.notify_next 0,426918848001064960
PARAM_VALUE 0 host->eh_mutex.dep_map->name 0-255
PARAM_VALUE 0 host->eh_mutex.first_waiter 0
PARAM_VALUE 0 host->eh_mutex.magic 4096-ptr_max
PARAM_VALUE 0 host->eh_mutex.osq.tail.counter 0
PARAM_VALUE 0 host->eh_mutex.owner.counter 0
PARAM_VALUE 0 host->kref.refcount.refs.counter 1
PARAM_VALUE 0 host->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 host->n_ports 1
PARAM_VALUE 0 host->ops 0,4096-ptr_max
PARAM_VALUE 0 host->ops->bmdma_setup 0,4096-ptr_max
PARAM_VALUE 0 host->ops->bmdma_start 0,4096-ptr_max
PARAM_VALUE 0 host->ops->bmdma_status 0,2676057714059563008,4696054311118458880,7316303670909812736,7671389423281094656,8145922019994660864,9053029034991206400
PARAM_VALUE 0 host->ops->bmdma_stop 0,4096-ptr_max
PARAM_VALUE 0 host->ops->cable_detect 0,4096-ptr_max
PARAM_VALUE 0 host->ops->check_atapi_dma 0,4096-ptr_max
PARAM_VALUE 0 host->ops->dev_config 0,4096-ptr_max,(-2)
PARAM_VALUE 0 host->ops->em_show 0,3702042038990295040
PARAM_VALUE 0 host->ops->em_store 0,1757495228349177856
PARAM_VALUE 0 host->ops->end_eh 0,3617008066701455360,7971520433373188096
PARAM_VALUE 0 host->ops->error_handler 0,4096-ptr_max
PARAM_VALUE 0 host->ops->freeze 0,4096-ptr_max
PARAM_VALUE 0 host->ops->host_stop 0,4096-ptr_max
PARAM_VALUE 0 host->ops->inherits 0
PARAM_VALUE 0 host->ops->inherits->reset.hardreset 0,4096-ptr_max,(-2)
PARAM_VALUE 0 host->ops->inherits->reset.postreset 0,323504006769045504,2178574733212663808,6200177447344775168,6793932854442733568
PARAM_VALUE 0 host->ops->inherits->reset.softreset 0,4096-ptr_max,(-2)
PARAM_VALUE 0 host->ops->lost_interrupt 0,4117639185340313600,(-2)
PARAM_VALUE 0 host->ops->mode_filter 0,4096-ptr_max
PARAM_VALUE 0 host->ops->pmp_attach 0,763009731917307904,2725274463802626048,5140342300020744192
PARAM_VALUE 0 host->ops->pmp_detach 0,255910536027021312,6731286366967066624,7579230439737245696
PARAM_VALUE 0 host->ops->pmp_reset.hardreset 0,4096-ptr_max,(-2)
PARAM_VALUE 0 host->ops->pmp_reset.postreset 0,323504006769045504,2178574733212663808,6200177447344775168,6793932854442733568
PARAM_VALUE 0 host->ops->pmp_reset.prereset 0,4096-ptr_max
PARAM_VALUE 0 host->ops->pmp_reset.softreset 0,4096-ptr_max,(-2)
PARAM_VALUE 0 host->ops->port_resume 0,1402274537204125696,3515943421690482688,6496454576333930496,8053306597111750656,8638223309761839104
PARAM_VALUE 0 host->ops->port_start 0,4096-ptr_max
PARAM_VALUE 0 host->ops->port_stop 0,4096-ptr_max
PARAM_VALUE 0 host->ops->port_suspend 0,806784383162724352,3772945877559664640,7607101467345211392
PARAM_VALUE 0 host->ops->post_internal_cmd 0,4096-ptr_max
PARAM_VALUE 0 host->ops->qc_defer 0,4096-ptr_max
PARAM_VALUE 0 host->ops->qc_fill_rtf 0,4096-ptr_max
PARAM_VALUE 0 host->ops->qc_issue 0,4096-ptr_max
PARAM_VALUE 0 host->ops->qc_ncq_fill_rtf 0,8044834156202786816
PARAM_VALUE 0 host->ops->qc_prep 0,4096-ptr_max
PARAM_VALUE 0 host->ops->read_id 0,1006358836580667392,2066585399807660032,5093436671898435584,7061517405842956288,9094165459402440704
PARAM_VALUE 0 host->ops->reset.hardreset 0,4096-ptr_max,(-2)
PARAM_VALUE 0 host->ops->reset.postreset 0,323504006769045504,2178574733212663808,6200177447344775168,6793932854442733568
PARAM_VALUE 0 host->ops->reset.prereset 0,4096-ptr_max
PARAM_VALUE 0 host->ops->reset.softreset 0,4096-ptr_max,(-2)
PARAM_VALUE 0 host->ops->sched_eh 0,4928303074202341376,5625211766567526400
PARAM_VALUE 0 host->ops->scr_read 0,4096-ptr_max
PARAM_VALUE 0 host->ops->scr_write 0,4096-ptr_max
PARAM_VALUE 0 host->ops->set_dmamode 0,4096-ptr_max
PARAM_VALUE 0 host->ops->set_lpm 0,4756220295054270464,9203135028482605056
PARAM_VALUE 0 host->ops->set_mode 0,4096-ptr_max
PARAM_VALUE 0 host->ops->set_piomode 0,4096-ptr_max
PARAM_VALUE 0 host->ops->sff_check_altstatus 0,2635785217616359424,2902118176426315776,8321205409061859328
PARAM_VALUE 0 host->ops->sff_check_status 0,313986973074173952,582426132938629120,3414554159431802880,4239992538768809984,7961175422980050944,8766777725502996480
PARAM_VALUE 0 host->ops->sff_data_xfer 0,4096-ptr_max
PARAM_VALUE 0 host->ops->sff_dev_select 0,4096-ptr_max
PARAM_VALUE 0 host->ops->sff_drain_fifo 0,204393187554086912,1392743763688566784,1667791418644402176,2253400050913357824,9116710145369821184
PARAM_VALUE 0 host->ops->sff_exec_command 0,4096-ptr_max
PARAM_VALUE 0 host->ops->sff_irq_check 0,4096-ptr_max
PARAM_VALUE 0 host->ops->sff_irq_clear 0,4096-ptr_max,(-2)
PARAM_VALUE 0 host->ops->sff_irq_on 0
PARAM_VALUE 0 host->ops->sff_set_devctl 0,197815858624954368,721926874892288000,6978039736479019008
PARAM_VALUE 0 host->ops->sff_tf_load 0,4096-ptr_max
PARAM_VALUE 0 host->ops->sff_tf_read 0,4096-ptr_max
PARAM_VALUE 0 host->ops->sw_activity_show 0,927625564069765120
PARAM_VALUE 0 host->ops->sw_activity_store 0,1165616421952688128
PARAM_VALUE 0 host->ops->thaw 0,4096-ptr_max
PARAM_VALUE 0 host->ops->transmit_led_message 0,4690098037659090944,5174227395033460736,6280991133630394368
PARAM_VALUE 0 host->private_data 4096-ptr_max
BUF_SIZE 0 host s32min-s32max
BUF_SIZE 0 host->dev 1616
BUF_SIZE 0 host->private_data 144
DATA_SOURCE 0 host r ata_host_alloc_pinfo
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/ata/sata_fsl.c sata_fsl_remove() -> ata_host_detach()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
BUF_SIZE 0 host s32min-(-2),1-s32max
BUF_SIZE 0 host s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 host unit_byte
HALF_LOCKED2 &_dev->mutex

drivers/ata/pata_ftide010.c pata_ftide010_remove() -> ata_host_detach()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &_dev->mutex

drivers/ata/pata_imx.c pata_imx_remove() -> ata_host_detach()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
BUF_SIZE 0 host s32min-(-2),1-s32max
BUF_SIZE 0 host s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 host unit_byte
HALF_LOCKED2 &_dev->mutex

drivers/ata/sata_rcar.c sata_rcar_remove() -> ata_host_detach()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->private_data 4096-ptr_max
BUF_SIZE 0 host s32min-(-2),1-s32max
BUF_SIZE 0 host s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 host unit_byte
HALF_LOCKED2 &_dev->mutex

drivers/ata/pata_pcmcia.c pcmcia_remove_one() -> ata_host_detach()

Type Parameter Key Value
PARAM_VALUE 0 host 1-u64max
BUF_SIZE 0 host 8,16,24,32,40,56,168,376,448,568,1688,2552
BUF_SIZE 0 host 8,16,24,32,40,56,168,376,448,568,1688,2552
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->mutex

drivers/ata/pata_arasan_cf.c arasan_cf_remove() -> ata_host_detach()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->ports 4096-ptr_max
BUF_SIZE 0 host s32min-(-2),1-s32max
BUF_SIZE 0 host s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 host unit_byte
HALF_LOCKED2 &_dev->mutex