Documented in 1 files:

Defined in 2 files as a function:

Referenced in 5 files:

Smatch caller information:

drivers/net/ethernet/mellanox/mlx4/srq.c mlx4_srq_alloc() -> refcount_set_release()

Type Parameter Key Value
PARAM_VALUE 0 r 4096-ptr_max
PARAM_VALUE 1 n 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &devr->srq_lock
HALF_LOCKED2 global &device_list_mutex

mm/mmap.c vma_mark_attached() -> refcount_set_release()

Type Parameter Key Value
PARAM_VALUE 0 r 4096-ptr_max
PARAM_VALUE 0 r->refs.counter 0
PARAM_VALUE 1 n 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &mm->mmap_lock
LOCK2 &oldmm->mmap_lock
TYPE_LOCK (struct mm_struct)->mmap_lock

mm/vma.c vma_mark_attached() -> refcount_set_release()

Type Parameter Key Value
PARAM_VALUE 0 r 4096-ptr_max
PARAM_VALUE 1 n 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &mm->mmap_lock

drivers/infiniband/hw/hns/hns_roce_srq.c hns_roce_create_srq() -> refcount_set_release()

Type Parameter Key Value
PARAM_VALUE 0 r 4096-ptr_max
PARAM_VALUE 1 n 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &devr->srq_lock
HALF_LOCKED2 global &device_list_mutex

drivers/infiniband/hw/hns/hns_roce_qp.c hns_roce_create_qp_common() -> refcount_set_release()

Type Parameter Key Value
PARAM_VALUE 0 r 4096-ptr_max
PARAM_VALUE 1 n 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL