Documented in 2 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/uverbs_cmd.c ib_uverbs_create_ah() -> rdma_create_user_ah()

Type Parameter Key Value
PARAM_VALUE 0 pd 0-ptr_max
PARAM_VALUE 1 ah_attr 4497602210354266112
PARAM_VALUE 1 ah_attr->ah_flags 0-1
PARAM_VALUE 1 ah_attr->grh.sgid_attr 0
PARAM_VALUE 1 ah_attr->grh.sgid_index 0
PARAM_VALUE 1 ah_attr->port_num 0-255
PARAM_VALUE 1 ah_attr->type 0-3
PARAM_VALUE 2 udata->inlen 0-524280,18446744073709551361-u64max
PARAM_VALUE 2 udata->outlen 0-524280,18446744073709551361-u64max
BUF_SIZE 0 pd 1-s32max
BUF_SIZE 0 pd 1-s32max
DATA_SOURCE 0 pd r _uobj_get_obj_read
USER_DATA 1 ah_attr->ib.dlid 0-u16max
USER_DATA 1 ah_attr->ib.src_path_bits 0-255
USER_DATA 1 ah_attr->opa.dlid 0-u16max
USER_DATA 1 ah_attr->opa.src_path_bits 0-255
USER_DATA 1 ah_attr->port_num 0-255[c]
USER_DATA 1 ah_attr->sl 0-255
USER_DATA 1 ah_attr->static_rate 0-255
USER_DATA 2 udata->inlen 0-524280,18446744073709551361-u64max
USER_DATA 2 udata->outlen 0-524280,18446744073709551361-u64max
HALF_LOCKED2 &file->device->disassociate_srcu

drivers/infiniband/core/user_mad.c ib_umad_write() -> rdma_create_user_ah()

Type Parameter Key Value
PARAM_VALUE 1 ah_attr 4708567135850668032
PARAM_VALUE 1 ah_attr->ah_flags 0-1
PARAM_VALUE 1 ah_attr->opa.dlid 0-u16max
PARAM_VALUE 1 ah_attr->port_num 0-s32max
PARAM_VALUE 1 ah_attr->type 0-3
PARAM_VALUE 2 udata 0
MEM_ZERO 1 ah_attr
LOCK2 &file->mutex
TYPE_LOCK (struct ib_umad_file)->mutex