Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/dma/ioat/dma.c ioat_eh() -> ioat_reset_hw()

Type Parameter Key Value
PARAM_VALUE 0 ioat_chan 4096-ptr_max
PARAM_VALUE 0 ioat_chan->cleanup_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ioat_chan->completion 4096-ptr_max
PARAM_VALUE 0 ioat_chan->ioat_dma 4096-ptr_max
PARAM_VALUE 0 ioat_chan->ioat_dma->pdev 4096-ptr_max
PARAM_VALUE 0 ioat_chan->ioat_dma->pdev->error_state 0-2,4-u32max
PARAM_VALUE 0 ioat_chan->prep_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ioat_chan->ring 4096-ptr_max
PARAM_VALUE 0 ioat_chan->timer.entry->pprev 4096-ptr_max
DATA_SOURCE 0 ioat_chan $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 bh
LOCK2 0 &ioat_chan->cleanup_lock
LOCK2 0 &ioat_chan->prep_lock
TYPE_LOCK (struct ioatdma_chan)->cleanup_lock
TYPE_LOCK (struct ioatdma_chan)->prep_lock

drivers/dma/ioat/dma.c ioat_reboot_chan() -> ioat_reset_hw()

Type Parameter Key Value
PARAM_VALUE 0 ioat_chan 4096-ptr_max
PARAM_VALUE 0 ioat_chan->cleanup_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ioat_chan->completion 4096-ptr_max
PARAM_VALUE 0 ioat_chan->ioat_dma 4096-ptr_max
PARAM_VALUE 0 ioat_chan->prep_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ioat_chan->ring 4096-ptr_max
DATA_SOURCE 0 ioat_chan $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &ioat_chan->cleanup_lock
TYPE_LOCK (struct ioatdma_chan)->cleanup_lock

drivers/dma/ioat/init.c ioat_enumerate_channels() -> ioat_reset_hw()

