resctrl_find_domain(9)
πΈ resctrl_find_domain(9) β Kernel API Manual πΈ
okay bestie, welcome to the Kernel API Manual!! today's main character is resctrl_find_domain, and she is lowkey here to search a resource domain list for a domain id. it's giving "find ur friend in the crowd" energy. πβ¨
β¨ NAME β¨
resctrl_find_domain - search for a domain id in a resource domain list. π
π¦ SYNOPSIS π¦
struct rdt_domain_hdr * resctrl_find_domain (struct list_head *h , int id , struct list_head **pos );
π ARGUMENTS π
ok so here is the group-chat roll call, bestie:
hβ the domain list to search. this is the list we are digging through. πidβ the domain id to search for. this is the target, the whole reason we are here. π―posβ a pointer to the position in the list whereidshould be inserted. literally a lil bookmark for future u. π
π DESCRIPTION π
so the whole vibe is: search the domain list to find the domain id. if the domain id is found, return the domain. NULL otherwise. π
if the domain id is not found (and NULL is returned), then the first domain with an id bigger than the input id can be returned to the caller via pos. that is the plot twist, and it is lowkey iconic. ππ₯
π₯ SEE ALSO π₯
omg the friend group is huge. every single one is here, no skipping, no cap:
- Kernel file
./include/linux/resctrl.hποΈ enum resctrl_conf_type(9)struct resctrl_staged_config(9)struct rdt_domain_hdr(9)struct rdt_ctrl_domain(9)struct mbm_cntr_cfg(9)struct rdt_l3_mon_domain(9)struct resctrl_cache(9)enum membw_throttle_mode(9)struct resctrl_membw(9)enum resctrl_schema_fmt(9)struct resctrl_mon(9)struct rdt_resource(9)struct resctrl_schema(9)resctrl_arch_sync_cpu_closid_rmid(9)resctrl_get_default_ctrl(9)resctrl_arch_mon_event_config_write(9)resctrl_arch_mon_event_config_read(9)resctrl_arch_mbm_cntr_assign_enabled(9)resctrl_arch_mbm_cntr_assign_set(9)resctrl_arch_rmid_read(9)resctrl_arch_rmid_read_context_check(9)resctrl_arch_reset_rmid(9)resctrl_arch_reset_rmid_all(9)resctrl_arch_reset_all_ctrls(9)resctrl_arch_config_cntr(9)resctrl_arch_cntr_read(9)resctrl_arch_reset_cntr(9)resctrl_arch_io_alloc_enable(9)resctrl_arch_get_io_alloc_enabled(9)
and that's the tea β β xoxo, yourresctrl_find_domain(9)bestie, signed from source/version./include/linux, datedOctober 2026. mwah ππ«Ά
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms