Searched refs:off (Results 1 - 25 of 1368) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/uts/sun4u/io/px/
H A Dpx_csr.h37 #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...]
/illumos-gate/usr/src/lib/libast/common/stdio/
H A Dfseek.c31 fseek(Sfio_t* f, long off, int op) argument
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) argument
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;
H A Dfseeko.c31 fseeko(Sfio_t* f, off_t off, int op) argument
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) argument
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;
/illumos-gate/usr/src/cmd/sgs/libelf/common/
H A Drand.c34 elf_rand(Elf * elf, size_t off) argument
44 if ((off == 0) || (elf->ed_fsz < off)) {
49 elf->ed_nextoff = off;
51 return (off);
62 size_t off; local
72 off = elf->ed_nextoff;
74 return (off);
H A Drawput.c47 _elf_read(int fd, off_t off, size_t fsz) argument
59 if (lseek(fd, off, 0) != off) {
H A Dinput.c77 #define PGNUM(off) ((off % REGSZ) / _elf_pagesize)
78 #define REGNUM(off) (off / REGSZ)
88 off_t off; local
123 off = base - base % _elf_pagesize;
146 iop = (Elf_Void *)(elf->ed_image + off);
150 if (elf->ed_imagesz - off < sz)
151 sz = elf->ed_imagesz - off;
152 if ((lseek(elf->ed_fd, off,
201 register off_t off = lseek(fd, (off_t)0, SEEK_END); local
[all...]
H A Dstrptr.c38 elf_strptr(Elf * elf, size_t ndx, size_t off) argument
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
[all...]
/illumos-gate/usr/src/lib/libslp/clib/
H A DSAAdvert.c43 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
[all...]
H A DDAAdvert.c42 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...]
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/sched/
H A Dtst.oncpu.d38 sched:::off-cpu
41 self->off++;
44 sched:::off-cpu
45 /self->on > 50 && self->off > 50/
/illumos-gate/usr/src/uts/common/io/sfxge/
H A Dsfxge_debug.h47 size_t off; \
49 for (off = 0; off < sizeof (_type); off++) { \
58 (void *)(_objp), off); \
H A Dsfxge_tcp.c78 size_t off; local
87 off = 0;
117 off += etherhs;
120 len = off + sizeof (struct ip);
125 iphp = (struct ip *)(mp->b_rptr + off);
139 off += iphs;
144 len = off + sizeof (struct tcphdr);
149 thp = (struct tcphdr *)(mp->b_rptr + off);
156 off += ths;
165 len = off
[all...]
/illumos-gate/usr/src/cmd/sendmail/src/
H A Darpadate.c63 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
[all...]
/illumos-gate/usr/src/uts/common/sys/hotplug/pci/
H A Dpciehpc.h43 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);
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dtelldir.c59 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
[all...]
/illumos-gate/usr/src/cmd/dtrace/test/tst/i86xpv/xdt/
H A Dtst.basic.ksh54 xdt:sched::off-cpu
57 self->off++;
60 xdt:sched::off-cpu
61 /self->on > 50 && self->off > 50/
/illumos-gate/usr/src/uts/common/io/pciex/
H A Dpci_cfgacc.c47 pci_cfgacc_get8(dev_info_t *rcdip, uint16_t bdf, uint16_t off) argument
51 PCI_CFGACC_FILLREQ(req, rcdip, bdf, off, 1, B_FALSE, 0);
57 pci_cfgacc_put8(dev_info_t *rcdip, uint16_t bdf, uint16_t off, uint8_t data) argument
61 PCI_CFGACC_FILLREQ(req, rcdip, bdf, off, 1, B_TRUE, data);
66 pci_cfgacc_get16(dev_info_t *rcdip, uint16_t bdf, uint16_t off) argument
70 PCI_CFGACC_FILLREQ(req, rcdip, bdf, off, 2, B_FALSE, 0);
76 pci_cfgacc_put16(dev_info_t *rcdip, uint16_t bdf, uint16_t off, uint16_t data) argument
80 PCI_CFGACC_FILLREQ(req, rcdip, bdf, off, 2, B_TRUE, data);
85 pci_cfgacc_get32(dev_info_t *rcdip, uint16_t bdf, uint16_t off) argument
89 PCI_CFGACC_FILLREQ(req, rcdip, bdf, off,
95 pci_cfgacc_put32(dev_info_t *rcdip, uint16_t bdf, uint16_t off, uint32_t data) argument
104 pci_cfgacc_get64(dev_info_t *rcdip, uint16_t bdf, uint16_t off) argument
114 pci_cfgacc_put64(dev_info_t *rcdip, uint16_t bdf, uint16_t off, uint64_t data) argument
[all...]
/illumos-gate/usr/src/test/os-tests/tests/
H A Dwritev.c96 for (off_t off = 0; off < ONE_GIG * 8; off += ONE_GIG) {
97 if ((written = pwritev(fd, iov, 1, off)) != DATA_LEN)
98 err(EXIT_FAILURE, "pwritev(0x%lx) failed", off);
101 for (off_t off = 0; off < ONE_GIG * 8; off += ONE_GIG) {
102 if ((read = preadv(fd, iov, 1, off)) != DATA_LEN)
103 err(EXIT_FAILURE, "preadv(0x%lx) failed", off);
[all...]
/illumos-gate/usr/src/cmd/acct/
H A Dshutacct.sh34 _reason=${1-"acctg off"}
36 turnacct off
/illumos-gate/usr/src/uts/intel/ia32/krtld/
H A Ddoreloc.c192 do_reloc_ld(Rel_desc *rdesc, uchar_t *off, Xword *value, argument
197 do_reloc_rtld(uchar_t rtype, uchar_t *off, Xword *value, const char *sym,
212 *((uchar_t *)off) += (uchar_t)(*value);
218 *((Half *)off) += (Half)(*value);
225 UL_ASSIGN_BSWAP_HALF(v_bytes, off);
227 UL_ASSIGN_BSWAP_HALF(off, v_bytes);
229 UL_ASSIGN_HALF(v_bytes, off);
231 UL_ASSIGN_HALF(off, v_bytes);
240 *((Xword *)off) += *value;
247 UL_ASSIGN_BSWAP_WORD(v_bytes, off);
[all...]
/illumos-gate/usr/src/lib/libast/common/misc/
H A Dfs3d.c48 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));
/illumos-gate/usr/src/uts/intel/amd64/krtld/
H A Ddoreloc.c189 do_reloc_krtld(uchar_t rtype, uchar_t *off, Xword *value, const char *sym, argument
194 do_reloc_ld(Rel_desc *rdesc, uchar_t *off, Xword *value,
199 do_reloc_rtld(uchar_t rtype, uchar_t *off, Xword *value, const char *sym,
214 *((uchar_t *)off) = (uchar_t)(*value);
220 *((Half *)off) = (Half)(*value);
227 UL_ASSIGN_BSWAP_HALF(off, v_bytes);
229 UL_ASSIGN_HALF(off, v_bytes);
285 *((Word *)off) += *value;
292 UL_ASSIGN_BSWAP_WORD(v_bytes, off);
294 UL_ASSIGN_BSWAP_WORD(off, v_byte
[all...]
/illumos-gate/usr/src/cmd/fs.d/ufs/labelit/
H A DMakefile37 SMATCH=off
/illumos-gate/usr/src/cmd/fm/modules/common/ip-transport/
H A DMakefile39 SMATCH=off
/illumos-gate/usr/src/tools/smatch/src/
H A Dsset.h18 unsigned int off; member in struct:sset
23 extern struct sset *sset_init(unsigned int size, unsigned int off);
34 unsigned int __idx = idx - s->off;
42 unsigned int __idx = idx - s->off;

Completed in 95 milliseconds

1234567891011>>