Home
last modified time | relevance | path

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

12

/titanic_44/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()
117 if ((mpp = find_segment((caddr_t)taddr, lmp)) == NULL) { 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()
[all …]
/titanic_44/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 …]
/titanic_44/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()
123 ans = memcmp(taddr.addr.buf, baddr->addr.buf, baddr->addr.len); in check_bound()
146 add_bndlist(struct netconfig *nconf, struct t_bind *taddr, struct t_bind *baddr) in add_bndlist() argument
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()
[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()
554 memcpy(taddr->addr.buf, nas->n_addrs->buf, (int)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()
579 if (nconf->nc_semantics != NC_TPI_CLTS && taddr->qlen != baddr->qlen) in init_transport()
581 "(negotiated: %d)", nconf->nc_netid, taddr->qlen, 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()
/titanic_44/usr/src/cmd/mdb/common/modules/genunix/
H A Dcpupart.c94 uintptr_t taddr = (uintptr_t)dq[i].dq_first; in cpupart_disp_threads() local
96 while (taddr != NULL) { in cpupart_disp_threads()
97 if (mdb_vread(&t, sizeof (t), taddr) == -1) { in cpupart_disp_threads()
99 taddr); in cpupart_disp_threads()
112 taddr, p.p_user.u_comm); in cpupart_disp_threads()
114 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()
/titanic_44/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);
/titanic_44/usr/src/lib/libnsl/rpc/
H A Drpcb_clnt.c207 add_cache(char *host, char *netid, struct netbuf *taddr, char *uaddr) in add_cache() argument
225 ad_cache->ac_taddr->len = ad_cache->ac_taddr->maxlen = taddr->len; in add_cache()
226 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()
1278 rpcb_taddr2uaddr(struct netconfig *nconf, struct netbuf *taddr) in rpcb_taddr2uaddr() argument
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()
[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()
/titanic_44/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()
/titanic_44/usr/src/uts/i86xpv/io/
H A Dprivcmd_hcall.c267 vcpu_guest_context_t *taddr; in privcmd_HYPERVISOR_domctl() local
272 get_xen_guest_handle_u(taddr, op.u.vcpucontext.ctxt); in privcmd_HYPERVISOR_domctl()
274 taddr = sub_ie.ie_kaddr; in privcmd_HYPERVISOR_domctl()
276 vcpu_guest_context_t *, taddr); in privcmd_HYPERVISOR_domctl()
727 ulong_t *taddr; in privcmd_HYPERVISOR_memory_op() local
738 get_xen_guest_handle(taddr, op_arg.resv.extent_start); in privcmd_HYPERVISOR_memory_op()
740 taddr = sub_ie.ie_kaddr; in privcmd_HYPERVISOR_memory_op()
748 ulong_t *, taddr); in privcmd_HYPERVISOR_memory_op()
755 ulong_t *, taddr); in privcmd_HYPERVISOR_memory_op()
761 ulong_t *, taddr); in privcmd_HYPERVISOR_memory_op()
[all …]
/titanic_44/usr/src/cmd/fs.d/udfs/fstyp/
H A Dud_lib.c454 uint8_t *addr, *taddr, *eaddr; in ud_parse_fill_vds() local
474 for (taddr = addr, eaddr = addr + h->udfs.mvds_len; taddr < eaddr; in ud_parse_fill_vds()
475 taddr += h->udfs.lbsize, vds_loc ++) { in ud_parse_fill_vds()
478 tag = (struct tag *)taddr; in ud_parse_fill_vds()
494 pvd = (struct pri_vol_desc *)taddr; in ud_parse_fill_vds()
509 vds = (struct vol_desc_ptr *)taddr; in ud_parse_fill_vds()
536 pd = (struct part_desc *)taddr; in ud_parse_fill_vds()
587 lvd = (struct log_vol_desc *)taddr; in ud_parse_fill_vds()
604 usd = (struct unall_spc_desc *)taddr; in ud_parse_fill_vds()
774 uint8_t *addr, *taddr, *eaddr; in ud_get_latest_lvid() local
[all …]
/titanic_44/usr/src/lib/libmtmalloc/common/
H A Dmtmalloc.c512 uintptr_t taddr; in memalign() local
514 taddr = ALIGN((uintptr_t)alloc_buf + size, in memalign()
516 data_size = taddr - (uintptr_t)alloc_buf; in memalign()
522 tail = oversize_header_alloc(taddr, frag_size); 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()
[all …]
/titanic_44/usr/src/cmd/rpcsvc/
H A Drup.c309 collectnames(resultsp, taddr, nconf) in collectnames() argument
311 struct t_bind *taddr;
344 if (netbufeq(&taddr->addr, entryp->addr))
356 entry[curentry].addr = netbufdup(&taddr->addr);
363 if (netdir_getbyaddr(nconf, &hs, &taddr->addr) == ND_OK)
367 char *uaddr = taddr2uaddr(nconf, &taddr->addr);
/titanic_44/usr/src/lib/libresolv2/common/irs/
H A Dlcl_ho.c297 const u_char *taddr = (const u_char *)*hap; in ho_byaddr() local
302 (!memcmp(taddr, mapped, sizeof mapped) || in ho_byaddr()
303 !memcmp(taddr, tunnelled, sizeof tunnelled))) { in ho_byaddr()
305 taddr += sizeof mapped; in ho_byaddr()
310 !memcmp(taddr, uaddr, tlen)) in ho_byaddr()
/titanic_44/usr/src/uts/common/avs/ns/nsctl/
H A Dnsc_mem.c924 char *taddr; in _nsc_get_global_data() local
926 if ((taddr = kmem_alloc(size, KM_NOSLEEP)) == NULL) in _nsc_get_global_data()
929 if (copyout(taddr, (char *)arg + size, size) < 0) { in _nsc_get_global_data()
930 kmem_free(taddr, size); in _nsc_get_global_data()
934 kmem_free(taddr, size); in _nsc_get_global_data()
/titanic_44/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()
/titanic_44/usr/src/cmd/fs.d/ufs/fsdb/
H A Dfsdb.c2823 u_offset_t taddr; in fill() local
2839 taddr = addr; in fill()
2851 cur_bytes -= taddr - addr; in fill()
3108 long taddr, tcurbytes; in getshadowslot() local
3135 taddr = addr; in getshadowslot()
3138 addr = taddr; in getshadowslot()
3451 u_offset_t taddr = addr; in puta() local
3479 addr = taddr; in puta()
3530 taddr = addr; in puta()
3533 cur_bytes -= taddr - addr; in puta()
[all …]
/titanic_44/usr/src/cmd/ypcmd/
H A Dypserv_proc.c964 ulong_t taddr; in multihomed() local
966 taddr = inet_addr(cp); in multihomed()
967 if (ntohl(call_addr ^ taddr) < ntohl(call_addr ^ bestaddr)) in multihomed()
968 bestaddr = taddr; in multihomed()
1507 ulong_t taddr; in omultihomed() local
1509 taddr = inet_addr(cp); in omultihomed()
1510 if (ntohl(call_addr ^ taddr) < ntohl(call_addr ^ bestaddr)) in omultihomed()
1511 bestaddr = taddr; in omultihomed()
/titanic_44/usr/src/uts/common/io/scsi/impl/
H A Dscsi_hba.c358 char *taddr,
5887 char taddr[SCSI_MAXNAMELEN]; in scsi_lunchg1_daemon() local
5928 for (p = taddr; (*ua != ',') && (*ua != '\0'); ) in scsi_lunchg1_daemon()
5938 (void) strcat(path, taddr); in scsi_lunchg1_daemon()
6864 char **taddr; in scsi_hba_thread_taddrs() local
6873 for (taddr = taddrs; *taddr; taddr++) { in scsi_hba_thread_taddrs()
6877 td->td_taddr = *taddr; in scsi_hba_thread_taddrs()
6991 scsi_device_reportluns(struct scsi_device *sd0, char *taddr, int pi, in scsi_device_reportluns() argument
7111 "@%s,0 path %d: %d/%d luns", taddr, pi, nluns, tluns)); in scsi_device_reportluns()
7144 dev_info_t *self, char *taddr, int pi, int mt, scsi_enum_t se) in scsi_hba_enum_lsf_of_t() argument
[all …]
/titanic_44/usr/src/uts/common/avs/ns/sdbc/
H A Dsd_misc.c816 char *taddr; in sdbc_get_cd_blk() local
868 taddr = NULL; in sdbc_get_cd_blk()
889 if ((taddr = kmem_alloc(CACHE_BLOCK_SIZE, in sdbc_get_cd_blk()
897 cc_ent->cc_write->sc_res, taddr, in sdbc_get_cd_blk()
904 } else if (copyout(taddr, (void *)addr[4], in sdbc_get_cd_blk()
915 if (taddr) in sdbc_get_cd_blk()
916 kmem_free(taddr, CACHE_BLOCK_SIZE); in sdbc_get_cd_blk()
/titanic_44/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()
/titanic_44/usr/src/uts/common/os/
H A Dvmem.c942 uintptr_t addr, taddr, start, end; in vmem_xalloc() local
1036 taddr = P2PHASEUP(start, align, phase); in vmem_xalloc()
1037 if (P2BOUNDARY(taddr, size, nocross)) in vmem_xalloc()
1038 taddr += in vmem_xalloc()
1039 P2ROUNDUP(P2NPHASE(taddr, nocross), align); in vmem_xalloc()
1040 if ((taddr - start) + size > end - start || in vmem_xalloc()
1044 addr = taddr; in vmem_xalloc()
/titanic_44/usr/src/lib/libumem/common/
H A Dvmem.c820 uintptr_t addr, taddr, start, end; in vmem_xalloc() local
919 taddr = P2PHASEUP(start, align, phase); in vmem_xalloc()
920 if (P2BOUNDARY(taddr, size, nocross)) in vmem_xalloc()
921 taddr += in vmem_xalloc()
922 P2ROUNDUP(P2NPHASE(taddr, nocross), align); in vmem_xalloc()
923 if ((taddr - start) + size > end - start || in vmem_xalloc()
927 addr = taddr; in vmem_xalloc()

12