Lines Matching refs:lp
41 line_t *lp; in build_active_list() local
54 lp = get_addressed_line_node(first_addr); in build_active_list()
55 for (n = first_addr; n <= second_addr; n++, lp = lp->q_forw) { in build_active_list()
56 if ((s = get_sbuf_line(lp)) == NULL) in build_active_list()
59 NUL_TO_NEWLINE(s, lp->len); in build_active_list()
61 set_active_node(lp) < 0) in build_active_list()
76 line_t *lp = NULL; in exec_global() local
92 while ((lp = next_active_node()) != NULL) { in exec_global()
93 if ((current_addr = get_line_node_addr(lp)) < 0) in exec_global()
143 set_active_node(line_t *lp) in set_active_node() argument
174 active_list[active_last++] = lp; in set_active_node()
183 line_t *lp; in unset_active_nodes() local
186 for (lp = np; lp != mp; lp = lp->q_forw) in unset_active_nodes()
188 if (active_list[active_ndx] == lp) { in unset_active_nodes()