Searched defs:taddr (Results 1 - 25 of 34) sorted by relevance

12

/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, le
[all...]
/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A Dmove.c99 Addr addr, taddr; local
115 taddr = addr + mv->m_poffset;
117 if ((mpp = find_segment((caddr_t)taddr, lmp)) == NULL) {
118 elf_move_bad(lml, lmp, sym, num, taddr);
130 DBG_CALL(Dbg_move_expand(lml, mv, taddr));
134 *((char *)taddr) = (char)mv->m_value;
135 taddr += stride;
140 *((Half *)taddr) = (Half)mv->m_value;
141 taddr += 2 * stride;
146 *((Word *)taddr)
[all...]
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dcpupart.c94 uintptr_t taddr = (uintptr_t)dq[i].dq_first; local
96 while (taddr != NULL) {
97 if (mdb_vread(&t, sizeof (t), taddr) == -1) {
99 taddr);
112 taddr, p.p_user.u_comm);
114 taddr = (uintptr_t)t.t_link;
H A Dsobj.c382 uintptr_t taddr = wsp->walk_addr; local
386 mdb_warn("couldn't read %p's turnstile at %p", taddr, addr);
393 return (wsp->walk_callback(taddr, wsp->walk_layer, wsp->walk_cbdata));
403 rwlock_walk(uintptr_t taddr, const kthread_t *t, rwlock_block_t **rwp) argument
411 mdb_warn("couldn't read %p's turnstile at %p", taddr, addr);
431 taddr, addr);
442 rw->rw_thread = taddr;
/illumos-gate/usr/src/cmd/rpcbind/
H A Dcheck_bound.c89 struct t_bind taddr, *baddr; local
99 taddr.addr = *na;
100 taddr.qlen = 1;
109 if (t_bind(fd, &taddr, baddr) != 0) {
123 ans = memcmp(taddr.addr.buf, baddr->addr.buf, baddr->addr.len);
133 * We are ignoring errors here. It trashes taddr and baddr;
146 add_bndlist(struct netconfig *nconf, struct t_bind *taddr, struct t_bind *baddr) argument
191 taddr->qlen = 1;
194 taddr->qlen = 0;
200 if (t_bind(fdl->fd, taddr, badd
[all...]
H A Drpcb_svc_com.c445 * Convert uaddr to taddr. Should be used only by
453 struct netbuf *taddr; local
456 ((taddr = uaddr2taddr(nconf, *uaddrp)) == NULL)) {
461 memcpy(result, taddr, sizeof (*result));
462 free(taddr);
468 * Convert taddr to uaddr. Should be used only by
472 rpcbproc_taddr2uaddr_com(struct netbuf *taddr, char **result, argument
480 *result = taddr2uaddr(nconf, taddr);
H A Drpcbind.c498 struct t_bind *taddr, *baddr; local
538 taddr = (struct t_bind *)t_alloc(fd, T_BIND, T_ADDR);
540 if ((baddr == NULL) || (taddr == NULL)) {
553 taddr->addr.len = nas->n_addrs->len;
554 memcpy(taddr->addr.buf, nas->n_addrs->buf, (int)nas->n_addrs->len);
558 taddr->qlen = 0;
560 taddr->qlen = listen_backlog;
573 if (t_bind(fd, taddr, baddr) != 0) {
579 if (nconf->nc_semantics != NC_TPI_CLTS && taddr->qlen != baddr->qlen)
581 "(negotiated: %d)", nconf->nc_netid, taddr
[all...]
/illumos-gate/usr/src/uts/common/io/
H A Di8237A.c530 ulong_t taddr; local
534 taddr = d37A_read_addr(chnl);
538 *addressp = taddr;
542 chnl, taddr, tcount));
/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)
[all...]
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dclnt_bcast.c557 struct netbuf *taddr; local
560 /* convert port to taddr */
565 taddr = &t_rdata.addr;
566 } else /* Convert the uaddr to taddr */
568 taddr = uaddr2taddr(
571 done = (*eachresult)(resultsp, taddr,
578 for (k = 0; k < taddr->len; k++)
579 printf("%d ", taddr->buf[k]);
583 if (taddr && !pmap_reply_flag)
584 netdir_free((char *)taddr,
[all...]
H A Drpcb_clnt.c207 add_cache(char *host, char *netid, struct netbuf *taddr, char *uaddr) argument
225 ad_cache->ac_taddr->len = ad_cache->ac_taddr->maxlen = taddr->len;
226 ad_cache->ac_taddr->buf = malloc(taddr->len);
231 (void) memcpy(ad_cache->ac_taddr->buf, taddr->buf, taddr->len);
1274 * Converts taddr to universal address. This routine should never
1278 rpcb_taddr2uaddr(struct netconfig *nconf, struct netbuf *taddr) argument
1288 if (taddr == NULL) {
1297 (char *)taddr, (xdrproc_t)xdr_wrapstring, (char *)&uaddr,
1311 struct netbuf *taddr; local
[all...]
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dlcl_ho.c297 const u_char *taddr = (const u_char *)*hap; local
302 (!memcmp(taddr, mapped, sizeof mapped) ||
303 !memcmp(taddr, tunnelled, sizeof tunnelled))) {
305 taddr += sizeof mapped;
310 !memcmp(taddr, uaddr, tlen))
/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]; local
615 (void) inet_ntop(AF_INET, &address, taddr, INET_ADDRSTRLEN);
618 taddr, exclude_addrs.cladm_num_netaddrs);
642 taddr, tmask, tmatch);
648 taddr);
657 char taddr[IP_REG_SIZE], tmask[IP_REG_SIZE], tmatch[IP_REG_SIZE]; local
659 (void) inet_ntop(AF_INET6, address, taddr, INET6_ADDRSTRLEN);
694 taddr);
/illumos-gate/usr/src/uts/common/avs/ns/nsctl/
H A Dnsc_mem.c924 char *taddr; local
926 if ((taddr = kmem_alloc(size, KM_NOSLEEP)) == NULL)
929 if (copyout(taddr, (char *)arg + size, size) < 0) {
930 kmem_free(taddr, size);
934 kmem_free(taddr, size);
/illumos-gate/usr/src/cmd/ypcmd/
H A Dypserv_proc.c964 ulong_t taddr; local
966 taddr = inet_addr(cp);
967 if (ntohl(call_addr ^ taddr) < ntohl(call_addr ^ bestaddr))
968 bestaddr = taddr;
1507 ulong_t taddr; local
1509 taddr = inet_addr(cp);
1510 if (ntohl(call_addr ^ taddr) < ntohl(call_addr ^ bestaddr))
1511 bestaddr = taddr;
/illumos-gate/usr/src/cmd/nlsadmin/
H A Dnlsadmin.c1128 setup_addr(char *laddr, char *taddr, char *netspec) argument
1142 if (taddr && *taddr == '-')
1187 if (taddr) {
1221 old_addsvc(TTYSVCCODE, taddr, entry.command, entry.comment, entry.modules, entry.id, entry.flags, netspec);
/illumos-gate/usr/src/uts/common/avs/ns/sdbc/
H A Dsd_misc.c816 char *taddr; local
868 taddr = NULL;
889 if ((taddr = kmem_alloc(CACHE_BLOCK_SIZE,
897 cc_ent->cc_write->sc_res, taddr,
904 } else if (copyout(taddr, (void *)addr[4],
915 if (taddr)
916 kmem_free(taddr, CACHE_BLOCK_SIZE);
/illumos-gate/usr/src/uts/i86xpv/io/
H A Dprivcmd_hcall.c267 vcpu_guest_context_t *taddr; local
272 get_xen_guest_handle_u(taddr, op.u.vcpucontext.ctxt);
274 taddr = sub_ie.ie_kaddr;
276 vcpu_guest_context_t *, taddr);
727 ulong_t *taddr; local
738 get_xen_guest_handle(taddr, op_arg.resv.extent_start);
740 taddr = sub_ie.ie_kaddr;
748 ulong_t *, taddr);
755 ulong_t *, taddr);
761 ulong_t *, taddr);
815 struct xen_memory_map *taddr; local
[all...]
/illumos-gate/usr/src/lib/libumem/common/
H A Dvmem.c820 uintptr_t addr, taddr, start, end; local
919 taddr = P2PHASEUP(start, align, phase);
920 if (P2BOUNDARY(taddr, size, nocross))
921 taddr +=
922 P2ROUNDUP(P2NPHASE(taddr, nocross), align);
923 if ((taddr - start) + size > end - start ||
927 addr = taddr;
/illumos-gate/usr/src/lib/libmtmalloc/common/
H A Dmtmalloc.c512 uintptr_t taddr; local
514 taddr = ALIGN((uintptr_t)alloc_buf + size,
516 data_size = taddr - (uintptr_t)alloc_buf;
522 tail = oversize_header_alloc(taddr, frag_size);
529 uintptr_t ret_addr, taddr, shift, tshift; local
583 taddr = ALIGN((uintptr_t)alloc_buf +
585 tshift = ret_addr - taddr;
587 taddr);
588 ret_addr = taddr;
638 taddr
[all...]
/illumos-gate/usr/src/cmd/mdb/sun4u/modules/unix/
H A Dunix.c1522 whatis_walk_tt(uintptr_t taddr, const trap_trace_fullrec_t *ttf, argument
1527 while (mdb_whatis_match(w, taddr, sizeof (struct trap_trace_record),
1529 mdb_whatis_report_object(w, cur, taddr,
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_srv_deleg.c445 void *addr, *taddr; local
512 taddr = &addr4;
519 taddr = &addr6;
530 nb.buf = (char *)taddr;
/illumos-gate/usr/src/uts/common/os/
H A Dvmem.c942 uintptr_t addr, taddr, start, end; local
1036 taddr = P2PHASEUP(start, align, phase);
1037 if (P2BOUNDARY(taddr, size, nocross))
1038 taddr +=
1039 P2ROUNDUP(P2NPHASE(taddr, nocross), align);
1040 if ((taddr - start) + size > end - start ||
1044 addr = taddr;
/illumos-gate/usr/src/cmd/fs.d/udfs/fstyp/
H A Dud_lib.c454 uint8_t *addr, *taddr, *eaddr; local
474 for (taddr = addr, eaddr = addr + h->udfs.mvds_len; taddr < eaddr;
475 taddr += h->udfs.lbsize, vds_loc ++) {
478 tag = (struct tag *)taddr;
494 pvd = (struct pri_vol_desc *)taddr;
509 vds = (struct vol_desc_ptr *)taddr;
536 pd = (struct part_desc *)taddr;
587 lvd = (struct log_vol_desc *)taddr;
604 usd = (struct unall_spc_desc *)taddr;
774 uint8_t *addr, *taddr, *eaddr; local
856 uint8_t *addr, *taddr, *eaddr; local
[all...]
/illumos-gate/usr/src/uts/common/io/vr/
H A Dvr.c2034 ether_addr_t taddr; local
2051 bzero(&taddr, sizeof (taddr));
2052 cam_index = vr_cam_index(vrp, taddr);
2201 ether_addr_t taddr; local
2206 bzero(&taddr, sizeof (taddr));
2216 if (bcmp(maddr, taddr, ETHERADDRL) == 0) {
2239 taddr[a] = VR_GET8(vrp->acc_reg, VR_MCAM0 + a);
2241 if (bcmp(maddr, taddr, ETHERADDR
[all...]

Completed in 97 milliseconds

12