Lines Matching defs:head
65 ksl->head = NULL;
83 nghttp3_ksl_blk *head = ksl_blk_objalloc_new(ksl);
84 if (!head) {
88 head->next = head->prev = NULL;
89 head->n = 0;
90 head->leaf = 1;
92 ksl->head = head;
93 ksl->front = ksl->back = head;
116 if (!ksl || !ksl->head) {
121 ksl_free_blk(ksl, ksl->head);
204 * ksl_split_head splits a head (root) block. It increases the height
217 rblk = ksl_split_blk(ksl, ksl->head);
222 lblk = ksl->head;
243 ksl->head = nhead;
291 if (!ksl->head) {
298 blk = ksl->head;
305 blk = ksl->head;
383 * If |blk| is the direct descendant of head (root) block and the head
384 * block contains just 2 nodes, the merged block becomes head block,
413 if (ksl->head == blk && blk->n == 2) {
414 ksl_blk_objalloc_del(ksl, ksl->head);
415 ksl->head = lblk;
513 assert(ksl->head);
536 nghttp3_ksl_blk *blk = ksl->head;
540 if (!ksl->head) {
547 blk = ksl_merge_node(ksl, ksl->head, 0);
615 nghttp3_ksl_blk *blk = ksl->head;
657 nghttp3_ksl_blk *blk = ksl->head;
698 nghttp3_ksl_blk *blk = ksl->head;
702 assert(ksl->head);
748 if (!ksl->head) {
753 ksl_free_blk(ksl, ksl->head);
756 ksl->front = ksl->back = ksl->head = NULL;
763 if (!ksl->head) {
767 ksl_print(ksl, ksl->head, 0);
773 if (ksl->head) {
785 if (ksl->head) {