| /netvirt/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...] |
| /netvirt/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;
|
| /netvirt/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...] |
| /netvirt/usr/src/cmd/sgs/libelf/common/ |
| rand.c | 42 elf_rand(Elf * elf, size_t off) 52 if ((off == 0) || (elf->ed_fsz < off)) { 57 elf->ed_nextoff = off; 59 return (off);
|
| rawput.c | 50 _elf_read(int fd, off_t off, size_t fsz) 62 if (lseek(fd, off, 0) != off) {
|
| input.c | 84 #define PGNUM(off) ((off % REGSZ) / _elf_pagesize) 85 #define REGNUM(off) (off / REGSZ) 96 off_t off; local 131 off = base - base % _elf_pagesize; 154 iop = (Elf_Void *)(elf->ed_image + off); 158 if (elf->ed_imagesz - off < sz) 159 sz = elf->ed_imagesz - off; 160 if ((lseek(elf->ed_fd, off, 209 register off_t off = lseek(fd, (off_t)0, SEEK_END); local [all...] |
| strptr.c | 43 elf_strptr(Elf * elf, size_t ndx, size_t off) 90 if ((off >= d->d_off) && 91 (off < d->d_off + d->d_size)) { 92 rc = (char *)d->d_buf + off - d->d_off; 103 if (off < j) 105 off -= j; 108 if (off < d->d_size) { 109 rc = (char *)d->d_buf + off; 115 if (off < d->d_size) 117 off -= d->d_size [all...] |
| /netvirt/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/
|
| /netvirt/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...] |
| /netvirt/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...] |
| /netvirt/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...] |
| /netvirt/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...] |
| /netvirt/usr/src/cmd/acct/ |
| shutacct.sh | 34 _reason=${1-"acctg off"} 36 turnacct off
|
| /netvirt/usr/src/cmd/sgs/tools/common/ |
| alist.c | 51 alist_insert(Alist **alpp, const void *item, size_t size, int cnt, Aliste off) 90 if ((off == 0) || (off == alp->al_next)) { 93 new = (void *)((char *)alp + off); 95 (alp->al_next - off)); 131 Aliste off; local 134 off = *offp; 135 addr = (void *)((char *)alp + off); 137 for (ALIST_TRAVERSE(alp, off, addr)) { 143 if (off >= alp->al_next 174 Aliste off; local [all...] |
| /netvirt/usr/src/lib/libast/common/misc/ |
| fs3d.c | 43 static char off[] = FS3D_off; local 61 else if (!strncmp(v, off, sizeof(off) - 1) && v[sizeof(off)] == '=') 62 cur = FS3D_LIMIT((int)strtol(v + sizeof(off) + 1, NiL, 0)); 69 v = off; 75 sfsprintf(val, sizeof(val), "%s=%d", off, FS3D_arg(op));
|
| /netvirt/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)
|
| /netvirt/usr/src/uts/common/fs/smbsrv/ |
| smb_lock_byte_range.c | 69 uint32_t off; local 72 if (smbsr_decode_vwv(sr, "wll", &sr->smb_fid, &count, &off) != 0) { 91 (u_offset_t)off, (uint64_t)count, 0, SMB_LOCK_TYPE_READWRITE);
|
| /netvirt/usr/src/cmd/perl/5.6.1/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...] |
| /netvirt/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...] |
| /netvirt/usr/src/uts/intel/os/ |
| bootenv.rc | 31 setprop ttyb-rts-dtr-off false 33 setprop ttya-rts-dtr-off false
|
| /netvirt/usr/src/cmd/dtrace/demo/sched/ |
| where.d | 32 sched:::off-cpu
|
| /netvirt/usr/src/lib/libslp/javalib/com/sun/slp/ |
| StderrLog.java | 57 public void write(char[] cbuf, int off, int len) throws IOException { 58 buf.append(cbuf, off, len);
|
| /netvirt/usr/src/uts/i86pc/boot/ |
| boot_vga.c | 148 int off; local 150 off = row * VGA_TEXT_COLS + col; 151 vga_set_crtc(VGA_CRTC_CLAH, off >> 8); 152 vga_set_crtc(VGA_CRTC_CLAL, off & 0xff); 158 int off; local 160 off = (vga_get_crtc(VGA_CRTC_CLAH) << 8) + vga_get_crtc(VGA_CRTC_CLAL); 161 *row = off / VGA_TEXT_COLS; 162 *col = off % VGA_TEXT_COLS;
|