Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/pci/endpoint/functions/pci-epf-test.c pci_epf_test_enable_doorbell() -> pci_epf_align_inbound_addr()

Type Parameter Key Value
PARAM_VALUE 0 epf 4096-ptr_max
PARAM_VALUE 1 bar 0-5
PARAM_VALUE 3 base 4096-ptr_max
PARAM_VALUE 4 off 5568427842988347392
CAPPED_DATA 0 epf 1
DATA_SOURCE 1 bar r pci_epc_get_next_free_bar
NO_OVERFLOW_SIMPLE 0 epf->num_db
HALF_LOCKED2 &pool->lock

drivers/pci/endpoint/functions/pci-epf-vntb.c epf_ntb_db_bar_init_msi_doorbell() -> pci_epf_align_inbound_addr()

Type Parameter Key Value
PARAM_VALUE 0 epf 4096-ptr_max
PARAM_VALUE 3 base 5834808007799087104
PARAM_VALUE 4 off 2766399466953842688
CAPPED_DATA 0 epf 1
CAPPED_DATA 0 epf->func_no 1
CAPPED_DATA 0 epf->vfunc_no 1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 epf->num_db
LOCK2 &dir->i_rwsem
HALF_LOCKED2 &epf->lock
TYPE_LOCK (struct inode)->i_rwsem
TYPE_LOCK (struct pci_epf)->lock