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/ud_header.c ib_ud_header_pack() -> ib_pack()

Type Parameter Key Value
PARAM_VALUE 0 desc 1027833071387209728
PARAM_VALUE 1 desc_len 9
PARAM_VALUE 2 structure 4096-ptr_max
BUF_SIZE 0 desc 360
BUF_SIZE 2 structure 10
MEM_ZERO 2 structure
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 desc_len unit_array_size
LOCK2 &qp->sq.lock
HALF_LOCKED2 flags

drivers/infiniband/core/ud_header.c ib_ud_header_pack() -> ib_pack()

Type Parameter Key Value
PARAM_VALUE 0 desc 6442003033903431680
PARAM_VALUE 1 desc_len 5
PARAM_VALUE 2 structure 4096-ptr_max
BUF_SIZE 0 desc 200
BUF_SIZE 2 structure 14
MEM_ZERO 2 structure
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 desc_len unit_array_size
HALF_LOCKED2 &qp->q_lock
HALF_LOCKED2 &qp->sq.lock
HALF_LOCKED2 &qp->sq_lock
HALF_LOCKED2 flags

drivers/infiniband/core/ud_header.c ib_ud_header_pack() -> ib_pack()

Type Parameter Key Value
PARAM_VALUE 0 desc 1549593730038513664
PARAM_VALUE 1 desc_len 2
PARAM_VALUE 2 structure 4096-ptr_max
BUF_SIZE 0 desc 80
BUF_SIZE 2 structure 4
MEM_ZERO 2 structure
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 desc_len unit_array_size
HALF_LOCKED2 &qp->q_lock
HALF_LOCKED2 &qp->sq.lock
HALF_LOCKED2 &qp->sq_lock
HALF_LOCKED2 flags

drivers/infiniband/core/ud_header.c ib_ud_header_pack() -> ib_pack()

Type Parameter Key Value
PARAM_VALUE 0 desc 300935406841204736
PARAM_VALUE 1 desc_len 8
PARAM_VALUE 2 structure 4096-ptr_max
PARAM_VALUE 3 buf 4096-ptr_max
BUF_SIZE 0 desc 320
BUF_SIZE 2 structure 48
MEM_ZERO 2 structure
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 desc_len unit_array_size
HALF_LOCKED2 &qp->q_lock
HALF_LOCKED2 &qp->sq.lock
HALF_LOCKED2 &qp->sq_lock
HALF_LOCKED2 flags

drivers/infiniband/core/ud_header.c ib_ud_header_pack() -> ib_pack()

Type Parameter Key Value
PARAM_VALUE 0 desc 6545918211642535936
PARAM_VALUE 1 desc_len 11
PARAM_VALUE 2 structure 4096-ptr_max
PARAM_VALUE 3 buf 4096-ptr_max
BUF_SIZE 0 desc 440
BUF_SIZE 2 structure 24
MEM_ZERO 2 structure
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 desc_len unit_array_size
HALF_LOCKED2 &qp->q_lock
HALF_LOCKED2 &qp->sq.lock
HALF_LOCKED2 &qp->sq_lock
HALF_LOCKED2 flags

drivers/infiniband/core/ud_header.c ib_ud_header_pack() -> ib_pack()

Type Parameter Key Value
PARAM_VALUE 0 desc 8336505432355594240
PARAM_VALUE 1 desc_len 4
PARAM_VALUE 2 structure 4096-ptr_max
PARAM_VALUE 3 buf 4096-ptr_max
BUF_SIZE 0 desc 160
BUF_SIZE 2 structure 8
MEM_ZERO 2 structure
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 desc_len unit_array_size
HALF_LOCKED2 &qp->q_lock
HALF_LOCKED2 &qp->sq.lock
HALF_LOCKED2 &qp->sq_lock
HALF_LOCKED2 flags

drivers/infiniband/core/ud_header.c ib_ud_header_pack() -> ib_pack()

Type Parameter Key Value
PARAM_VALUE 0 desc 8958449724452163584
PARAM_VALUE 1 desc_len 11
PARAM_VALUE 2 structure 4096-ptr_max
BUF_SIZE 0 desc 440
BUF_SIZE 2 structure 20
MEM_ZERO 2 structure
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 desc_len unit_array_size
HALF_LOCKED2 &qp->q_lock
HALF_LOCKED2 &qp->sq.lock
HALF_LOCKED2 &qp->sq_lock
HALF_LOCKED2 flags

drivers/infiniband/core/ud_header.c ib_ud_header_pack() -> ib_pack()

Type Parameter Key Value
PARAM_VALUE 0 desc 938017837224390656
PARAM_VALUE 1 desc_len 3
PARAM_VALUE 2 structure 4096-ptr_max
PARAM_VALUE 3 buf 4096-ptr_max
BUF_SIZE 0 desc 120
BUF_SIZE 2 structure 8
MEM_ZERO 2 structure
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 desc_len unit_array_size
HALF_LOCKED2 &qp->q_lock
HALF_LOCKED2 &qp->sq.lock
HALF_LOCKED2 &qp->sq_lock
HALF_LOCKED2 flags

drivers/infiniband/core/sa_query.c ib_sa_guid_info_rec_query() -> ib_pack()

Type Parameter Key Value
PARAM_VALUE 0 desc 2747979258088357888
PARAM_VALUE 1 desc_len 5
PARAM_VALUE 2 structure 586924046537973760
BUF_SIZE 0 desc 200
BUF_SIZE 3 buf 200
DATA_SOURCE 2 structure $3
NOCHECK_CALL
UNITS 1 desc_len unit_array_size
HALF_LOCKED2 &pool->lock

drivers/infiniband/core/sa_query.c ib_sa_mcmember_rec_query() -> ib_pack()

Type Parameter Key Value
PARAM_VALUE 0 desc 9089784407942299648
PARAM_VALUE 1 desc_len 19
PARAM_VALUE 2 structure 4096-ptr_max
BUF_SIZE 0 desc 760
BUF_SIZE 3 buf 200
DATA_SOURCE 2 structure $4
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 desc_len unit_array_size

drivers/infiniband/core/sa_query.c ib_sa_pack_path() -> ib_pack()

Type Parameter Key Value
PARAM_VALUE 0 desc 3565313045745102848
PARAM_VALUE 1 desc_len 23
PARAM_VALUE 2 structure 4096-ptr_max
PARAM_VALUE 3 buf 4096-ptr_max
BUF_SIZE 0 desc 920
BUF_SIZE 3 buf 64
BUF_SIZE 3 buf 64
DATA_SOURCE 2 structure $0
DATA_SOURCE 3 buf $1
NOCHECK_CALL
UNITS 1 desc_len unit_array_size
LOCK2 &ctx->mutex
TYPE_LOCK (struct ucma_context)->mutex

drivers/infiniband/core/sa_query.c ib_sa_pack_service() -> ib_pack()

Type Parameter Key Value
PARAM_VALUE 0 desc 4296995681723543552
PARAM_VALUE 1 desc_len 11
PARAM_VALUE 2 structure 4545978030188670976
BUF_SIZE 0 desc 440
BUF_SIZE 3 buf 200
BUF_SIZE 3 buf 200
DATA_SOURCE 2 structure $0
DATA_SOURCE 3 buf $1
NOCHECK_CALL
UNITS 1 desc_len unit_array_size
LOCK2 &ctx->mutex
TYPE_LOCK (struct ucma_context)->mutex

drivers/infiniband/core/sa_query.c ib_sa_path_rec_get() -> ib_pack()

Type Parameter Key Value
PARAM_VALUE 0 desc 5898888020501872640
PARAM_VALUE 1 desc_len 30
PARAM_VALUE 2 structure 4096-ptr_max
BUF_SIZE 0 desc 1200
BUF_SIZE 3 buf 200
DATA_SOURCE 2 structure $3
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 desc_len unit_array_size
HALF_LOCKED2 &priv->lock

drivers/infiniband/core/sa_query.c ib_sa_path_rec_get() -> ib_pack()

Type Parameter Key Value
PARAM_VALUE 0 desc 3565313045745102848
PARAM_VALUE 1 desc_len 23
PARAM_VALUE 2 structure 1-u64max
BUF_SIZE 0 desc 920
BUF_SIZE 2 structure 88,u64max
BUF_SIZE 3 buf 200
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 desc_len unit_array_size
HALF_LOCKED2 &priv->lock

drivers/infiniband/core/sa_query.c ib_sa_path_rec_get() -> ib_pack()

Type Parameter Key Value
PARAM_VALUE 0 desc 3565313045745102848
PARAM_VALUE 1 desc_len 23
PARAM_VALUE 2 structure 4096-ptr_max
BUF_SIZE 0 desc 920
BUF_SIZE 3 buf 200
DATA_SOURCE 2 structure $3
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 desc_len unit_array_size
HALF_LOCKED2 &priv->lock