Lines Matching refs:head
59 c->head = 0; in cdb_make_start()
76 struct cdb_hplist *head; in cdb_make_addend() local
78 head = c->head; in cdb_make_addend()
79 if (!head || (head->num >= CDB_HPLIST)) { in cdb_make_addend()
80 head = (struct cdb_hplist *) emalloc(sizeof(struct cdb_hplist)); in cdb_make_addend()
81 if (!head) in cdb_make_addend()
83 head->num = 0; in cdb_make_addend()
84 head->next = c->head; in cdb_make_addend()
85 c->head = head; in cdb_make_addend()
87 head->hp[head->num].h = h; in cdb_make_addend()
88 head->hp[head->num].p = c->pos; in cdb_make_addend()
89 ++head->num; in cdb_make_addend()
151 for (x = c->head; x; x = x->next) { in cdb_make_finish()
184 for (x = c->head; x; x = x->next) { in cdb_make_finish()
222 for (x = c->head; x; c->head = x) { in cdb_make_finish()
224 efree(c->head); in cdb_make_finish()