Searched defs:newaddr (Results 1 - 18 of 18) sorted by relevance

/illumos-gate/usr/src/boot/sys/boot/common/
H A Dself_reloc.c73 Elf_Addr *newaddr; local
112 newaddr = (Elf_Addr *)(rel->r_offset + baseaddr);
113 *newaddr += baseaddr;
116 *newaddr += rel->r_addend;
/illumos-gate/usr/src/boot/sys/boot/efi/loader/
H A Dreloc.c73 unsigned long *newaddr; local
113 newaddr = (unsigned long *)(ImageBase + rel->r_offset);
114 *newaddr += ImageBase;
117 *newaddr += rel->r_addend;
/illumos-gate/usr/src/uts/common/rpc/
H A Dxdr_mem.c125 caddr_t newaddr = xdrs->x_base + pos; local
129 if (newaddr > lastaddr)
131 xdrs->x_private = newaddr;
132 diff = lastaddr - newaddr;
H A Dxdr_rdma.c655 caddr_t newaddr = xdrs->x_base + pos; local
659 if (newaddr > lastaddr)
662 xdrp->xp_offp = newaddr;
663 diff = lastaddr - newaddr;
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dxdr_mem.c200 caddr_t newaddr = xdrs->x_base + pos; local
203 if ((long)newaddr > (long)lastaddr)
205 xdrs->x_private = newaddr;
206 xdrs->x_handy = (int)((uintptr_t)lastaddr - (uintptr_t)newaddr);
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/bridged/
H A Drstp.c447 rstp_change_mac(struct portdata *port, const unsigned char *newaddr) argument
456 (void) _link_ntoa(newaddr, newmac, ETHERADDRL, IFT_OTHER);
465 (void) memcpy(port->mac_addr, newaddr, ETHERADDRL);
474 (void) memcpy(port->mac_addr, newaddr, ETHERADDRL);
/illumos-gate/usr/src/uts/common/os/
H A Dschedctl.c622 schedctl_getpage(struct anon_map **newamp, caddr_t *newaddr) argument
650 *newaddr = kaddr;
H A Dsunddi.c6503 char *newaddr; local
6512 newaddr = (DEVI(dip)->devi_addr == buf) ?
6514 (void) strlcpy(newaddr, name, MAXNAMELEN);
6516 newaddr = NULL;
6518 DEVI(dip)->devi_addr = newaddr;
/illumos-gate/usr/src/lib/libast/common/vmalloc/
H A Dvmtrace.c101 Vmuchar_t* oldaddr, Vmuchar_t* newaddr, size_t size, size_t align )
103 static void trtrace(vm, oldaddr, newaddr, size, align)
106 Vmuchar_t* newaddr; /* new data address */
137 bufp = trstrcpy(bufp, tritoa(newaddr ? VLONG(newaddr) : 0L, 0), ':');
100 trtrace(Vmalloc_t* vm, Vmuchar_t* oldaddr, Vmuchar_t* newaddr, size_t size, size_t align ) argument
/illumos-gate/usr/src/lib/libnisdb/
H A Dldap_util.c579 * and *newaddr will point to the new Address.
588 checkIPaddress(char *addr, int len, char **newaddr) { argument
622 if (newaddr == 0)
624 if ((*newaddr = am(myself, INET6_ADDRSTRLEN)) == 0)
626 if (inet_ntop(AF_INET6, &addr_ipv6, *newaddr, INET6_ADDRSTRLEN))
628 sfree(*newaddr);
634 if (newaddr == 0)
636 if ((*newaddr = am(myself, INET_ADDRSTRLEN)) == 0)
638 if (inet_ntop(AF_INET, &addr_ipv4, *newaddr, INET_ADDRSTRLEN))
640 sfree(*newaddr);
[all...]
/illumos-gate/usr/src/cmd/ptools/pmadvise/
H A Dpmadvise.c413 * Inserts newaddr into list. dups indicates whether we allow duplicate
417 insert_addr(saddr_t **list, saddr_t *newaddr, int dups) argument
423 newaddr->next = *list;
424 *list = newaddr;
429 if ((dups == NODUPS) && (psaddr->addr == newaddr->addr)) {
430 free(newaddr);
438 if ((psaddr->addr > newaddr->addr) ||
439 (psaddr->addr == newaddr->addr &&
440 psaddr->length < newaddr->length))
446 prev->next = newaddr;
563 saddr_t *newaddr; local
[all...]
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_connect.c2108 * newaddr - Buffer to which this function writes resulting address,
2111 * newaddr_size - Size of the newaddr buffer.
2121 * newaddr - See above (INPUT section).
2126 cvt_hostname2ip(char *server, char *newaddr, int newaddr_size, argument
2184 (void) snprintf(newaddr,
2193 (void) snprintf(newaddr,
2202 (void) strncpy(newaddr, buffer, newaddr_size);
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dutil.c541 register ADDRESS *newaddr; local
549 newaddr = (ADDRESS *) sm_rpool_malloc_x(rpool,
550 sizeof(*newaddr));
551 STRUCTCOPY(*addr, *newaddr);
552 *tail = newaddr;
553 tail = &newaddr->q_next;
/illumos-gate/usr/src/cmd/sgs/libld/common/
H A Dmap_core.c760 void *newaddr; local
766 newaddr = libld_realloc(stack->stk_s, new_n_alloc * elt_size);
767 if (newaddr == NULL)
770 stack->stk_s = newaddr;
/illumos-gate/usr/src/cmd/tsol/tnd/
H A Dtnd.c83 static int is_better_match(in_addr_t newaddr, int indx, tnrh_tlb_t *tlbt);
84 static int walk_cache_table(in_addr_t newaddr, char *name,
96 static int walk_cache_table_v6(in6_addr_t newaddr, char *name,
1391 is_better_match(in_addr_t newaddr, int indx, tnrh_tlb_t *tlbt) argument
1396 if ((newaddr) == (tlbt->addr & tmpmask))
1410 walk_cache_table(in_addr_t newaddr, char *name, int indx, tnd_tnrhdb_t *src) argument
1420 if (is_better_match(newaddr, indx, tlbt)) {
1452 is_better_match_v6(in6_addr_t newaddr, int indx, tnrh_tlb_ipv6_t *tlbt) argument
1459 if (V6_MASK_EQ(newaddr, tmpmask, tlbt->addr))
1473 walk_cache_table_v6(in6_addr_t newaddr, cha argument
[all...]
/illumos-gate/usr/src/lib/libipadm/common/
H A Dipadm_addr.c2161 ipadm_addrobj_t newaddr; local
2188 if ((newaddr = calloc(1, sizeof (struct ipadm_addrobj_s))) == NULL)
2198 newaddr->ipadm_lifnum = ifsp.ifsp_lun;
2202 (void) strlcpy(newaddr->ipadm_ifname, ifname,
2203 sizeof (newaddr->ipadm_ifname));
2206 (void) snprintf(newaddr->ipadm_aobjname,
2207 sizeof (newaddr->ipadm_aobjname), "%s/%s", ifname, aname);
2212 newaddr->ipadm_intfidlen = 0;
2213 newaddr->ipadm_stateful = B_TRUE;
2214 newaddr
[all...]
/illumos-gate/usr/src/cmd/ldap/ns_ldap/
H A Dldapaddent.c78 static int check_ipaddr(char *addr, char **newaddr);
502 * *newaddr will point to the new address.
511 check_ipaddr(char *addr, char **newaddr) { argument
517 if (newaddr == NULL)
524 if ((*newaddr = calloc(1, INET_ADDRSTRLEN)) == NULL) {
529 if (inet_ntop(AF_INET, &addr_ipv4, *newaddr,
532 free(*newaddr);
537 if ((*newaddr = calloc(1, INET6_ADDRSTRLEN)) == NULL) {
541 if (inet_ntop(AF_INET6, &addr_ipv6, *newaddr, INET6_ADDRSTRLEN))
543 free(*newaddr);
[all...]
/illumos-gate/usr/src/uts/common/io/
H A Dbridge.c1007 const uint8_t *newaddr)
1015 if (bcmp(oldaddr, newaddr, ETHERADDRL) == 0)
1068 bcmp(newaddr, zero_addr, ETHERADDRL) == 0)
1071 bcopy(newaddr, match.bf_dest, ETHERADDRL);
1074 bfnew = fwd_alloc(newaddr, 1, RBRIDGE_NICKNAME_NONE);
1081 bfnew = fwd_alloc(newaddr, bfp->bf_nlinks + 1,
1006 fwd_update_local(bridge_link_t *blp, const uint8_t *oldaddr, const uint8_t *newaddr) argument

Completed in 3775 milliseconds