Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/ata/libata-eh.c ata_eh_schedule_probe() -> ata_ering_map()

Type Parameter Key Value
PARAM_VALUE 0 ering 4096-ptr_max
PARAM_VALUE 0 ering->cursor 0-31
PARAM_VALUE 1 map_fn 3861154258216972288
PARAM_VALUE 2 arg 8834300501329850368
PARAM_VALUE 2 *arg 0
BUF_SIZE 2 arg 4
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &ap->host->eh_mutex

drivers/ata/libata-eh.c ata_eh_speed_down_verdict() -> ata_ering_map()

Type Parameter Key Value
PARAM_VALUE 0 ering 4096-ptr_max
PARAM_VALUE 0 ering->cursor 0-31
PARAM_VALUE 1 map_fn 5191733335918862336
PARAM_VALUE 2 arg 8016619711824678912
BUF_SIZE 2 arg 48
MEM_ZERO 2 arg
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &ap->host->eh_mutex
TYPE_LOCK (struct ata_host)->eh_mutex

drivers/ata/libata-eh.c ata_eh_speed_down_verdict() -> ata_ering_map()

Type Parameter Key Value
PARAM_VALUE 0 ering 4096-ptr_max
PARAM_VALUE 0 ering->cursor 0-31
PARAM_VALUE 1 map_fn 5191733335918862336
PARAM_VALUE 2 arg 8016619711824678912
BUF_SIZE 2 arg 48
MEM_ZERO 2 arg
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &ap->host->eh_mutex
TYPE_LOCK (struct ata_host)->eh_mutex

drivers/ata/libata-eh.c ata_ering_clear() -> ata_ering_map()

Type Parameter Key Value
PARAM_VALUE 0 ering 4096-ptr_max
PARAM_VALUE 1 map_fn 5470531492728958976
PARAM_VALUE 2 arg 0
DATA_SOURCE 0 ering $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &ap->host->eh_mutex

drivers/ata/libata-transport.c show_ata_dev_ering() -> ata_ering_map()

Type Parameter Key Value
PARAM_VALUE 0 ering 4096-ptr_max
PARAM_VALUE 1 map_fn 2263669009941291008
PARAM_VALUE 2 arg 6497401905834450944
BUF_SIZE 2 arg 16
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex