/illumos-gate/usr/src/cmd/mdb/common/modules/pmcs/ |
H A D | pmcs.c | 197 uintptr_t dam0; in display_iport_damap() 198 uintptr_t dam1; in display_iport_damap() 373 uintptr_t list_addr; in pmcs_iport_walk_cb() 455 uintptr_t list_addr; in display_iport() 943 uintptr_t _wp; in display_work() 1527 uintptr_t _wp, _phy; in get_devid_from_ob_iomb() 1734 uintptr_t obqp; in display_outbound_queues() 1867 uintptr_t ibqp; in display_inbound_queues() 2083 uintptr_t tphyp = (uintptr_t)phyp; in display_phy() 2562 uintptr_t _wp; in display_matching_work() [all …]
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | libproc.h | 189 uintptr_t, void *); 191 uintptr_t, void *); 286 extern int Psetbkpt(struct ps_prochandle *, uintptr_t, ulong_t *); 287 extern int Pdelbkpt(struct ps_prochandle *, uintptr_t, ulong_t); 531 uintptr_t, char *, size_t, GElf_Sym *); 545 uintptr_t, char *, size_t, GElf_Sym *, prsyminfo_t *); 547 uintptr_t, char *, size_t, GElf_Sym *, prsyminfo_t *); 568 extern ctf_file_t *Paddr_to_ctf(struct ps_prochandle *, uintptr_t); 580 extern int Plmid(struct ps_prochandle *, uintptr_t, Lmid_t *); 667 extern const char *Ppltdest(struct ps_prochandle *, uintptr_t); [all …]
|
H A D | Pisadep.h | 52 extern int Pissyscall(struct ps_prochandle *, uintptr_t); 81 extern uintptr_t Psyscall_setup(struct ps_prochandle *, int, int, uintptr_t); 87 uintptr_t); 93 uintptr_t);
|
/illumos-gate/usr/src/uts/sun4u/vm/ |
H A D | mach_vm_dep.c | 189 uintptr_t align_amount; in map_addr_proc() 224 ((uintptr_t)*addrp) != 0)) { in map_addr_proc() 248 if ((flags & MAP_ALIGN) && ((uintptr_t)*addrp != 0) && in map_addr_proc() 249 ((uintptr_t)*addrp < align_amount)) in map_addr_proc() 250 align_amount = (uintptr_t)*addrp; in map_addr_proc() 263 if ((flags & MAP_ALIGN) && ((uintptr_t)*addrp > align_amount)) { in map_addr_proc() 264 align_amount = (uintptr_t)*addrp; in map_addr_proc() 294 addr = (caddr_t)((uintptr_t)addr & (~(align_amount - 1l))); in map_addr_proc() 324 ASSERT(((uintptr_t)addr & (align_amount - 1l)) == in map_addr_proc() 325 ((uintptr_t)(off))); in map_addr_proc()
|
/illumos-gate/usr/src/cmd/mdb/intel/modules/xhci/ |
H A D | xhci.c | 422 xhci_mdb_print_trb(uintptr_t addr, uint_t flags, int argc, in xhci_mdb_print_trb() 479 uintptr_t addr; in xhci_mdb_walk_xhci_init() 521 uintptr_t addr; in xhci_mdb_walk_xhci_device_init() 531 wsp->walk_addr = (uintptr_t)addr; in xhci_mdb_walk_xhci_device_init() 581 uintptr_t addr; in xhci_mdb_walk_xhci_endpoint_step() 609 uintptr_t xmf_addr; 656 xhci_mdb_find(uintptr_t addr, uint_t flags, int argc, in xhci_mdb_find() 659 uintptr_t ep, slot; in xhci_mdb_find() 769 (uintptr_t)ud.usb_mfg_str) <= 0) { in xhci_mdb_print_device() 774 (uintptr_t)ud.usb_product_str) <= 0) { in xhci_mdb_print_device() [all …]
|
/illumos-gate/usr/src/uts/sparc/dtrace/ |
H A D | dtrace_isa.c | 67 extern int dtrace_fish(int, int, uintptr_t *); 147 pcstack[depth++] = (pc_t)(uintptr_t)pc; in dtrace_getpcstack() 366 uintptr_t oldsp; in dtrace_getustack_common() 376 uintptr_t pc; in dtrace_getustack_common() 455 uintptr_t sp; in dtrace_getupcstack() 517 uintptr_t sp; in dtrace_getustackdepth() 549 uintptr_t sp; in dtrace_getufpstack() 592 uintptr_t pc; in dtrace_getufpstack() 596 ((uintptr_t)&fr->fr_savfp & 3) != 0) in dtrace_getufpstack() 646 uintptr_t val; in dtrace_getarg() [all …]
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | lgrpsys.c | 68 uintptr_t vaddr; in meminfo() 93 minfo.mi_inaddr = (const uint64_t *)(uintptr_t) in meminfo() 95 minfo.mi_info_req = (const uint_t *)(uintptr_t) in meminfo() 98 minfo.mi_outdata = (uint64_t *)(uintptr_t) in meminfo() 100 minfo.mi_validity = (uint_t *)(uintptr_t) in meminfo() 198 vaddr = (uintptr_t)(addr & ~PAGEOFFSET); in meminfo() 1397 lgrp_snap->ss_magic = (uintptr_t)lgrp_snap; in lgrp_snapshot() 1462 (ulong_t *)((uintptr_t)lgrp_rsets + in lgrp_snapshot() 1752 (ulong_t *)((uintptr_t)user_rsets + in lgrp_snapshot_copy() 1993 rset = (uint_t *)((uintptr_t)lgrp_rset + in lgrp_snapshot_copy32() [all …]
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/uctf/ |
H A D | tst.chasestrings.ksh | 47 copyinstr((uintptr_t)this->t->zi_gamename), this->t->zi_ndungeons, 48 copyinstr((uintptr_t)this->t->zi_villain), this->t->zi_haszelda); 57 copyinstr((uintptr_t)this->t->zi_gamename), this->t->zi_ndungeons, 58 copyinstr((uintptr_t)this->t->zi_villain), this->t->zi_haszelda); 67 copyinstr((uintptr_t)this->t->zi_gamename), this->t->zi_ndungeons, 68 copyinstr((uintptr_t)this->t->zi_villain), this->t->zi_haszelda);
|
/illumos-gate/usr/src/uts/i86pc/sys/ |
H A D | fastboot.h | 113 uintptr_t fb_va; /* virtual address */ 117 uintptr_t fb_dest_pa; /* destination PA */ 119 uintptr_t fb_next_pa; 136 uintptr_t fi_pagetable_va; 141 uintptr_t fi_next_table_va; 148 uintptr_t fi_new_mbi_va; /* new multiboot info VA */
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | contract.c | 89 cmd_contract(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) in cmd_contract() 111 if (mdb_vread(&ctt, sizeof (ctt), (uintptr_t)ct.ct_type) != in cmd_contract() 116 if (mdb_readstr(str, sizeof (str), (uintptr_t)ctt.ct_type_name) == -1) { in cmd_contract() 141 cmd_ctevent(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) in cmd_ctevent() 165 uintptr_t fc_ctid; 166 uintptr_t fc_addr; 171 findct(uintptr_t addr, contract_t *ct, findct_data_t *arg) in findct() 184 cmd_ctid(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) in cmd_ctid()
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | grow.c | 251 nva = (caddr_t)P2ROUNDUP((uintptr_t)nva, pgsz); in brk_internal() 431 uintptr_t new_start; in grow_internal() 438 sp = (caddr_t)P2ALIGN((uintptr_t)sp, PAGESIZE); in grow_internal() 549 caddr_t basep = (caddr_t)(uintptr_t)((uintptr_t)*addrp & PAGEMASK); in choose_addr() 595 if (((uintptr_t)*addrp & PAGEOFFSET) != 0) in zmap() 701 if (((uintptr_t)*addrp < PAGESIZE && (uintptr_t)*addrp != 0) || in smmap_common() 702 !ISP2((uintptr_t)*addrp)) in smmap_common() 781 if (((uintptr_t)*addrp & PAGEOFFSET) != 0) in smmap_common() 897 caddr_t a = (caddr_t)(uintptr_t)addr; in smmap32() 911 ASSERT(error != 0 || (uintptr_t)(a + len) < (uintptr_t)UINT32_MAX); in smmap32() [all …]
|
H A D | rwlock.c | 255 uintptr_t old = lp->rw_wwwh; in rw_locked() 292 lock_busy = (uintptr_t)RW_LOCKED; in rw_enter_sleep() 320 if ((old & RW_OWNER) == (uintptr_t)curthread) { in rw_enter_sleep() 408 uintptr_t old, new, lock_value; in rw_exit_wakeup() 418 if ((old & RW_OWNER) != (uintptr_t)curthread) { in rw_exit_wakeup() 530 uintptr_t old; in rw_tryenter() 579 uintptr_t delta = nreaders * RW_READ_LOCK; in rw_downgrade() 594 uintptr_t old, new; in rw_tryupgrade() 613 uintptr_t tmp; in rw_read_held() 636 uintptr_t old = ((rwlock_impl_t *)rwlp)->rw_wwwh; in rw_read_locked() [all …]
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | avl_impl.h | 90 uintptr_t avl_pcb; /* parent, child_index, balance */ 100 ((n)->avl_pcb = (((n)->avl_pcb & 7) | (uintptr_t)(p))) 107 ((n)->avl_pcb = (uintptr_t)(((n)->avl_pcb & ~4) | ((c) << 2))) 116 ((n)->avl_pcb = (uintptr_t)((((n)->avl_pcb & ~3) | ((b) + 1)))) 126 #define AVL_NODE2DATA(n, o) ((void *)((uintptr_t)(n) - (o))) 127 #define AVL_DATA2NODE(d, o) ((struct avl_node *)((uintptr_t)(d) + (o)))
|
H A D | lockstat.h | 119 extern void (*lockstat_probe)(dtrace_id_t, uintptr_t, uintptr_t, 120 uintptr_t, uintptr_t, uintptr_t); 143 (*lockstat_probe)(id, (uintptr_t)(lp), (arg0), \ 177 (*lockstat_probe)(id, (uintptr_t)(lp), t_spin, \
|
/illumos-gate/usr/src/cmd/sgs/ldprof/common/ |
H A D | profile.c | 57 uintptr_t profcookie = 0; 376 la_objopen(Link_map *lmp, Lmid_t lmid, uintptr_t *cookie) in la_objopen() 421 la_objclose(uintptr_t *cookie) in la_objclose() 479 uintptr_t 615 return ((uintptr_t)((Addr)cptr->cg_to + (Addr)Lpc)); in plt_cg_interp() 620 uintptr_t 625 uintptr_t in la_sparcv9_pltenter() 629 uintptr_t in la_sparcv9_pltenter() 631 uintptr_t *defcookie, La_amd64_regs *regset, uint_t *sbflags, in la_sparcv9_pltenter() 634 uintptr_t in la_sparcv9_pltenter() [all …]
|
/illumos-gate/usr/src/cmd/mdb/common/modules/qlc/ |
H A D | qlc.c | 280 uintptr_t hbaptr = 0; in qlclinks_dcmd() 308 hbaptr = (uintptr_t)ql_hba.first; in qlclinks_dcmd() 330 uintptr_t vhbaptr = 0; in qlclinks_dcmd() 436 uintptr_t hbaptr = 0; in qlcver_dcmd() 546 uintptr_t hbaptr = 0; in qlc_el_dcmd() 681 uintptr_t hbaptr = (uintptr_t)qlstate->hba.base_address; in ql_elog_common() 745 uintptr_t qlosc, ptr1; in qlc_osc_dcmd() 1238 wsp->walk_addr = (uintptr_t) in qlstates_walk_step() 1330 wsp->walk_addr = (uintptr_t) in qlsrb_walk_step() 1607 uintptr_t hbaptr = NULL; [all …]
|
/illumos-gate/usr/src/lib/libproc/sparcv9/ |
H A D | Pisadep.c | 53 uintptr_t r_addr; in Ppltdest() 66 uintptr_t pltoff; in Ppltdest() 73 uintptr_t pltblockoff; in Ppltdest() 134 Pissyscall_prev(struct ps_prochandle *P, uintptr_t addr, uintptr_t *dst) in Pissyscall_prev() 136 uintptr_t prevaddr = addr - sizeof (instr_t); in Pissyscall_prev() 172 uintptr_t gq_addr; /* stack address to match */ 348 uintptr_t sp; in Pstack_iter() 428 uintptr_t 431 uintptr_t ret; in Psyscall_setup() 461 uintptr_t ap) in Psyscall_copyinargs() [all …]
|
/illumos-gate/usr/src/uts/common/pcmcia/sys/ |
H A D | cis.h | 219 #define GET_CIS_ADDR(tp) ((cisdata_t *)(uintptr_t)(tp)->offset) 326 ((uintptr_t)(tp)->read.byte - \ 327 (uintptr_t)(tp)->data)) ? \ 330 ((uintptr_t)(tp)->read.byte - \ 331 (uintptr_t)(tp)->data)) 335 (((uintptr_t)(tp)->read.byte - \ 336 (uintptr_t)(tp)->data))>>1) ? \ 339 #define GET_AM_LEN(tp) ((size_t)(tp)->len - (((uintptr_t)(tp)->read.byte - \ 340 (uintptr_t)(tp)->data) >> 1))
|
/illumos-gate/usr/src/cmd/sgs/librtld_db/sparcv9/ |
H A D | plt64_resolution.c | 241 uintptr_t hh_bits; in plt64_resolution() 242 uintptr_t hm_bits; in plt64_resolution() 243 uintptr_t lm_bits; in plt64_resolution() 244 uintptr_t lo_bits; in plt64_resolution() 271 uintptr_t hi_bits; in plt64_resolution() 272 uintptr_t lo_bits; in plt64_resolution() 296 uintptr_t h44_bits; in plt64_resolution() 297 uintptr_t m44_bits; in plt64_resolution() 298 uintptr_t l44_bits; in plt64_resolution()
|
/illumos-gate/usr/src/boot/libsa/string/ |
H A D | bcopy.c | 89 t = (uintptr_t)src; /* only need low bits */ in memcpy() 90 if ((t | (uintptr_t)dst) & wmask) { in memcpy() 95 if ((t ^ (uintptr_t)dst) & wmask || length < wsize) in memcpy() 117 t = (uintptr_t)src; in memcpy() 118 if ((t | (uintptr_t)dst) & wmask) { in memcpy() 119 if ((t ^ (uintptr_t)dst) & wmask || length <= wsize) in memcpy()
|
/illumos-gate/usr/src/lib/libproc/amd64/ |
H A D | Pisadep.c | 53 uintptr_t r_addr; in Ppltdest() 118 Pissyscall_prev(struct ps_prochandle *P, uintptr_t addr, uintptr_t *dst) in Pissyscall_prev() 292 uintptr_t uc_addr; in Pstack_iter32() 356 uc_addr = (uintptr_t)NULL; in Pstack_iter32() 384 read_args(struct ps_prochandle *P, uintptr_t fp, uintptr_t pc, prgreg_t *args, in read_args() 500 uintptr_t fp; in Pstack_iter() 501 uintptr_t pc; in Pstack_iter() 516 uintptr_t uc_addr; in Pstack_iter() 594 uintptr_t 618 uintptr_t ap) in Psyscall_copyinargs() [all …]
|
/illumos-gate/usr/src/uts/common/sys/ib/adapters/tavor/ |
H A D | tavor_wr.h | 53 ((((uintptr_t)(addr)) & ~TAVOR_WQE_NDS_MASK) | \ 61 ((uint64_t *)((uintptr_t)((qp)->qp_sq_buf) + \ 64 ((uint64_t *)((uintptr_t)((qp)->qp_rq_buf) + \ 67 ((uint64_t *)((uintptr_t)((srq)->srq_wq_buf) + \ 76 (((uint32_t)(uintptr_t)wqe_addr - \ 77 (uint32_t)(uintptr_t)srq_base_addr) >> log_wqesz) 80 ((uint64_t *)((uintptr_t)srq->srq_wq_buf + \ 95 (mgmtclass) = &((uint8_t *)(uintptr_t)(va))[1 - (offset)]; \ 100 (hp) = &((uint8_t *)(uintptr_t)(va))[6 - (offset)]; \ 105 (hc) = &((uint8_t *)(uintptr_t)(va))[7 - (offset)]; \
|
/illumos-gate/usr/src/cmd/mdb/common/modules/ptm/ |
H A D | ptm.c | 85 ptms(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) in ptms() 87 const int PT_FLGDELT = (int)(sizeof (uintptr_t) * 2 + 5); in ptms() 183 (void) mdb_vread(&pt, sizeof (pt), (uintptr_t)q->q_ptr); in ptms_qinfo() 245 uintptr_t ptr; in ptms_walk_step() 247 if (wsp->walk_addr > (uintptr_t)wsp->walk_arg) in ptms_walk_step() 257 wsp->walk_addr += sizeof (uintptr_t); in ptms_walk_step() 268 wsp->walk_addr += sizeof (uintptr_t); in ptms_walk_step() 317 mdb_qops_install(&ptm_qops, (uintptr_t)sym.st_value); in _mdb_init() 319 mdb_qops_install(&pts_qops, (uintptr_t)sym.st_value); in _mdb_init() 330 mdb_qops_remove(&ptm_qops, (uintptr_t)sym.st_value); in _mdb_fini() [all …]
|
/illumos-gate/usr/src/psm/stand/boot/common/ |
H A D | readfile.c | 58 ((a) == 0 ? (uintptr_t)(x) : (((uintptr_t)(x) + (a) - 1) & ~((a) - 1))) 264 uintptr_t off; in read_elf32() 399 if ((loadaddr = (uintptr_t) in read_elf32() 472 bzero((void *)(uintptr_t)loadaddr, in read_elf32() 483 (caddr_t)(uintptr_t)phdr->p_vaddr, in read_elf32() 590 (auxv64_t *)(uintptr_t) in read_elf32() 638 uintptr_t off; in read_elf64() 842 if (xread(fd, (caddr_t)(uintptr_t) in read_elf64() 856 bzero((caddr_t)(uintptr_t)loadaddr, in read_elf64() 922 AUX64(av, AT_PHDR, (uintptr_t)allphdrs); in read_elf64() [all …]
|
/illumos-gate/usr/src/uts/intel/os/ |
H A D | ddi_i86.c | 627 uintptr_t port; in i_ddi_io_swap_rep_get16() 682 uintptr_t port; in i_ddi_io_swap_rep_get32() 791 uintptr_t port; in i_ddi_io_swap_rep_put16() 846 uintptr_t port; in i_ddi_io_swap_rep_put32() 1233 uintptr_t port; in i_ddi_prot_io_rep_get8() 1260 uintptr_t port; in i_ddi_prot_io_rep_get16() 1287 uintptr_t port; in i_ddi_prot_io_rep_get32() 1392 uintptr_t port; in i_ddi_prot_io_swap_rep_get16() 1471 uintptr_t port; in i_ddi_prot_io_swap_rep_get32() 1569 uintptr_t port; in i_ddi_prot_io_rep_put8() [all …]
|