Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/dma/switchtec_dma.c switchtec_dma_create() -> switchtec_dma_chans_release()

Type Parameter Key Value
PARAM_VALUE 0 pdev 4096-ptr_max
PARAM_VALUE 0 pdev->dev.bus 0,4096-ptr_max
PARAM_VALUE 0 pdev->dev.class 0,4096-ptr_max
PARAM_VALUE 0 pdev->dev.devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 pdev->dev.devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 pdev->dev.driver 0,4096-ptr_max
PARAM_VALUE 0 pdev->dev.msi.data->__iter_idx 0-s64max
PARAM_VALUE 0 pdev->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 pdev->driver 4096-ptr_max
PARAM_VALUE 0 pdev->driver->err_handler 0,4096-ptr_max
PARAM_VALUE 0 pdev->error_state 0-2,4-u32max
PARAM_VALUE 0 pdev->is_busmaster 1
PARAM_VALUE 0 pdev->is_msi_managed 1
PARAM_VALUE 0 pdev->link_bwctrl->cdev (-22),(-19),(-12),0-s64max
PARAM_VALUE 0 pdev->msix_base 4096-ptr_max
PARAM_VALUE 0 pdev->msix_enabled 1
PARAM_VALUE 0 pdev->pcie_cap 0-1
PARAM_VALUE 0 pdev->resource 4096-ptr_max
PARAM_VALUE 0 pdev->subordinate->self->link_bwctrl->cdev (-4095)-s64max
PARAM_VALUE 0 *pdev->saved_config_space 0-4294967295
PARAM_VALUE 1 swdma_dev 4096-ptr_max
PARAM_VALUE 1 swdma_dev->bar 0,4096-ptr_max
PARAM_VALUE 1 swdma_dev->chan_cnt 1-s32max
PARAM_VALUE 1 swdma_dev->chan_status_irq 0-u16max
PARAM_VALUE 1 swdma_dev->dma_dev.cap_mask.bits 4096-ptr_max
PARAM_VALUE 1 swdma_dev->dma_dev.channels.next 4096-ptr_max
PARAM_VALUE 1 swdma_dev->dma_dev.channels.next->next 4096-ptr_max
PARAM_VALUE 1 swdma_dev->dma_dev.channels.prev 0,4096-ptr_max
PARAM_VALUE 1 swdma_dev->dma_dev.channels.prev->next 4096-ptr_max
PARAM_VALUE 1 swdma_dev->dma_dev.channels.prev->next->next 4096-ptr_max
PARAM_VALUE 1 swdma_dev->dma_dev.channels.prev->prev 4096-ptr_max
PARAM_VALUE 1 swdma_dev->dma_dev.copy_align 3
PARAM_VALUE 1 swdma_dev->dma_dev.dbg_dev_root->d_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 1 swdma_dev->dma_dev.dbg_dev_root->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 1 swdma_dev->dma_dev.dbg_dev_root->d_inode->i_sb->s_export_op->encode_fh 0,1398972869330624512,1616549510479982592,2037984473558433792,2776440803454029824,3228746867770966016,3502492669594062848,3526768263295340544,3559173554394271744,5000850239487131648,5583386343686406144,5817357685191483392-s64max
PARAM_VALUE 1 swdma_dev->dma_dev.dbg_dev_root->d_inode->i_sb->s_export_op->fh_to_dentry 0,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max
PARAM_VALUE 1 swdma_dev->dma_dev.dbg_dev_root->d_inode->i_sb->s_export_op->fh_to_parent 0,148606482432692224,436469935444291584,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000,3511613614414655488-s64max
PARAM_VALUE 1 swdma_dev->dma_dev.dbg_dev_root->d_inode->i_sb->s_export_op->get_parent 0,264940071972966400,291591359766798336,565128213429456896,893189740598853632,1241177127089143808,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488,2483979068402987008-s64max
PARAM_VALUE 1 swdma_dev->dma_dev.dbg_dev_root->d_op->d_automount 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016
PARAM_VALUE 1 swdma_dev->dma_dev.dbg_dev_root->d_op->d_init 0,2385819921126617088,7057831443282669568,7824184004865302528
PARAM_VALUE 1 swdma_dev->dma_dev.dbg_dev_root->d_op->d_iput 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736
PARAM_VALUE 1 swdma_dev->dma_dev.dbg_dev_root->d_op->d_manage 0,1859587847549206528
PARAM_VALUE 1 swdma_dev->dma_dev.dbg_dev_root->d_op->d_prune 0,2225594340392566784,7225953709177749504
PARAM_VALUE 1 swdma_dev->dma_dev.dbg_dev_root->d_op->d_real 0,4509355519306412032
PARAM_VALUE 1 swdma_dev->dma_dev.dbg_dev_root->d_op->d_unalias_trylock 0,6635409759016140800
PARAM_VALUE 1 swdma_dev->dma_dev.dbg_dev_root->d_op->d_unalias_unlock 0,6336447517789900800
PARAM_VALUE 1 swdma_dev->dma_dev.dbg_dev_root->d_op->d_weak_revalidate 0,1549882712720502784,5632434648052031488,5669063523602272256,7231033168839651328
PARAM_VALUE 1 swdma_dev->dma_dev.dbg_dev_root->d_parent->d_sb->__s_d_op->d_init 0,2385819921126617088,7057831443282669568,7824184004865302528
PARAM_VALUE 1 swdma_dev->dma_dev.dbg_dev_root->d_parent->d_sb->__s_d_op->d_iput 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736
PARAM_VALUE 1 swdma_dev->dma_dev.dbg_dev_root->d_parent->d_sb->__s_d_op->d_manage 0,1859587847549206528
PARAM_VALUE 1 swdma_dev->dma_dev.dbg_dev_root->d_parent->d_sb->__s_d_op->d_prune 0,2225594340392566784,7225953709177749504
PARAM_VALUE 1 swdma_dev->dma_dev.dbg_dev_root->d_parent->d_sb->__s_d_op->d_real 0,4509355519306412032
PARAM_VALUE 1 swdma_dev->dma_dev.dbg_dev_root->d_sb->__s_d_op->d_automount 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016
PARAM_VALUE 1 swdma_dev->dma_dev.dbg_dev_root->d_sb->__s_d_op->d_init 0,2385819921126617088,7057831443282669568,7824184004865302528
PARAM_VALUE 1 swdma_dev->dma_dev.dbg_dev_root->d_sb->__s_d_op->d_iput 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736
PARAM_VALUE 1 swdma_dev->dma_dev.dbg_dev_root->d_sb->__s_d_op->d_manage 0,1859587847549206528
PARAM_VALUE 1 swdma_dev->dma_dev.dbg_dev_root->d_sb->__s_d_op->d_prune 0,2225594340392566784,7225953709177749504
PARAM_VALUE 1 swdma_dev->dma_dev.dbg_dev_root->d_sb->__s_d_op->d_real 0,4509355519306412032
PARAM_VALUE 1 swdma_dev->dma_dev.dbg_dev_root->d_sb->__s_d_op->d_unalias_trylock 0,6635409759016140800
PARAM_VALUE 1 swdma_dev->dma_dev.dbg_dev_root->d_sb->__s_d_op->d_unalias_unlock 0,6336447517789900800
PARAM_VALUE 1 swdma_dev->dma_dev.dbg_dev_root->d_sb->__s_d_op->d_weak_revalidate 0,1549882712720502784,5632434648052031488,5669063523602272256,7231033168839651328
PARAM_VALUE 1 swdma_dev->dma_dev.device_alloc_chan_resources 1758573997141299200
PARAM_VALUE 1 swdma_dev->dma_dev.device_free_chan_resources 2237312174752509952
PARAM_VALUE 1 swdma_dev->dma_dev.device_issue_pending 3400809398901862400
PARAM_VALUE 1 swdma_dev->dma_dev.device_pause 3558491248176918528
PARAM_VALUE 1 swdma_dev->dma_dev.device_prep_dma_memcpy 6421432910092046336
PARAM_VALUE 1 swdma_dev->dma_dev.device_release 3742619202178183168
PARAM_VALUE 1 swdma_dev->dma_dev.device_resume 5210248109447733248
PARAM_VALUE 1 swdma_dev->dma_dev.device_synchronize 2776939168855158784
PARAM_VALUE 1 swdma_dev->dma_dev.device_terminate_all 1790199474829725696
PARAM_VALUE 1 swdma_dev->dma_dev.device_tx_status 1262734614535323648
PARAM_VALUE 1 swdma_dev->pdev 4096-ptr_max
PARAM_VALUE 1 swdma_dev->pdev->driver 4096-ptr_max
PARAM_VALUE 1 swdma_dev->pdev->error_state 0-2,4-u32max
PARAM_VALUE 1 swdma_dev->pdev->is_busmaster 1
PARAM_VALUE 1 swdma_dev->pdev->pcie_cap 0-1
PARAM_VALUE 1 swdma_dev->swdma_chans 16,4096-ptr_max
BUF_SIZE 0 pdev (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2576,7472,8064
BUF_SIZE 0 pdev (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2576,7472,8064
BUF_SIZE 1 swdma_dev 496
BUF_SIZE 1 swdma_dev->pdev (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2576,7472,8064
CAPPED_DATA 0 pdev 1
CAPPED_DATA 1 swdma_dev->chan_cnt 1
DATA_SOURCE 0 pdev $0
DATA_SOURCE 1 swdma_dev r _kzalloc_noprof
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 pdev->current_state 0-3[c]
HOST_DATA 1 swdma_dev->chan_cnt 1-s32max[c]
HOST_DATA 1 swdma_dev->chan_status_irq 0-u16max
HOST_DATA 1 swdma_dev->pdev->current_state 0-3[c]
NO_OVERFLOW_SIMPLE 1 swdma_dev->chan_cnt
HALF_LOCKED2 0 &pdev->dev.mutex

drivers/dma/switchtec_dma.c switchtec_dma_remove() -> switchtec_dma_chans_release()

Type Parameter Key Value
PARAM_VALUE 0 pdev 4096-ptr_max
PARAM_VALUE 0 pdev->bus->self->link_bwctrl->cdev (-22),(-19),(-12),0-s64max
PARAM_VALUE 0 pdev->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 pdev->driver 4096-ptr_max
PARAM_VALUE 0 pdev->driver->err_handler 0,4096-ptr_max
PARAM_VALUE 0 pdev->link_bwctrl->cdev 0-s64max
PARAM_VALUE 0 *pdev->saved_config_space 0-4294967295
BUF_SIZE 0 pdev (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2576,8064
BUF_SIZE 0 pdev (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2576,8064
BUF_SIZE 1 swdma_dev s32min-(-2),1-s32max
BUF_SIZE 1 swdma_dev s32min-(-2),1-s32max
CAPPED_DATA 0 pdev 1
DATA_SOURCE 0 pdev $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 pdev->current_state 0-3[c]
UNITS 1 swdma_dev unit_byte
HALF_LOCKED2 0 &pdev->dev.mutex