Documented in 1 files:
Defined in 1 files as a function:
Referenced in 4 files:
Smatch caller information:
fs/file.c __fget_files_rcu() -> file_ref_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ref | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &task->alloc_lock |
fs/file.c __get_file_rcu() -> file_ref_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ref | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read |
drivers/gpu/drm/vmwgfx/ttm_object.c get_dma_buf_unless_doomed() -> file_ref_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ref | 4096-ptr_max |
| LOCK2 | &prime->mutex | ||
| TYPE_LOCK | (struct ttm_prime_object)->mutex |
drivers/dma-buf/dma-buf.c dma_buf_iter_begin() -> file_ref_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ref | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &dmabuf_list_mutex | ||
| HALF_LOCKED2 | &seq->lock |
drivers/dma-buf/dma-buf.c dma_buf_iter_next() -> file_ref_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ref | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &dmabuf_list_mutex | ||
| HALF_LOCKED2 | &seq->lock |
fs/eventpoll.c epi_fget() -> file_ref_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ref | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ep->mtx |
fs/eventpoll.c list_file() -> file_ref_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ref | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ep->mtx |