/titanic_51/usr/src/uts/sun4u/io/px/ |
H A D | px_csr.h | 37 #define CSR_XR(base, off) \ argument 38 (*(volatile uint64_t *)((base) + ((off)))) 40 #define CSRA_XR(base, off, index) \ argument 41 (*(volatile uint64_t *)((base) + ((off) + ((index) * 8)))) 43 #define CSR_XS(base, off, val) \ argument 44 ((*(volatile uint64_t *)((base) + ((off)))) = (val)) 46 #define CSRA_XS(base, off, index, val) \ argument 47 ((*(volatile uint64_t *)((base) + ((off) + ((index) * 8)))) = (val)) 50 #define CSR_FR(base, off, bit) \ argument 51 (((*(volatile uint64_t *) ((base) + ((off)))) >> \ 54 CSRA_FR(base,off,index,bit) global() argument 58 CSR_FS(base,off,bit,val) global() argument 64 CSRA_FS(base,off,index,bit,val) global() argument 70 CSR_FC(base,off,bit) global() argument 75 CSRA_FC(base,off,index,bit) global() argument 81 CSR_BR(base,off,bit) global() argument 85 CSRA_BR(base,off,index,bit) global() argument 89 CSR_BS(base,off,bit) global() argument 94 CSRA_BS(base,off,index,bit) global() argument 99 CSR_BC(base,off,bit) global() argument 104 CSRA_BC(base,off,index,bit) global() argument [all...] |
/titanic_51/usr/src/lib/libslp/clib/ |
H A D | DAAdvert.c | 42 size_t len, off; in slp_unpackDAAdvert() local 53 off = SLP_HDRLEN + slp_get_langlen(reply); in slp_unpackDAAdvert() 55 if ((err = slp_get_sht(reply, len, &off, &protoErrCode)) != SLP_OK) in slp_unpackDAAdvert() 64 iov[0].iov_base = reply + off; in slp_unpackDAAdvert() 65 tmp_off = off; in slp_unpackDAAdvert() 66 if ((err = slp_get_sht(reply, len, &off, &dummy)) != SLP_OK) { in slp_unpackDAAdvert() 69 if ((err = slp_get_sht(reply, len, &off, &dummy)) != SLP_OK) { in slp_unpackDAAdvert() 72 iov[0].iov_len = off - tmp_off; in slp_unpackDAAdvert() 75 iov[1].iov_base = reply + off; in slp_unpackDAAdvert() 76 tmp_off = off; in slp_unpackDAAdvert() [all...] |
H A D | SAAdvert.c | 43 size_t off, len; in slp_unpackSAAdvert() local 53 off = SLP_HDRLEN + slp_get_langlen(reply); in slp_unpackSAAdvert() 56 iov[0].iov_base = reply + off; in slp_unpackSAAdvert() 57 tmp_off = off; in slp_unpackSAAdvert() 58 if ((err = slp_get_string(reply, len, &off, surl)) != SLP_OK) { 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() 66 if ((err = slp_get_string(reply, len, &off, scopes)) != SLP_OK) { in slp_unpackSAAdvert() 69 iov[2].iov_len = off in slp_unpackSAAdvert() [all...] |
/titanic_51/usr/src/uts/common/io/ |
H A D | devinfo.c | 291 di_off_t off; member 591 di_off_t off; in di_ioctl() local 695 off = 0; in di_ioctl() 703 if (ddi_copyout(di_mem_addr(st, off), in di_ioctl() 704 (void *)(arg + off), size, mode) != 0) { in di_ioctl() 710 off += size; in di_ioctl() 749 off = di_checkmem(st, 0, size); in di_ioctl() 751 off += sizeof (struct di_all); /* real length of di_all */ in di_ioctl() 776 off += size; /* real length of root_path */ in di_ioctl() 818 if ((off in di_ioctl() 1052 di_checkmem(struct di_state * st,di_off_t off,size_t size) di_checkmem() argument 1084 di_copyformat(di_off_t off,struct di_state * st,intptr_t arg,int mode) di_copyformat() argument 1152 di_mem_addr(struct di_state * st,di_off_t off) di_mem_addr() argument 1301 di_off_t off; di_copy_aliases() local 1342 di_off_t off; di_snapshot() local 1486 di_off_t off; di_snapshot_and_clean() local 1521 di_off_t off; build_vhci_list() local 1567 di_off_t off; build_phci_list() local 1606 di_off_t off; snap_driver_list() local 1640 di_off_t off; di_copydevnm() local 1733 di_off_t off; di_copytree() local 1782 di_off_t off; di_copynode() local 2452 di_getlink_data(di_off_t off,struct di_state * st) di_getlink_data() argument 2522 di_off_t off; di_getmdata() local 2583 di_register_dip(struct di_state * st,dev_info_t * dip,di_off_t off) di_register_dip() argument 2652 di_register_pip(struct di_state * st,mdi_pathinfo_t * pip,di_off_t off) di_register_pip() argument 2757 int off; di_path_getprop() local 2882 di_off_t off; di_getpath_data() local 3044 di_getprop_add(int list,int dyn,struct di_state * st,struct dev_info * dip,int (* prop_op)(),char * name,dev_t devt,int aflags,int alen,caddr_t aval,di_off_t off,di_off_t ** off_pp) di_getprop_add() argument 3173 int off; di_getprop() local 3384 di_off_t off, off0, *tmp; di_getprvdata() local 3507 int off; di_getppdata() local 3529 int off; di_getdpdata() local 3555 di_off_t off; di_gethpdata() local 3718 chunk_write(struct vnode * vp,offset_t off,caddr_t buf,size_t len) chunk_write() argument 3761 offset_t off; di_cache_write() local 3918 offset_t off; di_cache_read() local 4260 di_off_t off; di_hotplug_children() local [all...] |
/titanic_51/usr/src/cmd/sgs/libelf/common/ |
H A D | input.c | 81 #define PGNUM(off) ((off % REGSZ) / _elf_pagesize) argument 82 #define REGNUM(off) (off / REGSZ) argument 93 off_t off; in _elf_vm() local 128 off = base - base % _elf_pagesize; in _elf_vm() 151 iop = (Elf_Void *)(elf->ed_image + off); in _elf_vm() 155 if (elf->ed_imagesz - off < sz) in _elf_vm() 156 sz = elf->ed_imagesz - off; in _elf_vm() 157 if ((lseek(elf->ed_fd, off, in _elf_vm() 206 register off_t off = lseek(fd, (off_t)0, SEEK_END); _elf_inmap() local [all...] |
H A D | rand.c | 34 elf_rand(Elf * elf, size_t off) in elf_rand() argument 44 if ((off == 0) || (elf->ed_fsz < off)) { in elf_rand() 49 elf->ed_nextoff = off; in elf_rand() 51 return (off); in elf_rand() 62 size_t off; in _elf_getnextoff() local 72 off = elf->ed_nextoff; in _elf_getnextoff() 74 return (off); in _elf_getnextoff()
|
H A D | strptr.c | 38 elf_strptr(Elf * elf, size_t ndx, size_t off) in elf_strptr() argument 85 if ((off >= d->d_off) && in elf_strptr() 86 (off < d->d_off + d->d_size)) { in elf_strptr() 87 rc = (char *)d->d_buf + off - d->d_off; in elf_strptr() 98 if (off < j) in elf_strptr() 100 off -= j; in elf_strptr() 103 if (off < d->d_size) { in elf_strptr() 104 rc = (char *)d->d_buf + off; in elf_strptr() 110 if (off < d->d_size) in elf_strptr() 112 off in elf_strptr() [all...] |
/titanic_51/usr/src/uts/common/io/ntxn/ |
H A D | unm_nic_hw.c | 69 #define CRB_BLK(off) ((off >> 20) & 0x3f) argument 70 #define CRB_SUBBLK(off) ((off >> 16) & 0xf) argument 73 #define CRB_HI(off) ((crb_hub_agt[CRB_BLK(off)] << 20) | ((off) & 0xf0000)) argument 399 * Return -1 if off is not valid, 400 * 1 if window access is needed. 'off' is set to offset from 402 * 0 if no window access is needed. 'off' i 406 unm_nic_pci_get_crb_addr_2M(unm_adapter * adapter,u64 * off,int len) unm_nic_pci_get_crb_addr_2M() argument 449 unm_nic_pci_set_crbwindow_2M(unm_adapter * adapter,u64 * off) unm_nic_pci_set_crbwindow_2M() argument 472 unm_nic_hw_write_ioctl_128M(unm_adapter * adapter,u64 off,void * data,int len) unm_nic_hw_write_ioctl_128M() argument 534 unm_nic_hw_write_wx_128M(unm_adapter * adapter,u64 off,void * data,int len) unm_nic_hw_write_wx_128M() argument 600 unm_nic_pci_write_normalize_128M(unm_adapter * adapter,u64 off,u32 data) unm_nic_pci_write_normalize_128M() argument 609 unm_nic_pci_read_normalize_128M(unm_adapter * adapter,u64 off) unm_nic_pci_read_normalize_128M() argument 618 unm_nic_pci_write_immediate_128M(unm_adapter * adapter,u64 off,u32 * data) unm_nic_pci_write_immediate_128M() argument 629 unm_nic_pci_read_immediate_128M(unm_adapter * adapter,u64 off,u32 * data) unm_nic_pci_read_immediate_128M() argument 640 unm_nic_pci_write_normalize_2M(unm_adapter * adapter,u64 off,u32 data) unm_nic_pci_write_normalize_2M() argument 651 unm_nic_pci_read_normalize_2M(unm_adapter * adapter,u64 off) unm_nic_pci_read_normalize_2M() argument 664 unm_nic_pci_write_immediate_2M(unm_adapter * adapter,u64 off,u32 * data) unm_nic_pci_write_immediate_2M() argument 677 unm_nic_pci_read_immediate_2M(unm_adapter * adapter,u64 off,u32 * data) unm_nic_pci_read_immediate_2M() argument 693 unm_nic_hw_write_wx_2M(unm_adapter * adapter,u64 off,void * data,int len) unm_nic_hw_write_wx_2M() argument 742 unm_nic_hw_read_ioctl_128M(unm_adapter * adapter,u64 off,void * data,int len) unm_nic_hw_read_ioctl_128M() argument 802 unm_nic_hw_read_wx_2M(unm_adapter * adapter,u64 off,void * data,int len) unm_nic_hw_read_wx_2M() argument 852 unm_nic_hw_read_wx_128M(unm_adapter * adapter,u64 off,void * data,int len) unm_nic_hw_read_wx_128M() argument 1109 unm_nic_pci_mem_read_direct(struct unm_adapter_s * adapter,u64 off,void * data,int size) unm_nic_pci_mem_read_direct() argument 1172 unm_nic_pci_mem_write_direct(struct unm_adapter_s * adapter,u64 off,void * data,int size) unm_nic_pci_mem_write_direct() argument 1236 unm_nic_pci_mem_write_128M(struct unm_adapter_s * adapter,u64 off,void * data,int size) unm_nic_pci_mem_write_128M() argument 1329 unm_nic_pci_mem_read_128M(struct unm_adapter_s * adapter,u64 off,void * data,int size) unm_nic_pci_mem_read_128M() argument 1422 unm_nic_pci_mem_write_2M(struct unm_adapter_s * adapter,u64 off,void * data,int size) unm_nic_pci_mem_write_2M() argument 1526 unm_nic_pci_mem_read_2M(struct unm_adapter_s * adapter,u64 off,void * data,int size) unm_nic_pci_mem_read_2M() argument 1627 unm_crb_writelit_adapter_2M(struct unm_adapter_s * adapter,unsigned long off,int data) unm_crb_writelit_adapter_2M() argument 1634 unm_crb_writelit_adapter_128M(struct unm_adapter_s * adapter,unsigned long off,int data) unm_crb_writelit_adapter_128M() argument 1994 unm_crb_write_adapter(unsigned long off,void * data,struct unm_adapter_s * adapter) unm_crb_write_adapter() argument 2001 unm_crb_read_adapter(unsigned long off,void * data,struct unm_adapter_s * adapter) unm_crb_read_adapter() argument 2008 unm_crb_read_val_adapter(unsigned long off,struct unm_adapter_s * adapter) unm_crb_read_val_adapter() argument [all...] |
H A D | unm_nic.h | 82 #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 110 (void *)((unsigned long)adapter->ahw.db_base + (off)) 590 #define PCI_OFFSET_FIRST_RANGE(adapter, off) \ argument 591 ((adapter)->ahw.pci_base0 + off) 592 #define PCI_OFFSET_SECOND_RANGE(adapter, off) \ argument 593 ((adapter)->ahw.pci_base1 + off - SECOND_PAGE_GROUP_START) 594 #define PCI_OFFSET_THIRD_RANGE(adapter, off) \ argument 597 pci_base_offset(adapter,off) global() argument [all...] |
/titanic_51/usr/src/cmd/sendmail/src/ |
H A D | arpadate.c | 63 register int off; variable 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...] |
/titanic_51/usr/src/cmd/sgs/elfdump/common/ |
H A D | dwarf.c | 188 * off - Offset of current FDE within eh_frame 206 dump_cfi(uchar_t *data, uint64_t off, uint64_t *ndx, uint_t len, in dump_cfi() argument 265 op = data[off + (*ndx)++]; in dump_cfi() 277 if (uleb_extract(&data[off], ndx, len, &oper1) == in dump_cfi() 309 (*ndx < len) && (data[off + *ndx] == 0); in dump_cfi() 322 switch (dwarf_ehe_extract(&data[off], len, ndx, in dump_cfi() 324 state->sh_addr, off + *ndx, state->gotaddr)) { in dump_cfi() 352 switch (dwarf_extract_uint(data + off, len, in dump_cfi() 375 case 0x05: /* v2: DW_CFA_offset_extended,reg,off */ in dump_cfi() 376 if (uleb_extract(&data[off], nd in dump_cfi() 691 uint64_t off, ndx, length, id; dump_eh_frame() local [all...] |
/titanic_51/usr/src/uts/common/io/pciex/ |
H A D | pci_cfgacc.c | 47 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() 57 pci_cfgacc_put8(dev_info_t *rcdip, uint16_t bdf, uint16_t off, uint8_t data) in pci_cfgacc_put8() argument 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() 76 pci_cfgacc_put16(dev_info_t *rcdip, uint16_t bdf, uint16_t off, uint16_t data) in pci_cfgacc_put16() argument 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, in pci_cfgacc_get32() 95 pci_cfgacc_put32(dev_info_t * rcdip,uint16_t bdf,uint16_t off,uint32_t data) pci_cfgacc_put32() argument 104 pci_cfgacc_get64(dev_info_t * rcdip,uint16_t bdf,uint16_t off) pci_cfgacc_get64() argument 114 pci_cfgacc_put64(dev_info_t * rcdip,uint16_t bdf,uint16_t off,uint64_t data) pci_cfgacc_put64() argument [all...] |
/titanic_51/usr/src/uts/intel/amd64/krtld/ |
H A D | doreloc.c | 189 do_reloc_krtld(uchar_t rtype, uchar_t *off, Xword *value, const char *sym, in do_reloc_krtld() argument 194 do_reloc_ld(Rel_desc *rdesc, uchar_t *off, Xword *value, in do_reloc_krtld() 199 do_reloc_rtld(uchar_t rtype, uchar_t *off, Xword *value, const char *sym, in do_reloc_krtld() 214 *((uchar_t *)off) = (uchar_t)(*value); in do_reloc_krtld() 220 *((Half *)off) = (Half)(*value); in do_reloc_krtld() 227 UL_ASSIGN_BSWAP_HALF(off, v_bytes); in do_reloc_krtld() 229 UL_ASSIGN_HALF(off, v_bytes); in do_reloc_krtld() 285 *((Word *)off) += *value; in do_reloc_krtld() 292 UL_ASSIGN_BSWAP_WORD(v_bytes, off); in do_reloc_krtld() 294 UL_ASSIGN_BSWAP_WORD(off, v_byte in do_reloc_krtld() [all...] |
/titanic_51/usr/src/lib/libumem/i386/ |
H A D | umem_genasm.c | 308 * Construct the initial part of malloc. off contains the offset from curthread 313 genasm_malinit(uint8_t *bp, uint32_t off, uint32_t ep, uint32_t csize) in genasm_malinit() argument 323 bcopy(&off, bp + PTC_MALINIT_SOFF, sizeof (off)); in genasm_malinit() 329 genasm_frinit(uint8_t *bp, uint32_t off, uint32_t dp, uint32_t ep, uint32_t mc) in genasm_frinit() argument 341 bcopy(&off, bp + PTC_FRINI_SOFF, sizeof (off)); in genasm_frinit() 443 int ii, off; in genasm_malloc() local 461 off = genasm_malinit(bp, umem_tmem_off, erroff, in genasm_malloc() 463 bp += off; in genasm_malloc() 493 int ii, off; genasm_free() local [all...] |
/titanic_51/usr/src/lib/libumem/amd64/ |
H A D | umem_genasm.c | 315 * Construct the initial part of malloc. off contains the offset from curthread 320 genasm_malinit(uint8_t *bp, uint32_t off, uint32_t ep, uint32_t csize) in genasm_malinit() argument 330 bcopy(&off, bp + PTC_MALINIT_SOFF, sizeof (off)); in genasm_malinit() 336 genasm_frinit(uint8_t *bp, uint32_t off, uint32_t dp, uint32_t ep, uint32_t mcs) in genasm_frinit() argument 348 bcopy(&off, bp + PTC_FRINI_SOFF, sizeof (off)); in genasm_frinit() 452 int ii, off; in genasm_malloc() local 470 off = genasm_malinit(bp, umem_tmem_off, erroff, in genasm_malloc() 472 bp += off; in genasm_malloc() 502 int ii, off; genasm_free() local [all...] |
/titanic_51/usr/src/lib/libc/port/gen/ |
H A D | telldir.c | 59 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 in telldir() [all...] |
/titanic_51/usr/src/uts/intel/ia32/krtld/ |
H A D | doreloc.c | 187 do_reloc_krtld(uchar_t rtype, uchar_t *off, Xword *value, const char *sym, in do_reloc_krtld() argument 192 do_reloc_ld(Rel_desc *rdesc, uchar_t *off, Xword *value, in do_reloc_krtld() 197 do_reloc_rtld(uchar_t rtype, uchar_t *off, Xword *value, const char *sym, in do_reloc_krtld() 212 *((uchar_t *)off) += (uchar_t)(*value); in do_reloc_krtld() 218 *((Half *)off) += (Half)(*value); in do_reloc_krtld() 225 UL_ASSIGN_BSWAP_HALF(v_bytes, off); in do_reloc_krtld() 227 UL_ASSIGN_BSWAP_HALF(off, v_bytes); in do_reloc_krtld() 229 UL_ASSIGN_HALF(v_bytes, off); in do_reloc_krtld() 231 UL_ASSIGN_HALF(off, v_bytes); in do_reloc_krtld() 240 *((Xword *)off) in do_reloc_krtld() [all...] |
/titanic_51/usr/src/cmd/sgs/libld/common/ |
H A D | unwind.c | 382 uint64_t off = 0; in ld_unwind_make_hdr() local 387 while (off < size) { in ld_unwind_make_hdr() 397 length = extract_uint(data + off, &ndx, bswap); in ld_unwind_make_hdr() 404 id = extract_uint(data + off, &ndx, bswap); 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() 565 length = extract_uint(data + off, in ld_unwind_populate_hdr() [all...] |
/titanic_51/usr/src/uts/common/fs/zfs/ |
H A D | zfs_rlock.c | 37 * rl = zfs_range_lock(zp, off, len, lock_type); 39 * zfs_range_reduce(rl, off, len); 110 uint64_t off = new->r_off; in zfs_range_lock_writer() local 181 new->r_off = off; in zfs_range_lock_writer() 223 zfs_range_split(avl_tree_t *tree, rl_t *rl, uint64_t off) in zfs_range_split() argument 228 ASSERT3U(off, >, rl->r_off); in zfs_range_split() 229 ASSERT3U(off, <, rl->r_off + rl->r_len); in zfs_range_split() 235 rear->r_off = off; in zfs_range_split() 236 rear->r_len = rl->r_off + rl->r_len - off; in zfs_range_split() 244 front->r_len = off in zfs_range_split() 254 zfs_range_new_proxy(avl_tree_t * tree,uint64_t off,uint64_t len) zfs_range_new_proxy() argument 274 uint64_t off = new->r_off; zfs_range_add_reader() local 361 uint64_t off = new->r_off; zfs_range_lock_reader() local 426 zfs_range_lock(znode_t * zp,uint64_t off,uint64_t len,rl_type_t type) zfs_range_lock() argument 568 zfs_range_reduce(rl_t * rl,uint64_t off,uint64_t len) zfs_range_reduce() argument [all...] |
/titanic_51/usr/src/uts/common/fs/swapfs/ |
H A D | swap_vnops.c | 55 static int swap_getpage(struct vnode *vp, offset_t off, size_t len, 58 static int swap_putpage(struct vnode *vp, offset_t off, size_t len, 65 static int swap_getapage(struct vnode *vp, u_offset_t off, size_t len, 69 int swap_getconpage(struct vnode *vp, u_offset_t off, size_t len, 74 static int swap_putapage(struct vnode *vp, page_t *pp, u_offset_t *off, 103 * Return all the pages from [off..off+len] in given file 109 offset_t off, in swap_getpage() argument 120 SWAPFS_PRINT(SWAP_VOPS, "swap_getpage: vp %p, off %llx, len %lx\n", in swap_getpage() 121 (void *)vp, off, le in swap_getpage() 138 swap_getapage(struct vnode * vp,u_offset_t off,size_t len,uint_t * protp,page_t * pl[],size_t plsz,struct seg * seg,caddr_t addr,enum seg_rw rw,struct cred * cr) swap_getapage() argument 309 swap_getconpage(struct vnode * vp,u_offset_t off,size_t len,uint_t * protp,page_t * pl[],size_t plsz,page_t * conpp,uint_t * pszc,spgcnt_t * nreloc,struct seg * seg,caddr_t addr,enum seg_rw rw,struct cred * cr) swap_getconpage() argument 478 swap_putpage(struct vnode * vp,offset_t off,size_t len,int flags,struct cred * cr,caller_context_t * ct) swap_putpage() argument 609 u_offset_t poff, off; swap_putapage() local 762 u_offset_t off = pp->p_offset; swap_dispose() local [all...] |
/titanic_51/usr/src/uts/sun4v/os/ |
H A D | memseg.c | 172 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() 180 ASSERT(IS_P2ALIGNED((uint64_t)off, PAGESIZE)); in memseg_free_meta() 182 MEMSEG_DEBUG("memseg_free_meta: off=0x%lx metapgs=0x%lx\n", in memseg_free_meta() 183 (uint64_t)off, metapgs); in memseg_free_meta() 188 pp = page_find(&mpvp, off); in memseg_free_meta() 193 off += PAGESIZE; in memseg_free_meta() 201 u_offset_t off; in memseg_get_metapfn() local 203 off in memseg_get_metapfn() 224 u_offset_t off; memseg_remap_meta() local [all...] |
/titanic_51/usr/src/uts/common/io/fibre-channel/fca/qlc/ |
H A D | ql_nx.c | 327 ql_8021_pci_base_offsetfset(ql_adapter_state_t *ha, uint64_t off) in ql_8021_pci_base_offsetfset() argument 329 if ((off < ha->first_page_group_end) && in ql_8021_pci_base_offsetfset() 330 (off >= ha->first_page_group_start)) { in ql_8021_pci_base_offsetfset() 331 return ((void *)(ha->nx_pcibase + off)); in ql_8021_pci_base_offsetfset() 400 * In: 'off' is offset from CRB space in 128M pci map 401 * Out: 'off' is 2M pci map addr 405 ql_8021_pci_set_crbwindow_2M(ql_adapter_state_t *ha, uint64_t *off) in ql_8021_pci_set_crbwindow_2M() argument 409 ha->crb_win = (uint32_t)CRB_HI(*off); in ql_8021_pci_set_crbwindow_2M() 419 "off=0x%llx\n", ha->crb_win, win_read, *off); in ql_8021_pci_set_crbwindow_2M() 425 ql_8021_wr_32(ql_adapter_state_t * ha,uint64_t off,uint32_t data) ql_8021_wr_32() argument 447 ql_8021_rd_32(ql_adapter_state_t * ha,uint64_t off,uint32_t * data) ql_8021_rd_32() argument 505 ql_8021_pci_get_crb_addr_2M(ql_adapter_state_t * ha,uint64_t * off) ql_8021_pci_get_crb_addr_2M() argument 669 ql_8021_pci_mem_read_direct(ql_adapter_state_t * ha,uint64_t off,void * data,uint32_t size) ql_8021_pci_mem_read_direct() argument 715 ql_8021_pci_mem_write_direct(ql_adapter_state_t * ha,uint64_t off,void * data,uint32_t size) ql_8021_pci_mem_write_direct() argument 761 ql_8021_pci_mem_read_2M(ql_adapter_state_t * ha,uint64_t off,void * data,uint32_t size) ql_8021_pci_mem_read_2M() argument 872 ql_8021_pci_mem_write_2M(ql_adapter_state_t * ha,uint64_t off,void * data,uint32_t size) ql_8021_pci_mem_write_2M() argument 1375 uint32_t offset, off, i, n, addr, val; ql_8021_pinit_from_rom() local [all...] |
/titanic_51/usr/src/uts/i86xpv/os/ |
H A D | xen_mmu.c | 142 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 in xen_relocate_start_info() [all...] |
/titanic_51/usr/src/cmd/sendmail/db/xa/ |
H A D | xa.c | 10 /* XXX Remove the global transaction and hang it off the environment. */ 169 size_t off; local 185 is_known = __db_xid_to_txn(env, xid, &off) == 0; 199 td = (TXN_DETAIL *)((u_int8_t *)env->tx_info->region + off); 208 __xa_txn_init(env, td, off); 213 (void)__db_map_xid(env, xid, env->xa_txn->off); 215 ((u_int8_t *)env->tx_info->region + env->xa_txn->off); 234 size_t off; local 242 if (__db_xid_to_txn(env, xid, &off) != 0) 246 if (off ! 287 size_t off; global() local 339 size_t off; global() local 556 size_t off; global() local 605 size_t off; global() local 651 __xa_txn_init(env,td,off) __xa_txn_init() argument [all...] |
/titanic_51/usr/src/uts/common/syscall/ |
H A D | lseek.c | 77 lseek32_common(file_t *fp, int stype, offset_t off, offset_t max, in lseek32_common() argument 94 noff = (u_offset_t)off; in lseek32_common() 102 if (reg && off > (max - curoff)) { in lseek32_common() 106 noff = (u_offset_t)(off + curoff); in lseek32_common() 118 if (reg && (off > (max - (offset_t)vattr.va_size))) { in lseek32_common() 122 noff = (u_offset_t)(off + (offset_t)vattr.va_size); in lseek32_common() 132 * data past "off" in lseek32_common() 134 noff = (u_offset_t)off; in lseek32_common() 142 * "off" is not past the end of file in lseek32_common() 161 * hole past "off" in lseek32_common() 206 lseek32(int32_t fdes,off32_t off,int32_t stype) lseek32() argument 250 offset_t off = ((u_offset_t)off2 << 32) | (u_offset_t)off1; llseek32() local 252 offset_t off = ((u_offset_t)off1 << 32) | (u_offset_t)off2; llseek32() local 274 lseek64(int fdes,off_t off,int stype) lseek64() argument [all...] |