Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/ntb/hw/intel/ntb_hw_gen3.c ndev_ntb3_debugfs_read() -> (struct intel_ntb_reg)->link_is_up()

Type Parameter Key Value
PARAM_VALUE 0 ndev 4096-ptr_max
PARAM_VALUE 0 ndev->reg 4096-ptr_max
BUF_SIZE 0 ndev s32min-(-2),1-s32max
BUF_SIZE 0 ndev s32min-(-2),1-s32max
CONTAINER 0 -8-1976+0 $(-1)

drivers/ntb/hw/intel/ntb_hw_gen4.c ndev_ntb4_debugfs_read() -> (struct intel_ntb_reg)->link_is_up()

Type Parameter Key Value
PARAM_VALUE 0 ndev 4096-ptr_max
PARAM_VALUE 0 ndev->reg 4096-ptr_max
BUF_SIZE 0 ndev s32min-(-2),1-s32max
BUF_SIZE 0 ndev s32min-(-2),1-s32max
CONTAINER 0 -8-1976+0 $(-1)

drivers/ntb/hw/intel/ntb_hw_gen1.c intel_ntb_link_is_up() -> (struct intel_ntb_reg)->link_is_up()

Type Parameter Key Value
PARAM_VALUE 0 ndev 4096-ptr_max
PARAM_VALUE 0 ndev->reg 4096-ptr_max
CONTAINER 0 -8-1976+0 $(-1)
TASK_NOT_RUNNING
HALF_LOCKED2 &_T->lock->msi.data->mutex
HALF_LOCKED2 &ntb->ctx_lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 irqflags

drivers/ntb/hw/intel/ntb_hw_gen1.c ndev_ntb_debugfs_read() -> (struct intel_ntb_reg)->link_is_up()

Type Parameter Key Value
PARAM_VALUE 0 ndev 4096-ptr_max
PARAM_VALUE 0 ndev->reg 4096-ptr_max
BUF_SIZE 0 ndev s32min-(-2),1-s32max
BUF_SIZE 0 ndev s32min-(-2),1-s32max
CONTAINER 0 -8-1976+0 $(-1)