Lines Matching refs:io_alloc_closid
806 static bool resctrl_io_alloc_closid_supported(u32 io_alloc_closid) in resctrl_io_alloc_closid_supported() argument
808 return io_alloc_closid < closids_supported(); in resctrl_io_alloc_closid_supported()
863 u32 io_alloc_closid; in resctrl_io_alloc_write() local
889 io_alloc_closid = resctrl_io_alloc_closid(r); in resctrl_io_alloc_write()
890 if (!resctrl_io_alloc_closid_supported(io_alloc_closid)) { in resctrl_io_alloc_write()
892 io_alloc_closid); in resctrl_io_alloc_write()
898 if (!closid_alloc_fixed(io_alloc_closid)) { in resctrl_io_alloc_write()
899 grp_name = rdtgroup_name_by_closid(io_alloc_closid); in resctrl_io_alloc_write()
902 io_alloc_closid, grp_name ? grp_name : "another"); in resctrl_io_alloc_write()
907 ret = resctrl_io_alloc_init_cbm(s, io_alloc_closid); in resctrl_io_alloc_write()
910 closid_free(io_alloc_closid); in resctrl_io_alloc_write()
914 closid_free(io_alloc_closid); in resctrl_io_alloc_write()
920 closid_free(io_alloc_closid); in resctrl_io_alloc_write()
1030 u32 io_alloc_closid; in resctrl_io_alloc_cbm_write() local
1060 io_alloc_closid = resctrl_io_alloc_closid(r); in resctrl_io_alloc_cbm_write()
1063 ret = resctrl_io_alloc_parse_line(buf, r, s, io_alloc_closid); in resctrl_io_alloc_cbm_write()
1067 ret = resctrl_arch_update_domains(r, io_alloc_closid); in resctrl_io_alloc_cbm_write()