Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/infiniband/core/mad.c cleanup_recv_queue() -> mad_priv_dma_size()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &device->client_data_rwsem
HALF_LOCKED2 &device->unregistration_lock
HALF_LOCKED2 global &clients_rwsem
HALF_LOCKED2 global &devices_rwsem

drivers/infiniband/core/mad.c ib_mad_post_receive_mads() -> mad_priv_dma_size()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
PARAM_VALUE 0 mp->mad_size 0-u32max
BUF_SIZE 0 mp (-1),232-s32max
BUF_SIZE 0 mp (-1),232-s32max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &device->client_data_rwsem
HALF_LOCKED2 global &clients_rwsem
HALF_LOCKED2 global &devices_rwsem

drivers/infiniband/core/mad.c ib_mad_post_receive_mads() -> mad_priv_dma_size()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
PARAM_VALUE 0 mp->mad_size 0-u32max
BUF_SIZE 0 mp (-1),232-s32max
BUF_SIZE 0 mp (-1),232-s32max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &device->client_data_rwsem
HALF_LOCKED2 global &clients_rwsem
HALF_LOCKED2 global &devices_rwsem

drivers/infiniband/core/mad.c ib_mad_post_receive_mads() -> mad_priv_dma_size()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
PARAM_VALUE 0 mp->mad_size 0-u32max
BUF_SIZE 0 mp (-1),232-s32max
BUF_SIZE 0 mp (-1),232-s32max
BUF_SIZE 0 mp->header.mad_list.mad_queue 104
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &device->client_data_rwsem
HALF_LOCKED2 global &clients_rwsem
HALF_LOCKED2 global &devices_rwsem

drivers/infiniband/core/mad.c ib_mad_recv_done() -> mad_priv_dma_size()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING