#define pr_fmt(fmt) …
#include <linux/cpu.h>
#include <linux/kernfs.h>
#include <linux/seq_file.h>
#include <linux/slab.h>
#include <linux/tick.h>
#include "internal.h"
static bool bw_validate(char *buf, u32 *data, struct rdt_resource *r)
{ … }
int parse_bw(struct rdt_parse_data *data, struct resctrl_schema *s,
struct rdt_ctrl_domain *d)
{ … }
static bool cbm_validate(char *buf, u32 *data, struct rdt_resource *r)
{ … }
int parse_cbm(struct rdt_parse_data *data, struct resctrl_schema *s,
struct rdt_ctrl_domain *d)
{ … }
static int parse_line(char *line, struct resctrl_schema *s,
struct rdtgroup *rdtgrp)
{ … }
static u32 get_config_index(u32 closid, enum resctrl_conf_type type)
{ … }
int resctrl_arch_update_one(struct rdt_resource *r, struct rdt_ctrl_domain *d,
u32 closid, enum resctrl_conf_type t, u32 cfg_val)
{ … }
int resctrl_arch_update_domains(struct rdt_resource *r, u32 closid)
{ … }
static int rdtgroup_parse_resource(char *resname, char *tok,
struct rdtgroup *rdtgrp)
{ … }
ssize_t rdtgroup_schemata_write(struct kernfs_open_file *of,
char *buf, size_t nbytes, loff_t off)
{ … }
u32 resctrl_arch_get_config(struct rdt_resource *r, struct rdt_ctrl_domain *d,
u32 closid, enum resctrl_conf_type type)
{ … }
static void show_doms(struct seq_file *s, struct resctrl_schema *schema, int closid)
{ … }
int rdtgroup_schemata_show(struct kernfs_open_file *of,
struct seq_file *s, void *v)
{ … }
static int smp_mon_event_count(void *arg)
{ … }
void mon_event_read(struct rmid_read *rr, struct rdt_resource *r,
struct rdt_mon_domain *d, struct rdtgroup *rdtgrp,
cpumask_t *cpumask, int evtid, int first)
{ … }
int rdtgroup_mondata_show(struct seq_file *m, void *arg)
{ … }