| /linux/fs/resctrl/ |
| H A D | monitor.c | 377 int cntr_id; in mbm_cntr_get() local 385 for (cntr_id = 0; cntr_id < r->mon.num_mbm_cntrs; cntr_id++) { in mbm_cntr_get() 386 if (d->cntr_cfg[cntr_id].rdtgrp == rdtgrp && in mbm_cntr_get() 387 d->cntr_cfg[cntr_id].evtid == evtid) in mbm_cntr_get() 388 return cntr_id; in mbm_cntr_get() 404 int cntr_id; in mbm_cntr_alloc() local 406 for (cntr_id = 0; cntr_id < in mbm_cntr_alloc() 420 mbm_cntr_free(struct rdt_l3_mon_domain * d,int cntr_id) mbm_cntr_free() argument 431 int cntr_id = -ENOENT; __l3_mon_event_count() local 1229 rdtgroup_assign_cntr(struct rdt_resource * r,struct rdt_l3_mon_domain * d,enum resctrl_event_id evtid,u32 rmid,u32 closid,u32 cntr_id,bool assign) rdtgroup_assign_cntr() argument 1250 int cntr_id; rdtgroup_alloc_assign_cntr() local 1338 int cntr_id; rdtgroup_free_unassign_cntr() local 1432 int cntr_id; rdtgroup_update_cntr_event() local [all...] |
| /linux/arch/x86/kernel/cpu/resctrl/ |
| H A D | monitor.c | 284 static int __cntr_id_read(u32 cntr_id, u64 *val) in __cntr_id_read() argument 288 .h = cntr_id in __cntr_id_read() 325 u32 unused, u32 rmid, int cntr_id, in resctrl_arch_reset_cntr() argument 336 __cntr_id_read(cntr_id, &am->prev_msr); in resctrl_arch_reset_cntr() 341 u32 unused, u32 rmid, int cntr_id, in resctrl_arch_cntr_read() argument 347 ret = __cntr_id_read(cntr_id, &msr_val); in resctrl_arch_cntr_read() 474 /* cntr_id is 12 bits and can only encode 4096 counters. */ in rdt_get_l3_mon_config() 554 u32 cntr_id, bool assign) in resctrl_arch_config_cntr() 562 abmc_cfg.split.cntr_id = cntr_id; in resctrl_arch_config_cntr() 553 resctrl_arch_config_cntr(struct rdt_resource * r,struct rdt_l3_mon_domain * d,enum resctrl_event_id evtid,u32 rmid,u32 closid,u32 cntr_id,bool assign) resctrl_arch_config_cntr() argument [all...] |
| H A D | internal.h | 193 * transactions being tracked by the @cntr_id. 197 * @cntr_id : Counter identifier. 204 * is applied only when @cfg_en = 1. Counter @cntr_id is reset when the 206 * @cfg_en = 1, @cntr_en = 0 : Apply @cntr_id configuration but do not 208 * @cfg_en = 1, @cntr_en = 1 : Apply @cntr_id configuration and start 217 cntr_id :12, member
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_fdir.h | 214 int ice_alloc_fd_res_cntr(struct ice_hw *hw, u16 *cntr_id); 215 int ice_free_fd_res_cntr(struct ice_hw *hw, u16 cntr_id); 216 int ice_alloc_fd_guar_item(struct ice_hw *hw, u16 *cntr_id, u16 num_fltr); 217 int ice_alloc_fd_shrd_item(struct ice_hw *hw, u16 *cntr_id, u16 num_fltr);
|
| /linux/include/linux/ |
| H A D | resctrl.h | 665 u32 cntr_id, bool assign); 687 u32 closid, u32 rmid, int cntr_id, 702 u32 closid, u32 rmid, int cntr_id,
|
| /linux/drivers/resctrl/ |
| H A D | mpam_resctrl.c | 603 u32 closid, u32 rmid, int cntr_id, in resctrl_arch_reset_cntr() argument 1157 static void __config_cntr(struct mpam_resctrl_mon *mon, u32 cntr_id, in __config_cntr() argument 1162 u32 mbwu_idx, mon_idx = resctrl_get_config_index(cntr_id, cdp_type); in __config_cntr() 1175 u32 cntr_id, bool assign) in resctrl_arch_config_cntr() argument 1190 __config_cntr(mon, cntr_id, CDP_CODE, closid, rmid, assign); in resctrl_arch_config_cntr() 1191 __config_cntr(mon, cntr_id, CDP_DATA, closid, rmid, assign); in resctrl_arch_config_cntr() 1193 __config_cntr(mon, cntr_id, CDP_NONE, closid, rmid, assign); in resctrl_arch_config_cntr() 1196 resctrl_arch_reset_cntr(r, d, closid, rmid, cntr_id, QOS_L3_MBM_TOTAL_EVENT_ID); in resctrl_arch_config_cntr()
|