Home
last modified time | relevance | path

Searched refs:off (Results 1 – 25 of 1510) sorted by relevance

12345678910>>...61

/illumos-gate/usr/src/uts/sun4u/io/px/
H A Dpx_csr.h37 #define CSR_XR(base, off) \ argument
52 (off ## _ ## bit)) & (off ## _ ## bit ## _MASK))
56 (off ## _ ## bit)) & (off ## _ ## bit ## _MASK))
62 (off ## _ ## bit))) | (((uint64_t)(val)) << (off ## _ ## bit))))
68 (off ## _ ## bit))) | (((uint64_t)(val)) << (off ## _ ## bit))))
73 ~(((uint64_t)(off ## _ ## bit ## _MASK)) << (off ## _ ## bit))))
78 ~(((uint64_t)(off ## _ ## bit ## _MASK)) << (off ## _ ## bit))))
83 (off ## _ ## bit)) & 0x1)
87 (off ## _ ## bit)) & 0x1)
92 (1ull<<(off ## _ ## bit))))
[all …]
/illumos-gate/usr/src/lib/libslp/clib/
H A DDAAdvert.c42 size_t len, off; in slp_unpackDAAdvert() local
64 iov[0].iov_base = reply + off; in slp_unpackDAAdvert()
65 tmp_off = off; in slp_unpackDAAdvert()
75 iov[1].iov_base = reply + off; in slp_unpackDAAdvert()
76 tmp_off = off; in slp_unpackDAAdvert()
83 iov[3].iov_base = reply + off; in slp_unpackDAAdvert()
84 tmp_off = off; in slp_unpackDAAdvert()
92 tmp_off = off; in slp_unpackDAAdvert()
100 tmp_off = off; in slp_unpackDAAdvert()
112 reply + off, in slp_unpackDAAdvert()
[all …]
H A DSAAdvert.c43 size_t off, len; in slp_unpackSAAdvert() local
56 iov[0].iov_base = reply + off; in slp_unpackSAAdvert()
57 tmp_off = off; in slp_unpackSAAdvert()
61 iov[0].iov_len = off - tmp_off; in slp_unpackSAAdvert()
64 iov[2].iov_base = reply + off; in slp_unpackSAAdvert()
65 tmp_off = off; in slp_unpackSAAdvert()
69 iov[2].iov_len = off - tmp_off; in slp_unpackSAAdvert()
72 iov[1].iov_base = reply + off; in slp_unpackSAAdvert()
73 tmp_off = off; in slp_unpackSAAdvert()
85 reply + off, in slp_unpackSAAdvert()
[all …]
/illumos-gate/usr/src/uts/common/io/
H A Ddevinfo.c1068 off = DI_ALIGN(off); in di_checkmem()
1075 ASSERT(off == DI_ALIGN(off)); in di_checkmem()
1167 off, (void *)(dcp->buf + off))); in di_mem_addr()
1322 off = di_checkmem(st, off, size); in di_copy_aliases()
1443 off = di_getlink_data(off, st); in di_snapshot()
1551 pwa.off = off; in build_vhci_list()
1855 off = di_checkmem(st, off, size); in di_copynode()
2031 off = DI_ALIGN(off); in di_copynode()
2793 off = di_checkmem(st, off, size); in di_path_getprop()
2802 off = di_checkmem(st, off, size); in di_path_getprop()
[all …]
/illumos-gate/usr/src/uts/common/io/ntxn/
H A Dunm_nic_hw.c73 #define CRB_BLK(off) ((off >> 20) & 0x3f) argument
74 #define CRB_SUBBLK(off) ((off >> 16) & 0xf) argument
77 #define CRB_HI(off) ((crb_hub_agt[CRB_BLK(off)] << 20) | ((off) & 0xf0000)) argument
421 *off = (*off - UNM_PCI_CAMQM) + UNM_PCI_CAMQM_2M_BASE + in unm_nic_pci_get_crb_addr_2M()
430 end = *off + len; in unm_nic_pci_get_crb_addr_2M()
435 m = &crb_128M_2M_map[CRB_BLK(*off)].sub_block[CRB_SUBBLK(*off)]; in unm_nic_pci_get_crb_addr_2M()
438 *off = *off + m->start_2M - m->start_128M + in unm_nic_pci_get_crb_addr_2M()
472 *off = (*off & MASK(16)) + CRB_INDIRECT_2M + in unm_nic_pci_set_crbwindow_2M()
495 offset = off; in unm_nic_hw_write_ioctl_128M()
764 offset = off; in unm_nic_hw_read_ioctl_128M()
[all …]
H A Dunm_nic.h82 #define ADDR_IN_WINDOW1(off) \ argument
83 ((off > UNM_CRB_PCIX_HOST2) && (off < UNM_CRB_MAX)) ? 1 : 0
109 #define DB_NORMALIZE(adapter, off) \ argument
591 ((adapter)->ahw.pci_base0 + off)
597 #define pci_base_offset(adapter, off) \ argument
605 ((((off) < THIRD_PAGE_GROUP_END) && \
639 u64 off, void *data, int len);
641 u64 off, void *data, int len);
643 u64 off, void *data, int len);
645 u64 off, void *data, int len);
[all …]
/illumos-gate/usr/src/cmd/sgs/libelf/common/
H A Dinput.c77 #define PGNUM(off) ((off % REGSZ) / _elf_pagesize) argument
78 #define REGNUM(off) (off / REGSZ) argument
88 off_t off; in _elf_vm() local
153 SEEK_SET) != off) || in _elf_vm()
158 off += sz; in _elf_vm()
161 off += _elf_pagesize; in _elf_vm()
183 sz = elf->ed_imagesz - off; in _elf_vm()
184 if ((lseek(elf->ed_fd, off, SEEK_SET) != off) || in _elf_vm()
203 if (off == 0) in _elf_inmap()
206 if (off == -1) { in _elf_inmap()
[all …]
/illumos-gate/usr/src/cmd/sendmail/src/
H A Darpadate.c63 register int off; variable
134 off -= 24 * 60;
136 off += 24 * 60;
138 off -= 24 * 60;
140 off += 24 * 60;
143 if (off == 0)
177 if (off < 0)
179 off = -off;
190 off %= 60;
191 *q++ = (off / 10) + '0';
[all …]
/illumos-gate/usr/src/cmd/sgs/elfdump/common/
H A Ddwarf.c707 off = 0; in dump_eh_frame()
708 while (off < datasize) { in dump_eh_frame()
721 if (dwarf_extract_uint(data + off, datasize - off, in dump_eh_frame()
731 off += 4; in dump_eh_frame()
749 if (dwarf_extract_uint(data + off, datasize - off, &ndx, in dump_eh_frame()
785 if (uleb_extract(&data[off], &ndx, datasize - off, in dump_eh_frame()
793 if (sleb_extract(&data[off], &ndx, datasize - off, in dump_eh_frame()
906 off += cielength + 4; in dump_eh_frame()
924 switch (dwarf_ehe_extract(&data[off], datasize - off, in dump_eh_frame()
940 switch (dwarf_ehe_extract(&data[off], datasize - off, in dump_eh_frame()
[all …]
/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) in pci_cfgacc_get8() argument
51 PCI_CFGACC_FILLREQ(req, rcdip, bdf, off, 1, B_FALSE, 0); in pci_cfgacc_get8()
61 PCI_CFGACC_FILLREQ(req, rcdip, bdf, off, 1, B_TRUE, data); in pci_cfgacc_put8()
66 pci_cfgacc_get16(dev_info_t *rcdip, uint16_t bdf, uint16_t off) in pci_cfgacc_get16() argument
70 PCI_CFGACC_FILLREQ(req, rcdip, bdf, off, 2, B_FALSE, 0); in pci_cfgacc_get16()
80 PCI_CFGACC_FILLREQ(req, rcdip, bdf, off, 2, B_TRUE, data); in pci_cfgacc_put16()
85 pci_cfgacc_get32(dev_info_t *rcdip, uint16_t bdf, uint16_t off) in pci_cfgacc_get32() argument
89 PCI_CFGACC_FILLREQ(req, rcdip, bdf, off, 4, B_FALSE, 0); in pci_cfgacc_get32()
99 PCI_CFGACC_FILLREQ(req, rcdip, bdf, off, 4, B_TRUE, data); in pci_cfgacc_put32()
108 PCI_CFGACC_FILLREQ(req, rcdip, bdf, off, 8, B_FALSE, 0); in pci_cfgacc_get64()
[all …]
/illumos-gate/usr/src/uts/common/io/sfxge/
H A Dsfxge_tcp.c78 size_t off; in sfxge_pkthdr_parse() local
87 off = 0; in sfxge_pkthdr_parse()
117 off += etherhs; in sfxge_pkthdr_parse()
120 len = off + sizeof (struct ip); in sfxge_pkthdr_parse()
139 off += iphs; in sfxge_pkthdr_parse()
156 off += ths; in sfxge_pkthdr_parse()
175 off += sizeof (struct udphdr); in sfxge_pkthdr_parse()
194 off += sizeof (struct sctp_hdr); in sfxge_pkthdr_parse()
200 if (MBLKL(mp) < off) in sfxge_pkthdr_parse()
201 (void) pullupmsg(mp, off); in sfxge_pkthdr_parse()
[all …]
/illumos-gate/usr/src/lib/libumem/amd64/
H A Dumem_genasm.c336 bcopy(&off, bp + PTC_MALINIT_SOFF, sizeof (off)); in genasm_malinit()
354 bcopy(&off, bp + PTC_FRINI_SOFF, sizeof (off)); in genasm_frinit()
458 int ii, off; in genasm_malloc() local
478 bp += off; in genasm_malloc()
480 erroff -= off; in genasm_malloc()
484 bp += off; in genasm_malloc()
491 bp += off; in genasm_malloc()
508 int ii, off; in genasm_free() local
528 bp += off; in genasm_free()
534 bp += off; in genasm_free()
[all …]
/illumos-gate/usr/src/lib/libumem/i386/
H A Dumem_genasm.c328 bcopy(&off, bp + PTC_MALINIT_SOFF, sizeof (off)); in genasm_malinit()
346 bcopy(&off, bp + PTC_FRINI_SOFF, sizeof (off)); in genasm_frinit()
448 int ii, off; in genasm_malloc() local
468 bp += off; in genasm_malloc()
470 erroff -= off; in genasm_malloc()
474 bp += off; in genasm_malloc()
481 bp += off; in genasm_malloc()
498 int ii, off; in genasm_free() local
518 bp += off; in genasm_free()
524 bp += off; in genasm_free()
[all …]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dtelldir.c59 off_t off = 0; in telldir() local
65 off = dp->d_off; in telldir()
68 return (off); in telldir()
83 off64_t off = 0; in telldir64() local
99 off = dp64->d_off; in telldir64()
102 return (off); in telldir64()
108 off64_t off; in telldir() local
110 off = telldir64(dirp); in telldir()
115 if ((long)off != off && (uint64_t)off > (uint64_t)UINT32_MAX) { in telldir()
119 return ((long)off); in telldir()
/illumos-gate/usr/src/cmd/sgs/libld/common/
H A Dunwind.c382 uint64_t off = 0; in ld_unwind_make_hdr() local
387 while (off < size) { in ld_unwind_make_hdr()
413 cieversion = data[off + ndx]; in ld_unwind_make_hdr()
420 isp->is_name, off); in ld_unwind_make_hdr()
427 off += length + 4; in ld_unwind_make_hdr()
540 uint64_t off = 0, ujunk; in ld_unwind_populate_hdr() local
556 while (off < size) { in ld_unwind_populate_hdr()
593 cieversion = data[off + ndx]; in ld_unwind_populate_hdr()
630 size - off, &ujunk) == in ld_unwind_populate_hdr()
669 &data[off], size - off, in ld_unwind_populate_hdr()
[all …]
/illumos-gate/usr/src/uts/common/fs/swapfs/
H A Dswap_vnops.c109 offset_t off, in swap_getpage() argument
138 u_offset_t off, in swap_getapage() argument
159 vp, off, len, 0, 0); in swap_getapage()
309 u_offset_t off, in swap_getconpage() argument
478 offset_t off, in swap_putpage() argument
529 eoff = off + len; in swap_putpage()
609 u_offset_t poff, off; in swap_putapage() local
649 off = pp->p_offset; in swap_putapage()
651 doff = off; in swap_putapage()
683 off = arg->a_off; in swap_putapage()
[all …]
/illumos-gate/usr/src/uts/intel/amd64/krtld/
H A Ddoreloc.c238 *((Half *)off) = (Half)(*value); in do_reloc_krtld()
245 UL_ASSIGN_BSWAP_HALF(off, v_bytes); in do_reloc_krtld()
247 UL_ASSIGN_HALF(off, v_bytes); in do_reloc_krtld()
306 *((Word *)off) += *value; in do_reloc_krtld()
313 UL_ASSIGN_BSWAP_WORD(v_bytes, off); in do_reloc_krtld()
315 UL_ASSIGN_BSWAP_WORD(off, v_bytes); in do_reloc_krtld()
317 UL_ASSIGN_WORD(v_bytes, off); in do_reloc_krtld()
319 UL_ASSIGN_WORD(off, v_bytes); in do_reloc_krtld()
328 *((Xword *)off) += *value; in do_reloc_krtld()
339 UL_ASSIGN_XWORD(v_bytes, off); in do_reloc_krtld()
[all …]
/illumos-gate/usr/src/test/net-tests/tests/forwarding/
H A DREADME157 001 off none off off no
158 002 on partial off off no
159 003 on partial on off no
160 004 on fullv4 off off no
161 005 on fullv4 on off no
162 006 off none off on no
165 009 on fullv4 off on no
168 011 off none off off yes
169 012 on partial off off yes
171 014 on fullv4 off off yes
[all …]
/illumos-gate/usr/src/uts/sun4v/os/
H A Dmemseg.c172 u_offset_t off; in memseg_free_meta() local
177 off = (u_offset_t)ptp; in memseg_free_meta()
179 ASSERT(off); in memseg_free_meta()
183 (uint64_t)off, metapgs); in memseg_free_meta()
193 off += PAGESIZE; in memseg_free_meta()
201 u_offset_t off; in memseg_get_metapfn() local
205 ASSERT(off); in memseg_get_metapfn()
208 pp = page_find(&mpvp, off); in memseg_get_metapfn()
224 u_offset_t off; in memseg_remap_meta() local
291 off = (u_offset_t)pp; in memseg_remap_meta()
[all …]
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/
H A Di386_copy.c113 vm_offset_t off; in i386_loadaddr() local
155 off = roundup2(mfp->f_addr + mfp->f_size + 1, in i386_loadaddr()
167 if ((off >= fb_addr && off <= fb_addr + fb_size) || in i386_loadaddr()
168 (off + size >= fb_addr && in i386_loadaddr()
169 off + size <= fb_addr + fb_size)) { in i386_loadaddr()
172 off = roundup2(fb_addr + fb_size + 1, in i386_loadaddr()
176 off = smap_find(smap, smaplen, off, size); in i386_loadaddr()
177 off = addr_verify(fp, off, size); in i386_loadaddr()
178 if (off != 0) in i386_loadaddr()
184 } while (off == 0); in i386_loadaddr()
[all …]
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_nx.c421 *off = (*off & MASK(16)) + CRB_INDIRECT_2M + (uintptr_t)ha->nx_pcibase; in ql_8021_pci_set_crbwindow_2M()
514 if (*off >= UNM_PCI_CAMQM && (*off < UNM_PCI_CAMQM_2M_END)) { in ql_8021_pci_get_crb_addr_2M()
515 *off = (*off - UNM_PCI_CAMQM) + UNM_PCI_CAMQM_2M_BASE + in ql_8021_pci_get_crb_addr_2M()
530 m = &crb_128M_2M_map[CRB_BLK(*off)].sub_block[CRB_SUBBLK(*off)]; in ql_8021_pci_get_crb_addr_2M()
534 *off = (uint64_t)(*off + m->start_2M - m->start_128M + in ql_8021_pci_get_crb_addr_2M()
683 off); in ql_8021_pci_mem_read_direct()
729 off); in ql_8021_pci_mem_write_direct()
773 if (off >= UNM_ADDR_QDR_NET && off <= NX_P3_ADDR_QDR_NET_MAX) { in ql_8021_pci_mem_read_2M()
883 if (off >= UNM_ADDR_QDR_NET && off <= NX_P3_ADDR_QDR_NET_MAX) { in ql_8021_pci_mem_write_2M()
893 off0 = off & 0x7; in ql_8021_pci_mem_write_2M()
[all …]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzfs_rlock.c247 ASSERT3U(off, >, lr->lr_offset); in rangelock_split()
254 rear->lr_offset = off; in rangelock_split()
277 lr->lr_offset = off; in rangelock_new_proxy()
292 uint64_t off = new->lr_offset; in rangelock_add_reader() local
327 if (off < next->lr_offset) { in rangelock_add_reader()
329 rangelock_new_proxy(tree, off, next->lr_offset - off); in rangelock_add_reader()
383 uint64_t off = new->lr_offset; in rangelock_enter_reader() local
458 new->lr_offset = off; in rangelock_enter()
459 if (len + off < off) /* overflow */ in rangelock_enter()
460 len = UINT64_MAX - off; in rangelock_enter()
[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) { in main() local
97 if ((written = pwritev(fd, iov, 1, off)) != DATA_LEN) in main()
98 err(EXIT_FAILURE, "pwritev(0x%lx) failed", off); in main()
101 for (off_t off = 0; off < ONE_GIG * 8; off += ONE_GIG) { in main() local
102 if ((read = preadv(fd, iov, 1, off)) != DATA_LEN) in main()
103 err(EXIT_FAILURE, "preadv(0x%lx) failed", off); in main()
105 errx(EXIT_FAILURE, "bad read at 0x%lx", off); in main()
/illumos-gate/usr/src/uts/i86xpv/os/
H A Dxen_mmu.c142 offset_t off; in xen_relocate_start_info() local
159 for (off = 0; off < sz; off += MMU_PAGESIZE) { in xen_relocate_start_info()
161 (caddr_t)xen_info + off))); in xen_relocate_start_info()
162 kbm_map_ma(mach_addr + off, addr + off, 0); in xen_relocate_start_info()
167 for (off = 0; off < sz; off += MMU_PAGESIZE) in xen_relocate_start_info()
168 kbm_unmap(old + off); in xen_relocate_start_info()
176 for (off = 0; off < sz; off += MMU_PAGESIZE) { in xen_relocate_start_info()
185 for (off = 0; off < sz; off += MMU_PAGESIZE) in xen_relocate_start_info()
186 kbm_unmap(old + off); in xen_relocate_start_info()
197 for (off = 0; off < sz; off += MMU_PAGESIZE) { in xen_relocate_start_info()
[all …]
/illumos-gate/usr/src/cmd/sendmail/db/xa/
H A Dxa.c169 size_t off; local
234 size_t off; local
246 if (off != txn->off)
287 size_t off; local
315 __xa_txn_init(env, td, off);
339 size_t off; local
556 size_t off; local
605 size_t off; local
651 __xa_txn_init(env, td, off) in __xa_txn_init() argument
654 size_t off;
[all …]

12345678910>>...61