/opensolaris-onvv-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | defs.h | 69 #ifndef NBBY 70 #define NBBY 8 macro
|
H A D | zfs_lzjb.c | 41 int copymask = 1 << (NBBY - 1); 44 if ((copymask <<= 1) == (1 << NBBY)) { 49 int mlen = (src[0] >> (NBBY - MATCH_BITS)) + MATCH_MIN; 50 int offset = ((src[0] << NBBY) | src[1]) & OFFSET_MASK;
|
H A D | fsys_zfs.h | 149 #ifndef NBBY 150 #define NBBY 8 macro
|
/opensolaris-onvv-gate/usr/src/uts/common/fs/zfs/ |
H A D | lzjb.c | 54 int copymask = 1 << (NBBY - 1); 60 if ((copymask <<= 1) == (1 << NBBY)) { 61 if (dst >= (uchar_t *)d_start + d_len - 1 - 2 * NBBY) 84 *dst++ = ((mlen - MATCH_MIN) << (NBBY - MATCH_BITS)) | 85 (offset >> NBBY); 103 int copymask = 1 << (NBBY - 1); 106 if ((copymask <<= 1) == (1 << NBBY)) { 111 int mlen = (src[0] >> (NBBY - MATCH_BITS)) + MATCH_MIN; 112 int offset = ((src[0] << NBBY) | src[1]) & OFFSET_MASK;
|
/opensolaris-onvv-gate/usr/src/uts/common/os/ |
H A D | compress.c | 134 int copymask = 1 << (NBBY - 1); 140 if ((copymask <<= 1) == (1 << NBBY)) { 141 if (dst >= (uchar_t *)d_start + s_len - 1 - 2 * NBBY) { 166 *dst++ = ((mlen - MATCH_MIN) << (NBBY - MATCH_BITS)) | 167 (offset >> NBBY); 185 int copymask = 1 << (NBBY - 1); 195 if ((copymask <<= 1) == (1 << NBBY)) { 200 int mlen = (src[0] >> (NBBY - MATCH_BITS)) + MATCH_MIN; 201 int offset = ((src[0] << NBBY) | src[1]) & OFFSET_MASK;
|
/opensolaris-onvv-gate/usr/src/lib/libbc/inc/include/sys/ |
H A D | param.h | 169 #define setbit(a,i) ((a)[(i)/NBBY] |= 1<<((i)%NBBY)) 170 #define clrbit(a,i) ((a)[(i)/NBBY] &= ~(1<<((i)%NBBY))) 171 #define isset(a,i) ((a)[(i)/NBBY] & (1<<((i)%NBBY))) 172 #define isclr(a,i) (((a)[(i)/NBBY] & (1<<((i)%NBBY))) == 0)
|
H A D | types.h | 54 #define NBBY 8 /* number of bits in a byte */ macro 66 #define NFDBITS (sizeof (fd_mask) * NBBY) /* bits per mask */
|
/opensolaris-onvv-gate/usr/src/lib/abi/apptrace/common/ |
H A D | apptraceutil.c | 69 (CTF_INT_CHAR | CTF_INT_SIGNED) && e.cte_bits == NBBY) { 104 size_t size = (ep->cte_bits + (NBBY - 1)) / NBBY; 118 shift = off % NBBY; 125 shift = NBBY - shift; 132 if (off % NBBY != 0) 146 ulong_t addr = pap->pa_addr + off / NBBY; 160 size = e.cte_bits / NBBY; 161 if (size > 8 || (e.cte_bits % NBBY) != 0 || (size & (size - 1)) != 0) { 167 (CTF_INT_CHAR | CTF_INT_SIGNED) && (e).cte_bits == NBBY) { [all...] |
/opensolaris-onvv-gate/usr/src/ucbhead/sys/ |
H A D | param.h | 186 #ifndef NBBY 187 #define NBBY 8 /* number of bits per byte */ macro 258 #define setbit(a, i) ((a)[(i)/NBBY] |= 1<<((i)%NBBY)) 259 #define clrbit(a, i) ((a)[(i)/NBBY] &= ~(1<<((i)%NBBY))) 260 #define isset(a, i) ((a)[(i)/NBBY] & (1<<((i)%NBBY))) 261 #define isclr(a, i) (((a)[(i)/NBBY] & (1<<((i)%NBBY))) [all...] |
/opensolaris-onvv-gate/usr/src/uts/common/net/ |
H A D | bridge_impl.h | 150 (P2ROUNDUP(VLAN_ID_MAX, NBBY) / NBBY) 152 #define BRIDGE_VLAN_ISSET(l, v) ((l)->bl_vlans[(v) / NBBY] & \ 153 (1 << ((v) % NBBY))) 155 #define BRIDGE_VLAN_SET(l, v) ((l)->bl_vlans[(v) / NBBY] |= \ 156 (1 << ((v) % NBBY))) 158 #define BRIDGE_VLAN_CLR(l, v) ((l)->bl_vlans[(v) / NBBY] &= \ 159 ~(1 << ((v) % NBBY))) 161 #define BRIDGE_AF_ISSET(l, v) ((l)->bl_afs[(v) / NBBY] & \ 162 (1 << ((v) % NBBY))) [all...] |
H A D | trill.h | 155 (((uint8_t *)(TNI_VLANFILTERSPTR(v)))+((n)*((1<<12)/NBBY))) 160 (((1<<12)/NBBY) * (v)->tni_adjcount))
|
/opensolaris-onvv-gate/usr/src/uts/common/io/ |
H A D | trill_impl.h | 57 #define TRILL_VLANS_ARRSIZE ((1<<12)/NBBY) 58 #define TRILL_VLANBIT(v) ((v) % NBBY) 59 #define TRILL_VLANBYTE(v) ((v)/NBBY)
|
/opensolaris-onvv-gate/usr/src/uts/common/sys/ |
H A D | select.h | 110 * of NBBY in <sys/param.h>. 114 #ifndef NBBY /* number of bits per byte */ 115 #define NBBY _NBBY macro 120 #define NFDBITS (sizeof (fd_mask) * NBBY) /* bits per mask */
|
H A D | priv_impl.h | 89 #ifndef NBBY 90 #define NBBY 8 macro 93 #define __NBWRD (NBBY * sizeof (priv_chunk_t))
|
/opensolaris-onvv-gate/usr/src/cmd/fs.d/udfs/fsck/ |
H A D | fsck.h | 215 #define bitloc(a, i) ((a)[(i)/NBBY]) 216 #define setbit(a, i) ((a)[(i)/NBBY] |= 1<<((i)%NBBY)) 217 #define clrbit(a, i) ((a)[(i)/NBBY] &= ~(1<<((i)%NBBY))) 218 #define isset(a, i) ((a)[(i)/NBBY] & (1<<((i)%NBBY))) 219 #define isclr(a, i) (((a)[(i)/NBBY] & (1<<((i)%NBBY))) == 0)
|
/opensolaris-onvv-gate/usr/src/common/openssl/apps/ |
H A D | s_apps.h | 128 #define NBBY 8 /* number of bits in a byte */ macro 137 #define NFDBITS (sizeof(fd_mask) * NBBY) /* bits per mask (power of 2!)*/
|
/opensolaris-onvv-gate/usr/src/uts/common/io/ath/ |
H A D | ath_impl.h | 63 #define setbit(a, i) ((a)[(i)/NBBY] |= (1 << ((i)%NBBY))) 64 #define clrbit(a, i) ((a)[(i)/NBBY] &= ~(1 << ((i)%NBBY))) 65 #define isset(a, i) ((a)[(i)/NBBY] & (1 << ((i)%NBBY))) 66 #define isclr(a, i) (!((a)[(i)/NBBY] & (1 << ((i)%NBBY))))
|
/opensolaris-onvv-gate/usr/src/uts/common/sys/fs/ |
H A D | ufs_fs.h | 127 #define UFS_MAXOFFSET_T ((1LL << NBBY * sizeof (daddr32_t) + DEV_BSHIFT - 1) \ 599 (((map)[(loc) / NBBY] >> ((loc) % NBBY)) & \ 600 (0xff >> (NBBY - (fs)->fs_frag))) 733 #define bitloc(a, i) ((a)[(i)/NBBY]) 734 #define setbit(a, i) ((a)[(i)/NBBY] |= 1<<((i)%NBBY)) 735 #define clrbit(a, i) ((a)[(i)/NBBY] &= ~(1<<((i)%NBBY))) 736 #define isset(a, i) ((a)[(i)/NBBY] [all...] |
H A D | cachefs_log.h | 86 uchar_t lc_which[(CACHEFS_LOG_NUMRECS / NBBY) + 1]; 110 (cp->c_log_ctl->lc_which[which / NBBY] & \ 111 (1 << (which % NBBY)))) 113 (lc->lc_which[which / NBBY] |= (1 << (which % NBBY))) 115 (lc->lc_which[which / NBBY] &= ~(1 << (which % NBBY)))
|
/opensolaris-onvv-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_print.c | 82 (CTF_INT_CHAR | CTF_INT_SIGNED) && (e).cte_bits == NBBY) 245 if (off % NBBY != 0) { 250 mdb_printf("%#lr", off / NBBY); 255 tn, member, off / NBBY); 256 if (off % NBBY != 0) 257 mdb_printf(".%lr", off % NBBY); 726 if (offset % (sizeof (uintptr_t) * NBBY) != 0) { 731 offset /= NBBY; 837 mdb_tgt_addr_t addr = pap->pa_addr + off / NBBY; 838 size_t size = (ep->cte_bits + (NBBY [all...] |
H A D | mdb_dump.c | 156 bits = NBBY * bytes; 210 addrmax = (1LL << (bytes * NBBY - 1)) - 1 + (1LL << (bytes * NBBY - 1));
|
/opensolaris-onvv-gate/usr/src/uts/common/io/net80211/ |
H A D | net80211_impl.h | 363 #define ieee80211_setbit(a, i) ((a)[(i)/NBBY] |= (1 << ((i)%NBBY))) 364 #define ieee80211_clrbit(a, i) ((a)[(i)/NBBY] &= ~(1 << ((i)%NBBY))) 365 #define ieee80211_isset(a, i) ((a)[(i)/NBBY] & (1 << ((i)%NBBY))) 366 #define ieee80211_isclr(a, i) (!((a)[(i)/NBBY] & (1 << ((i)%NBBY))))
|
/opensolaris-onvv-gate/usr/src/cmd/fs.d/cachefs/common/ |
H A D | stats_dbm.c | 301 size += mi->mi_filegrp_size / NBBY; 326 if ((gfileno / NBBY) < sizeof (fgp->fg_bits)) { 327 tbits = 1 << (gfileno % NBBY); 328 if (! (fgp->fg_bits[gfileno / NBBY] & tbits)) 330 fgp->fg_bits[gfileno / NBBY] |= tbits;
|
/opensolaris-onvv-gate/usr/src/cmd/mdb/i86xpv/modules/xpv/ |
H A D | xpv.c | 161 wsp->walk_addr = wsp->walk_addr + (off / NBBY); 233 vcpu_addr = addr + (off / NBBY); 238 evtchn_addr = addr + (off / NBBY);
|
/opensolaris-onvv-gate/usr/src/uts/common/vm/ |
H A D | hat_refmod.c | 125 nbits = sizeof (as->a_vbits) * NBBY; 409 bo = po / (NBBY / 2); /* which byte in bit array */ 479 bo = po / (NBBY / 2); 491 bo = po / (NBBY / 2); 508 bo = po / (NBBY / 2);
|