Home
last modified time | relevance | path

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

/linux-6.6.21/include/linux/
Dresctrl.h166 struct rdt_resource { struct
203 struct rdt_resource *res; argument
208 u32 resctrl_arch_get_num_closid(struct rdt_resource *r);
209 int resctrl_arch_update_domains(struct rdt_resource *r, u32 closid);
215 int resctrl_arch_update_one(struct rdt_resource *r, struct rdt_domain *d,
218 u32 resctrl_arch_get_config(struct rdt_resource *r, struct rdt_domain *d,
220 int resctrl_online_domain(struct rdt_resource *r, struct rdt_domain *d);
221 void resctrl_offline_domain(struct rdt_resource *r, struct rdt_domain *d);
237 int resctrl_arch_rmid_read(struct rdt_resource *r, struct rdt_domain *d,
250 void resctrl_arch_reset_rmid(struct rdt_resource *r, struct rdt_domain *d,
[all …]
/linux-6.6.21/arch/x86/kernel/cpu/resctrl/
Dinternal.h108 struct rdt_resource *r;
350 struct rdt_resource *res;
405 struct rdt_resource r_resctrl;
409 struct rdt_resource *r);
415 static inline struct rdt_hw_resource *resctrl_to_arch_res(struct rdt_resource *r) in resctrl_to_arch_res()
443 static inline struct rdt_resource *resctrl_inc(struct rdt_resource *res) in resctrl_inc()
514 struct rdt_domain *rdt_find_domain(struct rdt_resource *r, int id,
522 unsigned int rdtgroup_cbm_to_size(struct rdt_resource *r, struct rdt_domain *d,
534 struct rdt_domain *get_domain_from_cpu(int cpu, struct rdt_resource *r);
539 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);
138 struct rdt_resource *r = &hw_res->r_resctrl; in cache_alloc_hsw_probe()
160 bool is_mba_sc(struct rdt_resource *r) in is_mba_sc()
185 static inline bool rdt_get_mb_table(struct rdt_resource *r) in rdt_get_mb_table()
196 static bool __get_mem_config_intel(struct rdt_resource *r) in __get_mem_config_intel()
230 static bool __rdt_get_mem_config_amd(struct rdt_resource *r) in __rdt_get_mem_config_amd()
266 static void rdt_get_cache_alloc_cfg(int idx, struct rdt_resource *r) in rdt_get_cache_alloc_cfg()
303 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()
65 struct rdt_resource *r = s->res; in parse_bw()
96 static bool cbm_validate(char *buf, u32 *data, struct rdt_resource *r) in cbm_validate()
142 struct rdt_resource *r = s->res; in parse_cbm()
205 struct rdt_resource *r = s->res; in parse_line()
284 int resctrl_arch_update_one(struct rdt_resource *r, struct rdt_domain *d, in resctrl_arch_update_one()
305 int resctrl_arch_update_domains(struct rdt_resource *r, u32 closid) in resctrl_arch_update_domains()
371 struct rdt_resource *r; in rdtgroup_schemata_write()
450 u32 resctrl_arch_get_config(struct rdt_resource *r, struct rdt_domain *d, in resctrl_arch_get_config()
461 struct rdt_resource *r = schema->res; in show_doms()
[all …]
Dmonitor.c192 void resctrl_arch_reset_rmid(struct rdt_resource *r, struct rdt_domain *d, in resctrl_arch_reset_rmid()
211 void resctrl_arch_reset_rmid_all(struct rdt_resource *r, struct rdt_domain *d) in resctrl_arch_reset_rmid_all()
232 int resctrl_arch_rmid_read(struct rdt_resource *r, struct rdt_domain *d, in resctrl_arch_rmid_read()
271 struct rdt_resource *r = &rdt_resources_all[RDT_RESOURCE_L3].r_resctrl; in __check_limbo()
308 bool has_busy_rmid(struct rdt_resource *r, struct rdt_domain *d) in has_busy_rmid()
336 struct rdt_resource *r = &rdt_resources_all[RDT_RESOURCE_L3].r_resctrl; in add_rmid_to_limbo()
524 struct rdt_resource *r_mba; in update_mba_bw()
603 static void mbm_update(struct rdt_resource *r, struct rdt_domain *d, int rmid) in mbm_update()
643 struct rdt_resource *r; in cqm_handle_limbo()
676 struct rdt_resource *r; in mbm_handle_overflow()
[all …]
Drdtgroup.c83 struct rdt_resource *r; in rdt_staged_configs_clear()
872 struct rdt_resource *r = s->res; in rdt_default_ctrl_show()
882 struct rdt_resource *r = s->res; in rdt_min_cbm_bits_show()
892 struct rdt_resource *r = s->res; in rdt_shareable_bits_show()
922 struct rdt_resource *r = s->res; in rdt_bit_usage_show()
996 struct rdt_resource *r = s->res; in rdt_min_bw_show()
1005 struct rdt_resource *r = of->kn->parent->priv; in rdt_num_rmids_show()
1015 struct rdt_resource *r = of->kn->parent->priv; in rdt_mon_features_show()
1031 struct rdt_resource *r = s->res; in rdt_bw_gran_show()
1041 struct rdt_resource *r = s->res; in rdt_delay_linear_show()
[all …]
Dpseudo_lock.c843 struct rdt_resource *r; in rdtgroup_pseudo_locked_in_hierarchy()