Searched refs:hashtbl (Results 1 - 10 of 10) sorted by relevance

/freebsd-10.3-release/sys/kern/
H A Dsubr_hash.c52 LIST_HEAD(generic, generic) *hashtbl;
65 hashtbl = malloc((u_long)hashsize * sizeof(*hashtbl),
68 hashtbl = malloc((u_long)hashsize * sizeof(*hashtbl),
71 if (hashtbl != NULL) {
73 LIST_INIT(&hashtbl[i]);
76 return (hashtbl);
92 LIST_HEAD(generic, generic) *hashtbl, *hp;
94 hashtbl
[all...]
/freebsd-10.3-release/contrib/less/
H A Dch.c60 struct bufnode hashtbl[BUFHASH_SIZE]; member in struct:filestate
81 #define END_OF_HCHAIN(h) (&thisfile->hashtbl[h])
107 * Macros to manipulate the list of buffers in thisfile->hashtbl[n].
110 for (bn = thisfile->hashtbl[h].hnext; \
118 (bn)->hnext = thisfile->hashtbl[h].hnext; \
120 thisfile->hashtbl[h].hnext->hprev = (bn); \
121 thisfile->hashtbl[h].hnext = (bn);
794 thisfile->hashtbl[h].hnext = END_OF_HCHAIN(h);
795 thisfile->hashtbl[h].hprev = END_OF_HCHAIN(h);
/freebsd-10.3-release/sys/dev/usb/net/
H A Dif_cue.c310 uint8_t hashtbl[8] = { 0, 0, 0, 0, 0, 0, 0, 0 }; local
316 hashtbl[i] = 0xff;
318 &hashtbl, 8);
329 hashtbl[h >> 3] |= 1 << (h & 0x7);
339 hashtbl[h >> 3] |= 1 << (h & 0x7);
342 cue_mem(sc, CUE_CMD_WRITESRAM, CUE_MCAST_TABLE_ADDR, &hashtbl, 8);
H A Dif_udav.c501 uint8_t hashtbl[8] = { 0, 0, 0, 0, 0, 0, 0, 0 }; local
512 memset(hashtbl, 0x00, sizeof(hashtbl));
513 hashtbl[7] |= 0x80; /* broadcast address */
514 udav_csr_write(sc, UDAV_MAR, hashtbl, sizeof(hashtbl));
524 hashtbl[h / 8] |= 1 << (h % 8);
532 udav_csr_write(sc, UDAV_MAR, hashtbl, sizeof(hashtbl));
H A Dif_mos.c395 mos_write_mcast(struct mos_softc *sc, u_char *hashtbl) argument
406 err = uether_do_request(&sc->sc_ue, &req, hashtbl, 1000);
590 uint8_t hashtbl[8] = {0, 0, 0, 0, 0, 0, 0, 0}; local
609 hashtbl[h / 8] |= 1 << (h % 8);
619 mos_write_mcast(sc, (void *)&hashtbl);
H A Dif_smsc.c680 uint32_t hashtbl[2] = { 0, 0 }; local
706 hashtbl[hash >> 5] |= 1 << (hash & 0x1F);
723 smsc_write_reg(sc, SMSC_HASHH, hashtbl[1]);
724 smsc_write_reg(sc, SMSC_HASHL, hashtbl[0]);
H A Dif_aue.c538 uint8_t hashtbl[8] = { 0, 0, 0, 0, 0, 0, 0, 0 }; local
556 hashtbl[(h >> 3)] |= 1 << (h & 0x7);
562 aue_csr_write_1(sc, AUE_MAR0 + i, hashtbl[i]);
H A Dif_axge.c743 uint8_t hashtbl[8] = { 0, 0, 0, 0, 0, 0, 0, 0 }; local
764 hashtbl[h / 8] |= 1 << (h % 8);
768 axge_write_mem(sc, AXGE_ACCESS_MAC, 8, AXGE_MFA, (void *)&hashtbl, 8);
H A Dif_axe.c485 uint8_t hashtbl[8] = { 0, 0, 0, 0, 0, 0, 0, 0 }; local
506 hashtbl[h / 8] |= 1 << (h % 8);
510 axe_cmd(sc, AXE_CMD_WRITE_MCAST, 0, 0, (void *)&hashtbl);
/freebsd-10.3-release/contrib/libpcap/
H A Doptimize.c516 static struct valnode *hashtbl[MODULUS]; variable in typeref:struct:valnode
538 memset((char *)hashtbl, 0, sizeof hashtbl);
552 for (p = hashtbl[hash]; p; p = p->next)
567 p->next = hashtbl[hash];
568 hashtbl[hash] = p;

Completed in 144 milliseconds