Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/infiniband/core/verbs.c ib_attach_mcast() -> is_valid_mcast_lid()

Type Parameter Key Value
PARAM_VALUE 0 qp 4096-ptr_max
PARAM_VALUE 0 qp->device 4096-ptr_max
PARAM_VALUE 0 qp->device->ops.attach_mcast 1-u64max
PARAM_VALUE 0 qp->qp_type 4
BUF_SIZE 0 qp (-1),1-s32max
BUF_SIZE 0 qp (-1),1-s32max
DATA_SOURCE 0 qp $0
DATA_SOURCE 1 lid $2
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 lid 0-u16max
HALF_LOCKED2 &obj->mcast_lock

drivers/infiniband/core/verbs.c ib_detach_mcast() -> is_valid_mcast_lid()

Type Parameter Key Value
PARAM_VALUE 0 qp 4096-ptr_max
PARAM_VALUE 0 qp->device 4096-ptr_max
PARAM_VALUE 0 qp->device->ops.detach_mcast 1-u64max
PARAM_VALUE 0 qp->qp_type 4
BUF_SIZE 0 qp (-1),1-s32max
BUF_SIZE 0 qp (-1),1-s32max
DATA_SOURCE 0 qp $0
DATA_SOURCE 1 lid $2
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &obj->mcast_lock