| /onnv/onnv-gate/usr/src/uts/common/vm/ |
| vm_rm.c | 92 int shift = 16 - PAGESHIFT; local 95 if (shift < 0) { 96 num >>= (-shift); 97 shift = 0; 99 while (shift > 0 && (num & 0x80000000) == 0) { 100 shift--; 103 if (shift > 0) 104 total >>= shift; local
|
| /onnv/onnv-gate/usr/src/lib/libntfs/common/include/ntfs/ |
| bitmap.h | 92 register u8 old_bit, shift; local 96 shift = bit & 7; 97 old_bit = (bitmap[bit >> 3] >> shift) & 1; 99 bitmap[bit >> 3] ^= 1 << shift;
|
| /onnv/onnv-gate/usr/src/cmd/mms/dm/common/ |
| dm_util.c | 39 int shift; local 41 for (i = 0, shift = (len - 1) * 8; i < len; i++, shift -= 8) { 42 start[i] = (val >> shift); 50 int shift; local 52 for (i = 0, shift = (len - 1) * 8; i < len; i++, shift -= 8) { 53 start[i] = (val >> shift); 62 int shift; local 65 for (i = 1, shift = (len - 1) * 8; i < len; i++) 75 int shift; local 88 int shift; local 101 int shift; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/sgs/tools/common/ |
| leb128.c | 108 int shift = 0; local 122 res = res | (val << shift); 125 * Increment shift & dot pointer 127 shift += 7; 146 int shift = 0; local 160 res = res | (val << shift); 163 * Increment shift & dot pointer 165 shift += 7; 179 res = (res << (64 - shift)) >> (64 - shift); [all...] |
| /onnv/onnv-gate/usr/src/uts/common/fs/tmpfs/ |
| tmp_subr.c | 54 int shift = 0; local 60 shift += MODESHIFT; 62 shift += MODESHIFT; 66 mode &= ~(tp->tn_mode << shift);
|
| /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.sbin/ilbadm/ |
| ilbadm.c | 214 int shift = 0; local 217 shift++; 221 if (argc - shift < 3) 224 if ((fd = open(argv[2+shift], O_RDONLY)) == -1) 225 bad_importfile(argv[0], argv[2+shift]);
|
| /onnv/onnv-gate/usr/src/cmd/bnu/ |
| stoa.c | 143 int shift = 0; local 162 buf[bp] |= toxdigit(*end) << shift; 164 if (shift > 5) { 165 buf[--bp] = (todigit(*end) >> (8 - shift)) 166 & MASK(shift-5); 168 if ((shift = (shift + 3) % 8) == 0) 172 if ((shift = (shift) ? 0 : 4) == 0) 182 if (!shift) [all...] |
| /onnv/onnv-gate/usr/src/cmd/eqn/ |
| shift.c | 85 printf(".\tb:b shift b: S%d <- S%d vert %d S%d vert %d; " 104 shift(int p1) function
|
| /onnv/onnv-gate/usr/src/common/openssl/crypto/bn/ |
| bn_gcd.c | 255 int shift; local 269 shift = 0; 270 while (!BN_is_bit_set(B, shift)) /* note that 0 < B */ 272 shift++; 281 if (shift > 0) 283 if (!BN_rshift(B, B, shift)) goto err; 288 shift = 0; 289 while (!BN_is_bit_set(A, shift)) /* note that 0 < A */ 291 shift++; 300 if (shift > 0 [all...] |
| /onnv/onnv-gate/usr/src/lib/libnsl/dial/ |
| stoa.c | 155 int shift = 0; local 177 buf[bp] |= toxdigit(*end) << shift; 179 if (shift > 5) { 180 buf[--bp] = (todigit(*end) >> (8 - shift)) 181 & MASK(shift-5); 183 if ((shift = (shift + 3) % 8) == 0) 186 if ((shift = (shift) ? 0 : 4) == 0) 196 if (!shift) [all...] |
| /onnv/onnv-gate/usr/src/cmd/sh/ |
| hash.c | 49 #define hash(str) (int)(((unsigned)(crunch(str) * FACTOR)) >> shift) 61 static unsigned int shift; variable 86 shift = (bitsper * sizeof(int)) - LOG2LEN;
|
| /onnv/onnv-gate/usr/src/common/crypto/arcfour/sun4v/ |
| arcfour_crypt.c | 71 unsigned int tmp0, tmp1, i_accum, shift = 0, i1; local 154 shift = 8; mask = 0xff; 562 merge1 = merge0 | (merge >> shift); 577 if (shift) {
|
| /onnv/onnv-gate/usr/src/lib/libtecla/common/ |
| pathutil.c | 226 int shift; /* The number of characters to shift the suffix by */ local 245 * Work out how far we need to shift the original path string to make 252 for(shift=0,i=0; i<slen; i++) { 255 shift++; 258 shift = slen; 263 if(!_pn_resize_path(path, pathlen + shift)) 268 memmove(path->name + shift, path->name, pathlen+1);
|
| /onnv/onnv-gate/usr/src/tools/stabs/ |
| forth.c | 206 int offset, shift, mask; local 209 shift = 32 - ((mlp->offset % 32) + mlp->size); 210 mask = ((int)pow(2, mlp->size) - 1) << shift; 212 format, shift, mask, offset, mlp->name);
|
| genassym.c | 231 int offset, shift, mask; local 234 shift = 32 - ((mlp->offset % 32) + mlp->size); 235 mask = ((int)pow(2, mlp->size) - 1) << shift; 237 printf("#define\t%s_SHIFT 0x%x\n", format, shift);
|
| /onnv/onnv-gate/usr/src/uts/common/inet/ip/ |
| ip_listutils.c | 311 int i, j, shift; local 322 shift = 0; 333 shift++; 334 else if (shift > 0) 335 a->sl_addr[i - shift] = a->sl_addr[i]; 337 a->sl_numsrc -= shift; 351 int i, j, shift; local 360 shift = 0; 371 shift++; 372 else if (shift > 0 [all...] |
| /onnv/onnv-gate/usr/src/uts/common/tnf/ |
| trace_funcs.c | 102 tnf_uint32_t shift; local 181 shift = ((tnf_buf_file_header_t *)tnf_buf)->com.file_log_size; 194 sched_offset = ((sched->record_gen - block->generation) << shift) + 197 sched_offset = ((sched->record_gen - block->generation) << shift) + 254 ((sched->record_gen - block->generation) << shift) + 261 ((sched->record_gen - block->generation) << shift) +
|
| /onnv/onnv-gate/usr/src/uts/sun4u/io/pci/ |
| pci_cb.c | 138 uint_t shift = (ino & 0x1f) << 1; local 143 while ((((lddphysio(state_reg_pa) >> shift) &
|
| /onnv/onnv-gate/usr/src/cmd/zinject/ |
| translate.c | 270 ziprintf("data shift: %d\n", (int)dn->dn_datablkshift); 271 ziprintf(" ind shift: %d\n", (int)dn->dn_indblkshift); 297 int shift = dn->dn_indblkshift - SPA_BLKPTRSHIFT; local 300 record->zi_start >>= shift; 301 record->zi_end >>= shift;
|
| /onnv/onnv-gate/usr/src/grub/grub-0.97/netboot/ |
| misc.c | 150 int shift = 28; local 160 shift = 12; 166 shift = 4; 187 for (; shift >= 0; shift -= 4) 188 *q++ = "0123456789ABCDEF"[(h >> shift) & 0xF] | ncase;
|
| /onnv/onnv-gate/usr/src/lib/abi/apptrace/common/ |
| apptraceutil.c | 107 uint8_t shift; local 111 * to the lowest 'size' bytes in 'value', and we need shift based on 118 shift = off % NBBY; 125 shift = NBBY - shift; 129 * If the bits we want do not begin on a byte boundary, shift the data 133 value >>= shift; local
|
| /onnv/onnv-gate/usr/src/lib/libtnfprobe/ |
| trace_funcs.c | 108 tnf_uint32_t shift; local 243 shift = ((tnf_buf_file_header_t *)file_start)->com.file_log_size; 256 sched_offset = ((sched->record_gen - block->generation) << shift) + 304 ((sched->record_gen - block->generation) << shift) +
|
| /onnv/onnv-gate/usr/src/tools/ctf/stabs/common/ |
| genassym.c | 38 * log2 (shift) of the structure will be generated. The latter can only 62 * \ shift #define called FOO_SHIFT. `foo' has one member called `mem'. 155 * and optional shift constants. 162 ssize_t sz, shift; local 185 for (shift = -1, tsz = sz; tsz > 0; tsz >>= 1, shift++); 186 if (shift < 0 || 1 << shift != sz) { 187 return (parse_warn("Can't make shift #define: %s size " 191 (void) fprintf(out, "#define\t%s\t0x%x\n", shdef, shift); [all...] |
| /onnv/onnv-gate/usr/src/uts/common/fs/namefs/ |
| namevno.c | 249 int shift = 0; local 252 shift += 3; 254 shift += 3; 256 mode &= ~(nodep->nm_vattr.va_mode << shift);
|
| /onnv/onnv-gate/usr/src/uts/intel/io/drm/ |
| i915_mem.c | 61 unsigned shift, nr; local 67 shift = dev_priv->tex_lru_log_granularity; 70 start = p->start >> shift; 71 end = (p->start + p->size - 1) >> shift;
|