Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/ntb/hw/intel/ntb_hw_gen1.c ndev_db_addr() -> ndev_is_unsafe()

Type Parameter Key Value
PARAM_VALUE 0 ndev 4096-ptr_max
PARAM_VALUE 1 flag 1
DATA_SOURCE 0 ndev $0

drivers/ntb/hw/intel/ntb_hw_gen1.c ndev_db_clear_mask() -> ndev_is_unsafe()

Type Parameter Key Value
PARAM_VALUE 0 ndev 4096-ptr_max
PARAM_VALUE 1 flag 1
DATA_SOURCE 0 ndev $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pp->lock

drivers/ntb/hw/intel/ntb_hw_gen1.c ndev_db_read() -> ndev_is_unsafe()

Type Parameter Key Value
PARAM_VALUE 0 ndev 4096-ptr_max
PARAM_VALUE 1 flag 1
BUF_SIZE 0 ndev s32min-(-1),1-s32max
BUF_SIZE 0 ndev s32min-(-1),1-s32max
DATA_SOURCE 0 ndev $0
TASK_NOT_RUNNING

drivers/ntb/hw/intel/ntb_hw_gen1.c ndev_db_set_mask() -> ndev_is_unsafe()

Type Parameter Key Value
PARAM_VALUE 0 ndev 4096-ptr_max
PARAM_VALUE 1 flag 1
DATA_SOURCE 0 ndev $0
RX_PATH
TASK_NOT_RUNNING

drivers/ntb/hw/intel/ntb_hw_gen1.c ndev_db_write() -> ndev_is_unsafe()

Type Parameter Key Value
PARAM_VALUE 0 ndev 4096-ptr_max
PARAM_VALUE 1 flag 1
DATA_SOURCE 0 ndev $0
RX_PATH
TASK_NOT_RUNNING

drivers/ntb/hw/intel/ntb_hw_gen1.c ndev_spad_addr() -> ndev_is_unsafe()

Type Parameter Key Value
PARAM_VALUE 0 ndev 4096-ptr_max
PARAM_VALUE 1 flag 2
DATA_SOURCE 0 ndev $0

drivers/ntb/hw/intel/ntb_hw_gen1.c ndev_spad_read() -> ndev_is_unsafe()

Type Parameter Key Value
PARAM_VALUE 0 ndev 4096-ptr_max
PARAM_VALUE 1 flag 2
DATA_SOURCE 0 ndev $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ntb->ctx_lock
HALF_LOCKED2 irqflags

drivers/ntb/hw/intel/ntb_hw_gen1.c ndev_spad_write() -> ndev_is_unsafe()

Type Parameter Key Value
PARAM_VALUE 0 ndev 4096-ptr_max
PARAM_VALUE 1 flag 2
DATA_SOURCE 0 ndev $0
RX_PATH
TASK_NOT_RUNNING