Searched defs:NBBY (Results 1 - 12 of 12) sorted by relevance

/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Ddefs.h69 #ifndef NBBY
70 #define NBBY 8 macro
H A Dfsys_zfs.h163 #ifndef NBBY
164 #define NBBY 8 macro
/illumos-gate/usr/src/uts/common/sys/
H A Dselect.h98 * of NBBY in <sys/param.h>.
102 #ifndef NBBY /* number of bits per byte */
103 #define NBBY _NBBY macro
108 #define NFDBITS (sizeof (fd_mask) * NBBY) /* bits per mask */
H A Dpriv_impl.h89 #ifndef NBBY
90 #define NBBY 8 macro
93 #define __NBWRD (NBBY * sizeof (priv_chunk_t))
H A Dparam.h228 #ifndef NBBY
229 #define NBBY 8 /* number of bits per byte */ macro
/illumos-gate/usr/src/lib/libbc/inc/include/sys/
H A Dtypes.h54 #define NBBY 8 /* number of bits in a byte */ macro
66 #define NFDBITS (sizeof (fd_mask) * NBBY) /* bits per mask */
/illumos-gate/usr/src/boot/sys/sys/
H A Dparam.h221 #define NBBY 8 /* number of bits in a byte */ macro
282 #define setbit(a,i) (((unsigned char *)(a))[(i)/NBBY] |= 1<<((i)%NBBY))
283 #define clrbit(a,i) (((unsigned char *)(a))[(i)/NBBY] &= ~(1<<((i)%NBBY)))
285 (((const unsigned char *)(a))[(i)/NBBY] & (1<<((i)%NBBY)))
287 ((((const unsigned char *)(a))[(i)/NBBY] & (1<<((i)%NBBY))) == 0)
/illumos-gate/usr/src/ucbhead/sys/
H A Dparam.h178 #ifndef NBBY
179 #define NBBY 8 /* number of bits per byte */ macro
250 #define setbit(a, i) ((a)[(i)/NBBY] |= 1<<((i)%NBBY))
251 #define clrbit(a, i) ((a)[(i)/NBBY] &= ~(1<<((i)%NBBY)))
252 #define isset(a, i) ((a)[(i)/NBBY] & (1<<((i)%NBBY)))
253 #define isclr(a, i) (((a)[(i)/NBBY] & (1<<((i)%NBBY)))
[all...]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzap_micro.c102 word >>= NBBY; local
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dntp.h117 #ifndef NBBY
118 #define NBBY 8 /* number of bits per byte */ macro
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dpppd.h898 #ifndef NBBY
899 #define NBBY 8 macro
900 #endif /* NBBY */
903 #define isset(arr, val) (((u_char *)(arr))[(val)/NBBY] & (1<<((val)%NBBY)))
907 #define setbit(arr, val) (((u_char *)(arr))[(val)/NBBY] |= (1<<((val)%NBBY)))
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_cmds.c213 uint64_t max_num = 1ULL << (size * NBBY);
221 val >>= NBBY; local

Completed in 321 milliseconds