Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/scsi/cxgbi/libcxgbi.c cxgbi_device_unregister_all() -> cxgbi_device_unregister()

Type Parameter Key Value
PARAM_VALUE 0 cdev 4096-ptr_max
CAPPED_DATA 0 &cdev->list_head 1
NOCHECK_CALL

drivers/scsi/cxgbi/cxgb4i/cxgb4i.c t4_uld_add() -> cxgbi_device_unregister()

Type Parameter Key Value
PARAM_VALUE 0 cdev 4096-ptr_max
PARAM_VALUE 0 cdev->dd_data 4096-ptr_max
PARAM_VALUE 0 cdev->dd_data->vr 4096-ptr_max
PARAM_VALUE 0 cdev->dd_data->vr->iscsi.size 0-4294967295
PARAM_VALUE 0 cdev->flags 2,66,273,322,1090,1297,1346
PARAM_VALUE 0 cdev->hbas 4096-ptr_max
PARAM_VALUE 0 cdev->itp 8391130652650049536
PARAM_VALUE 0 cdev->list_head.next 7506476421223837696
PARAM_VALUE 0 cdev->list_head.prev 4096-ptr_max
PARAM_VALUE 0 cdev->nmtus 16
PARAM_VALUE 0 cdev->nports 0-15
PARAM_VALUE 0 cdev->owner 0
PARAM_VALUE 0 cdev->pfvf 0,256-4294967040
PARAM_VALUE 0 cdev->ports 4096-ptr_max
PARAM_VALUE 0 cdev->rcu_node.next 7110540342067613696
PARAM_VALUE 0 cdev->rcu_node.prev 4096-ptr_max
PARAM_VALUE 0 cdev->skb_rx_extra 16
PARAM_VALUE 0 cdev->skb_tx_rsvd 168
PARAM_VALUE 0 *cdev->hbas 0-255
BUF_SIZE 0 cdev 344-s32max
BUF_SIZE 0 cdev 344-s32max
BUF_SIZE 0 cdev->itp 392
BUF_SIZE 0 cdev->mtus 32
BUF_SIZE 0 cdev->ports 32
CAPPED_DATA 0 cdev->nports 1
DATA_SOURCE 0 cdev r cxgbi_device_register
FUZZY_MAX 0 cdev->flags 2
BIT_INFO 0 cdev->pfvf 0x0,0xffffff00
NOCHECK_CALL
LOCK2 global &uld_mutex

drivers/scsi/cxgbi/cxgb4i/cxgb4i.c t4_uld_state_change() -> cxgbi_device_unregister()

Type Parameter Key Value
PARAM_VALUE 0 cdev 1-u64max
BUF_SIZE 0 cdev (-1),216,304,312,344-s32max
BUF_SIZE 0 cdev (-1),216,304,312,344-s32max
DATA_SOURCE 0 cdev $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &uld_mutex
HALF_LOCKED2 &dev->mutex

drivers/scsi/cxgbi/cxgb3i/cxgb3i.c cxgb3i_dev_close() -> cxgbi_device_unregister()

Type Parameter Key Value
PARAM_VALUE 0 cdev 4096-ptr_max
PARAM_VALUE 0 cdev->lldev 4096-ptr_max
CAPPED_DATA 0 cdev->lldev 1
DATA_SOURCE 0 cdev r cxgbi_device_find_by_lldev
BIT_INFO 0 cdev->flags 0x0,0xfffffffb
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &cxgb3_db_lock

drivers/scsi/cxgbi/cxgb3i/cxgb3i.c cxgb3i_dev_open() -> cxgbi_device_unregister()

Type Parameter Key Value
PARAM_VALUE 0 cdev 4096-ptr_max
PARAM_VALUE 0 cdev->flags 17,273,322
PARAM_VALUE 0 cdev->hbas 4096-ptr_max
PARAM_VALUE 0 cdev->itp 3741152090380673024
PARAM_VALUE 0 cdev->list_head.next 7506476421223837696
PARAM_VALUE 0 cdev->list_head.prev 4096-ptr_max
PARAM_VALUE 0 cdev->lldev 4096-ptr_max
PARAM_VALUE 0 cdev->lldev->ctl 4096-ptr_max
PARAM_VALUE 0 cdev->nmtus 16
PARAM_VALUE 0 cdev->ports 4096-ptr_max
PARAM_VALUE 0 cdev->rcu_node.next 7110540342067613696
PARAM_VALUE 0 cdev->rcu_node.prev 4096-ptr_max
PARAM_VALUE 0 cdev->skb_rx_extra 16
PARAM_VALUE 0 cdev->skb_tx_rsvd 176
PARAM_VALUE 0 *cdev->hbas 0-255
BUF_SIZE 0 cdev 344-s32max
BUF_SIZE 0 cdev 344-s32max
BUF_SIZE 0 cdev->itp 392
BUF_SIZE 0 cdev->mtus 32
BUF_SIZE 0 cdev->ports 16
DATA_SOURCE 0 cdev r cxgbi_device_register
FUZZY_MAX 0 cdev->flags 17
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &cxgb3_db_lock