Lines Matching refs:io_alloc_closid
795 static bool resctrl_io_alloc_closid_supported(u32 io_alloc_closid) in resctrl_io_alloc_closid_supported() argument
797 return io_alloc_closid < closids_supported(); in resctrl_io_alloc_closid_supported()
852 u32 io_alloc_closid; in resctrl_io_alloc_write() local
875 io_alloc_closid = resctrl_io_alloc_closid(r); in resctrl_io_alloc_write()
876 if (!resctrl_io_alloc_closid_supported(io_alloc_closid)) { in resctrl_io_alloc_write()
878 io_alloc_closid); in resctrl_io_alloc_write()
884 if (!closid_alloc_fixed(io_alloc_closid)) { in resctrl_io_alloc_write()
885 grp_name = rdtgroup_name_by_closid(io_alloc_closid); in resctrl_io_alloc_write()
888 io_alloc_closid, grp_name ? grp_name : "another"); in resctrl_io_alloc_write()
893 ret = resctrl_io_alloc_init_cbm(s, io_alloc_closid); in resctrl_io_alloc_write()
896 closid_free(io_alloc_closid); in resctrl_io_alloc_write()
900 closid_free(io_alloc_closid); in resctrl_io_alloc_write()
906 closid_free(io_alloc_closid); in resctrl_io_alloc_write()
1003 u32 io_alloc_closid; in resctrl_io_alloc_cbm_write() local
1028 io_alloc_closid = resctrl_io_alloc_closid(r); in resctrl_io_alloc_cbm_write()
1031 ret = resctrl_io_alloc_parse_line(buf, r, s, io_alloc_closid); in resctrl_io_alloc_cbm_write()
1035 ret = resctrl_arch_update_domains(r, io_alloc_closid); in resctrl_io_alloc_cbm_write()