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_bind() -> epf_ntb_epc_init()

Type Parameter Key Value
PARAM_VALUE 0 ntb 4096-ptr_max
PARAM_VALUE 0 ntb->epf 4096-ptr_max
PARAM_VALUE 0 ntb->epf->dev.devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 ntb->epf->dev.devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 ntb->epf->driver->ops 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->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.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->sec_epc 4096-ptr_max
PARAM_VALUE 0 ntb->epf->sec_epc->dev.parent->cma_area->nranges s32min-s32max
PARAM_VALUE 0 ntb->epf->sec_epc->lock.dep_map->name 0-255
PARAM_VALUE 0 ntb->epf->sec_epc->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ntb->epf->sec_epc->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ntb->epf->sec_epc->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ntb->epf->sec_epc->max_functions 1-255
PARAM_VALUE 0 ntb->epf->sec_epc_func_no 0-254
PARAM_VALUE 0 ntb->num_mws 1-s32max
BUF_SIZE 0 ntb s32min-(-2),1-s32max
BUF_SIZE 0 ntb s32min-(-2),1-s32max
CAPPED_DATA 0 ntb->epf->func_no 1
CAPPED_DATA 0 ntb->epf->sec_epc_func_no 1
CAPPED_DATA 0 ntb->epf->vfunc_no 1
PARAM_COMPARE 0 ntb->epf->epc->max_functions > $0->epf->func_no
PARAM_COMPARE 0 ntb->epf->sec_epc->max_functions > $0->epf->sec_epc_func_no
RX_PATH
TASK_NOT_RUNNING
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_bind() -> epf_ntb_epc_init()

Type Parameter Key Value
PARAM_VALUE 0 ntb 4096-ptr_max
PARAM_VALUE 0 ntb->db_count 0-s32max
PARAM_VALUE 0 ntb->epf 4096-ptr_max
PARAM_VALUE 0 ntb->epf->epc 0,4096-u64max
PARAM_VALUE 0 ntb->epf->epc->dev.parent->cma_area->nranges s32min-s32max
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->num_mws 1-s32max
PARAM_VALUE 0 ntb->reg 4096-ptr_max
PARAM_VALUE 0 ntb->reg->db_entry_size 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
BUF_SIZE 0 ntb s32min-(-2),1-s32max
BUF_SIZE 0 ntb s32min-(-2),1-s32max
CAPPED_DATA 0 ntb->db_count 1
RX_PATH
TASK_NOT_RUNNING
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