Defined in 1 files as a prototype:
Defined in 2 files as a function:
- arch/x86/include/asm/resctrl.h, line 161 (as a function)
- drivers/resctrl/mpam_resctrl.c, line 355 (as a function)
Referenced in 1 files:
Smatch caller information:
fs/resctrl/rdtgroup.c is_rmid_match() -> resctrl_arch_match_rmid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tsk | 4096-ptr_max |
| DATA_SOURCE | 0 | tsk | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &rdtgroup_mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &s->lock | ||
| HALF_LOCKED2 | global &tasklist_lock | ||
| HALF_LOCKED2 | rcu_read |
fs/resctrl/rdtgroup.c proc_resctrl_show() -> resctrl_arch_match_rmid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tsk | 4096-ptr_max |
| DATA_SOURCE | 0 | tsk | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &s->lock | ||
| LOCK2 | global &rdtgroup_mutex | ||
| TYPE_LOCK | (struct seq_file)->lock |
fs/resctrl/rdtgroup.c task_in_rdtgroup() -> resctrl_arch_match_rmid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tsk | 4096-ptr_max |
| CAPPED_DATA | 0 | tsk->real_cred | 1 |
| CAPPED_DATA | 1 | ignored | 1 |
| DATA_SOURCE | 0 | tsk | $0 |
| PARAM_COMPARE | 1 | ignored | == $0->closid |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | global &rdtgroup_mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |