Home
last modified time | relevance | path

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

/linux/include/linux/
H A Dresctrl.h206 struct rdt_resource { struct
245 struct rdt_resource *res; argument
250 u32 resctrl_arch_get_num_closid(struct rdt_resource *r);
252 int resctrl_arch_update_domains(struct rdt_resource *r, u32 closid);
258 int resctrl_arch_update_one(struct rdt_resource *r, struct rdt_ctrl_domain *d,
261 u32 resctrl_arch_get_config(struct rdt_resource *r, struct rdt_ctrl_domain *d,
263 int resctrl_online_ctrl_domain(struct rdt_resource *r, struct rdt_ctrl_domain *d);
264 int resctrl_online_mon_domain(struct rdt_resource *r, struct rdt_mon_domain *d);
265 void resctrl_offline_ctrl_domain(struct rdt_resource *r, struct rdt_ctrl_domain *d);
266 void resctrl_offline_mon_domain(struct rdt_resource *r, struct rdt_mon_domain *d);
[all …]
/linux/arch/x86/kernel/cpu/resctrl/
H A Dinternal.h173 struct rdt_resource *r;
428 struct rdt_resource *res;
486 struct rdt_resource r_resctrl;
496 static inline struct rdt_hw_resource *resctrl_to_arch_res(struct rdt_resource *r) in resctrl_to_arch_res()
522 static inline struct rdt_resource *resctrl_inc(struct rdt_resource *res) in resctrl_inc()
537 void arch_mon_domain_online(struct rdt_resource *r, struct rdt_mon_domain *d);
612 unsigned int rdtgroup_cbm_to_size(struct rdt_resource *r, struct rdt_ctrl_domain *d,
624 struct rdt_ctrl_domain *get_ctrl_domain_from_cpu(int cpu, struct rdt_resource *r);
625 struct rdt_mon_domain *get_mon_domain_from_cpu(int cpu, struct rdt_resource *r);
630 int rdt_get_mon_l3_config(struct rdt_resource *r);
[all …]
H A Dcore.c124 struct rdt_resource *r = &rdt_resources_all[RDT_RESOURCE_L3].r_resctrl; in resctrl_arch_system_num_rmid_idx()
151 struct rdt_resource *r = &hw_res->r_resctrl; in cache_alloc_hsw_probe()
174 bool is_mba_sc(struct rdt_resource *r) in is_mba_sc()
199 static inline bool rdt_get_mb_table(struct rdt_resource *r) in rdt_get_mb_table()
210 static __init bool __get_mem_config_intel(struct rdt_resource *r) in __get_mem_config_intel()
244 static __init bool __rdt_get_mem_config_amd(struct rdt_resource *r) in __rdt_get_mem_config_amd()
278 static void rdt_get_cache_alloc_cfg(int idx, struct rdt_resource *r) in rdt_get_cache_alloc_cfg()
332 static u32 delay_bw_map(unsigned long bw, struct rdt_resource *r) in delay_bw_map()
362 struct rdt_ctrl_domain *get_ctrl_domain_from_cpu(int cpu, struct rdt_resource *r) in get_ctrl_domain_from_cpu()
377 struct rdt_mon_domain *get_mon_domain_from_cpu(int cpu, struct rdt_resource *r) in get_mon_domain_from_cpu()
[all …]
H A Dctrlmondata.c32 static bool bw_validate(char *buf, u32 *data, struct rdt_resource *r) in bw_validate()
72 struct rdt_resource *r = s->res; in parse_bw()
105 static bool cbm_validate(char *buf, u32 *data, struct rdt_resource *r) in cbm_validate()
151 struct rdt_resource *r = s->res; in parse_cbm()
214 struct rdt_resource *r = s->res; in parse_line()
280 int resctrl_arch_update_one(struct rdt_resource *r, struct rdt_ctrl_domain *d, in resctrl_arch_update_one()
302 int resctrl_arch_update_domains(struct rdt_resource *r, u32 closid) in resctrl_arch_update_domains()
362 struct rdt_resource *r; in rdtgroup_schemata_write()
438 u32 resctrl_arch_get_config(struct rdt_resource *r, struct rdt_ctrl_domain *d, in resctrl_arch_get_config()
449 struct rdt_resource *r = schema->res; in show_doms()
[all …]
H A Drdtgroup.c95 struct rdt_resource *r; in rdt_staged_configs_clear()
963 struct rdt_resource *r = s->res; in rdt_default_ctrl_show()
973 struct rdt_resource *r = s->res; in rdt_min_cbm_bits_show()
983 struct rdt_resource *r = s->res; in rdt_shareable_bits_show()
1013 struct rdt_resource *r = s->res; in rdt_bit_usage_show()
1089 struct rdt_resource *r = s->res; in rdt_min_bw_show()
1098 struct rdt_resource *r = of->kn->parent->priv; in rdt_num_rmids_show()
1108 struct rdt_resource *r = of->kn->parent->priv; in rdt_mon_features_show()
1124 struct rdt_resource *r = s->res; in rdt_bw_gran_show()
1134 struct rdt_resource *r = s->res; in rdt_delay_linear_show()
[all …]
H A Dmonitor.c220 struct rdt_resource *r = &rdt_resources_all[RDT_RESOURCE_L3].r_resctrl; in logical_rmid_to_physical_rmid()
271 void resctrl_arch_reset_rmid(struct rdt_resource *r, struct rdt_mon_domain *d, in resctrl_arch_reset_rmid()
294 void resctrl_arch_reset_rmid_all(struct rdt_resource *r, struct rdt_mon_domain *d) in resctrl_arch_reset_rmid_all()
315 int resctrl_arch_rmid_read(struct rdt_resource *r, struct rdt_mon_domain *d, in resctrl_arch_rmid_read()
368 struct rdt_resource *r = &rdt_resources_all[RDT_RESOURCE_L3].r_resctrl; in __check_limbo()
524 struct rdt_resource *r = &rdt_resources_all[RDT_RESOURCE_L3].r_resctrl; in add_rmid_to_limbo()
755 struct rdt_resource *r_mba; in update_mba_bw()
816 static void mbm_update(struct rdt_resource *r, struct rdt_mon_domain *d, in mbm_update()
920 struct rdt_resource *r; in mbm_handle_overflow()
986 static int dom_data_init(struct rdt_resource *r) in dom_data_init()
[all …]
/linux/arch/x86/include/asm/
H A Dresctrl.h171 struct rdt_resource;
172 static inline void *resctrl_arch_mon_ctx_alloc(struct rdt_resource *r, int evtid) in resctrl_arch_mon_ctx_alloc()
178 static inline void resctrl_arch_mon_ctx_free(struct rdt_resource *r, int evtid, in resctrl_arch_mon_ctx_free()