/freebsd-11.0-release/sys/cddl/boot/zfs/ |
H A D | lzjb.c | 54 int copymask = 1 << (NBBY - 1); 57 if ((copymask <<= 1) == (1 << NBBY)) { 62 int mlen = (src[0] >> (NBBY - MATCH_BITS)) + MATCH_MIN; 63 int offset = ((src[0] << NBBY) | src[1]) & OFFSET_MASK;
|
H A D | blkptr.c | 71 buf8[i] = BF64_GET(w, (i % sizeof (w)) * NBBY, NBBY);
|
/freebsd-11.0-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
H A D | lzjb.c | 57 int copymask = 1 << (NBBY - 1); 63 if ((copymask <<= 1) == (1 << NBBY)) { 64 if (dst >= (uchar_t *)d_start + d_len - 1 - 2 * NBBY) 87 *dst++ = ((mlen - MATCH_MIN) << (NBBY - MATCH_BITS)) | 88 (offset >> NBBY); 107 int copymask = 1 << (NBBY - 1); 110 if ((copymask <<= 1) == (1 << NBBY)) { 115 int mlen = (src[0] >> (NBBY - MATCH_BITS)) + MATCH_MIN; 116 int offset = ((src[0] << NBBY) | src[1]) & OFFSET_MASK;
|
H A D | blkptr.c | 72 BF64_SET(w, (i % sizeof (w)) * NBBY, NBBY, data8[i]); 117 buf8[i] = BF64_GET(w, (i % sizeof (w)) * NBBY, NBBY);
|
/freebsd-11.0-release/sys/sys/ |
H A D | param.h | 221 #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)
|
/freebsd-11.0-release/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_print.c | 90 (CTF_INT_CHAR | CTF_INT_SIGNED) && (e).cte_bits == NBBY) 158 caddr_t addr = pap->pa_addr + off / NBBY; 161 size_t size = (ep->cte_bits + (NBBY - 1)) / NBBY; 175 shift = off % NBBY; 182 shift = NBBY - shift; 189 if (off % NBBY != 0) 235 caddr_t addr = pap->pa_addr + off / NBBY; 255 size = e.cte_bits / NBBY; 256 if (size > 8 || (e.cte_bits % NBBY) ! [all...] |
H A D | dt_cg.c | 168 size = clp2(P2ROUNDUP(e.cte_bits, NBBY) / NBBY); 259 * ctm_offset % NBBY itself is the amount we want to shift right to 262 * must subtract (ctm_offset % NBBY + cte_bits) from the size in bits 270 shift = clp2(P2ROUNDUP(e.cte_bits, NBBY) / NBBY) * NBBY - 271 mp->ctm_offset % NBBY; 273 shift = mp->ctm_offset % NBBY + e.cte_bits; 284 shift = clp2(P2ROUNDUP(e.cte_bits, NBBY) / NBB [all...] |
/freebsd-11.0-release/sys/fs/ext2fs/ |
H A D | ext2_subr.c | 156 if ((i & (NBBY - 1)) != (NBBY - 1)) 179 loc = start / NBBY; 180 bit = 1 << (start % NBBY); 184 if ((i & (NBBY - 1)) != (NBBY - 1)) 198 loc = start / NBBY; 199 bit = 1 << (start % NBBY); 203 if ((i & (NBBY - 1)) != 0) 207 bit = 1 << (NBBY [all...] |
H A D | ext2_alloc.c | 695 start = dtogd(fs, bpref) / NBBY; 698 end = howmany(fs->e2fs->e2fs_fpg, NBBY) - start; 711 runlen = NBBY - bit; 712 runstart = loc * NBBY + bit; 715 runlen += NBBY; 730 runlen = NBBY - bit; 731 runstart = loc * NBBY + bit; 829 loc = bpref / NBBY; 830 bit = 1 << (bpref % NBBY); 839 if ((got & (NBBY [all...] |
/freebsd-11.0-release/sys/compat/linuxkpi/common/include/linux/ |
H A D | radix-tree.h | 40 DIV_ROUND_UP((sizeof(long) * NBBY), RADIX_TREE_MAP_SHIFT)
|
/freebsd-11.0-release/crypto/heimdal/appl/ftp/ftpd/ |
H A D | extern.h | 59 #ifndef NBBY 60 #define NBBY CHAR_BIT macro
|
/freebsd-11.0-release/sys/ufs/ffs/ |
H A D | ffs_subr.c | 147 if ((inblk & (1 << (siz + (fs->fs_frag % NBBY)))) == 0) 324 mapp = &freemapp[start / NBBY]; 326 bit = 1 << (start % NBBY); 330 if ((i & (NBBY - 1)) != (NBBY - 1)) { 345 mapp = &freemapp[start / NBBY]; 347 bit = 1 << (start % NBBY); 351 if ((i & (NBBY - 1)) != 0) { 355 bit = 1 << (NBBY - 1);
|
H A D | fs.h | 432 #define ACTIVECGNUM(fs, cg) ((fs)->fs_active[(cg) / (NBBY * sizeof(int))]) 433 #define ACTIVECGOFF(cg) (1 << ((cg) % (NBBY * sizeof(int)))) 453 /* inode map */ howmany((fs)->fs_ipg, NBBY) + \ 454 /* block map */ howmany((fs)->fs_fpg, NBBY) +\ 457 /* cluster map */ howmany(fragstoblks(fs, (fs)->fs_fpg), NBBY))) 563 (((map)[(loc) / NBBY] >> ((loc) % NBBY)) & (0xff >> (NBBY - (fs)->fs_frag)))
|
/freebsd-11.0-release/sys/dev/ath/ath_hal/ar5210/ |
H A D | ar5210_keycache.c | 126 if (k->kv_len < 40 / NBBY) 128 if (k->kv_len <= 40 / NBBY) 130 else if (k->kv_len <= 104 / NBBY) 140 if (k->kv_len <= 104 / NBBY)
|
/freebsd-11.0-release/sys/dev/ath/ath_hal/ar5211/ |
H A D | ar5211_keycache.c | 134 if (k->kv_len < 40 / NBBY) { 140 if (k->kv_len <= 40 / NBBY) 142 else if (k->kv_len <= 104 / NBBY) 161 if (k->kv_len <= 104 / NBBY)
|
/freebsd-11.0-release/usr.sbin/makefs/ffs/ |
H A D | ffs_alloc.c | 545 start = dtogd(fs, bpref) / NBBY; 547 start = ufs_rw32(cgp->cg_frotor, needswap) / NBBY; 548 len = howmany(fs->fs_fpg, NBBY) - start; 554 (1 << (allocsiz - 1 + (fs->fs_frag % NBBY)))); 561 (1 << (allocsiz - 1 + (fs->fs_frag % NBBY)))); 571 bno = (start + len - loc) * NBBY; 577 for (i = bno + NBBY; bno < i; bno += fs->fs_frag) { 625 mapp = &freemapp[start / NBBY]; 627 bit = 1 << (start % NBBY); 631 if ((i & (NBBY [all...] |
/freebsd-11.0-release/sys/dev/vt/hw/efifb/ |
H A D | efifb.c | 119 info->fb_bpp = roundup2(info->fb_depth, NBBY); 122 info->fb_stride = efifb->fb_stride * (info->fb_bpp / NBBY);
|
/freebsd-11.0-release/sys/dev/ath/ath_hal/ar5212/ |
H A D | ar5212_keycache.c | 193 if (k->kv_len < 40 / NBBY) { 199 if (k->kv_len <= 40 / NBBY) 201 else if (k->kv_len <= 104 / NBBY) 220 if (k->kv_len <= 104 / NBBY)
|
/freebsd-11.0-release/sys/mips/rt305x/ |
H A D | rt305x_pcireg.h | 61 #define BITS_PER_UINT32 (NBBY * sizeof(uint32_t))
|
/freebsd-11.0-release/sys/xen/ |
H A D | xen-os.h | 101 #define NBPL (NBBY * sizeof(long))
|
/freebsd-11.0-release/crypto/openssl/apps/ |
H A D | s_apps.h | 131 # define NBBY 8 /* number of bits in a byte */ macro 140 # define NFDBITS (sizeof(fd_mask) * NBBY)/* bits per mask (power of 2!) */
|
/freebsd-11.0-release/sys/contrib/dev/ath/ath_hal/ar9300/ |
H A D | ar9300_keycache.c | 235 if (k->kv_len < 40 / NBBY) { 240 if (k->kv_len <= 40 / NBBY) { 242 } else if (k->kv_len <= 104 / NBBY) { 262 if (k->kv_len <= 104 / NBBY) { 485 if (k->kv_len < 40 / NBBY) { 490 if (k->kv_len <= 40 / NBBY) { 492 } else if (k->kv_len <= 104 / NBBY) { 512 if (k->kv_len <= 104 / NBBY) {
|
/freebsd-11.0-release/sys/netgraph/ |
H A D | ng_sppp.c | 139 KASSERT ((bit >= 0 && bit < NBBY), 142 *unit = (index * NBBY) + bit; 154 index = unit / NBBY; 155 bit = unit % NBBY;
|
/freebsd-11.0-release/sys/mips/nlm/hal/ |
H A D | ucore_loader.h | 121 for (i = 0; i < sizeof(ucore_mask) * NBBY; i++) {
|
/freebsd-11.0-release/sys/dev/ath/ |
H A D | if_ath_keycache.c | 288 keyix = i*NBBY; 300 if (keyix == (i+1)*NBBY) { 341 keyix = i*NBBY; 350 if (keyix == (i+1)*NBBY) { 393 keyix = i*NBBY;
|