Lines Matching refs:list
14 #include "list.h"
28 struct dl_list list;
184 dl_list_for_each(h, &history_list, struct edit_history, list) {
194 dl_list_del(&h->list);
195 dl_list_add(&history_list, &h->list);
201 dl_list_del(&last->list);
209 dl_list_add(&history_list, &h->list);
230 dl_list_first(&history_list, struct edit_history, list)) {
241 dl_list_last(&history_list, struct edit_history, list))
244 history_curr = dl_list_entry(history_curr->list.next,
245 struct edit_history, list);
254 dl_list_first(&history_list, struct edit_history, list)) {
265 history_curr = dl_list_entry(history_curr->list.prev,
266 struct edit_history, list);
304 dl_list_for_each_reverse(h, &history_list, struct edit_history, list) {
319 dl_list_for_each_reverse(h, &history_list, struct edit_history, list)
426 static void complete(int list)
455 if (list) {
876 dl_list_for_each(h, &history_list, struct edit_history, list) {
1150 while ((h = dl_list_first(&history_list, struct edit_history, list))) {
1151 dl_list_del(&h->list);