Home
last modified time | relevance | path

Searched refs:vmsc (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/resctrl/
H A Dtest_mpam_devices.c54 INIT_LIST_HEAD(&fake_comp1.vmsc); in reset_fake_hierarchy()
56 INIT_LIST_HEAD(&fake_comp2.vmsc); in reset_fake_hierarchy()
92 list_add(&fake_vmsc1.comp_list, &fake_comp1.vmsc); in test_mpam_enable_merge_features()
94 fake_ris1.vmsc = &fake_vmsc1; in test_mpam_enable_merge_features()
96 fake_ris2.vmsc = &fake_vmsc1; in test_mpam_enable_merge_features()
116 list_add(&fake_vmsc1.comp_list, &fake_comp1.vmsc); in test_mpam_enable_merge_features()
118 fake_ris1.vmsc = &fake_vmsc1; in test_mpam_enable_merge_features()
120 fake_ris2.vmsc = &fake_vmsc1; in test_mpam_enable_merge_features()
145 list_add(&fake_vmsc1.comp_list, &fake_comp1.vmsc); in test_mpam_enable_merge_features()
147 list_add(&fake_vmsc2.comp_list, &fake_comp1.vmsc); in test_mpam_enable_merge_features()
[all …]
H A Dmpam_devices.c352 INIT_LIST_HEAD_RCU(&comp->vmsc); in mpam_component_alloc()
397 struct mpam_vmsc *vmsc; in mpam_vmsc_alloc() local
401 vmsc = kzalloc_obj(*vmsc); in mpam_vmsc_alloc()
402 if (!vmsc) in mpam_vmsc_alloc()
404 init_garbage(&vmsc->garbage); in mpam_vmsc_alloc()
406 INIT_LIST_HEAD_RCU(&vmsc->ris); in mpam_vmsc_alloc()
407 INIT_LIST_HEAD_RCU(&vmsc->comp_list); in mpam_vmsc_alloc()
408 vmsc->comp = comp; in mpam_vmsc_alloc()
409 vmsc->msc = msc; in mpam_vmsc_alloc()
411 list_add_rcu(&vmsc->comp_list, &comp->vmsc); in mpam_vmsc_alloc()
[all …]
H A Dmpam_internal.h280 struct list_head vmsc; member
332 struct mpam_vmsc *vmsc; member