Type Parameter Key Value
PARAM_VALUE 0 ioat_chan 4096-ptr_max
PARAM_VALUE 0 ioat_chan->cleanup_task.count.counter 0
PARAM_VALUE 0 ioat_chan->cleanup_task.data 0
PARAM_VALUE 0 ioat_chan->cleanup_task.next 0
PARAM_VALUE 0 ioat_chan->cleanup_task.state 0
PARAM_VALUE 0 ioat_chan->cleanup_task.use_callback 1
PARAM_VALUE 0 ioat_chan->dma_chan.completed_cookie 1
PARAM_VALUE 0 ioat_chan->dma_chan.cookie 1
PARAM_VALUE 0 ioat_chan->dma_chan.device 4096-ptr_max
PARAM_VALUE 0 ioat_chan->dma_chan.device->channels.next 4096-ptr_max
PARAM_VALUE 0 ioat_chan->dma_chan.device->channels.prev 4096-ptr_max
PARAM_VALUE 0 ioat_chan->dma_chan.device->device_alloc_chan_resources 5700691863352442880
PARAM_VALUE 0 ioat_chan->dma_chan.device->device_free_chan_resources 7184907775899373568
PARAM_VALUE 0 ioat_chan->dma_chan.device->device_issue_pending 4730318156471640064
PARAM_VALUE 0 ioat_chan->dma_chan.device->device_prep_dma_interrupt 3793067484593213440
PARAM_VALUE 0 ioat_chan->dma_chan.device->device_prep_dma_memcpy 1377499146258018304
PARAM_VALUE 0 ioat_chan->dma_chan.device->device_release 4548484059667001344
PARAM_VALUE 0 ioat_chan->dma_chan.device->device_tx_status 8325144031639842816
PARAM_VALUE 0 ioat_chan->dma_chan.device_node.next 4096-ptr_max
PARAM_VALUE 0 ioat_chan->dma_chan.device_node.prev 4096-ptr_max
PARAM_VALUE 0 ioat_chan->ioat_dma 4096-ptr_max
PARAM_VALUE 0 ioat_chan->ioat_dma->completion_pool 4096-ptr_max
PARAM_VALUE 0 ioat_chan->ioat_dma->dma_dev.channels.next 4096-ptr_max
PARAM_VALUE 0 ioat_chan->ioat_dma->dma_dev.channels.prev 4096-ptr_max
PARAM_VALUE 0 ioat_chan->ioat_dma->dma_dev.device_alloc_chan_resources 5700691863352442880
PARAM_VALUE 0 ioat_chan->ioat_dma->dma_dev.device_free_chan_resources 7184907775899373568
PARAM_VALUE 0 ioat_chan->ioat_dma->dma_dev.device_issue_pending 4730318156471640064
PARAM_VALUE 0 ioat_chan->ioat_dma->dma_dev.device_prep_dma_interrupt 3793067484593213440
PARAM_VALUE 0 ioat_chan->ioat_dma->dma_dev.device_prep_dma_memcpy 1377499146258018304
PARAM_VALUE 0 ioat_chan->ioat_dma->dma_dev.device_release 4548484059667001344
PARAM_VALUE 0 ioat_chan->ioat_dma->dma_dev.device_tx_status 8325144031639842816
PARAM_VALUE 0 ioat_chan->ioat_dma->pdev 4096-ptr_max
PARAM_VALUE 0 ioat_chan->ioat_dma->version 48-255
PARAM_VALUE 0 ioat_chan->reg_base 4096-ptr_max
PARAM_VALUE 0 ioat_chan->timer.entry.pprev 0
PARAM_VALUE 0 ioat_chan->timer.flags 0-4194302
PARAM_VALUE 0 ioat_chan->timer.lockdep_map->name 0-255
PARAM_VALUE 0 ioat_chan->xfercap_log 1-31
BUF_SIZE 0 ioat_chan 928
DATA_SOURCE 0 ioat_chan r _kzalloc_noprof
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 ioat_chan->dma_chan.device->chan_ida.xa.xa_flags 0-u32max
HOST_DATA 0 ioat_chan->dma_chan.device->chancnt 0-u32max
HOST_DATA 0 ioat_chan->dma_chan.device->copy_align 0-u32max
HOST_DATA 0 ioat_chan->dma_chan.device->desc_metadata_modes 0-u32max
HOST_DATA 0 ioat_chan->dma_chan.device->descriptor_reuse 0-1
HOST_DATA 0 ioat_chan->dma_chan.device->dev_id s32min-s32max
HOST_DATA 0 ioat_chan->dma_chan.device->directions 0-u32max
HOST_DATA 0 ioat_chan->dma_chan.device->dst_addr_widths 0-u32max
HOST_DATA 0 ioat_chan->dma_chan.device->fill_align 0-u32max
HOST_DATA 0 ioat_chan->dma_chan.device->filter.mapcnt s32min-s32max
HOST_DATA 0 ioat_chan->dma_chan.device->max_burst 0-u32max
HOST_DATA 0 ioat_chan->dma_chan.device->max_pq 0-u16max
HOST_DATA 0 ioat_chan->dma_chan.device->max_sg_burst 0-u32max
HOST_DATA 0 ioat_chan->dma_chan.device->max_xor 0-u16max
HOST_DATA 0 ioat_chan->dma_chan.device->min_burst 0-u32max
HOST_DATA 0 ioat_chan->dma_chan.device->pq_align 0-u32max
HOST_DATA 0 ioat_chan->dma_chan.device->privatecnt 0-u32max
HOST_DATA 0 ioat_chan->dma_chan.device->ref.refcount.refs.counter s32min-s32max
HOST_DATA 0 ioat_chan->dma_chan.device->residue_granularity 0-u32max
HOST_DATA 0 ioat_chan->dma_chan.device->src_addr_widths 0-u32max
HOST_DATA 0 ioat_chan->dma_chan.device->xor_align 0-u32max
HOST_DATA 0 ioat_chan->ioat_dma->cap 0-u32max
HOST_DATA 0 ioat_chan->ioat_dma->chancnt s32min-s32max
HOST_DATA 0 ioat_chan->ioat_dma->dma_dev.chan_ida.xa.xa_flags 0-u32max
HOST_DATA 0 ioat_chan->ioat_dma->dma_dev.chancnt 0-u32max
HOST_DATA 0 ioat_chan->ioat_dma->dma_dev.copy_align 0-u32max
HOST_DATA 0 ioat_chan->ioat_dma->dma_dev.desc_metadata_modes 0-u32max
HOST_DATA 0 ioat_chan->ioat_dma->dma_dev.descriptor_reuse 0-1
HOST_DATA 0 ioat_chan->ioat_dma->dma_dev.dev_id s32min-s32max
HOST_DATA 0 ioat_chan->ioat_dma->dma_dev.directions 0-u32max
HOST_DATA 0 ioat_chan->ioat_dma->dma_dev.dst_addr_widths 0-u32max
HOST_DATA 0 ioat_chan->ioat_dma->dma_dev.fill_align 0-u32max
HOST_DATA 0 ioat_chan->ioat_dma->dma_dev.filter.mapcnt s32min-s32max
HOST_DATA 0 ioat_chan->ioat_dma->dma_dev.max_burst 0-u32max
HOST_DATA 0 ioat_chan->ioat_dma->dma_dev.max_pq 0-u16max
HOST_DATA 0 ioat_chan->ioat_dma->dma_dev.max_sg_burst 0-u32max
HOST_DATA 0 ioat_chan->ioat_dma->dma_dev.max_xor 0-u16max
HOST_DATA 0 ioat_chan->ioat_dma->dma_dev.min_burst 0-u32max
HOST_DATA 0 ioat_chan->ioat_dma->dma_dev.pq_align 0-u32max
HOST_DATA 0 ioat_chan->ioat_dma->dma_dev.privatecnt 0-u32max
HOST_DATA 0 ioat_chan->ioat_dma->dma_dev.ref.refcount.refs.counter s32min-s32max
HOST_DATA 0 ioat_chan->ioat_dma->dma_dev.residue_granularity 0-u32max
HOST_DATA 0 ioat_chan->ioat_dma->dma_dev.src_addr_widths 0-u32max
HOST_DATA 0 ioat_chan->ioat_dma->dma_dev.xor_align 0-u32max
HOST_DATA 0 ioat_chan->ioat_dma->irq_mode 0-u32max
HOST_DATA 0 ioat_chan->ioat_dma->msixdata0 0-u64max
HOST_DATA 0 ioat_chan->ioat_dma->msixpba 0-u32max
HOST_DATA 0 ioat_chan->ioat_dma->msixtba0 0-u64max
HOST_DATA 0 ioat_chan->ioat_dma->version 48-255
HOST_DATA 0 ioat_chan->xfercap_log 1-31[c]
HOST_DATA 0 *ioat_chan->ioat_dma s64min-s64max
HALF_LOCKED2 &pool->lock

