Lines Matching refs:ln
65 struct line_node *ln;
69 list_for_each_entry_reverse(ln, head, list) {
70 if (ln->line < line) {
71 p = &ln->list;
73 } else if (ln->line == line) /* Already exist */
80 ln = zalloc(sizeof(struct line_node));
81 if (ln == NULL)
83 ln->line = line;
84 INIT_LIST_HEAD(&ln->list);
85 list_add(&ln->list, p);
92 struct line_node *ln;
95 list_for_each_entry(ln, head, list)
96 if (ln->line == line)
111 struct line_node *ln;
113 ln = list_first_entry(head, struct line_node, list);
114 list_del(&ln->list);
115 free(ln);