Searched defs:BASE (Results 1 - 15 of 15) sorted by relevance

/illumos-gate/usr/src/uts/common/zmod/
H A Dadler32.c11 #define BASE 65521UL /* largest prime smaller than 65536 */ macro
13 /* NMAX is the largest n such that 255n(n+1)/2 + (n+1)(BASE-1) <= 2^32-1 */
25 if (a >= (BASE << 16)) a -= (BASE << 16); \
26 if (a >= (BASE << 15)) a -= (BASE << 15); \
27 if (a >= (BASE << 14)) a -= (BASE << 14); \
28 if (a >= (BASE << 13)) a -= (BASE << 1
[all...]
/illumos-gate/usr/src/boot/lib/libz/
H A Dadler32.c14 #define BASE 65521 /* largest prime smaller than 65536 */ macro
16 /* NMAX is the largest n such that 255n(n+1)/2 + (n+1)(BASE-1) <= 2^32-1 */
27 /* note that this assumes BASE is 65521, where 65536 % 65521 == 15
38 if (a >= BASE) a -= BASE; \
56 if (a >= BASE) a -= BASE; \
59 # define MOD(a) a %= BASE
60 # define MOD28(a) a %= BASE
61 # define MOD63(a) a %= BASE
[all...]
/illumos-gate/usr/src/lib/libmp/common/
H A Dmult.c83 #define BASE (1 << BASEBITS) macro
84 #define LOWBITS (BASE - 1)
/illumos-gate/usr/src/lib/gss_mechs/mech_dh/dh_common/
H A Dgeneric_key.c47 #define BASE (1 << BASEBITS) macro
113 MINT *base = mp_itom(BASE); /* We shift by BASEBITS */
/illumos-gate/usr/src/tools/cscope-fast/
H A Dinvlib.h36 #define BASE 95 /* 127 - ' ' */ macro
/illumos-gate/usr/src/lib/libnsl/key/
H A Dgen_dhkeys.c120 #define BASE (1 << BASEBITS) macro
125 MINT *base = mp_itom(BASE/2); /* BASE won't fit in a short */
132 /* multiply base by 2 to get BASE */
139 r = seed[i] % ((unsigned short)BASE);
/illumos-gate/usr/src/uts/common/fs/udfs/
H A Dudf_bmap.c187 #define BASE(count) ((count) & ~lbmask) macro
232 end_req = BASE(off) + size;
412 /* By this point the end of last extent is >= BASE(off) + size */
462 BASE(iext->ib_offset)) {
464 ip, i, BASE(iext->ib_offset) -
491 * from PCEIL(end_req) - BASE(end_ext)
798 end_req = BASE(off) + size;
1248 #undef BASE macro
/illumos-gate/usr/src/lib/efcode/include/fcode/
H A Dengine.h245 #define BASE (env->base) macro
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A D3c595.h67 #define BASE (eth_nic_base) macro
117 #define VX_COMMAND 0x0e /* Write. BASE+0x0e is always a
119 #define VX_STATUS 0x0e /* Read. BASE+0x0e is always status
121 #define VX_WINDOW 0x0f /* Read. BASE+0x0f is always window
296 #define VX_BUSY_WAIT while (inw(BASE + VX_STATUS) & S_COMMAND_IN_PROGRESS)
416 #define GO_WINDOW(x) outw(WINDOW_SELECT|(x),BASE+VX_COMMAND)
H A Dsundance.c267 /* FIXME: Move BASE to the private structure */
268 static u32 BASE; variable
324 outw(inw(BASE + MACCtrl0) | EnbFullDuplex,
325 BASE + MACCtrl0);
337 outw(inw(BASE + MACCtrl0) | duplex ? 0x20 : 0,
338 BASE + MACCtrl0);
394 outl(virt_to_le32desc(&rx_ring[0]), BASE + RxListPtr);
403 outw(addr16, BASE + StationAddr);
405 outw(addr16, BASE + StationAddr + 2);
407 outw(addr16, BASE
[all...]
H A Dtlan.c255 u32 BASE; variable
344 data = inl(BASE + TLAN_HOST_CMD);
346 outl(data, BASE + TLAN_HOST_CMD);
352 data = inl(BASE + TLAN_HOST_CMD);
354 outl(data, BASE + TLAN_HOST_CMD);
358 TLan_DioWrite32(BASE, (u16) i, 0);
365 TLan_DioWrite16(BASE, TLAN_NET_CONFIG, (u16) data);
369 outl(TLAN_HC_LD_TMR | 0x3f, BASE + TLAN_HOST_CMD);
370 outl(TLAN_HC_LD_THR | 0x0, BASE + TLAN_HOST_CMD);
374 outw(TLAN_NET_SIO, BASE
[all...]
H A Dforcedeth.c74 unsigned long BASE; variable
351 u8 *base = (u8 *) BASE;
395 u8 *base = (u8 *) BASE;
453 u8 *base = (u8 *) BASE;
469 u8 *base = (u8 *) BASE;
483 u8 *base = (u8 *) BASE;
492 u8 *base = (u8 *) BASE;
507 u8 *base = (u8 *) BASE;
603 u8 *base = (u8 *) BASE;
638 u8 *base = (u8 *) BASE;
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppdump/
H A Dzlib.c4578 #define BASE 65521L /* largest prime smaller than 65536 */ macro
4580 /* NMAX is the largest n such that 255n(n+1)/2 + (n+1)(BASE-1) <= 2^32-1 */
4610 s1 %= BASE;
4611 s2 %= BASE;
/illumos-gate/usr/src/cmd/fs.d/ufs/fsdb/
H A Dfsdb.c229 static char BASE[] = "o u x"; variable
4496 char mode = BASE[base - OCTAL];
/illumos-gate/usr/src/uts/common/io/ppp/spppcomp/
H A Dzlib.c6072 #define BASE 65521L /* largest prime smaller than 65536 */ macro
6074 /* NMAX is the largest n such that 255n(n+1)/2 + (n+1)(BASE-1) <= 2^32-1 */
6108 s1 %= BASE;
6109 s2 %= BASE;

Completed in 138 milliseconds