Lines Matching refs:n
46 QUIC_TXPIM_PKT_EX *n, *nnext; in free_list() local
48 for (n = l->head; n != NULL; n = nnext) { in free_list()
49 nnext = n->next; in free_list()
51 OPENSSL_free(n->chunks); in free_list()
52 OPENSSL_free(n); in free_list()
68 static void list_remove(QUIC_TXPIM_PKT_EX_LIST *l, QUIC_TXPIM_PKT_EX *n) in list_remove() argument
70 if (l->head == n) in list_remove()
71 l->head = n->next; in list_remove()
72 if (l->tail == n) in list_remove()
73 l->tail = n->prev; in list_remove()
74 if (n->prev != NULL) in list_remove()
75 n->prev->next = n->next; in list_remove()
76 if (n->next != NULL) in list_remove()
77 n->next->prev = n->prev; in list_remove()
78 n->prev = n->next = NULL; in list_remove()
81 static void list_insert_tail(QUIC_TXPIM_PKT_EX_LIST *l, QUIC_TXPIM_PKT_EX *n) in list_insert_tail() argument
83 n->prev = l->tail; in list_insert_tail()
84 n->next = NULL; in list_insert_tail()
85 l->tail = n; in list_insert_tail()
86 if (n->prev != NULL) in list_insert_tail()
87 n->prev->next = n; in list_insert_tail()
89 l->head = n; in list_insert_tail()