/linux/include/linux/ |
H A D | resctrl.h | 259 * struct rdt_resource - attributes of a resctrl resource 277 struct rdt_resource { struct 300 struct rdt_resource *resctrl_arch_get_resource(enum resctrl_res_level l); argument 320 struct rdt_resource *res; 330 struct rdt_resource *r; 358 static inline u32 resctrl_get_default_ctrl(struct rdt_resource *r) in resctrl_get_default_ctrl() 371 u32 resctrl_arch_get_num_closid(struct rdt_resource *r); 373 int resctrl_arch_update_domains(struct rdt_resource *r, u32 closid); 423 int resctrl_arch_update_one(struct rdt_resource *r, struct rdt_ctrl_domain *d, 426 u32 resctrl_arch_get_config(struct rdt_resource * [all...] |
/linux/arch/x86/kernel/cpu/resctrl/ |
H A D | internal.h | 86 struct rdt_resource *res; 111 struct rdt_resource r_resctrl; 120 static inline struct rdt_hw_resource *resctrl_to_arch_res(struct rdt_resource *r) in resctrl_to_arch_res() 127 void arch_mon_domain_online(struct rdt_resource *r, struct rdt_mon_domain *d); 164 int rdt_get_mon_l3_config(struct rdt_resource *r); 170 void rdt_domain_reconfigure_cdp(struct rdt_resource *r);
|
H A D | core.c | 32 * The rdt_resource's domain list is updated when this happens. Readers of 107 struct rdt_resource *r = &rdt_resources_all[RDT_RESOURCE_L3].r_resctrl; in resctrl_arch_system_num_rmid_idx() 113 struct rdt_resource *resctrl_arch_get_resource(enum resctrl_res_level l) in resctrl_arch_get_resource() 142 struct rdt_resource *r = &hw_res->r_resctrl; in cache_alloc_hsw_probe() 174 static inline bool rdt_get_mb_table(struct rdt_resource *r) in rdt_get_mb_table() 185 static __init bool __get_mem_config_intel(struct rdt_resource *r) in __get_mem_config_intel() 217 static __init bool __rdt_get_mem_config_amd(struct rdt_resource *r) in __rdt_get_mem_config_amd() 249 static void rdt_get_cache_alloc_cfg(int idx, struct rdt_resource *r) in rdt_get_cache_alloc_cfg() 302 static u32 delay_bw_map(unsigned long bw, struct rdt_resource *r) in delay_bw_map() 332 u32 resctrl_arch_get_num_closid(struct rdt_resource * [all...] |
H A D | monitor.c | 133 struct rdt_resource *r = &rdt_resources_all[RDT_RESOURCE_L3].r_resctrl; in logical_rmid_to_physical_rmid() 183 void resctrl_arch_reset_rmid(struct rdt_resource *r, struct rdt_mon_domain *d, in resctrl_arch_reset_rmid() 206 void resctrl_arch_reset_rmid_all(struct rdt_resource *r, struct rdt_mon_domain *d) in resctrl_arch_reset_rmid_all() 227 int resctrl_arch_rmid_read(struct rdt_resource *r, struct rdt_mon_domain *d, in resctrl_arch_rmid_read() 275 void arch_mon_domain_online(struct rdt_resource *r, struct rdt_mon_domain *d) in arch_mon_domain_online() 344 int __init rdt_get_mon_l3_config(struct rdt_resource *r) in rdt_get_mon_l3_config()
|
H A D | ctrlmondata.c | 22 int resctrl_arch_update_one(struct rdt_resource *r, struct rdt_ctrl_domain *d, in resctrl_arch_update_one() 44 int resctrl_arch_update_domains(struct rdt_resource *r, u32 closid) in resctrl_arch_update_domains() 86 u32 resctrl_arch_get_config(struct rdt_resource *r, struct rdt_ctrl_domain *d, in resctrl_arch_get_config()
|
H A D | rdtgroup.c | 136 struct rdt_resource *r_l; in set_cache_qos_cfg() 173 void rdt_domain_reconfigure_cdp(struct rdt_resource *r) in rdt_domain_reconfigure_cdp() 189 struct rdt_resource *r_l = &rdt_resources_all[level].r_resctrl; in cdp_enable() 232 void resctrl_arch_reset_all_ctrls(struct rdt_resource *r) in resctrl_arch_reset_all_ctrls()
|
/linux/fs/resctrl/ |
H A D | rdtgroup.c | 114 struct rdt_resource *r; in rdt_staged_configs_clear() 1007 struct rdt_resource *r = s->res; in rdt_default_ctrl_show() 1017 struct rdt_resource *r = s->res; in rdt_min_cbm_bits_show() 1027 struct rdt_resource *r = s->res; in rdt_shareable_bits_show() 1057 struct rdt_resource *r = s->res; in rdt_bit_usage_show() 1133 struct rdt_resource *r = s->res; in rdt_min_bw_show() 1142 struct rdt_resource *r = rdt_kn_parent_priv(of->kn); in rdt_num_rmids_show() 1152 struct rdt_resource *r = rdt_kn_parent_priv(of->kn); in rdt_mon_features_show() 1168 struct rdt_resource *r = s->res; in rdt_bw_gran_show() 1178 struct rdt_resource * in rdt_delay_linear_show() [all...] |
H A D | monitor.c | 135 struct rdt_resource *r = resctrl_arch_get_resource(RDT_RESOURCE_L3); in __check_limbo() 291 struct rdt_resource *r = resctrl_arch_get_resource(RDT_RESOURCE_L3); in add_rmid_to_limbo() 491 struct rdt_resource *r) in get_ctrl_domain_from_cpu() 544 struct rdt_resource *r_mba; in update_mba_bw() 606 static void mbm_update_one_event(struct rdt_resource *r, struct rdt_mon_domain *d, in mbm_update_one_event() 633 static void mbm_update(struct rdt_resource *r, struct rdt_mon_domain *d, in mbm_update() 701 struct rdt_resource *r; in mbm_handle_overflow() 767 static int dom_data_init(struct rdt_resource *r) in dom_data_init() 828 static void dom_data_exit(struct rdt_resource *r) in dom_data_exit() 869 static void l3_mon_evt_init(struct rdt_resource * [all...] |
H A D | ctrlmondata.c | 41 static bool bw_validate(char *buf, u32 *data, struct rdt_resource *r) in bw_validate() 81 struct rdt_resource *r = s->res; in parse_bw() 114 static bool cbm_validate(char *buf, u32 *data, struct rdt_resource *r) in cbm_validate() 161 struct rdt_resource *r = s->res; in parse_cbm() 225 struct rdt_resource *r = s->res; in parse_line() 308 struct rdt_resource *r; in rdtgroup_schemata_write() 386 struct rdt_resource *r = schema->res; in show_doms() 549 void mon_event_read(struct rmid_read *rr, struct rdt_resource *r, in mon_event_read() 598 struct rdt_resource *r; in rdtgroup_mondata_show()
|
H A D | internal.h | 59 * @list: entry in &rdt_resource->evt_list 111 struct rdt_resource *r; 326 unsigned int rdtgroup_cbm_to_size(struct rdt_resource *r, struct rdt_ctrl_domain *d, 347 void mon_event_read(struct rmid_read *rr, struct rdt_resource *r, 359 bool is_mba_sc(struct rdt_resource *r);
|
H A D | pseudo_lock.c | 645 struct rdt_resource *r; in rdtgroup_pseudo_locked_in_hierarchy()
|
/linux/arch/x86/include/asm/ |
H A D | resctrl.h | 198 struct rdt_resource; 199 static inline void *resctrl_arch_mon_ctx_alloc(struct rdt_resource *r, in resctrl_arch_mon_ctx_alloc() 206 static inline void resctrl_arch_mon_ctx_free(struct rdt_resource *r, in resctrl_arch_mon_ctx_free()
|