| /netbsd-src/sys/arch/powerpc/powerpc/ |
| H A D | vm_machdep.c | 209 vaddr_t faddr, taddr, kaddr; in vmaprange() local 216 taddr = uvm_km_alloc(phys_map, len, 0, UVM_KMF_VAONLY | UVM_KMF_WAITVA); in vmaprange() 217 kaddr = taddr + off; in vmaprange() 221 pmap_kenter_pa(taddr, pa, prot, 0); in vmaprange() 223 taddr += PAGE_SIZE; in vmaprange() 252 vaddr_t faddr, taddr; in vmapbuf() local 268 taddr = uvm_km_alloc(phys_map, len, 0, UVM_KMF_VAONLY | UVM_KMF_WAITVA); in vmapbuf() 269 bp->b_data = (void *)(taddr + off); in vmapbuf() 277 pmap_kenter_pa(taddr, pa, prot, 0); in vmapbuf() 279 taddr += PAGE_SIZE; in vmapbuf()
|
| /netbsd-src/usr.sbin/rpcbind/ |
| H A D | rpcbind.c | 283 struct t_bind taddr; in init_transport() local 480 taddr.addr.len = taddr.addr.maxlen = addrlen; in init_transport() 481 taddr.addr.buf = malloc(addrlen); in init_transport() 482 if (taddr.addr.buf == NULL) { in init_transport() 489 memcpy(taddr.addr.buf, sa, addrlen); in init_transport() 511 my_xprt = (SVCXPRT *)svc_tli_create(fd, nconf, &taddr, in init_transport() 537 taddr.addr.len = taddr.addr.maxlen = addrlen; in init_transport() 538 taddr.addr.buf = malloc(addrlen); in init_transport() 539 if (taddr.addr.buf == NULL) { in init_transport() 545 memcpy(taddr.addr.buf, sa, addrlen); in init_transport() [all …]
|
| H A D | rpcb_svc_com.c | 384 static struct netbuf *taddr; in rpcbproc_uaddr2taddr_com() local 386 if (taddr) { in rpcbproc_uaddr2taddr_com() 387 free(taddr->buf); in rpcbproc_uaddr2taddr_com() 388 free(taddr); in rpcbproc_uaddr2taddr_com() 389 taddr = NULL; in rpcbproc_uaddr2taddr_com() 392 ((taddr = uaddr2taddr(nconf, *uaddrp)) == NULL)) { in rpcbproc_uaddr2taddr_com() 396 return taddr; in rpcbproc_uaddr2taddr_com() 408 struct netbuf *taddr = arg; in rpcbproc_taddr2uaddr_com() local 425 ((uaddr = taddr2uaddr(nconf, taddr)) == NULL)) { in rpcbproc_taddr2uaddr_com()
|
| /netbsd-src/lib/libc/rpc/ |
| H A D | rpcb_clnt.c | 218 add_cache(const char *host, const char *netid, struct netbuf *taddr, in add_cache() argument 240 ad_cache->ac_taddr->len = ad_cache->ac_taddr->maxlen = taddr->len; in add_cache() 241 ad_cache->ac_taddr->buf = malloc(taddr->len); in add_cache() 255 memcpy(ad_cache->ac_taddr->buf, taddr->buf, taddr->len); in add_cache() 308 struct netbuf *addr, taddr; in getclnthandle() local 377 taddr.buf = tres->ai_addr; in getclnthandle() 378 taddr.len = taddr.maxlen = tres->ai_addrlen; in getclnthandle() 384 ua = taddr2uaddr(nconf, &taddr); in getclnthandle() 395 taddr.len, taddr.maxlen); in getclnthandle() 397 for (i = 0; i < taddr.len; i++) in getclnthandle() [all …]
|
| H A D | clnt_bcast.c | 604 struct netbuf taddr, *np; in rpc_broadcast_exp() local 613 taddr.len = taddr.maxlen = in rpc_broadcast_exp() 615 taddr.buf = &fdlist[i].raddr; in rpc_broadcast_exp() 617 &taddr, fdlist[i].nconf); in rpc_broadcast_exp()
|
| /netbsd-src/sys/arch/usermode/usermode/ |
| H A D | vm_machdep.c | 49 vaddr_t faddr, taddr, off; in vmapbuf() local 61 taddr = uvm_km_alloc(phys_map, len, 0, UVM_KMF_VAONLY | UVM_KMF_WAITVA); in vmapbuf() 62 bp->b_data = (void *)(taddr + off); in vmapbuf() 70 pmap_enter(vm_map_pmap(phys_map), taddr, trunc_page(pa), in vmapbuf() 73 taddr += PAGE_SIZE; in vmapbuf()
|
| /netbsd-src/sys/arch/evbppc/evbppc/ |
| H A D | evbppc_machdep.c | 107 vaddr_t taddr, va; in mapiodev() local 127 va = taddr = uvm_km_alloc(kernel_map, len, 0, UVM_KMF_VAONLY); in mapiodev() 133 pmap_kenter_pa(taddr, faddr, in mapiodev() 136 taddr += PAGE_SIZE; in mapiodev()
|
| /netbsd-src/usr.sbin/bootp/bootpd/ |
| H A D | bootpd.c | 1147 struct in_addr_list *taddr; in dovend_cmu() local 1168 taddr = hp->domain_server; in dovend_cmu() 1169 if (taddr->addrcount > 0) { in dovend_cmu() 1170 (vendp->v_dns1).s_addr = (taddr->addr)[0].s_addr; in dovend_cmu() 1171 if (taddr->addrcount > 1) { in dovend_cmu() 1172 (vendp->v_dns2).s_addr = (taddr->addr)[1].s_addr; in dovend_cmu() 1177 taddr = hp->name_server; in dovend_cmu() 1178 if (taddr->addrcount > 0) { in dovend_cmu() 1179 (vendp->v_ins1).s_addr = (taddr->addr)[0].s_addr; in dovend_cmu() 1180 if (taddr->addrcount > 1) { in dovend_cmu() [all …]
|
| /netbsd-src/sys/net/npf/ |
| H A D | npf_nat.c | 483 npf_addr_t *taddr; in npf_nat_create() local 514 taddr = npf_nat_getaddr(npc, np, alen); in npf_nat_create() 515 if (__predict_false(!taddr)) { in npf_nat_create() 520 memcpy(&nt->nt_taddr, taddr, alen); in npf_nat_create() 526 taddr = &nt->nt_taddr; in npf_nat_create() 529 taddr = &np->n_taddr; in npf_nat_create() 530 memcpy(&nt->nt_taddr, taddr, alen); in npf_nat_create() 568 nt->nt_tport = npf_portmap_get(pm, alen, taddr); in npf_nat_create() 624 const npf_addr_t *taddr; in npf_snat_translate() local 632 taddr = &addr; in npf_snat_translate() [all …]
|
| /netbsd-src/sys/compat/linux/common/ |
| H A D | linux_uselib.c | 90 long bsize, dsize, tsize, taddr, baddr, daddr; in linux_sys_uselib() local 124 taddr = hdr.a_entry & (~(PAGE_SIZE - 1)); in linux_sys_uselib() 126 daddr = taddr + tsize; in linux_sys_uselib() 138 hdr.a_text + hdr.a_data, taddr, in linux_sys_uselib()
|
| /netbsd-src/usr.sbin/timed/timed/ |
| H A D | slave.c | 69 struct sockaddr_in taddr; in slave() local 394 taddr = from; in slave() 398 if (!acksend(&to, &taddr, tname, in slave() 456 taddr = from; in slave() 470 (void)sendtsp(sock, &to, &taddr); in slave() 512 taddr = from; in slave() 516 if (!acksend(&to, &taddr, tname, in slave() 627 struct sockaddr_in taddr; in schgdate() local 633 taddr = from; in schgdate() 652 xmit(TSP_DATEACK, seq, &taddr); in schgdate()
|
| H A D | master.c | 81 struct sockaddr_in taddr; in master() local 233 taddr = from; in master() 237 answer = acksend(&to, &taddr, tname, in master()
|
| /netbsd-src/sys/net/ |
| H A D | nd.c | 61 union l3addr taddr, *daddrp = NULL; in nd_timer() local 78 memcpy(&taddr, &ln->r_l3addr, sizeof(taddr)); in nd_timer() 139 daddrp = &taddr; in nd_timer() 149 daddrp = &taddr; in nd_timer() 202 nd->nd_output(ifp, daddrp, &taddr, lladdrp, psrc); in nd_timer() 211 nd->nd_missed(ifp, &taddr, missed, m); in nd_timer()
|
| /netbsd-src/sys/arch/vax/vax/ |
| H A D | vm_machdep.c | 237 vaddr_t faddr, taddr, off; in vmapbuf() local 253 taddr = uvm_km_alloc(phys_map, len, 0, UVM_KMF_VAONLY | UVM_KMF_WAITVA); in vmapbuf() 254 bp->b_data = (void *)(taddr + off); in vmapbuf() 260 pmap_enter(vm_map_pmap(phys_map), taddr, trunc_page(pa), in vmapbuf() 263 taddr += PAGE_SIZE; in vmapbuf()
|
| /netbsd-src/sys/arch/aarch64/aarch64/ |
| H A D | vm_machdep.c | 213 vaddr_t faddr, taddr, off; in vmapbuf() local 224 taddr = uvm_km_alloc(phys_map, len, atop(faddr) & uvmexp.colormask, in vmapbuf() 226 bp->b_data = (void *)(taddr + off); in vmapbuf() 235 pmap_enter(pmap_kernel(), taddr, fpa, in vmapbuf() 239 taddr += PAGE_SIZE; in vmapbuf()
|
| /netbsd-src/sys/arch/alpha/alpha/ |
| H A D | vm_machdep.c | 202 vaddr_t faddr, taddr, off; in vmapbuf() local 213 taddr = uvm_km_alloc(phys_map, len, 0, UVM_KMF_VAONLY|UVM_KMF_WAITVA); in vmapbuf() 214 bp->b_data = (void *)(taddr + off); in vmapbuf() 220 pmap_enter(vm_map_pmap(phys_map), taddr, trunc_page(pa), in vmapbuf() 223 taddr += PAGE_SIZE; in vmapbuf()
|
| /netbsd-src/sys/arch/sh3/sh3/ |
| H A D | vm_machdep.c | 321 vaddr_t faddr, taddr, off; in vmapbuf() local 331 taddr = uvm_km_alloc(phys_map, len, 0, UVM_KMF_VAONLY | UVM_KMF_WAITVA); in vmapbuf() 332 bp->b_data = (void *)(taddr + off); in vmapbuf() 349 pmap_enter(kpmap, taddr, fpa, in vmapbuf() 352 taddr += PAGE_SIZE; in vmapbuf()
|
| H A D | coff_exec.c | 408 int taddr, tsize, daddr, dsize, offset; 450 taddr = COFF_ALIGN(shp->s_vaddr); 451 offset = shp->s_scnptr - (shp->s_vaddr - taddr); 452 tsize = shp->s_size + (shp->s_vaddr - taddr); 453 DPRINTF(("VMCMD: addr %x size %x offset %x\n", taddr, tsize, offset)); 454 NEW_VMCMD(&epp->ep_vmcmds, vmcmd_map_readvn, tsize, taddr,
|
| /netbsd-src/sys/arch/x86/x86/ |
| H A D | vm_machdep.c | 295 vaddr_t faddr, taddr, off; in vmapbuf() local 304 taddr = uvm_km_alloc(phys_map, len, 0, UVM_KMF_VAONLY | UVM_KMF_WAITVA); in vmapbuf() 305 bp->b_data = (void *)(taddr + off); in vmapbuf() 321 pmap_kenter_pa(taddr, fpa, VM_PROT_READ|VM_PROT_WRITE, 0); in vmapbuf() 323 taddr += PAGE_SIZE; in vmapbuf()
|
| /netbsd-src/sys/arch/arm/arm32/ |
| H A D | vm_machdep.c | 207 vaddr_t faddr, taddr, off; in vmapbuf() local 224 taddr = uvm_km_alloc(phys_map, len, atop(faddr) & uvmexp.colormask, in vmapbuf() 226 bp->b_data = (void *)(taddr + off); in vmapbuf() 234 pmap_enter(pmap_kernel(), taddr, fpa, VM_PROT_READ|VM_PROT_WRITE, in vmapbuf() 237 taddr += PAGE_SIZE; in vmapbuf()
|
| /netbsd-src/sys/arch/evbppc/wii/dev/ |
| H A D | wiifb.c | 333 uint32_t taddr = XFB_START; in wiifb_ioctl() 334 uint32_t baddr = taddr + (sc->sc_interlaced ? in wiifb_ioctl() 339 __SHIFTIN((taddr >> 5), VI_TFBL_FBB) | in wiifb_ioctl() 340 __SHIFTIN((taddr / 2) & 0xf, VI_TFBL_XOF)); in wiifb_ioctl() 304 uint32_t taddr = XFB_START; wiifb_set_fb() local
|
| /netbsd-src/usr.sbin/npf/npftest/libnpftest/ |
| H A D | npf_nat_test.c | 31 const char * taddr; member 205 const char *saddr = forw ? t->taddr : t->src; in checkresult() 206 const char *daddr = forw ? t->dst : t->taddr; in checkresult()
|
| /netbsd-src/external/bsd/libbind/dist/irs/ |
| H A D | lcl_ho.c | 299 const u_char *taddr = (const u_char *)*hap; in ho_byaddr() local 304 (!memcmp(taddr, mapped, sizeof mapped) || in ho_byaddr() 305 !memcmp(taddr, tunnelled, sizeof tunnelled))) { in ho_byaddr() 307 taddr += sizeof mapped; in ho_byaddr() 312 !memcmp(taddr, uaddr, tlen)) in ho_byaddr()
|
| /netbsd-src/sys/arch/powerpc/oea/ |
| H A D | oea_machdep.c | 1054 vaddr_t taddr, va; in mapiodev() local 1060 va = taddr = uvm_km_alloc(kernel_map, len, 0, UVM_KMF_VAONLY); in mapiodev() 1066 pmap_kenter_pa(taddr, faddr, VM_PROT_READ | VM_PROT_WRITE, in mapiodev() 1069 taddr += PAGE_SIZE; in mapiodev()
|
| /netbsd-src/sys/netinet6/ |
| H A D | nd6.c | 382 const union l3addr *taddr, __unused const uint8_t *tlladdr, in nd6_llinfo_output() argument 388 taddr != NULL ? &taddr->addr6 : NULL, in nd6_llinfo_output() 417 nd6_llinfo_missed(struct ifnet *ifp, const union l3addr *taddr, in nd6_llinfo_missed() argument 442 sockaddr_in6_init(&tsin6, &taddr->addr6, 0, 0, 0); in nd6_llinfo_missed()
|