Documented in 1 files:
Defined in 2 files as a function:
- include/linux/refcount.h, line 157 (as a function)
- tools/include/linux/refcount.h, line 63 (as a function)
Referenced in 5 files:
- drivers/infiniband/hw/hns/hns_roce_qp.c, line 1253
- drivers/infiniband/hw/hns/hns_roce_srq.c, line 475
- drivers/net/ethernet/mellanox/mlx4/srq.c, line 208
- include/linux/mmap_lock.h, line 447
- tools/testing/vma/include/dup.h, line 1232
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 |