Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/infiniband/core/verbs.c ib_create_ah_from_wc() -> ib_init_ah_attr_from_wc()

Type Parameter Key Value
PARAM_VALUE 4 ah_attr 1773781027852144640
BUF_SIZE 2 wc (-1),72
BUF_SIZE 2 wc (-1),72
BUF_SIZE 3 grh (-1),40
BUF_SIZE 3 grh (-1),40
DATA_SOURCE 1 port_num $3
DATA_SOURCE 2 wc $1
DATA_SOURCE 3 grh $2
RX_PATH
TASK_NOT_RUNNING
UNITS 1 port_num unit_array_size

drivers/infiniband/core/cm.c cm_init_av_for_response() -> ib_init_ah_attr_from_wc()

Type Parameter Key Value
PARAM_VALUE 2 wc 4096-ptr_max
PARAM_VALUE 4 ah_attr 4096-ptr_max
DATA_SOURCE 2 wc $1
DATA_SOURCE 3 grh $2
HALF_LOCKED2 &pool->lock

drivers/infiniband/core/cm.c cm_lap_handler() -> ib_init_ah_attr_from_wc()

Type Parameter Key Value
PARAM_VALUE 0 device 4096-ptr_max
PARAM_VALUE 0 device->port_data 4096-ptr_max
PARAM_VALUE 4 ah_attr 5328727041879773184
HALF_LOCKED2 &pool->lock

drivers/infiniband/core/user_mad.c recv_handler() -> ib_init_ah_attr_from_wc()

Type Parameter Key Value
PARAM_VALUE 0 device 4096-ptr_max
PARAM_VALUE 0 device->port_data 4096-ptr_max
PARAM_VALUE 2 wc 4096-ptr_max
PARAM_VALUE 2 wc->status 0
PARAM_VALUE 2 wc->wc_flags s32min-(-1),1-s32max
PARAM_VALUE 4 ah_attr 5756709671376969728
BIT_INFO 2 wc->wc_flags 0x1,0xffffffff
RX_PATH
TASK_NOT_RUNNING
UNITS 1 port_num unit_array_size
HALF_LOCKED2 &pool->lock