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.c392 INIT_LIST_HEAD_RCU(&comp->vmsc); in mpam_component_alloc()
437 struct mpam_vmsc *vmsc; in mpam_vmsc_alloc() local
441 vmsc = kzalloc_obj(*vmsc); in mpam_vmsc_alloc()
442 if (!vmsc) in mpam_vmsc_alloc()
444 init_garbage(&vmsc->garbage); in mpam_vmsc_alloc()
446 INIT_LIST_HEAD_RCU(&vmsc->ris); in mpam_vmsc_alloc()
447 INIT_LIST_HEAD_RCU(&vmsc->comp_list); in mpam_vmsc_alloc()
448 vmsc->comp = comp; in mpam_vmsc_alloc()
449 vmsc->msc = msc; in mpam_vmsc_alloc()
451 list_add_rcu(&vmsc->comp_list, &comp->vmsc); in mpam_vmsc_alloc()
[all …]
/linux/drivers/net/dsa/
H A Dmt7628.c76 #define MT7628_ESW_VMSC_PREP(vlan, vmsc) \ argument
77 (((vmsc) & MT7628_ESW_VMSC_M) << MT7628_ESW_VMSC_SHIFT(vlan))