/freebsd-9.3-release/sys/kern/ |
H A D | subr_hash.c | 52 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-9.3-release/contrib/less/ |
H A D | ch.c | 60 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); 765 thisfile->hashtbl[h].hnext = END_OF_HCHAIN(h); 766 thisfile->hashtbl[h].hprev = END_OF_HCHAIN(h);
|
/freebsd-9.3-release/sys/dev/usb/net/ |
H A D | if_cue.c | 310 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 D | if_udav.c | 501 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 D | if_mos.c | 395 mos_write_mcast(struct mos_softc *sc, u_char *hashtbl) argument 406 err = uether_do_request(&sc->sc_ue, &req, hashtbl, 1000); 591 uint8_t hashtbl[8] = {0, 0, 0, 0, 0, 0, 0, 0}; local 610 hashtbl[h / 8] |= 1 << (h % 8); 620 mos_write_mcast(sc, (void *)&hashtbl);
|
H A D | if_aue.c | 538 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 D | if_axge.c | 744 uint8_t hashtbl[8] = { 0, 0, 0, 0, 0, 0, 0, 0 }; local 765 hashtbl[h / 8] |= 1 << (h % 8); 769 axge_write_mem(sc, AXGE_ACCESS_MAC, 8, AXGE_MFA, (void *)&hashtbl, 8);
|
H A D | if_axe.c | 485 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-9.3-release/contrib/libpcap/ |
H A D | optimize.c | 516 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;
|