Lines Matching +full:resource +full:- +full:id
1 /* SPDX-License-Identifier: GPL-2.0 */
13 * cpumask_any_housekeeping() - Choose any CPU in @mask, preferring those that
49 struct kernfs_fs_context *kfc = fc->fs_private; in rdt_fc2context()
55 * struct mon_evt - Properties of a monitor event
56 * @evtid: event id
57 * @rid: resource id for this event
81 * struct mon_data - Monitoring details for each event file.
83 * @rid: Resource id associated with the event file.
84 * @evtid: Event id associated with the event file.
89 * is the id of the L3 cache that all domains to be
92 * Pointed to by the kernfs kn->priv field of monitoring event files.
104 * struct rmid_read - Data passed across smp_call*() to read event count.
105 * @rgrp: Resource group for which the counter is being read. If it is a parent
106 * resource group then its event count is summed with the count from all
107 * its child resource groups.
108 * @r: Resource describing the properties of the event being read.
110 * domains in @r sharing L3 @ci.id
117 * @val: Returned value of event counter. If @rgrp is a parent resource group,
118 * @val includes the sum of event counts from its child resource groups.
119 * If @d is NULL, @val includes the sum of all domains in @r sharing @ci.id,
120 * (summed across child resource groups if @rgrp is a parent resource group).
147 * enum rdtgrp_mode - Mode of a RDT resource group
148 * @RDT_MODE_SHAREABLE: This resource group allows sharing of its allocations
149 * @RDT_MODE_EXCLUSIVE: No sharing of this resource group's allocations allowed
150 * @RDT_MODE_PSEUDO_LOCKSETUP: Resource group will be used for Pseudo-Locking
151 * @RDT_MODE_PSEUDO_LOCKED: No sharing of this resource group's allocations
152 * allowed AND the allocations are Cache Pseudo-Locked
155 * The mode of a resource group enables control over the allowed overlap
156 * between allocations associated with different resource groups (classes
157 * of service). User is able to modify the mode of a resource group by
158 * writing to the "mode" resctrl file associated with the resource group.
160 * The "shareable", "exclusive", and "pseudo-locksetup" modes are set by
161 * writing the appropriate text to the "mode" file. A resource group enters
162 * "pseudo-locked" mode after the schemata is written while the resource
163 * group is in "pseudo-locksetup" mode.
176 * struct mongroup - store mon group's data in resctrl fs.
190 * struct rdtgroup - store rdtgroup's data in resctrl file system.
198 * @type: indicates type of this rdtgroup - either
201 * @mode: mode of resource group
202 * @mba_mbps_event: input monitoring event id when mba_sc is enabled
203 * @plr: pseudo-locked region
256 /* List of all resource groups */
262 * struct rftype - describe each file in the resctrl file system
283 * Maximum write size is determined by ->max_write_len.
290 * struct mbm_state - status for each MBM counter in each domain
303 return rcu_dereference_check(kn->name, lockdep_is_held(&rdtgroup_mutex)); in rdt_kn_name()
450 return -EOPNOTSUPP; in rdtgroup_locksetup_enter()
455 return -EOPNOTSUPP; in rdtgroup_locksetup_exit()
472 return -EOPNOTSUPP; in rdtgroup_pseudo_lock_create()