| /onnv/onnv-gate/usr/src/uts/sun4u/io/px/ |
| px_csr.h | 37 #define CSR_XR(base, off) \ 38 (*(volatile uint64_t *)((base) + ((off)))) 40 #define CSRA_XR(base, off, index) \ 41 (*(volatile uint64_t *)((base) + ((off) + ((index) * 8)))) 43 #define CSR_XS(base, off, val) \ 44 ((*(volatile uint64_t *)((base) + ((off)))) = (val)) 46 #define CSRA_XS(base, off, index, val) \ 47 ((*(volatile uint64_t *)((base) + ((off) + ((index) * 8)))) = (val)) 50 #define CSR_FR(base, off, bit) \ 51 (((*(volatile uint64_t *) ((base) + ((off)))) >> \ [all...] |
| /onnv/onnv-gate/usr/src/cmd/sgs/libelf/common/ |
| rand.c | 37 elf_rand(Elf * elf, size_t off) 47 if ((off == 0) || (elf->ed_fsz < off)) { 52 elf->ed_nextoff = off; 54 return (off);
|
| rawput.c | 47 _elf_read(int fd, off_t off, size_t fsz) 59 if (lseek(fd, off, 0) != off) {
|
| input.c | 81 #define PGNUM(off) ((off % REGSZ) / _elf_pagesize) 82 #define REGNUM(off) (off / REGSZ) 93 off_t off; local 128 off = base - base % _elf_pagesize; 151 iop = (Elf_Void *)(elf->ed_image + off); 155 if (elf->ed_imagesz - off < sz) 156 sz = elf->ed_imagesz - off; 157 if ((lseek(elf->ed_fd, off, 206 register off_t off = lseek(fd, (off_t)0, SEEK_END); local [all...] |
| strptr.c | 38 elf_strptr(Elf * elf, size_t ndx, size_t off) 85 if ((off >= d->d_off) && 86 (off < d->d_off + d->d_size)) { 87 rc = (char *)d->d_buf + off - d->d_off; 98 if (off < j) 100 off -= j; 103 if (off < d->d_size) { 104 rc = (char *)d->d_buf + off; 110 if (off < d->d_size) 112 off -= d->d_size [all...] |
| /onnv/onnv-gate/usr/src/lib/libast/common/stdio/ |
| fseek.c | 31 fseek(Sfio_t* f, long off, int op) 33 STDIO_INT(f, "fseek", int, (Sfio_t*, long, int), (f, off, op)) 35 return sfseek(f, (Sfoff_t)off, op|SF_SHARE) >= 0 ? 0 : -1; 41 fseek64(Sfio_t* f, int64_t off, int op) 43 STDIO_INT(f, "fseek64", int, (Sfio_t*, int64_t, int), (f, off, op)) 45 return sfseek(f, (Sfoff_t)off, op|SF_SHARE) >= 0 ? 0 : -1;
|
| fseeko.c | 31 fseeko(Sfio_t* f, off_t off, int op) 33 STDIO_INT(f, "fseeko", int, (Sfio_t*, off_t, int), (f, off, op)) 35 return sfseek(f, (Sfoff_t)off, op|SF_SHARE) >= 0 ? 0 : -1; 41 fseeko64(Sfio_t* f, int64_t off, int op) 43 STDIO_INT(f, "fseeko64", int, (Sfio_t*, int64_t, int), (f, off, op)) 45 return sfseek(f, (Sfoff_t)off, op|SF_SHARE) >= 0 ? 0 : -1;
|
| /onnv/onnv-gate/usr/src/lib/libslp/clib/ |
| SAAdvert.c | 43 size_t off, len; local 53 off = SLP_HDRLEN + slp_get_langlen(reply); 56 iov[0].iov_base = reply + off; 57 tmp_off = off; 58 if ((err = slp_get_string(reply, len, &off, surl)) != SLP_OK) { 61 iov[0].iov_len = off - tmp_off; 64 iov[2].iov_base = reply + off; 65 tmp_off = off; 66 if ((err = slp_get_string(reply, len, &off, scopes)) != SLP_OK) { 69 iov[2].iov_len = off - tmp_off [all...] |
| DAAdvert.c | 42 size_t len, off; local 53 off = SLP_HDRLEN + slp_get_langlen(reply); 55 if ((err = slp_get_sht(reply, len, &off, &protoErrCode)) != SLP_OK) 64 iov[0].iov_base = reply + off; 65 tmp_off = off; 66 if ((err = slp_get_sht(reply, len, &off, &dummy)) != SLP_OK) { 69 if ((err = slp_get_sht(reply, len, &off, &dummy)) != SLP_OK) { 72 iov[0].iov_len = off - tmp_off; 75 iov[1].iov_base = reply + off; 76 tmp_off = off; [all...] |
| /onnv/onnv-gate/usr/src/cmd/dtrace/test/tst/common/sched/ |
| tst.oncpu.d | 38 sched:::off-cpu 41 self->off++; 44 sched:::off-cpu 45 /self->on > 50 && self->off > 50/
|
| /onnv/onnv-gate/usr/src/lib/brand/lx/lx_brand/common/ |
| sendfile.c | 45 off_t off = 0; local 52 if (sz > 0 && uucopy(offp, &off, sizeof (off)) != 0) 57 sfv.sfv_off = off; 63 off += xferred; 64 error = uucopy(&off, offp, sizeof (off)); 74 off64_t off = 0; local 81 if (sz > 0 && uucopy(offp, &off, sizeof (off)) != 0 [all...] |
| /onnv/onnv-gate/usr/src/cmd/sendmail/src/ |
| arpadate.c | 63 register int off; local 130 off = (lt->tm_hour - gmt.tm_hour) * 60 + lt->tm_min - gmt.tm_min; 134 off -= 24 * 60; 136 off += 24 * 60; 138 off -= 24 * 60; 140 off += 24 * 60; 143 if (off == 0) 174 tz = timezone(off, lt->tm_isdst); 177 if (off < 0) 179 off = -off [all...] |
| /onnv/onnv-gate/usr/src/uts/intel/amd64/krtld/ |
| doreloc.c | 186 do_reloc_krtld(uchar_t rtype, uchar_t *off, Xword *value, const char *sym, 191 do_reloc_ld(uchar_t rtype, uchar_t *off, Xword *value, const char *sym, 195 do_reloc_rtld(uchar_t rtype, uchar_t *off, Xword *value, const char *sym, 206 *((uchar_t *)off) = (uchar_t)(*value); 212 *((Half *)off) = (Half)(*value); 219 UL_ASSIGN_BSWAP_HALF(off, v_bytes); 221 UL_ASSIGN_HALF(off, v_bytes); 276 *((Word *)off) += *value; 283 UL_ASSIGN_BSWAP_WORD(v_bytes, off); 285 UL_ASSIGN_BSWAP_WORD(off, v_bytes) [all...] |
| /onnv/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/ext/PerlIO/t/ |
| scalar.t | 50 my $off = tell($fh); 51 print "# Got $off, expect 0\n"; 52 print "not " unless $off == 0; 57 $off = tell($fh); 58 print "# Got $off, expect 4\n"; 59 print "not " unless $off == 4; 69 $off = tell($fh); 70 print "# Got $off, expect 10\n"; 71 print "not " unless $off == 10; 81 $off = tell($fh) [all...] |
| /onnv/onnv-gate/usr/src/uts/common/sys/hotplug/pci/ |
| pciehpc.h | 43 uint8_t pciehpc_reg_get8(pcie_hp_ctrl_t *ctrl_p, uint_t off); 44 uint16_t pciehpc_reg_get16(pcie_hp_ctrl_t *ctrl_p, uint_t off); 45 uint32_t pciehpc_reg_get32(pcie_hp_ctrl_t *ctrl_p, uint_t off); 46 void pciehpc_reg_put8(pcie_hp_ctrl_t *ctrl_p, uint_t off, uint8_t val); 47 void pciehpc_reg_put16(pcie_hp_ctrl_t *ctrl_p, uint_t off, uint16_t val); 48 void pciehpc_reg_put32(pcie_hp_ctrl_t *ctrl_p, uint_t off, uint32_t val);
|
| /onnv/onnv-gate/usr/src/lib/libc/port/gen/ |
| telldir.c | 59 off_t off = 0; local 65 off = dp->d_off; 68 return (off); 83 off64_t off = 0; local 99 off = dp64->d_off; 102 return (off); 108 off64_t off; local 110 off = telldir64(dirp); 115 if ((long)off != off && (uint64_t)off > (uint64_t)UINT32_MAX) [all...] |
| /onnv/onnv-gate/usr/src/cmd/dtrace/test/tst/i86xpv/xdt/ |
| tst.basic.ksh | 56 xdt:sched::off-cpu 59 self->off++; 62 xdt:sched::off-cpu 63 /self->on > 50 && self->off > 50/
|
| /onnv/onnv-gate/usr/src/cmd/acct/ |
| shutacct.sh | 34 _reason=${1-"acctg off"} 36 turnacct off
|
| /onnv/onnv-gate/usr/src/uts/intel/ia32/krtld/ |
| doreloc.c | 190 do_reloc_krtld(uchar_t rtype, uchar_t *off, Xword *value, const char *sym, 195 do_reloc_ld(uchar_t rtype, uchar_t *off, Xword *value, const char *sym, 199 do_reloc_rtld(uchar_t rtype, uchar_t *off, Xword *value, const char *sym, 210 *((uchar_t *)off) += (uchar_t)(*value); 216 *((Half *)off) += (Half)(*value); 223 UL_ASSIGN_BSWAP_HALF(v_bytes, off); 225 UL_ASSIGN_BSWAP_HALF(off, v_bytes); 227 UL_ASSIGN_HALF(v_bytes, off); 229 UL_ASSIGN_HALF(off, v_bytes); 238 *((Xword *)off) += *value [all...] |
| /onnv/onnv-gate/usr/src/lib/mms/dm/libcommon/ |
| dm_IBM_LTO_common.c | 41 int off; local 54 off = 4 + i * 8; 55 char_to_uint32(buf + off, 2, &code); 57 char_to_uint32(buf + off + 4, 4, &avail); 64 off = 4 + i * 8; 65 char_to_uint32(buf + off, 2, &code); 67 char_to_uint32(buf + off + 4, 4, &max);
|
| dm_SEAGATELTO_common.c | 41 int off; local 54 off = 4 + i * 8; 55 char_to_uint32(buf + off, 2, &code); 57 char_to_uint32(buf + off + 4, 4, &avail); 64 off = 4 + i * 8; 65 char_to_uint32(buf + off, 2, &code); 67 char_to_uint32(buf + off + 4, 4, &max);
|
| dm_HP_LTO_common.c | 42 int off; local 55 off = 4 + i * 8; 56 char_to_uint32(buf + off, 2, &code); 58 char_to_uint32(buf + off + 4, 4, &avail); 65 off = 4 + i * 8; 66 char_to_uint32(buf + off, 2, &code); 68 char_to_uint32(buf + off + 4, 4, &max);
|
| /onnv/onnv-gate/usr/src/lib/libast/common/misc/ |
| fs3d.c | 48 static char off[] = FS3D_off; local 69 else if (!strncmp(v, off, sizeof(off) - 1) && v[sizeof(off)] == '=') 70 cur = FS3D_LIMIT((int)strtol(v + sizeof(off) + 1, NiL, 0)); 78 v = off; 84 sfsprintf(val, sizeof(val), "%s=%d", off, FS3D_arg(op));
|
| /onnv/onnv-gate/usr/src/lib/libbc/libc/sys/common/ |
| lseek.c | 38 int off, ret; local 45 off = getmodsize(offset, sizeof (struct compat_utmp), 47 if ((ret = _syscall(SYS_lseek, fd, off, whence)) != -1)
|
| /onnv/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/ext/SDBM_File/sdbm/ |
| pair.c | 51 register int off; local 55 off = ((n = ino[0]) > 0) ? ino[n] : PBLKSIZ; 56 free = off - (n + 1) * sizeof(short); 68 register int off; local 71 off = ((n = ino[0]) > 0) ? ino[n] : PBLKSIZ; 75 off -= key.dsize; 76 (void) memcpy(pag + off, key.dptr, key.dsize); 77 ino[n + 1] = off; 81 off -= val.dsize; 82 (void) memcpy(pag + off, val.dptr, val.dsize) 133 register int off; local 224 register int off = PBLKSIZ; local 243 register int off = PBLKSIZ; local 281 register int off; local [all...] |