Home
last modified time | relevance | path

Searched refs:rdt_resource (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.15/arch/x86/kernel/cpu/resctrl/
Dinternal.h102 struct rdt_resource *r;
334 struct rdt_resource *res;
389 struct rdt_resource r_resctrl;
393 struct rdt_resource *r);
399 static inline struct rdt_hw_resource *resctrl_to_arch_res(struct rdt_resource *r) in resctrl_to_arch_res()
426 static inline struct rdt_resource *resctrl_inc(struct rdt_resource *res) in resctrl_inc()
505 struct rdt_domain *rdt_find_domain(struct rdt_resource *r, int id,
513 unsigned int rdtgroup_cbm_to_size(struct rdt_resource *r, struct rdt_domain *d,
525 struct rdt_domain *get_domain_from_cpu(int cpu, struct rdt_resource *r);
530 int rdt_get_mon_l3_config(struct rdt_resource *r);
[all …]
Dcore.c53 struct rdt_resource *r);
55 cat_wrmsr(struct rdt_domain *d, struct msr_param *m, struct rdt_resource *r);
58 struct rdt_resource *r);
132 struct rdt_resource *r = &hw_res->r_resctrl; in cache_alloc_hsw_probe()
155 bool is_mba_sc(struct rdt_resource *r) in is_mba_sc()
173 static inline bool rdt_get_mb_table(struct rdt_resource *r) in rdt_get_mb_table()
184 static bool __get_mem_config_intel(struct rdt_resource *r) in __get_mem_config_intel()
219 static bool __rdt_get_mem_config_amd(struct rdt_resource *r) in __rdt_get_mem_config_amd()
250 static void rdt_get_cache_alloc_cfg(int idx, struct rdt_resource *r) in rdt_get_cache_alloc_cfg()
288 mba_wrmsr_amd(struct rdt_domain *d, struct msr_param *m, struct rdt_resource *r) in mba_wrmsr_amd()
[all …]
Dctrlmondata.c30 static bool bw_validate(char *buf, unsigned long *data, struct rdt_resource *r) in bw_validate()
64 struct rdt_resource *r = s->res; in parse_bw()
89 static bool cbm_validate(char *buf, u32 *data, struct rdt_resource *r) in cbm_validate()
136 struct rdt_resource *r = s->res; in parse_cbm()
199 struct rdt_resource *r = s->res; in parse_line()
279 int resctrl_arch_update_domains(struct rdt_resource *r, u32 closid) in resctrl_arch_update_domains()
357 struct rdt_resource *r; in rdtgroup_schemata_write()
430 u32 resctrl_arch_get_config(struct rdt_resource *r, struct rdt_domain *d, in resctrl_arch_get_config()
443 struct rdt_resource *r = schema->res; in show_doms()
501 void mon_event_read(struct rmid_read *rr, struct rdt_resource *r, in mon_event_read()
[all …]
Dmonitor.c174 struct rdt_resource *r; in __check_limbo()
202 bool has_busy_rmid(struct rdt_resource *r, struct rdt_domain *d) in has_busy_rmid()
230 struct rdt_resource *r; in add_rmid_to_limbo()
428 struct rdt_resource *r_mba; in update_mba_bw()
512 static void mbm_update(struct rdt_resource *r, struct rdt_domain *d, int rmid) in mbm_update()
550 struct rdt_resource *r; in cqm_handle_limbo()
583 struct rdt_resource *r; in mbm_handle_overflow()
623 static int dom_data_init(struct rdt_resource *r) in dom_data_init()
673 static void l3_mon_evt_init(struct rdt_resource *r) in l3_mon_evt_init()
685 int rdt_get_mon_l3_config(struct rdt_resource *r) in rdt_get_mon_l3_config()
Drdtgroup.c858 struct rdt_resource *r = s->res; in rdt_default_ctrl_show()
868 struct rdt_resource *r = s->res; in rdt_min_cbm_bits_show()
878 struct rdt_resource *r = s->res; in rdt_shareable_bits_show()
908 struct rdt_resource *r = s->res; in rdt_bit_usage_show()
982 struct rdt_resource *r = s->res; in rdt_min_bw_show()
991 struct rdt_resource *r = of->kn->parent->priv; in rdt_num_rmids_show()
1001 struct rdt_resource *r = of->kn->parent->priv; in rdt_mon_features_show()
1014 struct rdt_resource *r = s->res; in rdt_bw_gran_show()
1024 struct rdt_resource *r = s->res; in rdt_delay_linear_show()
1033 struct rdt_resource *r = of->kn->parent->priv; in max_threshold_occ_show()
[all …]
Dpseudo_lock.c827 struct rdt_resource *r; in rdtgroup_pseudo_locked_in_hierarchy()
/Linux-v5.15/include/linux/
Dresctrl.h151 struct rdt_resource { struct
190 struct rdt_resource *res; argument
195 u32 resctrl_arch_get_num_closid(struct rdt_resource *r);
196 int resctrl_arch_update_domains(struct rdt_resource *r, u32 closid);
197 u32 resctrl_arch_get_config(struct rdt_resource *r, struct rdt_domain *d,