Documented in 2 files:

Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/pci/endpoint/functions/pci-epf-ntb.c epf_ntb_unbind() -> epf_ntb_epc_cleanup()

Type Parameter Key Value
BUF_SIZE 0 ntb s32min-(-2),1-s32max
BUF_SIZE 0 ntb s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 ntb unit_byte
HALF_LOCKED2 &dir->i_rwsem
HALF_LOCKED2 &epf->lock
HALF_LOCKED2 &epf->lock
TYPE_LOCK (struct inode)->i_rwsem
TYPE_LOCK (struct pci_epf)->lock

drivers/pci/endpoint/functions/pci-epf-vntb.c epf_ntb_bind() -> epf_ntb_epc_cleanup()

Type Parameter Key Value
PARAM_VALUE 0 ntb 4096-ptr_max
PARAM_VALUE 0 ntb->db_count 3-32
PARAM_VALUE 0 ntb->epf 4096-ptr_max
PARAM_VALUE 0 ntb->epf->db_msg 0,4096-ptr_max
PARAM_VALUE 0 ntb->epf->epc 4096-ptr_max
PARAM_VALUE 0 ntb->epf->epc->dev.parent->cma_area->nranges s32min-s32max
PARAM_VALUE 0 ntb->epf->epc->dev.parent->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 ntb->epf->epc->lock->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 ntb->epf->epc->lock.dep_map->name 0-255
PARAM_VALUE 0 ntb->epf->epc->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ntb->epf->epc->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ntb->epf->epc->lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 ntb->epf->epc->lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 ntb->epf->epc->lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 ntb->epf->epc->lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 ntb->epf->epc->lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 ntb->epf->epc->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ntb->epf->epc->max_functions 1-255
PARAM_VALUE 0 ntb->epf->func_no 0-254
PARAM_VALUE 0 ntb->epf->header->interrupt_pin 0-255
PARAM_VALUE 0 ntb->epf->num_db 0
PARAM_VALUE 0 ntb->epf_db 1-ptr_max
PARAM_VALUE 0 ntb->num_mws 1-s32max
PARAM_VALUE 0 ntb->peer_db_pending.counter 0
PARAM_VALUE 0 ntb->reg 4096-ptr_max
PARAM_VALUE 0 ntb->reg->db_entry_size 0,4
PARAM_VALUE 0 ntb->reg->num_mws 1-s32max
PARAM_VALUE 0 ntb->reg->spad_offset 308
PARAM_VALUE 0 *ntb->epf_ntb_bar s32min-s32max
PARAM_VALUE 0 *ntb->reg->db_data 0-4294967295
PARAM_VALUE 0 *ntb->reg->db_offset 0-4294967295
BUF_SIZE 0 ntb s32min-(-2),1-s32max
BUF_SIZE 0 ntb s32min-(-2),1-s32max
CAPPED_DATA 0 ntb 1
CAPPED_DATA 0 ntb->db_count 1
CAPPED_DATA 0 ntb->epf 1
CAPPED_DATA 0 ntb->epf->func_no 1
CAPPED_DATA 0 ntb->epf->vfunc_no 1
CAPPED_DATA 0 ntb->num_mws 1
PARAM_COMPARE 0 ntb->epf->epc->max_functions > $0->epf->func_no
CONSTRAINT 0 ntb->epf->func_no <2180
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 ntb->db_count
UNITS 0 ntb unit_byte
LOCK2 &dir->i_rwsem
HALF_LOCKED2 &epf->lock
HALF_LOCKED2 &epf->lock
TYPE_LOCK (struct inode)->i_rwsem
TYPE_LOCK (struct pci_epf)->lock

drivers/pci/endpoint/functions/pci-epf-vntb.c epf_ntb_unbind() -> epf_ntb_epc_cleanup()

Type Parameter Key Value
BUF_SIZE 0 ntb s32min-(-2),1-s32max
BUF_SIZE 0 ntb s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 ntb unit_byte
HALF_LOCKED2 &dir->i_rwsem
HALF_LOCKED2 &epf->lock
HALF_LOCKED2 &epf->lock
TYPE_LOCK (struct inode)->i_rwsem
TYPE_LOCK (struct pci_epf)->lock