Documented in 1 files:
Defined in 1 files as a function:
Referenced in 3 files:
- include/asm-generic/local.h, line 39
- include/linux/file_ref.h, line 108
- mm/kasan/kasan_test_c.c, line 837
Smatch caller information:
fs/file.c file_ref_get() -> atomic_long_add_negative()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | i | 1 |
| PARAM_VALUE | 1 | v | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read |
drivers/gpu/drm/vmwgfx/ttm_object.c file_ref_get() -> atomic_long_add_negative()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | i | 1 |
| PARAM_VALUE | 1 | v | 4096-ptr_max |
| LOCK2 | &prime->mutex | ||
| TYPE_LOCK | (struct ttm_prime_object)->mutex |
drivers/dma-buf/dma-buf.c file_ref_get() -> atomic_long_add_negative()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | i | 1 |
| PARAM_VALUE | 1 | v | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &dmabuf_list_mutex | ||
| HALF_LOCKED2 | &seq->lock |
mm/kasan/kasan_test_c.c kasan_atomics_helper() -> atomic_long_add_negative()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | i | 42 |
| PARAM_VALUE | 1 | v | 4096-ptr_max |
| DATA_SOURCE | 1 | v | $1 |
| NOCHECK_CALL |
fs/eventpoll.c file_ref_get() -> atomic_long_add_negative()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | i | 1 |
| PARAM_VALUE | 1 | v | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |