Lines Matching refs:lp
44 line_t *lp; in build_active_list() local
57 lp = get_addressed_line_node(first_addr); in build_active_list()
58 for (n = first_addr; n <= second_addr; n++, lp = lp->q_forw) { in build_active_list()
59 if ((s = get_sbuf_line(lp)) == NULL) in build_active_list()
62 NUL_TO_NEWLINE(s, lp->len); in build_active_list()
64 set_active_node(lp) < 0) in build_active_list()
79 line_t *lp = NULL; in exec_global() local
95 while ((lp = next_active_node()) != NULL) { in exec_global()
96 if ((current_addr = get_line_node_addr(lp)) < 0) in exec_global()
146 set_active_node(line_t *lp) in set_active_node() argument
177 active_list[active_last++] = lp; in set_active_node()
186 line_t *lp; in unset_active_nodes() local
189 for (lp = np; lp != mp; lp = lp->q_forw) in unset_active_nodes()
191 if (active_list[active_ndx] == lp) { in unset_active_nodes()