Searched refs:bit (Results 76 - 100 of 476) sorted by relevance

1234567891011>>

/freebsd-11-stable/crypto/heimdal/kadmin/
H A Dutil.c103 * setting the `bit' in `mask' if attributes are given and valid.
107 parse_attributes (const char *resp, krb5_flags *attr, int *mask, int bit) argument
114 *mask |= bit;
129 edit_attributes (const char *prompt, krb5_flags *attr, int *mask, int bit) argument
133 if (mask && (*mask & bit))
142 if (parse_attributes (resp, attr, mask, bit) == 0)
215 /* XXX this is really a bit optimistic, we should really complain
237 parse_timet (const char *resp, krb5_timestamp *value, int *mask, int bit) argument
244 *mask |= bit;
258 edit_timet (const char *prompt, krb5_timestamp *value, int *mask, int bit) argument
323 parse_deltat(const char *resp, krb5_deltat *value, int *mask, int bit) argument
345 edit_deltat(const char *prompt, krb5_deltat *value, int *mask, int bit) argument
[all...]
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/pragma/
H A Dtst.temporal2.ksh52 * record its data just a little bit before the other cpus.
/freebsd-11-stable/sys/arm/include/
H A Dpmap_var.h159 pte1_clear_bit(pt1_entry_t *pte1p, uint32_t bit) argument
162 *pte1p &= ~bit;
231 pte1_set_bit(pt1_entry_t *pte1p, uint32_t bit) argument
234 *pte1p |= bit;
299 pte2_clear_bit(pt2_entry_t *pte2p, uint32_t bit) argument
302 *pte2p &= ~bit;
355 pte2_set_bit(pt2_entry_t *pte2p, uint32_t bit) argument
358 *pte2p |= bit;
367 * Wired bit is transparent for page table walk,
/freebsd-11-stable/contrib/llvm-project/lldb/source/Interpreter/
H A DOptionValueLanguage.cpp53 for (int bit : languages_for_types.bitvector.set_bits()) {
54 auto language = (LanguageType)bit;
/freebsd-11-stable/sys/i386/i386/
H A Dk6_mem.c42 * 15 having the mask, the 1st bit being "write-combining" and the 0th bit
48 * There are two of these in the 64-bit UWCCR.
81 int bit; local
90 for (bit = ffs(desc->mr_len >> 17) - 1; bit < 15; bit++)
91 len |= 1 << bit;
/freebsd-11-stable/sys/tools/sound/
H A Dfeeder_rate_mkfilter.awk470 function genscale(bit, s1, s2, scale)
472 if ((bit + Z_COEFF_SHIFT) > Z_ACCUMULATOR_BIT)
476 s1 = Z_COEFF_SHIFT - (32 - bit);
478 s2 = Z_SHIFT + (32 - bit);
493 bit, (bit < 10) ? "\t" : "", scale);
496 function genlerp(bit, use64, lerp)
498 if ((bit + Z_LINEAR_SHIFT) <= 32) {
501 if ((bit + Z_LINEAR_SHIFT) <= 64) {
510 bit
[all...]
/freebsd-11-stable/sys/dev/qlnx/qlnxe/
H A Dbcm_osal.h402 #define OSAL_SET_BIT(bit, bitmap) bit_set((bitstr_t *)bitmap, bit)
403 #define OSAL_CLEAR_BIT(bit, bitmap) bit_clear((bitstr_t *)bitmap, bit)
404 #define OSAL_TEST_BIT(bit, bitmap) bit_test((bitstr_t *)bitmap, bit)
481 qlnx_test_and_change_bit(long bit, volatile unsigned long *var) argument
485 var += BIT_WORD(bit);
486 bit %= BITS_PER_LONG;
487 bit
509 unsigned bit; local
[all...]
/freebsd-11-stable/sys/arm64/arm64/
H A Dminidump_machdep.c229 int i, bit; local
271 bit = ffsl(bits) - 1;
273 bit) * PAGE_SIZE;
279 bits &= ~(1ul << bit);
399 bit = ffsl(bits) - 1;
401 bit) * PAGE_SIZE;
405 bits &= ~(1ul << bit);
449 int idx, bit; local
453 bit = pa & 63;
454 atomic_set_long(&vm_page_dump[idx], 1ul << bit);
460 int idx, bit; local
[all...]
/freebsd-11-stable/sys/amd64/amd64/
H A Dminidump_machdep.c224 int i, ii, j, k, n, bit; local
285 /* set bit for this PTE page */
307 bit = bsfq(bits);
308 pa = (((uint64_t)i * sizeof(*vm_page_dump) * NBBY) + bit) * PAGE_SIZE;
315 bits &= ~(1ul << bit);
420 bit = bsfq(bits);
421 pa = (((uint64_t)i * sizeof(*vm_page_dump) * NBBY) + bit) * PAGE_SIZE;
425 bits &= ~(1ul << bit);
469 int idx, bit; local
473 bit
480 int idx, bit; local
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/utils/TableGen/
H A DCodeEmitterGen.cpp11 // returns the (currently, 32-bit unsigned) value of the instruction.
47 int getVariableBit(const std::string &VarName, BitsInit *BI, int bit);
64 // If the VarBitInit at position 'bit' matches the specified variable then
65 // return the variable bit position. Otherwise return -1.
67 BitsInit *BI, int bit) {
68 if (VarBitInit *VBI = dyn_cast<VarBitInit>(BI->getBit(bit))) {
72 } else if (VarInit *VI = dyn_cast<VarInit>(BI->getBit(bit))) {
88 int bit = BI->getNumBits()-1; local
90 // Scan for a bit that this contributed to.
91 for (; bit >
66 getVariableBit(const std::string &VarName, BitsInit *BI, int bit) argument
[all...]
/freebsd-11-stable/sys/ufs/ffs/
H A Dffs_subr.c304 int i, start, end, forw, back, map, bit; local
326 bit = 1 << (start % NBBY);
328 if ((map & bit) == 0)
331 bit <<= 1;
334 bit = 1;
347 bit = 1 << (start % NBBY);
349 if ((map & bit) == 0)
352 bit >>= 1;
355 bit = 1 << (NBBY - 1);
/freebsd-11-stable/contrib/smbfs/smbutil/
H A Ddumptree.c21 #define DEFBIT(bit) {bit, #bit}
/freebsd-11-stable/sys/cddl/contrib/opensolaris/common/atomic/sparc64/
H A Dopensolaris_atomic.S82 sll %g1, 3, %g1 ! %g1 = bit offset, right-to-left
84 sll %o3, %g1, %o3 ! %o3 = shifted to bit offset
85 sll %o1, %g1, %o1 ! %o1 = shifted to bit offset
/freebsd-11-stable/lib/libiconv_modules/HZ/
H A Dcitrus_hz.c186 int bit, ch, head, len, tail; local
198 bit = head = tail = 0;
220 bit = 0x80;
226 bit = 0x0;
279 bit |= ESC(psenc->inuse) << 24;
280 wc |= bit;
307 int bit, ch; local
312 bit = 0x80;
315 bit = 0x0;
319 graphic = (bit
445 int bit; local
[all...]
/freebsd-11-stable/sys/contrib/octeon-sdk/
H A Dcvmx-pip.h208 multicast packet when the least-significant bit
216 broadcast packet when the 48-bit DMAC is all 1's.
222 when the most-significant nibble of the 32-bit
226 128-bit destination address is all 1's.
258 PKT_INST_HDR[GRP] bits, creating a 6-bit
534 * startup before any calls to cvmx_pip_tag_mask_set. Each bit
561 * to include the the tag, with bit offset X selecting byte at offset X
580 * Initialize Bit Select Extractor config. Their are 8 bit positions and valids
583 * @param bit Bit Select Extractor to use
587 static inline void cvmx_pip_set_bsel_pos(int bit, in argument
651 cvmx_pip_bsel_config(int bit, int offset, int skip) argument
673 int bit = cvmx_wqe_get_port(work) & 0x3; local
692 int bit; local
784 int bit = port & 0x3; local
[all...]
/freebsd-11-stable/contrib/expat/xmlwf/
H A Dxmltchar.h38 # error xmlwf requires a 16-bit Unicode-compatible wchar_t
/freebsd-11-stable/crypto/openssl/util/
H A Dsrc-dep.pl32 foreach $bit (split(/\s+/,$we_need{$file}))
33 { push(@final,&walk($bit)); }
/freebsd-11-stable/sys/arm/xscale/pxa/
H A Dpxa_gpio.c240 uint32_t rv, bit, oldfn; local
270 bit = GPIO_BIT(gpio);
276 pxagpio_reg_write(sc, PXA250_GPIO_REG(GPIO_GPSR0, gpio), bit);
278 pxagpio_reg_write(sc, PXA250_GPIO_REG(GPIO_GPCR0, gpio), bit);
283 rv = pxagpio_reg_read(sc, PXA250_GPIO_REG(GPIO_GPDR0, gpio)) & ~bit;
285 rv |= bit;
291 bit = GPIO_FN_MASK << GPIO_FN_SHIFT(gpio);
293 rv = pxagpio_reg_read(sc, GPIO_FN_REG(gpio)) & ~bit;
/freebsd-11-stable/sys/compat/linuxkpi/common/include/linux/
H A Dwait.h290 #define wake_up_bit(word, bit) linux_wake_up_bit(word, bit)
291 #define wait_on_bit(word, bit, state) \
292 linux_wait_on_bit_timeout(word, bit, state, MAX_SCHEDULE_TIMEOUT)
293 #define wait_on_bit_timeout(word, bit, state, timeout) \
294 linux_wait_on_bit_timeout(word, bit, state, timeout)
/freebsd-11-stable/sys/amd64/vmm/intel/
H A Dvmx_msr.c86 /* We cannot ask the same bit to be set to both '1' and '0' */
103 ("invalid zero/one setting for bit %d of ctl 0x%0x, "
127 "correct value of ctl bit %d for msr "
147 int byte, bit; local
156 bit = msr & 0x7;
159 bitmap[byte] &= ~(1 << bit);
161 bitmap[byte] |= 1 << bit;
165 bitmap[byte] &= ~(1 << bit);
167 bitmap[byte] |= 1 << bit;
/freebsd-11-stable/sys/dev/snc/
H A Ddp83932subr.c96 * because the SONIC is basically 16bit device it 'concatenates'
97 * a higher buffer address to a 16 bit offset--this will cause wrap
513 /* bitmode is fixed to 16 bit. */
699 u_int8_t n, val, bit; local
741 for (bit = 0x20; bit != 0x00; bit >>= 1) {
743 ((n & bit) ? SNECR_EEP_DI : 0x00));
748 ((n & bit) ? SNECR_EEP_DI : 0x00));
758 for (bit
[all...]
/freebsd-11-stable/contrib/pnpinfo/
H A Dpnpinfo.c137 int i, bit, valid = 0, sum = 0x6a; local
142 bit = inb((rd_port << 2) | 0x3) == 0x55;
146 bit = (inb((rd_port << 2) | 0x3) == 0xaa) && bit;
149 valid = valid || bit;
153 (((sum ^ (sum >> 1) ^ bit) << 7) & 0xff);
155 data[i / 8] = (data[i / 8] >> 1) | (bit ? 0x80 : 0);
199 s1="8-bit";
202 s1="8/16-bit";
205 s1="16-bit";
[all...]
/freebsd-11-stable/sys/compat/linuxkpi/common/src/
H A Dlinux_schedule.c351 #define bit_to_wchan(word, bit) ((void *)(((uintptr_t)(word) << 6) | (bit)))
354 linux_wake_up_bit(void *word, int bit) argument
357 wake_up_sleepers(bit_to_wchan(word, bit));
361 linux_wait_on_bit_timeout(unsigned long *word, int bit, unsigned int state, argument
375 wchan = bit_to_wchan(word, bit);
378 if ((*word & (1 << bit)) == 0) {
/freebsd-11-stable/sbin/hastd/
H A Dactivemap.c689 int bit; local
692 for (bit = 0; bit < amp->am_nextents; bit++)
693 printf("%d", bit_test(amp->am_memmap, bit) ? 1 : 0);
696 for (bit = 0; bit < amp->am_nextents; bit++)
697 printf("%d", bit_test(amp->am_diskmap, bit) ? 1 : 0);
700 for (bit
[all...]
/freebsd-11-stable/sys/riscv/riscv/
H A Dmp_machdep.c274 int bit; local
278 * so we don't really need to clear pending bit here
281 * pending bit if there is no new entires in htif_ring.
293 while ((bit = ffs(ipi_bitmap))) {
294 bit = (bit - 1);
295 ipi = (1 << bit);

Completed in 221 milliseconds

1234567891011>>