Home
last modified time | relevance | path

Searched refs:hshift (Results 1 – 3 of 3) sorted by relevance

/titanic_44/usr/src/cmd/cmd-inet/usr.bin/pppdump/
H A Dbsd-comp.c84 u_char hshift; /* used in hash function */ member
164 #define BSD_HASH(prefix,suffix,hshift) ((((u_int32_t)(suffix)) << (hshift)) \ argument
292 u_int newlen, hsize, hshift, maxmaxcode; local
306 hshift = 4;
310 hshift = 5;
314 hshift = 6;
318 hshift = 7;
347 db->hshift = hshift;
435 u_int hshift = db->hshift; local
465 hval = BSD_HASH(ent, c, hshift);
[all …]
/titanic_44/usr/src/uts/common/io/ppp/spppcomp/
H A Dbsd-comp.c101 uchar_t hshift; /* used in hash function */ member
198 #define BSD_HASH(prefix, suffix, hshift) \ argument
199 ((((uint32_t)(suffix)) << (hshift)) ^ (uint32_t)(prefix))
352 uint_t hshift; in bsd_alloc() local
375 hshift = 4; in bsd_alloc()
382 hshift = 5; in bsd_alloc()
389 hshift = 6; in bsd_alloc()
396 hshift = 7; in bsd_alloc()
430 db->hshift = (uchar_t)hshift; in bsd_alloc()
558 int hshift = db->hshift; in bsd_compress() local
[all …]
/titanic_44/usr/src/cmd/compress/
H A Dcompress.c926 cinterr(int hshift) in cinterr() argument
931 (void) fprintf(stderr, "hshift = %d, %d\n", hshift, (1 << hshift) -1); in cinterr()
976 int hshift; in compress() local
1011 hshift = 0; in compress()
1014 hshift++; in compress()
1016 hshift = 8 - hshift; /* set hash code range bound */ in compress()
1027 i = ((c << hshift) ^ ent); /* xor hashing */ in compress()
1050 cinterr(hshift); in compress()