Lines Matching refs:vpecontrol
45 struct vpe_control vpecontrol = { variable
47 .vpe_list = LIST_HEAD_INIT(vpecontrol.vpe_list),
49 .tc_list = LIST_HEAD_INIT(vpecontrol.tc_list)
61 spin_lock(&vpecontrol.vpe_list_lock); in get_vpe()
62 list_for_each_entry(v, &vpecontrol.vpe_list, list) { in get_vpe()
68 spin_unlock(&vpecontrol.vpe_list_lock); in get_vpe()
79 spin_lock(&vpecontrol.tc_list_lock); in get_tc()
80 list_for_each_entry(t, &vpecontrol.tc_list, list) { in get_tc()
86 spin_unlock(&vpecontrol.tc_list_lock); in get_tc()
101 spin_lock(&vpecontrol.vpe_list_lock); in alloc_vpe()
102 list_add_tail(&v->list, &vpecontrol.vpe_list); in alloc_vpe()
103 spin_unlock(&vpecontrol.vpe_list_lock); in alloc_vpe()
124 spin_lock(&vpecontrol.tc_list_lock); in alloc_tc()
125 list_add_tail(&tc->list, &vpecontrol.tc_list); in alloc_tc()
126 spin_unlock(&vpecontrol.tc_list_lock); in alloc_tc()