Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- arch/x86/kernel/cpu/resctrl/core.c, line 441
- arch/x86/kernel/cpu/resctrl/monitor.c, line 205
- fs/resctrl/ctrlmondata.c
- fs/resctrl/monitor.c
- fs/resctrl/rdtgroup.c
Smatch caller information:
arch/x86/kernel/cpu/resctrl/monitor.c resctrl_arch_reset_rmid_all() -> resctrl_is_mon_event_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eventid | 2-3 |
| FUZZY_MAX | 0 | eventid | 3 |
| 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 |
fs/resctrl/rdtgroup.c closid_alloc() -> resctrl_is_mon_event_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eventid | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &rdtgroup_mutex | ||
| HALF_LOCKED2 | &dentry->d_lockref.lock |
fs/resctrl/rdtgroup.c domain_setup_l3_mon_state() -> resctrl_is_mon_event_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eventid | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &domain_list_lock | ||
| LOCK2 | global &rdtgroup_mutex | ||
| HALF_LOCKED2 | global &once_mutex |
fs/resctrl/rdtgroup.c domain_setup_l3_mon_state() -> resctrl_is_mon_event_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eventid | 2-3 |
| FUZZY_MAX | 0 | eventid | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &domain_list_lock | ||
| LOCK2 | global &rdtgroup_mutex | ||
| HALF_LOCKED2 | global &once_mutex |
fs/resctrl/rdtgroup.c resctrl_is_mbm_enabled() -> resctrl_is_mon_event_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eventid | 2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &domain_list_lock | ||
| HALF_LOCKED2 | global &rdtgroup_mutex |
fs/resctrl/rdtgroup.c resctrl_is_mbm_enabled() -> resctrl_is_mon_event_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eventid | 3 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &domain_list_lock | ||
| HALF_LOCKED2 | global &rdtgroup_mutex |
fs/resctrl/rdtgroup.c resctrl_offline_cpu() -> resctrl_is_mon_event_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eventid | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &rdtgroup_mutex | ||
| HALF_LOCKED2 | global &cpuhp_state_mutex | ||
| HALF_LOCKED2 | irq |
fs/resctrl/rdtgroup.c resctrl_offline_mon_domain() -> resctrl_is_mon_event_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eventid | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &domain_list_lock | ||
| HALF_LOCKED2 | global &cpuhp_state_mutex | ||
| HALF_LOCKED2 | irq |
fs/resctrl/rdtgroup.c resctrl_offline_mon_domain() -> resctrl_is_mon_event_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eventid | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &domain_list_lock | ||
| LOCK2 | global &rdtgroup_mutex | ||
| HALF_LOCKED2 | global &cpuhp_state_mutex | ||
| HALF_LOCKED2 | irq |
fs/resctrl/rdtgroup.c resctrl_online_mon_domain() -> resctrl_is_mon_event_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eventid | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &domain_list_lock | ||
| LOCK2 | global &rdtgroup_mutex | ||
| HALF_LOCKED2 | global &once_mutex |
fs/resctrl/ctrlmondata.c rdtgroup_mba_mbps_event_write() -> resctrl_is_mon_event_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eventid | 3 |
| 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 |
fs/resctrl/ctrlmondata.c rdtgroup_mba_mbps_event_write() -> resctrl_is_mon_event_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eventid | 2 |
| 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 |
arch/x86/kernel/cpu/resctrl/core.c l3_mon_domain_mbm_alloc() -> resctrl_is_mon_event_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eventid | 2-3 |
| FUZZY_MAX | 0 | eventid | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &domain_list_lock | ||
| HALF_LOCKED2 | global &once_mutex |
fs/resctrl/monitor.c free_rmid() -> resctrl_is_mon_event_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eventid | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &rdtgroup_mutex | ||
| HALF_LOCKED2 | &dentry->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &of->mutex |
fs/resctrl/monitor.c mbm_update() -> resctrl_is_mon_event_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eventid | 2 |
| LOCK2 | global &rdtgroup_mutex | ||
| HALF_LOCKED2 | &pool->lock |
fs/resctrl/monitor.c mbm_update() -> resctrl_is_mon_event_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eventid | 3 |
| LOCK2 | global &rdtgroup_mutex | ||
| HALF_LOCKED2 | &pool->lock |
fs/resctrl/monitor.c rdtgroup_assign_cntrs() -> resctrl_is_mon_event_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eventid | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &rdtgroup_mutex |
fs/resctrl/monitor.c rdtgroup_assign_cntrs() -> resctrl_is_mon_event_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eventid | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &rdtgroup_mutex |
fs/resctrl/monitor.c rdtgroup_unassign_cntrs() -> resctrl_is_mon_event_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eventid | 2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &rdtgroup_mutex | ||
| HALF_LOCKED2 | &dentry->d_inode->i_rwsem |
fs/resctrl/monitor.c rdtgroup_unassign_cntrs() -> resctrl_is_mon_event_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eventid | 3 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &rdtgroup_mutex | ||
| HALF_LOCKED2 | &dentry->d_inode->i_rwsem |
fs/resctrl/monitor.c resctrl_l3_mon_resource_init() -> resctrl_is_mon_event_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eventid | 3 |
fs/resctrl/monitor.c resctrl_l3_mon_resource_init() -> resctrl_is_mon_event_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eventid | 2 |
fs/resctrl/monitor.c resctrl_l3_mon_resource_init() -> resctrl_is_mon_event_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eventid | 2 |
fs/resctrl/monitor.c resctrl_l3_mon_resource_init() -> resctrl_is_mon_event_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eventid | 3 |
fs/resctrl/monitor.c resctrl_mbm_assign_mode_write() -> resctrl_is_mon_event_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eventid | 2 |
| 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 |
fs/resctrl/monitor.c resctrl_mbm_assign_mode_write() -> resctrl_is_mon_event_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eventid | 3 |
| 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 |
fs/resctrl/monitor.c resctrl_reset_rmid_all() -> resctrl_is_mon_event_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eventid | 2-3 |
| FUZZY_MAX | 0 | eventid | 3 |
| 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 |