Defined in 1 files as a variable:

Defined in 16 files as a member:

Defined in 1 files as a function:

Referenced in 75 files:

Smatch caller information:

drivers/infiniband/core/user_mad.c copy_recv_mad() -> hdr_size()

Type Parameter Key Value
PARAM_VALUE 0 file 4096-ptr_max
BUF_SIZE 0 file s32min-(-2),1-s32max
BUF_SIZE 0 file s32min-(-2),1-s32max
DATA_SOURCE 0 file $0

drivers/infiniband/core/user_mad.c copy_recv_mad() -> hdr_size()

Type Parameter Key Value
PARAM_VALUE 0 file 4096-ptr_max
BUF_SIZE 0 file s32min-(-2),1-s32max
BUF_SIZE 0 file s32min-(-2),1-s32max
DATA_SOURCE 0 file $0

drivers/infiniband/core/user_mad.c copy_recv_mad() -> hdr_size()

Type Parameter Key Value
PARAM_VALUE 0 file 4096-ptr_max
BUF_SIZE 0 file s32min-(-2),1-s32max
BUF_SIZE 0 file s32min-(-2),1-s32max
DATA_SOURCE 0 file $0

drivers/infiniband/core/user_mad.c copy_recv_mad() -> hdr_size()

Type Parameter Key Value
PARAM_VALUE 0 file 4096-ptr_max
BUF_SIZE 0 file s32min-(-2),1-s32max
BUF_SIZE 0 file s32min-(-2),1-s32max
DATA_SOURCE 0 file $0

drivers/infiniband/core/user_mad.c copy_recv_mad() -> hdr_size()

Type Parameter Key Value
PARAM_VALUE 0 file 4096-ptr_max
BUF_SIZE 0 file s32min-(-2),1-s32max
BUF_SIZE 0 file s32min-(-2),1-s32max
DATA_SOURCE 0 file $0

drivers/infiniband/core/user_mad.c copy_recv_mad() -> hdr_size()

Type Parameter Key Value
PARAM_VALUE 0 file 4096-ptr_max
BUF_SIZE 0 file s32min-(-2),1-s32max
BUF_SIZE 0 file s32min-(-2),1-s32max
DATA_SOURCE 0 file $0

drivers/infiniband/core/user_mad.c copy_send_mad() -> hdr_size()

Type Parameter Key Value
PARAM_VALUE 0 file 4096-ptr_max
BUF_SIZE 0 file s32min-(-2),1-s32max
BUF_SIZE 0 file s32min-(-2),1-s32max
DATA_SOURCE 0 file $0

drivers/infiniband/core/user_mad.c copy_send_mad() -> hdr_size()

Type Parameter Key Value
PARAM_VALUE 0 file 4096-ptr_max
BUF_SIZE 0 file s32min-(-2),1-s32max
BUF_SIZE 0 file s32min-(-2),1-s32max
DATA_SOURCE 0 file $0

drivers/infiniband/core/user_mad.c copy_send_mad() -> hdr_size()

Type Parameter Key Value
PARAM_VALUE 0 file 4096-ptr_max
BUF_SIZE 0 file s32min-(-2),1-s32max
BUF_SIZE 0 file s32min-(-2),1-s32max
DATA_SOURCE 0 file $0

drivers/infiniband/core/user_mad.c ib_umad_read() -> hdr_size()

Type Parameter Key Value
BUF_SIZE 0 file s32min-(-2),1-s32max
BUF_SIZE 0 file s32min-(-2),1-s32max

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

Type Parameter Key Value
BUF_SIZE 0 file s32min-(-2),1-s32max
BUF_SIZE 0 file s32min-(-2),1-s32max

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

Type Parameter Key Value
PARAM_VALUE 0 file 4096-ptr_max
BUF_SIZE 0 file s32min-(-2),1-s32max
BUF_SIZE 0 file s32min-(-2),1-s32max

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

Type Parameter Key Value
PARAM_VALUE 0 file 4096-ptr_max
BUF_SIZE 0 file s32min-(-2),1-s32max
BUF_SIZE 0 file s32min-(-2),1-s32max

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

Type Parameter Key Value
PARAM_VALUE 0 file 4096-ptr_max
BUF_SIZE 0 file s32min-(-2),1-s32max
BUF_SIZE 0 file s32min-(-2),1-s32max
CAPPED_DATA 0 &file->mutex 1
LOCK2 0 &file->mutex
TYPE_LOCK (struct ib_umad_file)->mutex

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

Type Parameter Key Value
PARAM_VALUE 0 file 4096-ptr_max
BUF_SIZE 0 file s32min-(-2),1-s32max
BUF_SIZE 0 file s32min-(-2),1-s32max
CAPPED_DATA 0 &file->mutex 1
LOCK2 0 &file->mutex
TYPE_LOCK (struct ib_umad_file)->mutex

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

Type Parameter Key Value
BUF_SIZE 0 file s32min-(-2),1-s32max
BUF_SIZE 0 file s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock