Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
mm/userfaultfd.c userfaultfd_is_initialized() -> userfaultfd_features()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | ctx | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
mm/userfaultfd.c userfaultfd_register() -> userfaultfd_features()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | ctx | $0 |
mm/userfaultfd.c userfaultfd_rwp_async_ctx() -> userfaultfd_features()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 1-u64max |
| DATA_SOURCE | 0 | ctx | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ctx | unit_byte |
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | rcu_read |
mm/userfaultfd.c userfaultfd_set_mode() -> userfaultfd_features()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | ctx | $0 |
mm/userfaultfd.c userfaultfd_show_fdinfo() -> userfaultfd_features()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | &ctx->fault_pending_wqh.head | 1 |
| CAPPED_DATA | 0 | &ctx->fault_wqh.head | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &m->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
mm/userfaultfd.c userfaultfd_wp_async_ctx() -> userfaultfd_features()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 1-u64max |
| BUF_SIZE | 0 | ctx | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ctx | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | ctx | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ctx | unit_byte |
mm/userfaultfd.c userfaultfd_wp_unpopulated() -> userfaultfd_features()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ctx | unit_byte |