Searched refs:NBBY (Results 26 - 50 of 131) sorted by relevance

123456

/freebsd-12-stable/sys/fs/ext2fs/
H A Dext2_alloc.c1062 start = dtogd(fs, bpref) / NBBY;
1065 end = howmany(fs->e2fs->e2fs_fpg, NBBY) - start;
1078 runlen = NBBY - bit;
1079 runstart = loc * NBBY + bit;
1082 runlen += NBBY;
1097 runlen = NBBY - bit;
1098 runstart = loc * NBBY + bit;
1200 loc = bpref / NBBY;
1201 bit = 1 << (bpref % NBBY);
1210 if ((got & (NBBY
[all...]
/freebsd-12-stable/sys/dev/drm2/
H A Ddrm_atomic.h39 #define NB_BITS_PER_LONG (sizeof(long) * NBBY)
/freebsd-12-stable/usr.sbin/makefs/ffs/
H A Dffs_subr.c61 if ((inblk & (1 << (siz + (fs->fs_frag & (NBBY - 1))))) == 0)
/freebsd-12-stable/tools/tools/ath/athregs/
H A Ddumpregs.c658 #define setbit(a,i) ((a)[(i)/NBBY] |= 1<<((i)%NBBY))
659 #define clrbit(a,i) ((a)[(i)/NBBY] &= ~(1<<((i)%NBBY)))
660 #define isset(a,i) ((a)[(i)/NBBY] & (1<<((i)%NBBY)))
661 #define isclr(a,i) (((a)[(i)/NBBY] & (1<<((i)%NBBY))) == 0)
680 u_int8_t ismic[128/NBBY];
/freebsd-12-stable/sys/mips/mips/
H A Dminidump_machdep.c241 pa = (((uint64_t)i * sizeof(*vm_page_dump) * NBBY) +
327 pa = (((uint64_t)i * sizeof(*vm_page_dump) * NBBY) +
/freebsd-12-stable/sys/dev/iwm/
H A Dif_iwmvar.h164 uint8_t enabled_api[howmany(IWM_NUM_UCODE_TLV_API, NBBY)];
165 uint8_t enabled_capa[howmany(IWM_NUM_UCODE_TLV_CAPA, NBBY)];
/freebsd-12-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dzfs_fm.c363 uint32_t zei_histogram_set[sizeof (uint64_t) * NBBY];
364 uint32_t zei_histogram_cleared[sizeof (uint64_t) * NBBY];
658 NBBY * sizeof (uint64_t), eip->zei_histogram_set,
661 NBBY * sizeof (uint64_t), eip->zei_histogram_cleared,
/freebsd-12-stable/sys/compat/linuxkpi/common/include/linux/
H A Didr.h44 #define MAX_ID_SHIFT ((sizeof(int) * NBBY) - 1)
/freebsd-12-stable/sys/netinet6/
H A Dip6_mroute.h85 #define NIFBITS (sizeof(if_mask) * NBBY) /* bits per mask */
/freebsd-12-stable/sys/mips/atheros/ar531x/
H A Dar5315reg.h233 (((__n) >= NBBY * sizeof(uintmax_t)) ? 0 : ((uintmax_t)1 << (__n)))
/freebsd-12-stable/lib/libkvm/
H A Dkvm_private.h128 #define BITS_IN(v) (sizeof(v) * NBBY)
H A Dkvm_private.c330 pc_bins = 1 + (res * NBBY + POPCOUNT_BITS / 2) / POPCOUNT_BITS;
340 MIN(res * NBBY, BITS_IN(*addr)));
421 if (pte_bit_id >= (kd->pt_map_size * NBBY) ||
/freebsd-12-stable/tools/tools/zfsboottest/
H A Dzfsboottest.c46 #define NBBY 8 macro
/freebsd-12-stable/sys/riscv/riscv/
H A Dminidump_machdep.c270 pa = (((uint64_t)i * sizeof(*vm_page_dump) * NBBY) +
367 pa = (((uint64_t)i * sizeof(*vm_page_dump) * NBBY) +
/freebsd-12-stable/sys/i386/i386/
H A Dminidump_machdep.c228 pa = (((uint64_t)i * sizeof(*vm_page_dump) * NBBY) + bit) * PAGE_SIZE;
324 pa = (((uint64_t)i * sizeof(*vm_page_dump) * NBBY) + bit) * PAGE_SIZE;
H A Dsys_machdep.c360 uap->start + uap->length > IOPAGES * PAGE_SIZE * NBBY)
380 if (uap->start >= IOPAGES * PAGE_SIZE * NBBY)
395 for (i = uap->start + 1; i < IOPAGES * PAGE_SIZE * NBBY; i++) {
/freebsd-12-stable/sys/arm/arm/
H A Dminidump_machdep.c218 pa = (((uint64_t)i * sizeof(*vm_page_dump) * NBBY) +
298 pa = (((uint64_t)i * sizeof(*vm_page_dump) * NBBY) +
/freebsd-12-stable/contrib/opie/
H A Dftpcmd.y259 #if NBBY == 8
266 #else /* NBBY == 8 */
267 UNIMPLEMENTED for NBBY != 8
268 #endif /* NBBY == 8 */
524 NBBY, BSD);
526 reply(215, "UNIX Type: L%d", NBBY);
529 reply(215, "UNKNOWN Type: L%d", NBBY);
693 cmd_bytesz = NBBY;
/freebsd-12-stable/crypto/heimdal/appl/ftp/ftpd/
H A Dftpcmd.y221 #if NBBY == 8
228 #else /* NBBY == 8 */
229 UNIMPLEMENTED for NBBY != 8
230 #endif /* NBBY == 8 */
581 reply(215, "UNIX Type: L%d", NBBY);
583 reply(215, "UNKNOWN Type: L%d", NBBY);
787 cmd_bytesz = NBBY;
/freebsd-12-stable/sys/dev/rtwn/
H A Dif_rtwnvar.h216 uint8_t keys_bmap[howmany(RTWN_CAM_ENTRY_LIMIT, NBBY)];
606 return (rtwn_setbits_1(sc, addr + shift, clr >> shift * NBBY,
607 set >> shift * NBBY));
/freebsd-12-stable/sys/net80211/
H A Dieee80211_crypto_ccmp.c130 if (k->wk_keylen != (128/NBBY)) {
133 __func__, k->wk_keylen, 128/NBBY);
137 rijndael_set_key(&ctx->cc_aes, k->wk_key, k->wk_keylen*NBBY);
H A D_ieee80211.h78 #define IEEE80211_MODE_BYTES howmany(IEEE80211_MODE_MAX, NBBY)
163 #define IEEE80211_CHAN_BYTES howmany(IEEE80211_CHAN_MAX, NBBY)
/freebsd-12-stable/sys/arm/allwinner/
H A Daw_rsb.c189 val |= ((uint32_t)buf[n] << ((n - off) * NBBY));
200 buf[n] = (val >> ((n - off) * NBBY)) & 0xff;
/freebsd-12-stable/sys/arm64/arm64/
H A Dminidump_machdep.c263 pa = (((uint64_t)i * sizeof(*vm_page_dump) * NBBY) +
386 pa = (((uint64_t)i * sizeof(*vm_page_dump) * NBBY) +
/freebsd-12-stable/sys/amd64/amd64/
H A Dminidump_machdep.c312 pa = (((uint64_t)i * sizeof(*vm_page_dump) * NBBY) + bit) * PAGE_SIZE;
417 pa = (((uint64_t)i * sizeof(*vm_page_dump) * NBBY) + bit) * PAGE_SIZE;

Completed in 720 milliseconds

123456