Home
last modified time | relevance | path

Searched refs:taddr (Results 1 – 25 of 36) sorted by relevance

12

/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A Dmove.c99 Addr addr, taddr; in move_data() local
115 taddr = addr + mv->m_poffset; in move_data()
118 elf_move_bad(lml, lmp, sym, num, taddr); in move_data()
130 DBG_CALL(Dbg_move_expand(lml, mv, taddr)); in move_data()
134 *((char *)taddr) = (char)mv->m_value; in move_data()
135 taddr += stride; in move_data()
140 *((Half *)taddr) = (Half)mv->m_value; in move_data()
141 taddr += 2 * stride; in move_data()
146 *((Word *)taddr) = (Word)mv->m_value; in move_data()
147 taddr += 4 * stride; in move_data()
[all …]
/illumos-gate/usr/src/cmd/sendmail/db/os/
H A Dos_rw.c96 u_int8_t *taddr; local
98 for (taddr = addr,
99 offset = 0; offset < len; taddr += nr, offset += nr) {
101 __db_jump.j_read(fd, taddr, len - offset) :
102 read(fd, taddr, len - offset)) < 0)
107 *nrp = taddr - (u_int8_t *)addr;
126 u_int8_t *taddr; local
128 for (taddr = addr,
129 offset = 0; offset < len; taddr += nw, offset += nw)
131 __db_jump.j_write(fd, taddr, len - offset) :
[all …]
/illumos-gate/usr/src/cmd/rpcbind/
H A Dcheck_bound.c89 struct t_bind taddr, *baddr; in check_bound() local
99 taddr.addr = *na; in check_bound()
100 taddr.qlen = 1; in check_bound()
109 if (t_bind(fd, &taddr, baddr) != 0) { in check_bound()
191 taddr->qlen = 1; in add_bndlist()
194 taddr->qlen = 0; in add_bndlist()
200 if (t_bind(fdl->fd, taddr, baddr) != 0) { in add_bndlist()
214 if (!memcmp(taddr->addr.buf, baddr->addr.buf, in add_bndlist()
235 if (t_bind(fdl->fd, &tmpaddr, taddr) != 0) { in add_bndlist()
251 if (t_bind(fd, taddr, baddr) != 0) { in add_bndlist()
[all …]
H A Drpcbind.c498 struct t_bind *taddr, *baddr; in init_transport() local
538 taddr = (struct t_bind *)t_alloc(fd, T_BIND, T_ADDR); in init_transport()
540 if ((baddr == NULL) || (taddr == NULL)) { in init_transport()
553 taddr->addr.len = nas->n_addrs->len; in init_transport()
558 taddr->qlen = 0; in init_transport()
560 taddr->qlen = listen_backlog; in init_transport()
573 if (t_bind(fd, taddr, baddr) != 0) { in init_transport()
581 "(negotiated: %d)", nconf->nc_netid, taddr->qlen, in init_transport()
714 (void) add_bndlist(nconf, taddr, baddr); in init_transport()
722 (void) t_free((char *)taddr, T_BIND); in init_transport()
[all …]
H A Drpcb_svc_com.c455 struct netbuf *taddr; in rpcbproc_uaddr2taddr_com() local
458 ((taddr = uaddr2taddr(nconf, *uaddrp)) == NULL)) { in rpcbproc_uaddr2taddr_com()
463 memcpy(result, taddr, sizeof (*result)); in rpcbproc_uaddr2taddr_com()
464 free(taddr); in rpcbproc_uaddr2taddr_com()
474 rpcbproc_taddr2uaddr_com(struct netbuf *taddr, char **result, in rpcbproc_taddr2uaddr_com() argument
482 *result = taddr2uaddr(nconf, taddr); in rpcbproc_taddr2uaddr_com()
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dcpupart.c91 uintptr_t taddr = (uintptr_t)dq[i].dq_first; in cpupart_disp_threads() local
93 while (taddr != 0) { in cpupart_disp_threads()
94 if (mdb_vread(&t, sizeof (t), taddr) == -1) { in cpupart_disp_threads()
96 taddr); in cpupart_disp_threads()
109 taddr, p.p_user.u_comm); in cpupart_disp_threads()
111 taddr = (uintptr_t)t.t_link; in cpupart_disp_threads()
H A Dsobj.c382 uintptr_t taddr = wsp->walk_addr; in blocked_walk_step() local
386 mdb_warn("couldn't read %p's turnstile at %p", taddr, addr); in blocked_walk_step()
393 return (wsp->walk_callback(taddr, wsp->walk_layer, wsp->walk_cbdata)); in blocked_walk_step()
403 rwlock_walk(uintptr_t taddr, const kthread_t *t, rwlock_block_t **rwp) in rwlock_walk() argument
411 mdb_warn("couldn't read %p's turnstile at %p", taddr, addr); in rwlock_walk()
431 taddr, addr); in rwlock_walk()
442 rw->rw_thread = taddr; in rwlock_walk()
/illumos-gate/usr/src/lib/nsswitch/files/common/
H A Dgethostent.c352 in_addr_t *taddr = NULL; local
369 taddr = (in_addr_t *)calloc(ntaddr, sizeof (*taddr));
370 if (taddr == NULL)
430 (void *)&taddr[nhosts]:
570 addrp = realloc(taddr,
571 sizeof (*taddr) * ntaddr);
576 taddr = (in_addr_t *)addrp;
630 (*(in_addr_t *)addrp) = taddr[i];
667 if (taddr)
668 free(taddr);
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Drpcb_clnt.c226 ad_cache->ac_taddr->buf = malloc(taddr->len); in add_cache()
231 (void) memcpy(ad_cache->ac_taddr->buf, taddr->buf, taddr->len); in add_cache()
1288 if (taddr == NULL) { in rpcb_taddr2uaddr()
1297 (char *)taddr, (xdrproc_t)xdr_wrapstring, (char *)&uaddr, in rpcb_taddr2uaddr()
1311 struct netbuf *taddr; in rpcb_uaddr2taddr() local
1326 taddr = calloc(1, sizeof (struct netbuf)); in rpcb_uaddr2taddr()
1327 if (taddr == NULL) { in rpcb_uaddr2taddr()
1333 (char *)&uaddr, (xdrproc_t)xdr_netbuf, (char *)taddr, in rpcb_uaddr2taddr()
1335 free(taddr); in rpcb_uaddr2taddr()
1336 taddr = NULL; in rpcb_uaddr2taddr()
[all …]
H A Dclnt_bcast.c557 struct netbuf *taddr; in rpc_broadcast_exp() local
565 taddr = &t_rdata.addr; in rpc_broadcast_exp()
568 taddr = uaddr2taddr( in rpc_broadcast_exp()
571 done = (*eachresult)(resultsp, taddr, in rpc_broadcast_exp()
578 for (k = 0; k < taddr->len; k++) in rpc_broadcast_exp()
579 printf("%d ", taddr->buf[k]); in rpc_broadcast_exp()
583 if (taddr && !pmap_reply_flag) in rpc_broadcast_exp()
584 netdir_free((char *)taddr, in rpc_broadcast_exp()
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Dip_anon_rcm.c612 char taddr[IP_REG_SIZE], tmask[IP_REG_SIZE], tmatch[IP_REG_SIZE]; in exclude_ipv4() local
615 (void) inet_ntop(AF_INET, &address, taddr, INET_ADDRSTRLEN); in exclude_ipv4()
618 taddr, exclude_addrs.cladm_num_netaddrs); in exclude_ipv4()
642 taddr, tmask, tmatch); in exclude_ipv4()
648 taddr); in exclude_ipv4()
657 char taddr[IP_REG_SIZE], tmask[IP_REG_SIZE], tmatch[IP_REG_SIZE]; in exclude_ipv6() local
659 (void) inet_ntop(AF_INET6, address, taddr, INET6_ADDRSTRLEN); in exclude_ipv6()
694 taddr); in exclude_ipv6()
/illumos-gate/usr/src/uts/i86xpv/io/
H A Dprivcmd_hcall.c267 vcpu_guest_context_t *taddr; in privcmd_HYPERVISOR_domctl() local
274 taddr = sub_ie.ie_kaddr; in privcmd_HYPERVISOR_domctl()
276 vcpu_guest_context_t *, taddr); in privcmd_HYPERVISOR_domctl()
723 ulong_t *taddr; in privcmd_HYPERVISOR_memory_op() local
736 taddr = sub_ie.ie_kaddr; in privcmd_HYPERVISOR_memory_op()
744 ulong_t *, taddr); in privcmd_HYPERVISOR_memory_op()
751 ulong_t *, taddr); in privcmd_HYPERVISOR_memory_op()
757 ulong_t *, taddr); in privcmd_HYPERVISOR_memory_op()
811 struct xen_memory_map *taddr; in privcmd_HYPERVISOR_memory_op() local
826 taddr = sub_ie.ie_kaddr; in privcmd_HYPERVISOR_memory_op()
[all …]
/illumos-gate/usr/src/cmd/fs.d/udfs/common/
H A Dud_lib.c443 uint8_t *addr, *taddr, *eaddr; in ud_parse_fill_vds() local
463 for (taddr = addr, eaddr = addr + h->udfs.mvds_len; taddr < eaddr; in ud_parse_fill_vds()
467 tag = (struct tag *)taddr; in ud_parse_fill_vds()
483 pvd = (struct pri_vol_desc *)taddr; in ud_parse_fill_vds()
525 pd = (struct part_desc *)taddr; in ud_parse_fill_vds()
763 uint8_t *addr, *taddr, *eaddr; in ud_get_latest_lvid() local
779 for (taddr = addr, eaddr = addr + h->udfs.mvds_len; taddr < eaddr; in ud_get_latest_lvid()
783 tag = (struct tag *)taddr; in ud_get_latest_lvid()
845 uint8_t *addr, *taddr, *eaddr; in ud_get_latest_fsd() local
870 for (taddr = addr, eaddr = addr + h->udfs.mvds_len; taddr < eaddr; in ud_get_latest_fsd()
[all …]
/illumos-gate/usr/src/lib/libmtmalloc/common/
H A Dmtmalloc.c512 uintptr_t taddr; in memalign() local
516 data_size = taddr - (uintptr_t)alloc_buf; in memalign()
529 uintptr_t ret_addr, taddr, shift, tshift; in memalign() local
583 taddr = ALIGN((uintptr_t)alloc_buf + in memalign()
585 tshift = ret_addr - taddr; in memalign()
587 taddr); in memalign()
588 ret_addr = taddr; in memalign()
638 taddr = ALIGN(ret_addr + size, in memalign()
640 data_sz = (size_t)(taddr - in memalign()
703 taddr = ALIGN(ret_addr + size, in memalign()
[all …]
/illumos-gate/usr/src/cmd/rpcsvc/
H A Drup.c296 collectnames(resultsp, taddr, nconf) in collectnames() argument
298 struct t_bind *taddr;
331 if (netbufeq(&taddr->addr, entryp->addr))
343 entry[curentry].addr = netbufdup(&taddr->addr);
350 if (netdir_getbyaddr(nconf, &hs, &taddr->addr) == ND_OK)
354 char *uaddr = taddr2uaddr(nconf, &taddr->addr);
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dlcl_ho.c293 const u_char *taddr = (const u_char *)*hap; in ho_byaddr() local
298 (!memcmp(taddr, mapped, sizeof mapped) || in ho_byaddr()
299 !memcmp(taddr, tunnelled, sizeof tunnelled))) { in ho_byaddr()
301 taddr += sizeof mapped; in ho_byaddr()
306 !memcmp(taddr, uaddr, tlen)) in ho_byaddr()
/illumos-gate/usr/src/uts/common/io/usb/hcd/xhci/
H A Dxhci_ring.c233 uint64_t taddr; in xhci_ring_trb_valid_range() local
237 taddr = xhci_dma_pa(&xrp->xr_dma) + tail * sizeof (xhci_trb_t); in xhci_ring_trb_valid_range()
238 if (taddr == dma) in xhci_ring_trb_valid_range()
/illumos-gate/usr/src/uts/common/io/
H A Di8237A.c530 ulong_t taddr; in d37A_get_chan_stat() local
534 taddr = d37A_read_addr(chnl); in d37A_get_chan_stat()
538 *addressp = taddr; in d37A_get_chan_stat()
542 chnl, taddr, tcount)); in d37A_get_chan_stat()
/illumos-gate/usr/src/cmd/fs.d/ufs/fsdb/
H A Dfsdb.c2829 taddr = addr; in fill()
3125 taddr = addr; in getshadowslot()
3128 addr = taddr; in getshadowslot()
3469 addr = taddr; in puta()
3520 taddr = addr; in puta()
3527 taddr = addr; in puta()
3693 taddr = addr; in fprnt()
3749 taddr = addr; in fprnt()
4209 taddr = addr; in fprnt()
4331 addr = taddr; in check_addr()
[all …]
/illumos-gate/usr/src/cmd/ypcmd/
H A Dypserv_proc.c965 ulong_t taddr; in multihomed() local
967 taddr = inet_addr(cp); in multihomed()
968 if (ntohl(call_addr ^ taddr) < ntohl(call_addr ^ bestaddr)) in multihomed()
969 bestaddr = taddr; in multihomed()
1508 ulong_t taddr; in omultihomed() local
1510 taddr = inet_addr(cp); in omultihomed()
1511 if (ntohl(call_addr ^ taddr) < ntohl(call_addr ^ bestaddr)) in omultihomed()
1512 bestaddr = taddr; in omultihomed()
/illumos-gate/usr/src/uts/common/io/scsi/impl/
H A Dscsi_hba.c360 char *taddr,
6866 char **taddr; in scsi_hba_thread_taddrs() local
6875 for (taddr = taddrs; *taddr; taddr++) { in scsi_hba_thread_taddrs()
6879 td->td_taddr = *taddr; in scsi_hba_thread_taddrs()
7236 taddr, lun64)); in scsi_hba_enum_lsf_of_t()
7300 taddr, lun64)); in scsi_hba_enum_lsf_of_t()
7499 char **taddr; in scsi_hba_bus_configall_spi() local
7542 *taddr++ = tbuf; in scsi_hba_bus_configall_spi()
7546 *taddr = NULL; in scsi_hba_bus_configall_spi()
7553 for (taddr = taddrs; *taddr; taddr++) in scsi_hba_bus_configall_spi()
[all …]
/illumos-gate/usr/src/boot/forth/
H A Dsupport.4th257 caddr to taddr
261 taddr tlen s" , " strspn
269 taddr tlen s" console" setenv
280 taddr swap s" console" setenv
284 to taddr
288 taddr 1+ to taddr
1247 ( addr len addr' len' total taddr )
1248 dup rot ( addr len addr' len' taddr taddr total )
1252 2dup 2>r ( addr len addr' len' taddr' ) ( R: taddr len' taddr' )
1254 2r> + ( addr len taddr' ) ( R: taddr )
[all …]
/illumos-gate/usr/src/cmd/nlsadmin/
H A Dnlsadmin.c1128 setup_addr(char *laddr, char *taddr, char *netspec) in setup_addr() argument
1142 if (taddr && *taddr == '-') in setup_addr()
1187 if (taddr) { in setup_addr()
1221 …old_addsvc(TTYSVCCODE, taddr, entry.command, entry.comment, entry.modules, entry.id, entry.flags, … in setup_addr()
/illumos-gate/usr/src/uts/common/os/
H A Dvmem.c945 uintptr_t addr, taddr, start, end; in vmem_xalloc() local
1041 taddr = P2PHASEUP(start, align, phase); in vmem_xalloc()
1042 if (P2BOUNDARY(taddr, size, nocross)) in vmem_xalloc()
1043 taddr += in vmem_xalloc()
1044 P2ROUNDUP(P2NPHASE(taddr, nocross), align); in vmem_xalloc()
1045 if ((taddr - start) + size > end - start || in vmem_xalloc()
1049 addr = taddr; in vmem_xalloc()
/illumos-gate/usr/src/lib/libumem/common/
H A Dvmem.c822 uintptr_t addr = 0, taddr, start, end; in vmem_xalloc() local
921 taddr = P2PHASEUP(start, align, phase); in vmem_xalloc()
922 if (P2BOUNDARY(taddr, size, nocross)) in vmem_xalloc()
923 taddr += in vmem_xalloc()
924 P2ROUNDUP(P2NPHASE(taddr, nocross), align); in vmem_xalloc()
925 if ((taddr - start) + size > end - start || in vmem_xalloc()
929 addr = taddr; in vmem_xalloc()

12