| /onnv/onnv-gate/usr/src/uts/sun4/ml/ |
| genconst.c | 113 printf("#define\tPSR_PIL_BIT %d\n", bit(PSR_PIL)); 164 bit(long mask) function
|
| /onnv/onnv-gate/usr/src/cmd/fm/modules/common/cpumem-retire/ |
| cma_cache.c | 43 uint16_t bit = 0; local 94 * Tag faults will use it to set the bit to a stable state 97 if (nvlist_lookup_uint16(asru, FM_FMRI_CPU_CACHE_BIT, &bit) != 0) { 105 "cpu %d: Unretire for index %d, way %d\n bit %d" 108 cpuid, index, way, bit, type); 117 "cpu %d: Retiring index %d, way %d\n bit %d" 118 " type 0x%02x", cpuid, index, way, bit, type); 126 cache_info.bit = bit;
|
| /onnv/onnv-gate/usr/src/common/mc/mc-amd/ |
| mcamd_synd.c | 31 * Indexed by syndrome, value is bit number. If value is -1, a multi-bit 55 * The first dimension of this table is the errored bit pattern, which is the 56 * column dimension of the table in the BKDG. Conveniently, the bit pattern 62 * 0 is not a valid errored bit pattern. 204 char bit; local 211 if ((bit = eccsynd[synd]) == -1) { 213 "synd 0x%x is a multi-bit syndrome\n", synd); 218 "synd 0x%x is single-bit and indicates %s bit %d\n", synd [all...] |
| /onnv/onnv-gate/usr/src/lib/libdtrace/common/ |
| dt_regset.c | 86 ulong_t bit, bx; local 89 for (bit = 1, bx = 0; bx <= maxb; bx++, bit <<= 1) { 90 if ((word & bit) == 0) {
|
| /onnv/onnv-gate/usr/src/lib/libntfs/common/libntfs/ |
| bitmap.c | 50 * @start_bit: first bit to set 54 * Set @count bits starting at bit @start_bit in the bitmap described by the 65 int bit, firstbyte, lastbyte, lastbyte_pos, tmp, err; local 72 bit = start_bit & 7; 73 if (bit) 79 bufsize = ((count - (bit ? 8 - bit : 0) + 7) >> 3) + firstbyte; 91 if (bit) { 100 while ((bit & 7) && left--) { 102 *buf |= 1 << bit++ [all...] |
| lcnalloc.c | 112 u8 pass, done_zones, search_zone, need_writeback, bit; local 204 * bmp_pos is the current bit position inside the bitmap. We use 263 bit = 1 << (lcn & 7); 264 ntfs_log_trace("bit = %i.\n", bit); 265 /* If the bit is already set, go onto the next one. */ 266 if (*byte & bit) { 275 ntfs_log_trace("First free bit is at LCN = " 289 /* Allocate the bitmap bit. */ 290 *byte |= bit; [all...] |
| /onnv/onnv-gate/usr/src/common/mpi/ |
| mplogic.c | 124 Grows a if needed to set a bit to 1. 158 mp_size bit, ix; local 166 bit = bitNum % MP_DIGIT_BIT; 167 rv = (mp_err)(MP_DIGIT(a, ix) >> bit) & 1; 173 - Extracts numBits bits from a, where the least significant extracted bit 174 is bit lsbNum. Returns a negative value if error occurs. 175 - Because sign bit is used to indicate error, maximum number of bits to 179 integer a, as long as bit lsbNum is in the high order digit of a.
|
| /onnv/onnv-gate/usr/src/common/openssl/crypto/bn/ |
| bn_rand.c | 121 int ret=0,bit,bytes,mask; local 131 bit=(bits-1)%8; 132 mask=0xff<<(bit+1); 181 if (bit == 0) 188 buf[0]|=(3<<(bit-1)); 193 buf[0]|=(1<<bit); 197 if (bottom) /* set bottom bit if requested */ 251 * so 3*range (= 11..._2) is exactly one bit longer than range */
|
| /onnv/onnv-gate/usr/src/uts/common/os/ |
| bitmap.c | 45 * Return index of first available bit in denoted bitmap, or -1 for 58 * Look for a word with a bit off. 70 * Found a word with a bit off. Now find the bit in the word. 72 index_t bx; /* bit index in word */ 73 index_t maxbit; /* last bit to look at */ 75 ulong_t bit; local 79 bit = 1; 80 for (bx = 0; bx <= maxbit; bx++, bit <<= 1) { 81 if (!(word & bit)) { [all...] |
| /onnv/onnv-gate/usr/src/uts/sun4u/sys/ |
| mem_cache_ioctl.h | 34 #define PN_ECSTATE_MASK 0x7 /* three bit field */ 50 uint16_t bit; member in struct:cache_info32
|
| /onnv/onnv-gate/usr/src/lib/gss_mechs/mech_krb5/mech/ |
| disp_major_status.c | 193 /* code should be set to the bit offset (log_2) of a supplementary info bit */ 223 message_context > 2 : print supplementary info bit (message_context-2) 234 int bit; local 307 /* compute the bit offset */ 309 for (bit=0; (((OM_uint32) 1)<<bit) != LSBGET(tmp); bit++) ; 312 if ((ret = display_bit(minor_status, bit, status_string))) 316 status_value -= ((OM_uint32) 1)<<bit; [all...] |
| /onnv/onnv-gate/usr/src/uts/common/io/drm/ |
| drm_context.c | 87 int bit; local 93 bit = find_first_zero_bit(dev->ctx_bitmap, DRM_MAX_CTXBITMAP); 94 if (bit >= DRM_MAX_CTXBITMAP) { 99 set_bit(bit, dev->ctx_bitmap); 100 DRM_DEBUG("drm_ctxbitmap_next: bit : %d", bit); 101 if ((bit+1) > dev->max_context) { 102 dev->max_context = (bit+1); 112 clear_bit(bit, dev->ctx_bitmap); 117 dev->context_sareas[bit] = NULL [all...] |
| /onnv/onnv-gate/usr/src/uts/common/ipp/ipgpc/ |
| trie.c | 89 * assume 8 bit keys for all examples 125 int bit; local 131 /* pos is past the last bit covered at this node */ 140 /* find the mismatch bit */ 141 bit = EXTRACTBIT(nodep->val, pos, key_len); 142 if (bit == ZERO) { 153 /* pos is before the last bit covered at this node */ 154 nodep->zero->pos = pos - 1; /* link is one bit */ 169 } else { /* bit == ONE */ 180 /* pos is before the last bit covered at this node * 219 int bit; local 333 int bit, i; local 404 int bit; local 630 int bit, i; local 704 int bit; local 781 int bit, i; local [all...] |
| /onnv/onnv-gate/usr/src/uts/sun4v/io/n2rng/ |
| n2rng_entp_algs.c | 51 * returns the position of the MSB of x. The 1 bit is position 0. An 57 int bit; local 63 bit = 0; 64 MSBSTEP(x, 32, bit); 65 MSBSTEP(x, 16, bit); 66 MSBSTEP(x, 8, bit); 67 MSBSTEP(x, 4, bit); 68 MSBSTEP(x, 2, bit); 69 MSBSTEP(x, 1, bit); 71 return (bit); [all...] |
| /onnv/onnv-gate/usr/src/cmd/dtrace/test/cmd/baddof/ |
| baddof.c | 58 int bit, i; local 67 * We are going iterate through, flipping one bit and attempting 70 for (bit = 0; bit < len * 8; bit++) { 71 saved = buf[bit / 8]; 72 buf[bit / 8] ^= (1 << (bit % 8)); 74 if ((bit % 100) == 0) 75 printf("%d\n", bit); [all...] |
| /onnv/onnv-gate/usr/src/uts/common/io/dmfe/ |
| dmfe_mii.c | 29 * The bit-twiddling required by the MII interface makes the functions 44 * NB: <romaddr> is a byte address but must be 16-bit aligned. 51 uint16_t bit; local 61 /* loop over multiple words... rom access in 16-bit increments */ 74 /* send 3 bit read command */ 75 for (bit = HIGH_CMD_BIT; bit != 0; bit >>= 1) { 77 value = (bit & EEPROM_READ_CMD) ? DATA_IN : 0; 79 /* strobe the bit in * [all...] |
| /onnv/onnv-gate/usr/src/lib/libcrypt/common/ |
| des_soft.c | 69 * Won't work without 8 bit chars and 32 bit longs 83 * Table giving odd parity in the low bit for ASCII characters 107 * Add odd parity to low bit of 8 byte key 186 * the key. The low order bit of each 187 * 8-bit char is not used, so C and D are only 28 191 short bit; local 198 bit = *pcc++; 199 if (btst(userkey, bit)) 201 bit = *pcd++ 213 short j, k, bit; local [all...] |
| /onnv/onnv-gate/usr/src/lib/libnsl/des/ |
| des_soft.c | 64 * Won't work without 8 bit chars and 32 bit longs 75 * Table giving odd parity in the low bit for ASCII characters 97 * Add odd parity to low bit of 8 byte key 222 * the key. The low order bit of each 223 * 8-bit char is not used, so C and D are only 28 227 short bit; local 234 bit = *pcc++; 235 if (btst(userkey, bit)) 237 bit = *pcd++ 249 short j, k, bit; local [all...] |
| /onnv/onnv-gate/usr/src/uts/common/des/ |
| des_soft.c | 50 * Won't work without 8 bit chars and 32 bit longs 134 * the key. The low order bit of each 135 * 8-bit char is not used, so C and D are only 28 139 short bit; local 146 bit = *pcc++; 147 if (btst(userkey, bit)) 149 bit = *pcd++; 150 if (btst(userkey, bit)) 161 short j, k, bit; local [all...] |
| /onnv/onnv-gate/usr/src/uts/common/io/nxge/ |
| nxge_fflp_hash.c | 115 uint32_t index, bit, byte, crc; local 120 for (bit = 0; bit < 8; bit++) { 141 uint16_t index, bit, byte; local 146 for (bit = 0; bit < 8; bit++) { 203 * Lookup the crc32c for a 32 bit word stream 281 uint32_t crc, bit, byte, index local 305 int bit, byte; local [all...] |
| /onnv/onnv-gate/usr/src/uts/i86pc/io/pcplusmp/ |
| apic_regops.c | 278 int bit = ((0x1 << (X2APIC_ENABLE_BIT + 1)) | local 283 if ((apic_base_msr & bit) == bit) 353 * is simplified. A single MSR write to the 64-bit ICR is required 354 * for dispatching an interrupt. Specifically with the 64-bit MSR 356 * status of the delivery status bit prior to writing to the ICR 357 * to send an IPI. With the removal of the Delivery Status bit,
|
| /onnv/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/ |
| numeric.c | 166 char bit = *s; local 167 if (bit == '0' || bit == '1') { 174 value = (value << 1) | (bit - '0'); 191 value_nv += (NV)(bit - '0'); 194 if (bit == '_' && len && allow_underscores && (bit = s[1]) 195 && (bit == '0' || bit == '1')) 511 (0 if unrecognised), otherwise it is a bit-ORed combination o 727 I32 bit; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/unpack/ |
| unpack.c | 494 int tp, bit; local 538 bit = tp = 0; 540 if (bit <= 0) { 551 bit = 16; 555 bit--;
|
| /onnv/onnv-gate/usr/src/common/openssl/crypto/ec/ |
| ec_mult.c | 194 int bit, next_bit, mask; local 202 bit = 1 << w; /* at most 128 */ 203 next_bit = bit << 1; /* at most 256 */ 234 if (window_val & bit) 255 if (digit <= -bit || digit >= bit || !(digit & 1)) 266 if (window_val != 0 && window_val != next_bit && window_val != bit) 276 window_val += bit * BN_is_bit_set(scalar, j + w); 395 * (NB: maximum wNAF length is bit length plus one) */ 779 * one point per bit [all...] |
| /onnv/onnv-gate/usr/src/grub/grub-0.97/netboot/ |
| 3c595.c | 38 int bit; member in struct:connector_entry 360 if (vx_connectors & conn_tab[k].bit) { 400 if ((vx_connectors & conn_tab[vx_connector].bit) == 0) {
|