Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- fs/anon_inodes.c, line 273
- io_uring/io_uring.c, line 2784
- io_uring/mock_file.c, line 258
- io_uring/zcrx.c, line 730
- mm/userfaultfd.c, line 4809
Smatch caller information:
mm/userfaultfd.c new_userfaultfd() -> anon_inode_create_getfile()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name | 972882502151413760 |
| PARAM_VALUE | 1 | fops | 5069700871420588032 |
| PARAM_VALUE | 2 | priv | 4096-ptr_max |
| PARAM_VALUE | 3 | flags | 0,2048-526336 |
| PARAM_VALUE | 4 | context_inode | 0 |
| BUF_SIZE | 0 | name | 14 |
| DATA_SOURCE | 2 | priv | r kmem_cache_alloc_noprof |
| STR_LEN | 0 | name | 13 |
| BIT_INFO | 3 | flags | 0x0,0x80800 |
| TERMINATED | 0 | name | 1 |
| USER_DATA | 3 | flags | 0,2048-526336[c] |
io_uring/zcrx.c zcrx_export() -> anon_inode_create_getfile()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name | 8228332252003991552 |
| PARAM_VALUE | 1 | fops | 5446391681995038720 |
| PARAM_VALUE | 2 | priv | 4096-ptr_max |
| PARAM_VALUE | 3 | flags | 524288 |
| PARAM_VALUE | 4 | context_inode | 0 |
| BUF_SIZE | 0 | name | 7 |
| DATA_SOURCE | 2 | priv | $1 |
| STR_LEN | 0 | name | 6 |
| TERMINATED | 0 | name | 1 |
| LOCK2 | &ctx->uring_lock | ||
| TYPE_LOCK | (struct io_ring_ctx)->uring_lock |
io_uring/mock_file.c io_create_mock_file() -> anon_inode_create_getfile()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name | 4014968567773761536 |
| PARAM_VALUE | 1 | fops | 1150688646869856256,4191374357848485888 |
| PARAM_VALUE | 2 | priv | 4096-ptr_max |
| PARAM_VALUE | 3 | flags | 524290 |
| PARAM_VALUE | 4 | context_inode | 0 |
| BUF_SIZE | 0 | name | 16 |
| BUF_SIZE | 1 | fops | 272 |
| BUF_SIZE | 2 | priv | 112 |
| DATA_SOURCE | 2 | priv | r _kzalloc_noprof |
| STR_LEN | 0 | name | 15 |
| CAPABLE | 0 | 21 | |
| BIT_INFO | 1 | fops | 0xa28000008003000,0x3ffad1ffcbfdf000 |
| BIT_INFO | 1 | fops | 0xa28000008003000,0x3ffad1ffcbfdf000 |
| TERMINATED | 0 | name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ctx->uring_lock |
io_uring/io_uring.c io_uring_get_file() -> anon_inode_create_getfile()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name | 8463890239597682688 |
| PARAM_VALUE | 1 | fops | 4439060395375304704 |
| PARAM_VALUE | 2 | priv | 4096-ptr_max |
| PARAM_VALUE | 3 | flags | 524290 |
| PARAM_VALUE | 4 | context_inode | 0 |
| BUF_SIZE | 0 | name | 11 |
| BUF_SIZE | 2 | priv | 2624 |
| DATA_SOURCE | 2 | priv | $0 |
| STR_LEN | 0 | name | 10 |
| TERMINATED | 0 | name | 1 |