Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
kernel/trace/trace_events_user.c user_event_enabler_create() -> user_event_enabler_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| PARAM_VALUE | 0 | mm->enablers.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mm->enablers.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mm->enablers.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mm->enablers.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mm->enablers.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mm->mm | 4096-ptr_max |
| PARAM_VALUE | 0 | mm->mm->mmap_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mm->mm->mmap_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | mm->mm->mmap_lock.first_waiter->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | mm->mm->mmap_lock.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 0 | mm->mm->mmap_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | mm->mms_link.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mm->mms_link.prev | 8724694667678969856 |
| PARAM_VALUE | 0 | mm->tasks.refs.counter | 1 |
| PARAM_VALUE | 1 | enabler | 4096-ptr_max |
| PARAM_VALUE | 1 | enabler->event | 4096-ptr_max |
| PARAM_VALUE | 1 | enabler->event->call.event.type | s32min-(-1),1-s32max |
| PARAM_VALUE | 1 | enabler->event->call.flags | 0,16-s32max |
| PARAM_VALUE | 1 | enabler->event->call.module | 0 |
| PARAM_VALUE | 1 | enabler->event->class.get_fields | 4959240547987464192 |
| PARAM_VALUE | 1 | enabler->event->class.perf_probe | 3933154653729173504 |
| PARAM_VALUE | 1 | enabler->event->class.probe | 1752822191311925248 |
| PARAM_VALUE | 1 | enabler->event->class.reg | 1247164819511336960 |
| PARAM_VALUE | 1 | enabler->event->reg_name | 4096-ptr_max |
| PARAM_VALUE | 1 | enabler->values | 0-255 |
| PARAM_VALUE | 2 | fixup_fault | 0 |
| PARAM_VALUE | 3 | attempt | 5823832091751948288 |
| PARAM_VALUE | 3 | *attempt | (-2147483647)-10 |
| BUF_SIZE | 0 | mm | (-1),160 |
| BUF_SIZE | 0 | mm | (-1),160 |
| BUF_SIZE | 1 | enabler | 144 |
| DATA_SOURCE | 0 | mm | r current_user_event_mm |
| DATA_SOURCE | 1 | enabler | r _kzalloc_noprof |
| USER_DATA | 1 | enabler->addr | 0-u64max |
| USER_DATA | 1 | enabler->event->reg_flags | 0-u16max |
| USER_DATA | 1 | enabler->values | 0-255 |
| LOCK2 | &group->reg_mutex | ||
| LOCK2 | global &event_mutex | ||
| LOCK2 | 0 | &mm->mm->mmap_lock | |
| TYPE_LOCK | (struct mm_struct)->mmap_lock | ||
| TYPE_LOCK | (struct user_event_group)->reg_mutex |
kernel/trace/trace_events_user.c user_event_enabler_fault_fixup() -> user_event_enabler_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| PARAM_VALUE | 0 | mm->mm | 4096-ptr_max |
| PARAM_VALUE | 0 | mm->mm->mm_mt.ma_root | 1-u64max |
| PARAM_VALUE | 0 | mm->mm->mmap_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mm->mm->mmap_lock.first_waiter->handoff_set | 1 |
| PARAM_VALUE | 0 | mm->mm->mmap_lock.first_waiter->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | mm->mm->mmap_lock.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 0 | mm->mm->mmap_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | mm->tasks.refs.counter | s32min-(-1),1-s32max |
| PARAM_VALUE | 1 | enabler | 4096-ptr_max |
| PARAM_VALUE | 2 | fixup_fault | 1 |
| PARAM_VALUE | 3 | attempt | 2129120246886301696 |
| PARAM_VALUE | 3 | *attempt | s32min-10 |
| CAPPED_DATA | 0 | mm->mm->mm_mt.ma_root | 1 |
| NOCHECK_CALL | |||
| LOCK2 | global &event_mutex | ||
| LOCK2 | 0 | &mm->mm->mmap_lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct mm_struct)->mmap_lock |
kernel/trace/trace_events_user.c user_event_enabler_update() -> user_event_enabler_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| PARAM_VALUE | 0 | mm->mm | 4096-ptr_max |
| PARAM_VALUE | 0 | mm->mm->mmap_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mm->mm->mmap_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | mm->mm->mmap_lock.first_waiter->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | mm->mm->mmap_lock.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 0 | mm->mm->mmap_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | mm->next | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mm->next->next | 0 |
| PARAM_VALUE | 1 | enabler | 4096-ptr_max |
| PARAM_VALUE | 1 | enabler->event | 4096-ptr_max |
| PARAM_VALUE | 2 | fixup_fault | 1 |
| PARAM_VALUE | 3 | attempt | 4643868389990129664 |
| PARAM_VALUE | 3 | *attempt | 0 |
| CAPPED_DATA | 0 | &mm->enablers | 1 |
| CAPPED_DATA | 1 | enabler->event | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &mm->mm->mmap_lock | |
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &event_mutex | ||
| TYPE_LOCK | (struct mm_struct)->mmap_lock |
kernel/trace/trace_events_user.c user_event_mm_clear_bit() -> user_event_enabler_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| PARAM_VALUE | 0 | mm->mm | 4096-ptr_max |
| PARAM_VALUE | 0 | mm->mm->mmap_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mm->mm->mmap_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | mm->mm->mmap_lock.first_waiter->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | mm->mm->mmap_lock.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 0 | mm->mm->mmap_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | enabler | 1568022413869223936 |
| PARAM_VALUE | 1 | enabler->values | 0-63,256-319 |
| PARAM_VALUE | 2 | fixup_fault | 0 |
| PARAM_VALUE | 3 | attempt | 7746860335237500928 |
| PARAM_VALUE | 3 | *attempt | (-2147483647)-10 |
| DATA_SOURCE | 0 | mm | $0 |
| MEM_ZERO | 1 | enabler | |
| USER_DATA | 1 | enabler->values | 0-63,256-319[c] |
| LOCK2 | &group->reg_mutex | ||
| LOCK2 | global &event_mutex | ||
| LOCK2 | 0 | &mm->mm->mmap_lock | |
| TYPE_LOCK | (struct mm_struct)->mmap_lock | ||
| TYPE_LOCK | (struct user_event_group)->reg_mutex |