Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 6 files:

Smatch caller information:

drivers/nvme/target/pci-epf.c nvmet_pci_epf_bind() -> pci_epc_get_features()

Type Parameter Key Value
PARAM_VALUE 0 epc 4096-ptr_max
PARAM_VALUE 0 epc->list_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 epc->list_lock.osq.tail.counter 0-s32max
PARAM_VALUE 1 func_no 0-63
RX_PATH
TASK_NOT_RUNNING
UNITS 1 func_no unit_bit
UNITS 2 vfunc_no unit_bit
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-ntb.c epf_ntb_epc_create_interface() -> pci_epc_get_features()

Type Parameter Key Value
DATA_SOURCE 0 epc $1
RX_PATH
TASK_NOT_RUNNING
UNITS 1 func_no unit_bit
UNITS 2 vfunc_no unit_bit
LOCK2 &dir->i_rwsem
HALF_LOCKED2 &epf->lock
TYPE_LOCK (struct inode)->i_rwsem
TYPE_LOCK (struct pci_epf)->lock

drivers/pci/endpoint/pci-epc-core.c pci_epc_set_bar() -> pci_epc_get_features()

Type Parameter Key Value
PARAM_VALUE 0 epc->dev.parent->cma_area->nranges s32min-s32max
DATA_SOURCE 0 epc $0
DATA_SOURCE 1 func_no $1
DATA_SOURCE 2 vfunc_no $2
RX_PATH
TASK_NOT_RUNNING
UNITS 1 func_no unit_bit
UNITS 2 vfunc_no unit_bit
HALF_LOCKED2 &dir->i_rwsem
HALF_LOCKED2 &epf->lock

drivers/pci/endpoint/functions/pci-epf-test.c pci_epf_test_bind() -> pci_epc_get_features()

Type Parameter Key Value
PARAM_VALUE 0 epc 4096-ptr_max
PARAM_VALUE 0 epc->list_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 epc->list_lock.osq.tail.counter 0-s32max
PARAM_VALUE 1 func_no 0-63
RX_PATH
TASK_NOT_RUNNING
UNITS 1 func_no unit_bit
UNITS 2 vfunc_no unit_bit
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-mhi.c pci_epf_mhi_epc_init() -> pci_epc_get_features()

Type Parameter Key Value
PARAM_VALUE 0 epc 4096-ptr_max
PARAM_VALUE 0 epc->lock.dep_map->name 0-255
PARAM_VALUE 0 epc->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 epc->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 epc->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 epc->lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 epc->lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 epc->lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 epc->lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 epc->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 epc->max_functions 1-255
PARAM_VALUE 0 epc->max_vfs 0,4096-ptr_max
PARAM_VALUE 0 epc->ops->set_msi 4096-ptr_max
PARAM_VALUE 0 *epc->dev.driver_data->bar_to_atu 0-5
PARAM_VALUE 1 func_no 0-254
PARAM_VALUE 2 vfunc_no 0-1
CAPPED_DATA 1 func_no 1
CAPPED_DATA 2 vfunc_no 1
PARAM_COMPARE 0 epc->max_functions > $1
PARAM_COMPARE 1 func_no < $0->max_functions
CONSTRAINT 1 func_no <2180
RX_PATH
TASK_NOT_RUNNING
UNITS 1 func_no unit_bit
UNITS 2 vfunc_no unit_bit
LOCK2 &epf->lock
HALF_LOCKED2 &dir->i_rwsem
HALF_LOCKED2 &epc->list_lock
TYPE_LOCK (struct pci_epf)->lock

drivers/pci/endpoint/functions/pci-epf-vntb.c epf_ntb_config_spad_bar_alloc() -> pci_epc_get_features()

Type Parameter Key Value
PARAM_VALUE 0 epc 0,4096-u64max
RX_PATH
TASK_NOT_RUNNING
UNITS 1 func_no unit_bit
UNITS 2 vfunc_no unit_bit
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_configure_interrupt() -> pci_epc_get_features()

Type Parameter Key Value
PARAM_VALUE 0 epc 4096-ptr_max
PARAM_VALUE 0 epc->lock.dep_map->name 0-255
PARAM_VALUE 0 epc->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 epc->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 epc->lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 epc->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 epc->max_functions 1-255
PARAM_VALUE 0 *epc->dev.driver_data->bar_to_atu 0-64
PARAM_VALUE 1 func_no 0-254
CAPPED_DATA 1 func_no 1
CAPPED_DATA 2 vfunc_no 1
RX_PATH
TASK_NOT_RUNNING
UNITS 1 func_no unit_bit
UNITS 2 vfunc_no unit_bit
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_db_bar_init() -> pci_epc_get_features()

Type Parameter Key Value
PARAM_VALUE 0 epc 4096-ptr_max
PARAM_VALUE 0 epc->lock.dep_map->name 0-255
PARAM_VALUE 0 epc->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 epc->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 epc->lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 epc->lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 epc->lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 epc->lock.first_waiter->task->blocked_lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 epc->lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 epc->max_functions 1-255
PARAM_VALUE 0 *epc->dev.driver_data->bar_to_atu 0-64
PARAM_VALUE 1 func_no 0-254
CAPPED_DATA 1 func_no 1
CAPPED_DATA 2 vfunc_no 1
RX_PATH
TASK_NOT_RUNNING
UNITS 1 func_no unit_bit
UNITS 2 vfunc_no unit_bit
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() -> pci_epc_get_features()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
UNITS 1 func_no unit_bit
UNITS 2 vfunc_no unit_bit
LOCK2 &dir->i_rwsem
HALF_LOCKED2 &epf->lock
TYPE_LOCK (struct inode)->i_rwsem
TYPE_LOCK (struct pci_epf)->lock