Documented in 1 files:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/pci/endpoint/functions/pci-epf-vntb.c epf_ntb_init_epc_bar() -> epf_ntb_find_bar()

Type Parameter Key Value
PARAM_VALUE 0 ntb 4096-ptr_max
PARAM_VALUE 2 bar 0-2
PARAM_VALUE 3 barno 0-s32max
BUF_SIZE 0 ntb s32min-(-2),1-s32max
BUF_SIZE 0 ntb s32min-(-2),1-s32max
BUF_SIZE 1 epc_features (-1),208
BUF_SIZE 1 epc_features (-1),208
DATA_SOURCE 0 ntb $0
DATA_SOURCE 1 epc_features r pci_epc_get_features
FUZZY_MAX 2 bar 2
FUZZY_MAX 3 barno 0
HARD_MAX 2 bar 2
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ntb unit_byte
LOCK2 &dir->i_rwsem
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_init_epc_bar() -> epf_ntb_find_bar()

Type Parameter Key Value
PARAM_VALUE 0 ntb 4096-ptr_max
PARAM_VALUE 1 epc_features 0,4096-ptr_max
PARAM_VALUE 2 bar 2-u32max
PARAM_VALUE 3 barno (-1)-s32max
BUF_SIZE 0 ntb s32min-(-2),1-s32max
BUF_SIZE 0 ntb s32min-(-2),1-s32max
BUF_SIZE 1 epc_features (-1),208
BUF_SIZE 1 epc_features (-1),208
DATA_SOURCE 0 ntb $0
DATA_SOURCE 1 epc_features r pci_epc_get_features
DATA_SOURCE 3 barno r epf_ntb_find_bar
FUZZY_MAX 2 bar 2
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ntb unit_byte
LOCK2 &dir->i_rwsem
HALF_LOCKED2 &epf->lock
TYPE_LOCK (struct inode)->i_rwsem
TYPE_LOCK (struct pci_epf)->lock