/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | mk_faddr.c | 42 krb5_make_fulladdr(krb5_context context, krb5_address *kaddr, krb5_address *kport, krb5_address *raddr) argument 51 raddr->length = kaddr->length + kport->length + (4 * sizeof(krb5_int32)); 58 tmp16 = kaddr->addrtype; 64 tmp32 = kaddr->length; 70 (void) memcpy((char *)marshal, (char *)(kaddr->contents), kaddr->length); 71 marshal += kaddr->length;
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | ppage.c | 77 i86_pp_map(page_t *pp, caddr_t kaddr) argument 79 hat_devload(kas.a_hat, kaddr, MMU_PAGESIZE, page_pptonum(pp), 89 i86_va_map(caddr_t vaddr, struct as *asp, caddr_t kaddr) argument 94 hat_devload(kas.a_hat, kaddr, MMU_PAGESIZE, pfnum,
|
/illumos-gate/usr/src/uts/intel/ia32/os/ |
H A D | copy_subr.c | 73 copyinstr_noerr(const char *uaddr, char *kaddr, size_t maxlength, argument 78 ASSERT((uintptr_t)kaddr > kernelbase); 86 return (copystr_nofault(ua, kaddr, maxlength, lencopied)); 90 copyoutstr_noerr(const char *kaddr, char *uaddr, size_t maxlength, argument 95 ASSERT((uintptr_t)kaddr > kernelbase); 103 return (copystr_nofault(kaddr, ua, maxlength, lencopied));
|
/illumos-gate/usr/src/uts/common/crypto/io/ |
H A D | dca_dsa.c | 64 caddr_t kaddr; local 123 kaddr = reqp->dr_ctx_kaddr + reqp->dr_offset; 131 PUTDESC32(reqp, kaddr, DESC_BUFADDR, 133 PUTDESC32(reqp, kaddr, DESC_NEXT, 0); 134 PUTDESC16(reqp, kaddr, DESC_RSVD, 0); 135 PUTDESC16(reqp, kaddr, DESC_LENGTH, DSAPARTLEN); 208 caddr_t kaddr; local 299 kaddr = reqp->dr_ctx_kaddr + reqp->dr_offset; 300 PUTDESC32(reqp, kaddr, DESC_BUFADDR, reqp->dr_ibuf_paddr + SHA1LEN); 301 PUTDESC32(reqp, kaddr, DESC_NEX 393 caddr_t kaddr; local [all...] |
H A D | dca_rsa.c | 416 caddr_t kaddr; local 556 kaddr = reqp->dr_ctx_kaddr + CTX_RSABIGNUMS; 559 dca_reverse(p, kaddr, plen, pqfix); 560 kaddr += pqfix; 562 dca_reverse(q, kaddr, qlen, pqfix); 563 kaddr += pqfix; 565 dca_reverse(dp, kaddr, dplen, pqfix); 566 kaddr += pqfix; 568 dca_reverse(dq, kaddr, dqlen, pqfix); 569 kaddr [all...] |
/illumos-gate/usr/src/uts/common/os/ |
H A D | urw.c | 133 caddr_t kaddr; local 148 kaddr = ppmapin(pp, writing ? 150 return (kaddr + ((uintptr_t)addr & PAGEOFFSET)); 159 kaddr = vmem_alloc(heap_arena, PAGESIZE, VM_SLEEP); 161 hat_devload(kas.a_hat, kaddr, PAGESIZE, pfnum, 164 return (kaddr + ((uintptr_t)addr & PAGEOFFSET));
|
H A D | bp_map.c | 90 caddr_t kaddr; local 118 kaddr = hat_kpm_mapin(pp, NULL); 119 bp->b_un.b_addr = kaddr + off; 131 kaddr = (caddr_t)vmem_alloc(bp_map_arena, 133 if (kaddr == NULL) 135 kaddr += color; 137 kaddr = vmem_xalloc(heap_arena, size, bp_align, color, 139 if (kaddr == NULL) 143 ASSERT(P2PHASE((uintptr_t)kaddr, bp_align) == color); 162 bp->b_un.b_addr = kaddr 279 caddr_t kaddr; local [all...] |
H A D | schedctl.c | 493 caddr_t kaddr; local 500 if ((error = schedctl_getpage(&, &kaddr)) != 0) { 504 if ((error = schedctl_map(amp, &base, kaddr)) != 0) { 505 schedctl_freepage(amp, kaddr); 515 pagep->spc_base = (sc_shared_t *)kaddr; 516 pagep->spc_end = (sc_shared_t *)(kaddr + sc_pagesize); 579 schedctl_map(struct anon_map *amp, caddr_t *uaddrp, caddr_t kaddr) argument 588 map_addr(&addr, PAGESIZE, (offset_t)(uintptr_t)kaddr, 1, 0); 625 caddr_t kaddr; local 636 kaddr 662 schedctl_freepage(struct anon_map *amp, caddr_t kaddr) argument [all...] |
H A D | vm_subr.c | 329 * (shared), and mapped into kernel address range [kaddr..kaddr+*lenp] if 330 * kaddr != -1. On entering this function, cached_ppp contains a list 331 * of pages that are mapped into [kaddr..kaddr+*lenp] already (from a 352 cow_mapin(struct as *as, caddr_t uaddr, caddr_t kaddr, struct page **cached_ppp, argument 449 if (kaddr != (caddr_t)-1) { 468 * a VAC_WRITEBACK cache. Therefore the kaddr 472 * to get a cached mapping. Allocate a kaddr 476 hat_devload(kas.a_hat, kaddr, PAGESIZ [all...] |
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/ |
H A D | hermon_cfg.c | 477 caddr_t kaddr; local 512 DDI_DMA_SLEEP, NULL, (caddr_t *)&kaddr, &actual_len, &acc_hdl); 521 status = ddi_dma_addr_bind_handle(dmahdl, NULL, kaddr, actual_len,
|
/illumos-gate/usr/src/uts/sparc/os/ |
H A D | archdep.c | 443 xcopyin_nta(const void *uaddr, void *kaddr, size_t count, int dummy) argument 445 return (xcopyin(uaddr, kaddr, count)); 449 xcopyout_nta(const void *kaddr, void *uaddr, size_t count, int dummy) argument 451 return (xcopyout(kaddr, uaddr, count));
|
/illumos-gate/usr/src/uts/intel/dtrace/ |
H A D | dtrace_isa.c | 655 dtrace_copycheck(uintptr_t uaddr, uintptr_t kaddr, size_t size) argument 657 ASSERT(kaddr >= kernelbase && kaddr + size >= kaddr); 670 dtrace_copyin(uintptr_t uaddr, uintptr_t kaddr, size_t size, argument 673 if (dtrace_copycheck(uaddr, kaddr, size)) 674 dtrace_copy(uaddr, kaddr, size); 679 dtrace_copyout(uintptr_t kaddr, uintptr_t uaddr, size_t size, argument 682 if (dtrace_copycheck(uaddr, kaddr, size)) 683 dtrace_copy(kaddr, uadd 687 dtrace_copyinstr(uintptr_t uaddr, uintptr_t kaddr, size_t size, volatile uint16_t *flags) argument 695 dtrace_copyoutstr(uintptr_t kaddr, uintptr_t uaddr, size_t size, volatile uint16_t *flags) argument [all...] |
/illumos-gate/usr/src/uts/intel/fs/proc/ |
H A D | prmachdep.c | 374 caddr_t kaddr; local 389 kaddr = ppmapin(pp, writing ? 391 return (kaddr + ((uintptr_t)addr & PAGEOFFSET)); 400 kaddr = vmem_alloc(heap_arena, PAGESIZE, VM_SLEEP); 402 hat_devload(kas.a_hat, kaddr, MMU_PAGESIZE, pfnum, 405 return (kaddr + ((uintptr_t)addr & PAGEOFFSET));
|
/illumos-gate/usr/src/uts/common/io/audio/drv/audio1575/ |
H A D | audio1575.c | 834 uint32_t *kaddr; local 921 kaddr = (void *)port->bdl_kaddr; 925 ddi_put32(port->bdl_acch, kaddr, port->samp_paddr); 926 kaddr++; 929 ddi_put32(port->bdl_acch, kaddr, 931 kaddr++;
|
/illumos-gate/usr/src/uts/common/io/hxge/ |
H A D | hxge_send.c | 106 caddr_t kaddr; local 326 kaddr = (caddr_t)DMA_COMMON_VPTR(tx_msg_p->buf_dma); 327 hdrp = (p_tx_pkt_header_t)kaddr; 387 kaddr = (caddr_t)DMA_COMMON_VPTR(tx_msg_p->buf_dma); 389 hdrp = (p_tx_pkt_header_t)kaddr; 397 kaddr += boff; 401 "bcopy kaddr $%p bcopy ioaddr (SAD) $%p " 404 tdc_stats->tx_hdr_pkts, kaddr, dma_ioaddr, 413 b_rptr, kaddr, len, boff)); 414 bcopy(b_rptr, kaddr, le [all...] |
/illumos-gate/usr/src/uts/sun4u/serengeti/io/ |
H A D | sbdp_cpu.c | 738 caddr_t kaddr; local 753 kaddr = vmem_alloc(heap_arena, ptob(npages), VM_NOSLEEP); 754 if (kaddr == NULL) 761 hat_devload(kas.a_hat, kaddr, ptob(npages), pfn, mapping_attr, 764 *vaddrp = kaddr + pgoffset;
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | thread.c | 766 uintptr_t kaddr; local 782 if (mdb_readsym(&kaddr, sizeof (kaddr), 788 if (kaddr == NULL) { 792 if (mdb_vread(log, usize, kaddr) == -1) { 794 mdb_warn("failed to read %p\n", kaddr);
|
/illumos-gate/usr/src/uts/common/io/1394/targets/av1394/ |
H A D | av1394_isoch_recv.c | 845 caddr_t kaddr_begin, kaddr; local 860 kaddr = kaddr_begin = seg[idx].is_kaddr + irp->ir_read_off; 866 pkt_off = (uintptr_t)kaddr % pktsz; 872 (*(uint32_t *)(kaddr + AV1394_CIPSZ) == 0)) { 873 kaddr += pktsz; 885 if ((ret = uiomove(kaddr, len, UIO_READ, uiop)) != 0) { 890 kaddr += pktsz - pkt_off; 893 kaddr += len; 900 irp->ir_read_off = kaddr - kaddr_begin; 920 caddr_t kaddr, kaddr_en local [all...] |
H A D | av1394_isoch_xmit.c | 1166 caddr_t kaddr, kaddr_end; local 1172 kaddr = seg[idx].is_kaddr + itp->it_write_off; 1177 ret = uiomove(kaddr, len, UIO_WRITE, uiop); 1189 kaddr = seg[idx].is_kaddr; 1190 kaddr_end = kaddr + framesz; 1191 while (!av1394_it_is_dv_frame_start(kaddr)) { 1192 kaddr += icp->ic_pktsz; 1193 if (kaddr == kaddr_end) { 1197 start_resid = kaddr_end - kaddr; 1199 bcopy(kaddr, se 1222 av1394_it_is_dv_frame_start(caddr_t kaddr) argument 1238 caddr_t kaddr = icp->ic_it.it_data_pool.ip_seg[idx].is_kaddr; local [all...] |
/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/ |
H A D | tavor_rsrc.c | 2236 caddr_t kaddr; local 2294 NULL, &kaddr, &real_len, &hdl->tr_acchdl); 2303 hdl->tr_addr = (void *)kaddr;
|
/illumos-gate/usr/src/uts/sparc/fs/proc/ |
H A D | prmachdep.c | 665 caddr_t kaddr; local 680 kaddr = ppmapin(pp, writing ? 683 return (kaddr + ((uintptr_t)addr & PAGEOFFSET)); 692 kaddr = vmem_alloc(heap_arena, PAGESIZE, VM_SLEEP); 694 hat_devload(kas.a_hat, kaddr, PAGESIZE, pfnum, 697 return (kaddr + ((uintptr_t)addr & PAGEOFFSET));
|
/illumos-gate/usr/src/uts/i86xpv/io/ |
H A D | privcmd_hcall.c | 79 import_buffer(import_export_t *iep, void *uaddr, void *kaddr, size_t size, argument 91 if (kaddr == NULL) { 95 iep->ie_kaddr = kaddr;
|
/illumos-gate/usr/src/uts/sun4/io/ |
H A D | rootnex.c | 331 caddr_t kaddr; local 369 if ((kaddr = vmem_alloc(rootnex_regspec_arena, 376 hat_devload(kas.a_hat, kaddr, ptob(npages), pfn, 379 *vaddrp = kaddr + pgoffset;
|
/illumos-gate/usr/src/cmd/mdb/common/modules/sctp/ |
H A D | sctp.c | 72 ns_to_stackid(uintptr_t kaddr) argument 76 if (mdb_vread(&nss, sizeof (nss), kaddr) == -1) { 77 mdb_warn("failed to read netdstack info %p", kaddr); 96 uintptr_t kaddr; local 103 kaddr = (uintptr_t)nss.netstack_modules[NS_SCTP]; 104 return (wsp->walk_callback(kaddr, wsp->walk_layer, wsp->walk_cbdata)); 1027 uintptr_t kaddr; local 1029 kaddr = (uintptr_t)&sctps->sctps_conn_hash_size; 1031 if (mdb_vread(&size, sizeof (size), kaddr) == -1) { 1032 mdb_warn("can't read 'sctps_conn_hash_size' at %p", kaddr); 1096 uintptr_t kaddr; local 1190 uintptr_t kaddr; local 1389 uintptr_t kaddr, uaddr; local 1461 uintptr_t kaddr, uaddr; local [all...] |
/illumos-gate/usr/src/cmd/krb5/krb5kdc/ |
H A D | network.c | 174 krb5_address kaddr; 884 newconn->u.tcp.faddr.address = &newconn->u.tcp.kaddr; 173 krb5_address kaddr; member in struct:connection::__anon700::__anon703
|