Defined in 1 files as a prototype:
Defined in 2 files as a function:
- arch/x86/include/asm/resctrl.h, line 186 (as a function)
- drivers/resctrl/mpam_resctrl.c, line 397 (as a function)
Referenced in 2 files:
Smatch caller information:
fs/resctrl/ctrlmondata.c mon_event_read() -> resctrl_arch_mon_ctx_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | r | (-1),136 |
| BUF_SIZE | 0 | r | (-1),136 |
| DATA_SOURCE | 0 | r | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | r->mon.num_mbm_cntrs | |
| NO_OVERFLOW_SIMPLE | 0 | r->mon.num_rmid | |
| LOCK2 | global &rdtgroup_mutex | ||
| HALF_LOCKED2 | &m->lock |
fs/resctrl/monitor.c __check_limbo() -> resctrl_arch_mon_ctx_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | evtid | 1 |
| BUF_SIZE | 0 | r | 136 |
| DATA_SOURCE | 0 | r | r resctrl_arch_get_resource |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &rdtgroup_mutex | ||
| HALF_LOCKED2 | global &domain_list_lock |
fs/resctrl/monitor.c mbm_update_one_event() -> resctrl_arch_mon_ctx_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | evtid | 2-3 |
| BUF_SIZE | 0 | r | 136 |
| DATA_SOURCE | 0 | r | $0 |
| DATA_SOURCE | 1 | evtid | $3 |
| HARD_MAX | 1 | evtid | 3 |
| LOCK2 | global &rdtgroup_mutex | ||
| HALF_LOCKED2 | &pool->lock |