Lines Matching refs:new_head
220 static void sorted_insert_seq_num(SRTM_ITEM *head, SRTM_ITEM *item, SRTM_ITEM **new_head) in sorted_insert_seq_num() argument
223 SRTM_ITEM *cur = head, **fixup = new_head; in sorted_insert_seq_num()
225 *new_head = head; in sorted_insert_seq_num()
241 static void sorted_insert_srt(SRTM_ITEM *head, SRTM_ITEM *item, SRTM_ITEM **new_head) in sorted_insert_srt() argument
244 SRTM_ITEM *cur = head, **fixup = new_head; in sorted_insert_srt()
246 *new_head = head; in sorted_insert_srt()
285 SRTM_ITEM *item = NULL, *head = NULL, *new_head, *r_item; in ossl_quic_srtm_add() local
314 sorted_insert_seq_num(head, item, &new_head); in ossl_quic_srtm_add()
315 if (new_head != head) { /* head changed, update in lhash */ in ossl_quic_srtm_add()
316 lh_SRTM_ITEM_insert(srtm->items_fwd, new_head); in ossl_quic_srtm_add()
338 sorted_insert_srt(r_item, item, &new_head); in ossl_quic_srtm_add()
339 if (new_head != r_item) { /* head changed, update in lhash */ in ossl_quic_srtm_add()
340 lh_SRTM_ITEM_insert(srtm->items_rev, new_head); in ossl_quic_srtm_add()