Searched refs:NUM_BUFS (Results 1 – 2 of 2) sorted by relevance
107 bufhdr_table = (BUFHDR_T *)(buf_table + NUM_BUFS);108 buf_hash_table = (int *)(bufhdr_table + NUM_BUFS);137 bufhdr_table[0].lru.prev = NUM_BUFS-1;138 bufhdr_table[NUM_BUFS-1].lru.next = 0;142 buf_hash_table[i] = NUM_BUFS;226 buf_hash_table[ndx] = NUM_BUFS;321 if ( bufid < NUM_BUFS ) {458 assert ( bufid < NUM_BUFS);580 assert ( (bhp-bufhdr_table) < NUM_BUFS );618 if ( buf_hash_table[ndx] >= NUM_BUFS ) {[all …]
114 #define NUM_BUFS 4 in naddr_ntoa() macro118 } bufs[NUM_BUFS]; in naddr_ntoa()124 bufno = (bufno+1) % NUM_BUFS; in naddr_ntoa()126 #undef NUM_BUFS in naddr_ntoa()424 #define NUM_BUFS 4 in addrname() macro428 } bufs[NUM_BUFS]; in addrname()437 bufno = (bufno+1) % NUM_BUFS; in addrname()455 #undef NUM_BUFS in addrname()