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_init_one() -> ata_host_alloc()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 1 n_ports 1

drivers/ata/libata-core.c ata_host_alloc_pinfo() -> ata_host_alloc()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
BUF_SIZE 0 dev (-1),1616
BUF_SIZE 0 dev (-1),1616
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 n_ports $2
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 n_ports 2-32[c]
UNITS 1 n_ports unit_array_size
HALF_LOCKED2 global &pi_mutex

drivers/ata/pata_platform.c __pata_platform_probe() -> ata_host_alloc()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 n_ports 1
DATA_SOURCE 0 dev $0
RX_PATH
TASK_NOT_RUNNING

drivers/ata/pata_ep93xx.c ep93xx_pata_probe() -> ata_host_alloc()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 1 n_ports 1
RX_PATH
TASK_NOT_RUNNING

drivers/ata/pata_isapnp.c isapnp_init_one() -> ata_host_alloc()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 n_ports 1
RX_PATH
TASK_NOT_RUNNING

drivers/ata/pata_imx.c pata_imx_probe() -> ata_host_alloc()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 1 n_ports 1
RX_PATH
TASK_NOT_RUNNING

drivers/ata/sata_rcar.c sata_rcar_probe() -> ata_host_alloc()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->bus 0,4096-ptr_max
PARAM_VALUE 0 dev->class 0,4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 dev->driver 4096-ptr_max
PARAM_VALUE 0 dev->power.last_status (-1)
PARAM_VALUE 0 dev->power.request 0-4
PARAM_VALUE 0 dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 dev->power.wakeirq 0,4096-ptr_max
PARAM_VALUE 0 dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 dev->type 0,4096-ptr_max
PARAM_VALUE 1 n_ports 1
BUF_SIZE 0 dev 1616
RX_PATH
TASK_NOT_RUNNING

drivers/ata/pata_pcmcia.c pcmcia_init_one() -> ata_host_alloc()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 1 n_ports 1-2
FUZZY_MAX 1 n_ports 2
HARD_MAX 1 n_ports 2
RX_PATH
TASK_NOT_RUNNING

drivers/ata/pata_pxa.c pxa_ata_probe() -> ata_host_alloc()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 n_ports 1
RX_PATH
TASK_NOT_RUNNING

drivers/ata/pata_mpiix.c mpiix_init_one() -> ata_host_alloc()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 n_ports 1
RX_PATH
TASK_NOT_RUNNING

drivers/ata/pata_ninja32.c ninja32_init_one() -> ata_host_alloc()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 n_ports 1
RX_PATH
TASK_NOT_RUNNING

drivers/ata/pata_arasan_cf.c arasan_cf_probe() -> ata_host_alloc()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 1 n_ports 1
RX_PATH
TASK_NOT_RUNNING