Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/infiniband/hw/mthca/mthca_mr.c mthca_alloc_mtt_range() -> mthca_buddy_alloc()

Type Parameter Key Value
PARAM_VALUE 0 buddy 4096-ptr_max
PARAM_VALUE 1 order 0-s32max
BUF_SIZE 0 buddy (-1),96
BUF_SIZE 0 buddy (-1),96
DATA_SOURCE 0 buddy $2
DATA_SOURCE 1 order $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &mthca_device_mutex

drivers/infiniband/hw/mthca/mthca_mr.c mthca_init_mr_table() -> mthca_buddy_alloc()

Type Parameter Key Value
PARAM_VALUE 0 buddy 4096-ptr_max
PARAM_VALUE 0 buddy->bits 4096-ptr_max
PARAM_VALUE 0 buddy->max_order 0-32
PARAM_VALUE 0 buddy->num_free 4096-ptr_max
PARAM_VALUE 1 order 0-32
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &mthca_device_mutex
HALF_LOCKED2 &pool->lock