Lines Matching refs:list
55 set->list[i].free_next = i + 1; in via_set_init()
56 set->list[i].alloc_next = -1; in via_set_init()
58 set->list[SET_SIZE - 1].free_next = -1; in via_set_init()
69 set->list[free].val = item; in via_set_add()
70 set->free = set->list[free].free_next; in via_set_add()
74 set->list[free].alloc_next = set->alloc; in via_set_add()
76 set->list[free].free_next = -1; in via_set_add()
86 if (set->list[alloc].val == item) { in via_set_del()
88 set->list[prev].alloc_next = set->list[alloc].alloc_next; in via_set_del()
90 set->alloc = set->list[alloc].alloc_next; in via_set_del()
94 alloc = set->list[alloc].alloc_next; in via_set_del()
100 set->list[alloc].free_next = set->free; in via_set_del()
102 set->list[alloc].alloc_next = -1; in via_set_del()
114 *item = set->list[set->alloc].val; in via_set_first()
115 set->trace = set->list[set->alloc].alloc_next; in via_set_first()
126 *item = set->list[set->trace].val; in via_set_next()
127 set->trace = set->list[set->trace].alloc_next; in via_set_next()