Defined in 1 files as a struct:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 11 files:

Smatch caller information:

drivers/infiniband/hw/mthca/mthca_uar.c mthca_uar_alloc() -> mthca_alloc()

Type Parameter Key Value
PARAM_VALUE 0 alloc 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &file->hw_destroy_rwsem
HALF_LOCKED2 &file->ucontext_lock
HALF_LOCKED2 global &mthca_device_mutex

drivers/infiniband/hw/mthca/mthca_srq.c mthca_alloc_srq() -> mthca_alloc()

Type Parameter Key Value
PARAM_VALUE 0 alloc 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &devr->srq_lock
HALF_LOCKED2 global &device_list_mutex

drivers/infiniband/hw/mthca/mthca_pd.c mthca_pd_alloc() -> mthca_alloc()

Type Parameter Key Value
PARAM_VALUE 0 alloc 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 alloc->last 0[c]
HALF_LOCKED2 global &mthca_device_mutex

drivers/infiniband/hw/mthca/mthca_eq.c mthca_create_eq() -> mthca_alloc()

Type Parameter Key Value
PARAM_VALUE 0 alloc 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &mthca_device_mutex
HALF_LOCKED2 &pool->lock

drivers/infiniband/hw/mthca/mthca_mr.c mthca_mr_alloc() -> mthca_alloc()

Type Parameter Key Value
PARAM_VALUE 0 alloc 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

drivers/infiniband/hw/mthca/mthca_mcg.c mthca_multicast_attach() -> mthca_alloc()

Type Parameter Key Value
PARAM_VALUE 0 alloc 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 &dev->mcg_table.mutex
HALF_LOCKED2 &obj->mcast_lock
TYPE_LOCK (struct mthca_mcg_table)->mutex

drivers/infiniband/hw/mthca/mthca_av.c mthca_create_ah() -> mthca_alloc()

Type Parameter Key Value
PARAM_VALUE 0 alloc 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

drivers/infiniband/hw/mthca/mthca_cq.c mthca_init_cq() -> mthca_alloc()

Type Parameter Key Value
PARAM_VALUE 0 alloc 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

drivers/infiniband/hw/mthca/mthca_qp.c mthca_alloc_qp() -> mthca_alloc()

Type Parameter Key Value
PARAM_VALUE 0 alloc 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING