Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 9 files:

Smatch caller information:

drivers/infiniband/hw/mthca/mthca_uar.c mthca_uar_free() -> mthca_free()

Type Parameter Key Value
PARAM_VALUE 0 alloc 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 obj unit_page
HALF_LOCKED2 &file->hw_destroy_rwsem
HALF_LOCKED2 &file->ucontext_lock
HALF_LOCKED2 &ufile->hw_destroy_rwsem
HALF_LOCKED2 global &mthca_device_mutex

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

Type Parameter Key Value
PARAM_VALUE 0 alloc 4096-ptr_max
PARAM_VALUE 1 obj 0-4294967294
DATA_SOURCE 1 obj r mthca_alloc
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &devr->srq_lock
HALF_LOCKED2 global &device_list_mutex

drivers/infiniband/hw/mthca/mthca_srq.c mthca_free_srq() -> mthca_free()

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

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

Type Parameter Key Value
PARAM_VALUE 0 alloc 4096-ptr_max
PARAM_VALUE 1 obj 0-4294967294
DATA_SOURCE 1 obj r mthca_alloc
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 alloc->last 0[c]
HALF_LOCKED2 global &mthca_device_mutex

drivers/infiniband/hw/mthca/mthca_pd.c mthca_pd_free() -> mthca_free()

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

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

Type Parameter Key Value
PARAM_VALUE 0 alloc 4096-ptr_max
PARAM_VALUE 1 obj 0-4294967294
DATA_SOURCE 1 obj r mthca_alloc
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &mthca_device_mutex
HALF_LOCKED2 &pool->lock

drivers/infiniband/hw/mthca/mthca_mr.c mthca_free_region() -> mthca_free()

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

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

Type Parameter Key Value
PARAM_VALUE 0 alloc 4096-ptr_max
PARAM_VALUE 1 obj 0-4294967294
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

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

Type Parameter Key Value
PARAM_VALUE 0 alloc 4096-ptr_max
PARAM_VALUE 1 obj 0-4294967294
DATA_SOURCE 1 obj r mthca_alloc
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 1 obj 1-u16max[c]
LOCK2 &dev->mcg_table.mutex
HALF_LOCKED2 &obj->mcast_lock
TYPE_LOCK (struct mthca_mcg_table)->mutex

drivers/infiniband/hw/mthca/mthca_mcg.c mthca_multicast_detach() -> mthca_free()

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

drivers/infiniband/hw/mthca/mthca_mcg.c mthca_multicast_detach() -> mthca_free()

Type Parameter Key Value
PARAM_VALUE 0 alloc 4096-ptr_max
PARAM_VALUE 1 obj 0-67108863
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 1 obj 1-u16max[c]
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_destroy_ah() -> mthca_free()

Type Parameter Key Value
PARAM_VALUE 0 alloc 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &priv->dev->tx_global_lock
HALF_LOCKED2 &priv->lock
HALF_LOCKED2 bh
HALF_LOCKED2 flags

drivers/infiniband/hw/mthca/mthca_cq.c mthca_free_cq() -> mthca_free()

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

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

Type Parameter Key Value
PARAM_VALUE 0 alloc 4096-ptr_max
PARAM_VALUE 1 obj 0-4294967294
DATA_SOURCE 1 obj r mthca_alloc
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

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

Type Parameter Key Value
PARAM_VALUE 0 alloc 4096-ptr_max
PARAM_VALUE 1 obj 0-4294967294
DATA_SOURCE 1 obj r mthca_alloc
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/infiniband/hw/mthca/mthca_qp.c mthca_free_qp() -> mthca_free()

Type Parameter Key Value
PARAM_VALUE 0 alloc 4096-ptr_max
CAPPED_DATA 1 obj 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL