Lines Matching refs:head

1058 	struct chashbhead *head;
1065 head = (struct chashbhead *)ti->state;
1072 SLIST_FOREACH(ent, &head[hash], next) {
1083 head = (struct chashbhead *)ti->xstate;
1087 SLIST_FOREACH(ent, &head[hash], next) {
1103 struct chashbhead *head;
1110 head = (struct chashbhead *)ti->state;
1117 SLIST_FOREACH(ent, &head[hash], next) {
1129 head = (struct chashbhead *)ti->xstate;
1135 SLIST_FOREACH(ent, &head[hash], next) {
1152 struct chashbhead *head;
1159 head = (struct chashbhead *)ti->state;
1166 SLIST_FOREACH(ent, &head[hash], next) {
1177 head = (struct chashbhead *)ti->xstate;
1182 SLIST_FOREACH(ent, &head[hash], next) {
1462 struct chashbhead *head;
1481 head = cfg->head4;
1484 SLIST_FOREACH(tmp, &head[hash], next) {
1499 head = cfg->head6;
1502 SLIST_FOREACH(tmp, &head[hash], next) {
1559 struct chashbhead *head;
1578 head = cfg->head4;
1582 SLIST_FOREACH(tmp, &head[hash], next) {
1591 head = cfg->head6;
1594 SLIST_FOREACH(tmp, &head[hash], next) {
1615 SLIST_INSERT_HEAD(&head[hash], ent, next);
1645 struct chashbhead *head;
1657 head = cfg->head4;
1660 SLIST_FOREACH_SAFE(tmp, &head[hash], next, tmp_next) {
1664 SLIST_REMOVE(&head[hash], tmp, chashentry, next);
1674 head = cfg->head6;
1676 SLIST_FOREACH_SAFE(tmp, &head[hash], next, tmp_next) {
1680 SLIST_REMOVE(&head[hash], tmp, chashentry, next);
1744 struct chashbhead *head;
1753 head = malloc(sizeof(struct chashbhead) * mi->size,
1756 SLIST_INIT(&head[i]);
1757 mi->main_ptr = head;
1761 head = malloc(sizeof(struct chashbhead) * mi->size6,
1764 SLIST_INIT(&head[i]);
1765 mi->main_ptr6 = head;
3098 struct fhashbhead *head;
3204 struct fhashbhead *head;
3212 head = (struct fhashbhead *)ti->state;
3228 SLIST_FOREACH(ent, &head[hash], next) {
3253 SLIST_FOREACH(ent, &head[hash], next) {
3280 cfg->head = malloc(sizeof(struct fhashbhead) * cfg->size, M_IPFW,
3283 SLIST_INIT(&cfg->head[i]);
3313 ti->state = cfg->head;
3331 SLIST_FOREACH_SAFE(ent, &cfg->head[i], next, ent_next)
3334 free(cfg->head, M_IPFW);
3440 struct fhashbhead *head;
3461 head = cfg->head;
3470 SLIST_FOREACH(tmp, &head[hash], next) {
3491 SLIST_FOREACH_SAFE(ent, &cfg->head[i], next, ent_next)
3530 struct fhashbhead *head;
3545 head = cfg->head;
3554 SLIST_FOREACH(tmp, &head[hash], next) {
3576 SLIST_INSERT_HEAD(&head[hash], ent, next);
3603 struct fhashbhead *head;
3613 head = cfg->head;
3622 SLIST_FOREACH(tmp, &head[hash], next) {
3626 SLIST_REMOVE(&head[hash], tmp, fhashentry, next);
3676 struct fhashbhead *head;
3683 head = malloc(sizeof(struct fhashbhead) * mi->size, M_IPFW,
3686 SLIST_INIT(&head[i]);
3688 mi->main_ptr = head;
3736 cfg->head = new_head;
4058 error = rh->rnh_walktree(&rh->head, (walktree_f_t *)f, arg);
4065 error = rh->rnh_walktree(&rh->head, (walktree_f_t *)f, arg);