Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 8 files:
- io_uring/filetable.c, line 68
- io_uring/io_uring.c
- io_uring/msg_ring.c
- io_uring/openclose.c, line 250
- io_uring/rsrc.c
- io_uring/sqpoll.c
- io_uring/tctx.c, line 300
- net/core/scm.c, line 118
Smatch caller information:
io_uring/rsrc.c __io_sqe_files_update() -> io_is_uring_fops()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| CAPPED_DATA | 0 | file | 1 |
| DATA_SOURCE | 0 | file | r fget |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ctx->uring_lock |
io_uring/rsrc.c io_sqe_files_register() -> io_is_uring_fops()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| CAPPED_DATA | 0 | file | 1 |
| DATA_SOURCE | 0 | file | r fget |
| LOCK2 | &ctx->uring_lock | ||
| TYPE_LOCK | (struct io_ring_ctx)->uring_lock |
io_uring/openclose.c io_close() -> io_is_uring_fops()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 1-u64max |
| DATA_SOURCE | 0 | file | r files_lookup_fd_locked |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &files->file_lock | ||
| TYPE_LOCK | (struct files_struct)->file_lock |
io_uring/msg_ring.c io_msg_ring() -> io_is_uring_fops()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
io_uring/msg_ring.c io_uring_sync_msg_ring() -> io_is_uring_fops()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 0,4-u64max |
io_uring/sqpoll.c io_attach_sq_data() -> io_is_uring_fops()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 0,4-u64max |
io_uring/sqpoll.c io_sq_offload_create() -> io_is_uring_fops()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 0,4-u64max |
io_uring/tctx.c io_ring_add_registered_fd() -> io_is_uring_fops()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| CAPPED_DATA | 0 | file | 1 |
| DATA_SOURCE | 0 | file | r fget |
| LOCK2 | &ctx->uring_lock | ||
| TYPE_LOCK | (struct io_ring_ctx)->uring_lock |
io_uring/io_uring.c io_file_get_normal() -> io_is_uring_fops()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| CAPPED_DATA | 0 | file | 1 |
| DATA_SOURCE | 0 | file | r fget |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
io_uring/io_uring.c io_uring_ctx_get_file() -> io_is_uring_fops()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 1-u64max |
| HALF_LOCKED2 | &ctx->uring_lock |
io_uring/filetable.c io_install_fixed_file() -> io_is_uring_fops()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | file | (-1),1-s32max |
| BUF_SIZE | 0 | file | (-1),1-s32max |
| DATA_SOURCE | 0 | file | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | file->f_inode->i_size | |
| HALF_LOCKED2 | &ctx->uring_lock |
net/core/scm.c scm_fp_copy() -> io_is_uring_fops()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| CAPPED_DATA | 0 | file | 1 |
| DATA_SOURCE | 0 | file | r fget_raw |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &vq->mutex |