Lines Matching defs:lelp
296 struct logtab_ent_list *lelp, *head = NULL, *tail = NULL;
316 lelp = (struct logtab_ent_list *)
318 if (lelp == NULL) {
323 lelp->lel_le = lep;
324 lelp->lel_next = NULL;
329 head = tail = lelp;
335 tail->lel_next = lelp;
336 tail = lelp; /* remember the last element */
356 for (lelp = head; lelp != NULL; lelp = lelp->lel_next)
357 (void) logtab_putent(fd, lelp->lel_le);
403 struct logtab_ent_list *lelp, *next;
408 for (lelp = head; lelp != NULL; lelp = next) {
409 if (lelp->lel_le != NULL)
410 logtab_ent_free(lelp->lel_le);
411 next = lelp->lel_next;
412 free(lelp);