drivers/dma/ioat/init.c ioat_free_chan_resources() -> ioat_reset_hw()

Type Parameter Key Value
PARAM_VALUE 0 ioat_chan 4096-ptr_max
PARAM_VALUE 0 ioat_chan->ioat_dma 4096-ptr_max
PARAM_VALUE 0 ioat_chan->ring 1-u64max
PARAM_VALUE 0 ioat_chan->timer.entry.pprev 0
PARAM_VALUE 0 ioat_chan->timer.flags 0-4194302
PARAM_VALUE 0 ioat_chan->timer.function 0
DATA_SOURCE 0 ioat_chan r to_ioat_chan
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &dma_list_mutex

drivers/dma/ioat/init.c ioat_shutdown() -> ioat_reset_hw()

Type Parameter Key Value
PARAM_VALUE 0 ioat_chan 4096-ptr_max
PARAM_VALUE 0 ioat_chan->prep_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ioat_chan->timer.entry.pprev 0
PARAM_VALUE 0 ioat_chan->timer.flags 0-4194302
PARAM_VALUE 0 ioat_chan->timer.function 0
CAPPED_DATA 0 &ioat_chan->timer 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 ioat_chan->ioat_dma->cap 0-u32max
HOST_DATA 0 ioat_chan->ioat_dma->chancnt s32min-s32max
HOST_DATA 0 ioat_chan->ioat_dma->dma_dev.chan_ida.xa.xa_flags 0-u32max
HOST_DATA 0 ioat_chan->ioat_dma->dma_dev.chancnt 0-u32max
HOST_DATA 0 ioat_chan->ioat_dma->dma_dev.copy_align 0-u32max
HOST_DATA 0 ioat_chan->ioat_dma->dma_dev.desc_metadata_modes 0-u32max
HOST_DATA 0 ioat_chan->ioat_dma->dma_dev.descriptor_reuse 0-1
HOST_DATA 0 ioat_chan->ioat_dma->dma_dev.dev_id s32min-s32max
HOST_DATA 0 ioat_chan->ioat_dma->dma_dev.directions 0-u32max
HOST_DATA 0 ioat_chan->ioat_dma->dma_dev.dst_addr_widths 0-u32max
HOST_DATA 0 ioat_chan->ioat_dma->dma_dev.fill_align 0-u32max
HOST_DATA 0 ioat_chan->ioat_dma->dma_dev.filter.mapcnt s32min-s32max
HOST_DATA 0 ioat_chan->ioat_dma->dma_dev.max_burst 0-u32max
HOST_DATA 0 ioat_chan->ioat_dma->dma_dev.max_pq 0-u16max
HOST_DATA 0 ioat_chan->ioat_dma->dma_dev.max_sg_burst 0-u32max
HOST_DATA 0 ioat_chan->ioat_dma->dma_dev.max_xor 0-u16max
HOST_DATA 0 ioat_chan->ioat_dma->dma_dev.min_burst 0-u32max
HOST_DATA 0 ioat_chan->ioat_dma->dma_dev.pq_align 0-u32max
HOST_DATA 0 ioat_chan->ioat_dma->dma_dev.privatecnt 0-u32max
HOST_DATA 0 ioat_chan->ioat_dma->dma_dev.ref.refcount.refs.counter s32min-s32max
HOST_DATA 0 ioat_chan->ioat_dma->dma_dev.residue_granularity 0-u32max
HOST_DATA 0 ioat_chan->ioat_dma->dma_dev.src_addr_widths 0-u32max
HOST_DATA 0 ioat_chan->ioat_dma->dma_dev.xor_align 0-u32max
HOST_DATA 0 ioat_chan->ioat_dma->irq_mode 0-u32max
HOST_DATA 0 ioat_chan->ioat_dma->msixdata0 0-u64max
HOST_DATA 0 ioat_chan->ioat_dma->msixpba 0-u32max
HOST_DATA 0 ioat_chan->ioat_dma->msixtba0 0-u64max
HOST_DATA 0 ioat_chan->ioat_dma->version 0-255
HOST_DATA 0 *ioat_chan->ioat_dma s64min-s64max
HALF_LOCKED2 &dev->mutex