Searched refs:NBBY (Results 51 - 75 of 109) sorted by relevance

12345

/freebsd-10.0-release/cddl/contrib/opensolaris/common/ctf/
H A Dctf_create.c673 dtd->dtd_data.ctt_size = clp2(P2ROUNDUP(ep->cte_bits, NBBY) / NBBY);
1103 off += lsize * NBBY;
1114 off = roundup(off, NBBY) / NBBY;
1116 dmd->dmd_offset = off * NBBY;
/freebsd-10.0-release/sys/cam/scsi/
H A Dscsi_low.h264 #define SCSI_LOW_MAXNEXUS (sizeof(u_int) * NBBY)
798 #define MKMSG_EXTEND(XLEN, XCODE) ((((u_int)(XLEN)) << NBBY) | ((u_int)(XCODE)))
/freebsd-10.0-release/contrib/libc-vis/
H A Dvis.c278 shft = i * NBBY;
492 shft = i * NBBY;
/freebsd-10.0-release/lib/libkvm/
H A Dkvm_minidump_amd64.c115 pa = (idx * sizeof(*base) * NBBY + bit) * PAGE_SIZE;
H A Dkvm_minidump_i386.c117 pa = (idx * sizeof(*base) * NBBY + bit) * PAGE_SIZE;
/freebsd-10.0-release/libexec/rtld-elf/
H A Drtld_printf.c46 #define MAXNBUF (sizeof(intmax_t) * NBBY + 1)
/freebsd-10.0-release/sys/dev/ncv/
H A Dncr53c500.c197 bus_space_write_1(iot, ioh, cr0_tcmsb, (u_int8_t) (count >> NBBY));
198 bus_space_write_1(iot, ioh, cr0_tchsb, (u_int8_t) (count >> (NBBY * 2)));
209 count |= ((u_int) bus_space_read_1(iot, ioh, cr0_tcmsb)) << NBBY;
210 count |= ((u_int) bus_space_read_1(iot, ioh, cr0_tchsb)) << (NBBY * 2);
/freebsd-10.0-release/sys/dev/rndtest/
H A Drndtest.c155 random_harvest(buf, len, len*NBBY/2, RANDOM_PURE_RNDTEST);
/freebsd-10.0-release/sys/kern/
H A Dsubr_msgbuf.c44 #define MAXPRIBUF (sizeof(intmax_t) * NBBY + 3)
H A Dsys_generic.c927 b = i / NBBY;
947 if ((bits & (1 << (i % NBBY))) != 0)
994 ncpbytes = nfdbits / NBBY;
995 ncpubytes = roundup(nd, abi_nfdbits) / NBBY;
H A Dkern_cpuset.c957 uap->cpusetsize > CPU_MAXSIZE / NBBY)
1046 uap->cpusetsize > CPU_MAXSIZE / NBBY)
H A Dsubr_pctrie.c74 #define PCTRIE_LIMIT (howmany((sizeof(uint64_t) * NBBY), PCTRIE_WIDTH) - 1)
H A Dsubr_prof.c181 p->histcounter_type = FUNCTION_ALIGNMENT / HISTFRACTION * NBBY;
/freebsd-10.0-release/tools/test/ptrace/
H A Dscescx.c117 for (i = 0; i < sizeof(flags) * NBBY; i++) {
/freebsd-10.0-release/sys/i386/i386/
H A Dsys_machdep.c368 if (uap->start + uap->length > IOPAGES * PAGE_SIZE * NBBY)
388 if (uap->start >= IOPAGES * PAGE_SIZE * NBBY)
403 for (i = uap->start + 1; i < IOPAGES * PAGE_SIZE * NBBY; i++) {
/freebsd-10.0-release/crypto/heimdal/appl/ftp/ftpd/
H A Dftpcmd.c1882 #if NBBY == 8
1889 #else /* NBBY == 8 */
1890 UNIMPLEMENTED for NBBY != 8
1891 #endif /* NBBY == 8 */
2372 reply(215, "UNIX Type: L%d", NBBY);
2374 reply(215, "UNKNOWN Type: L%d", NBBY);
2611 cmd_bytesz = NBBY;
/freebsd-10.0-release/sbin/restore/
H A Dtape.c280 maxino = (spcl.c_count * TP_BSIZE * NBBY) + 1;
282 map = calloc((unsigned)1, (unsigned)howmany(maxino, NBBY));
292 map = calloc((unsigned)1, (unsigned)howmany(maxino, NBBY));
/freebsd-10.0-release/sys/cddl/dev/dtrace/
H A Ddtrace_debug.c227 #define MAXNBUF (sizeof(intmax_t) * NBBY + 1)
/freebsd-10.0-release/sys/net80211/
H A Dieee80211_hostap.c1194 *keylen = 40 / NBBY;
1198 *keylen = 104 / NBBY;
1341 *keylen = 40 / NBBY;
1345 *keylen = 104 / NBBY;
/freebsd-10.0-release/tools/regression/net80211/tkip/
H A Dtest_tkip.c206 key.wk_keylen = 128/NBBY;
/freebsd-10.0-release/sbin/ifconfig/
H A Difconfig.c396 uint8_t afmask[howmany(AF_MAX, NBBY)];
413 uint8_t afmask[howmany(AF_MAX, NBBY)];
/freebsd-10.0-release/sys/cddl/contrib/opensolaris/uts/common/sys/
H A Ddtrace.h499 (((sizeof (uint64_t) * NBBY) - 1) * 2 + 1)
501 #define DTRACE_QUANTIZE_ZEROBUCKET ((sizeof (uint64_t) * NBBY) - 1)
/freebsd-10.0-release/sys/dev/ath/ath_hal/
H A Dah_internal.h37 #ifndef NBBY
38 #define NBBY 8 /* number of bits/byte */ macro
/freebsd-10.0-release/usr.sbin/pmcstat/
H A Dpmcstat.c122 mcpu = sizeof(*cpumask) * NBBY;
749 hcpu = sizeof(cpumask) * NBBY;
/freebsd-10.0-release/sys/ia64/ia64/
H A Dpmap.c817 idx = field * sizeof(inuse) * NBBY + bit;
899 field = idx / (sizeof(u_long) * NBBY);
900 bit = idx % (sizeof(u_long) * NBBY);
961 idx = field * sizeof(pc->pc_map[field]) * NBBY + bit;
2141 idx = field * sizeof(inuse) * NBBY + bit;

Completed in 322 milliseconds

12345