Home
last modified time | relevance | path

Searched refs:hashtbl (Results 1 – 4 of 4) sorted by relevance

/mirbsd/src/sys/kern/
Dkern_subr.c168 LIST_HEAD(generic, generic) *hashtbl;
174 hashtbl = malloc(hashsize * sizeof(*hashtbl), type, flags);
175 if (hashtbl == NULL)
178 LIST_INIT(&hashtbl[i]);
180 return (hashtbl);
/mirbsd/src/usr.bin/less/
Dch.c56 struct buflist hashtbl[BUFHASH_SIZE]; member
77 #define END_OF_HCHAIN(h) ((struct buf *)&thisfile->hashtbl[h])
81 for (bp = thisfile->hashtbl[h].buf_hnext; \
89 (bp)->hnext = thisfile->hashtbl[h].buf_hnext; \
91 thisfile->hashtbl[h].buf_hnext->hprev = (bp); \
92 thisfile->hashtbl[h].buf_hnext = (bp);
670 thisfile->hashtbl[h].buf_hnext = END_OF_HCHAIN(h); in init_hashtbl()
671 thisfile->hashtbl[h].buf_hprev = END_OF_HCHAIN(h); in init_hashtbl()
/mirbsd/src/lib/libpcap/
Doptimize.c504 static struct valnode *hashtbl[MODULUS]; variable
526 memset((char *)hashtbl, 0, sizeof hashtbl); in init_val()
542 for (p = hashtbl[hash]; p; p = p->next)
557 p->next = hashtbl[hash];
558 hashtbl[hash] = p;
/mirbsd/src/sys/dev/usb/
Dif_axe.c377 u_int8_t hashtbl[8] = { 0, 0, 0, 0, 0, 0, 0, 0 }; in axe_setmulti() local
403 hashtbl[h / 8] |= 1 << (h % 8); in axe_setmulti()
408 axe_cmd(sc, AXE_CMD_WRITE_MCAST, 0, 0, (void *)&hashtbl); in axe_setmulti()