Lines Matching defs:li_elm
1512 struct li_hist_entry *li_elm, *li_elm2;
1527 li_elm = malloc(sizeof(struct li_hist_entry),
1529 if (li_elm == NULL) {
1532 li_elm = TAILQ_FIRST(&(cb->li_hist));
1533 while (li_elm != NULL) {
1534 li_elm2 = TAILQ_NEXT(li_elm, linfo);
1535 free(li_elm, M_TEMP); /* M_TEMP ?? */
1536 li_elm = li_elm2;
1540 TAILQ_INSERT_HEAD(&(cb->li_hist), li_elm, linfo);
1543 li_elm->seq = seq_loss;
1544 li_elm->win_count = win_loss;
1546 li_elm = TAILQ_NEXT(li_elm, linfo);
1548 li_elm->interval = tfrc_recv_calcFirstLI(cb);
1569 li_elm = TAILQ_LAST(&(cb->li_hist), li_hist_head);
1570 TAILQ_REMOVE(&(cb->li_hist), li_elm, linfo);
1573 li_elm->seq = seq_loss;
1574 li_elm->win_count = win_loss;
1577 TAILQ_INSERT_HEAD(&(cb->li_hist), li_elm, linfo);
1647 struct li_hist_entry *li_elm, *li_elm2;
1669 li_elm = TAILQ_FIRST(&(cb->li_hist));
1670 while (li_elm != NULL) {
1671 li_elm2 = TAILQ_NEXT(li_elm, linfo);
1672 free(li_elm, M_TEMP); /* M_TEMP ?? */
1673 li_elm = li_elm2;