/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | ypserv_resolv_common.c | 70 char **addrp = (caddr_t *)&(ps->addr); local 75 xdr_array(xdrs, addrp, &addrsize, addrsize,
|
H A D | ypserv_resolv.c | 301 struct sockaddr_in *addrp; local 333 addrp = svc_getcaller(xprt); 334 fwd_req4.ip = addrp->sin_addr.s_addr; 335 fwd_req4.port = addrp->sin_port;
|
/illumos-gate/usr/src/uts/common/rpc/ |
H A D | xdr_array.c | 52 * *addrp is a pointer to the array, *sizep is the number of elements. 53 * If addrp is NULL (*sizep * elsize) bytes are allocated. 58 xdr_array(XDR *xdrs, caddr_t *addrp, uint_t *sizep, const uint_t maxsize, argument 62 caddr_t target = *addrp; 87 *addrp = target = (char *)mem_alloc(nodesize); 110 mem_free(*addrp, nodesize); 111 *addrp = NULL;
|
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | xdr_array.c | 61 * *addrp is a pointer to the array, *sizep is the number of elements. 62 * If *addrp is NULL (*sizep * elsize) bytes are allocated. 67 xdr_array(XDR *xdrs, caddr_t *addrp, uint_t *sizep, const uint_t maxsize, argument 71 caddr_t target = *addrp; 94 *addrp = target = malloc(nodesize); 118 free(*addrp); 119 *addrp = NULL;
|
/illumos-gate/usr/src/uts/i86pc/io/gfx_private/ |
H A D | gfxp_segmap.c | 60 gfxp_ddi_segmap_setup(dev_t dev, off_t offset, struct as *as, caddr_t *addrp, argument 129 map_addr(addrp, len, ptob(pfn), 0, flags); 130 if (*addrp == NULL) { 138 (void) as_unmap(as, *addrp, len); 155 error = as_map(as, *addrp, len, segdev_create, &dev_a);
|
/illumos-gate/usr/src/lib/libtsnet/common/ |
H A D | tsol_sgetrhent.c | 89 get_network_prefix(in_addr_t *addrp) argument 94 addr = ntohl(*addrp); 97 *addrp = htonl(addr);
|
H A D | tsol_getrhent.c | 58 tsol_getrhbyaddr(const void *addrp, size_t len, int af) argument 69 arg.key.hostaddr.addr = (const char *)addrp; 80 (char *)addrp, rhstrp ? rhstrp->template : "NULL");
|
/illumos-gate/usr/src/uts/common/rpc/sec/ |
H A D | authdesubr.c | 78 rtime(struct knetconfig *synconfig, struct netbuf *addrp, int calltype, argument 120 unitdata->addr.len = addrp->len; 121 bcopy(addrp->buf, unitdata->addr.buf, 169 if (bcmp(addrp->buf, unitdata->addr.buf, 221 server->addr.len = addrp->len; 222 bcopy(addrp->buf, server->addr.buf, server->addr.len); 328 error = clnt_tli_kcreate(synconfig, addrp, (rpcprog_t)RPCBPROG,
|
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibmf/ |
H A D | ibmf_ud_dest.c | 331 ibmf_addr_info_t *addrp; local 346 addrp = &msgimplp->im_local_addr; 388 adds_vec.av_dlid = addrp->ia_remote_lid; 406 adds_vec.av_src_path = addrp->ia_local_lid - clientp->ic_base_lid; 407 adds_vec.av_srvl = addrp->ia_service_level;
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | instr_size.c | 129 instr_size(struct regs *rp, caddr_t *addrp, enum seg_rw rw) argument
|
/illumos-gate/usr/src/lib/libnsl/nss/ |
H A D | gethostent.c | 114 struct in_addr *addrp; local 170 addrp = (struct in_addr *)ROUND_DOWN(buffer + buflen, 171 sizeof (*addrp)); 172 addrp -= naddr; 173 addrvec = (char **)ROUND_DOWN(addrp, sizeof (*addrvec)); 214 addrvec[i] = (char *)&addrp[i]; 215 if ((addrp[i].s_addr = inet_addr(addrbuf)) ==
|
/illumos-gate/usr/src/lib/nsswitch/dns/common/ |
H A D | gethostent.c | 203 void *addrp; local 210 addrp = &unmapv4; 213 (void) memcpy(addrp, &argp->key.hostaddr.addr[12], addrlen); 215 addrp = (void *)argp->key.hostaddr.addr; 219 he = _gethostbyaddr(&argp->h_errno, addrp, addrlen, af);
|
/illumos-gate/usr/src/lib/libdscp/ |
H A D | libdscp.c | 459 * Returns: 0 upon success, with 'addrp' updated. 460 * -1 upon failure, with 'addrp' undefined. 463 convert_ipv6(struct sockaddr_in6 *addr6, uint32_t *addrp) argument 493 *addrp = ntohl(addr);
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | inet_ntop.c | 231 str2inet_addr(char *cp, ipaddr_t *addrp) argument 254 *addrp = addr;
|
/illumos-gate/usr/src/uts/common/io/aggr/ |
H A D | aggr_port.c | 567 aggr_port_multicst(void *arg, boolean_t add, const uint8_t *addrp) argument 572 return (mac_multicast_add(port->lp_mch, addrp)); 574 mac_multicast_remove(port->lp_mch, addrp);
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | smbios.c | 166 smb_segmap(dev_t dev, off_t off, struct as *as, caddr_t *addrp, off_t len, argument 196 *addrp = addr;
|
H A D | sundlpi.c | 46 const void *addrp, 65 bcopy(addrp, mp->b_rptr + sizeof (dl_bind_ack_t), addrlen); 109 const void *addrp, 127 bcopy(addrp, mp->b_rptr + sizeof (dl_uderror_ind_t), addrlen); 135 const void *addrp, 148 bcopy(addrp, mp->b_rptr + sizeof (dl_phys_addr_ack_t), len); 42 dlbindack( queue_t *wq, mblk_t *mp, t_scalar_t sap, const void *addrp, t_uscalar_t addrlen, t_uscalar_t maxconind, t_uscalar_t xidtest) argument 106 dluderrorind( queue_t *wq, mblk_t *mp, const void *addrp, t_uscalar_t addrlen, t_uscalar_t error, t_uscalar_t unix_errno) argument 132 dlphysaddrack( queue_t *wq, mblk_t *mp, const void *addrp, t_uscalar_t len) argument
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | sysconf.h | 51 ulong_t *addrp; /* pointer to valloced config addresses */ member in struct:sysparam
|
/illumos-gate/usr/src/uts/sun4u/os/ |
H A D | plat_ecc_dimm.c | 92 plat_get_mem_addr(char *unum, char *sid, uint64_t offset, uint64_t *addrp) argument 107 return (p2get_mem_addr(mcid, sid, offset, addrp));
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | zone.c | 319 zsd_print(uintptr_t addrp, const void * datap, void * privatep) argument 324 if (mdb_vread(&entry, sizeof (entry), addrp) == -1) { 325 mdb_warn("couldn't read zsd_entry at %p", addrp);
|
/illumos-gate/usr/src/uts/i86xpv/io/ |
H A D | privcmd.c | 306 privcmd_segmap(dev_t dev, off_t off, struct as *as, caddr_t *addrp, argument 317 map_addr(addrp, len, (offset_t)off, 0, flags); 318 if (*addrp == NULL) { 326 (void) as_unmap(as, *addrp, len); 344 error = as_map(as, *addrp, len, segmf_create, &a);
|
/illumos-gate/usr/src/test/os-tests/tests/spoof-ras/ |
H A D | spoof-ras.c | 65 spoof_get_lla(int s, const char *iface, struct lifreq *addrp, argument 73 bzero(addrp, sizeof (*addrp)); 76 (void) strlcpy(addrp->lifr_name, iface, LIFNAMSIZ); 77 if (ioctl(s, SIOCGLIFADDR, addrp) < 0) { 83 bcopy(&addrp->lifr_addr, &llap->lifr_nd.lnr_addr,
|
/illumos-gate/usr/src/boot/sys/boot/efi/loader/arch/amd64/ |
H A D | framebuffer.c | 223 efifb_uga_locate_framebuffer(EFI_PCI_IO_PROTOCOL *pciio, uint64_t *addrp, argument 235 *addrp = 0; 261 *addrp = addr; 265 return ((*addrp == 0 || *sizep == 0) ? EFI_DEVICE_ERROR : 0);
|
/illumos-gate/usr/src/uts/sun4u/vm/ |
H A D | mach_vm_dep.c | 168 * addrp is a value/result parameter. 170 * machine dependent fashion. For MAP_ALIGN, addrp contains the 182 map_addr_proc(caddr_t *addrp, size_t len, offset_t off, int vacalign, argument 224 ((uintptr_t)*addrp) != 0)) { 248 if ((flags & MAP_ALIGN) && ((uintptr_t)*addrp != 0) && 249 ((uintptr_t)*addrp < align_amount)) 250 align_amount = (uintptr_t)*addrp; 263 if ((flags & MAP_ALIGN) && ((uintptr_t)*addrp > align_amount)) { 264 align_amount = (uintptr_t)*addrp; 326 *addrp [all...] |
/illumos-gate/usr/src/lib/nsswitch/files/common/ |
H A D | gethostent.c | 50 void *addrp, int *addrsize) 81 addrp, v6flag, addrsize)) { 105 addrp, v6flag, addrsize)); 131 void *addrp, int v6flag, int *h_length) 144 addrpv4 = (in_addr_t *)addrp; 149 addrpv6 = (struct in6_addr *)addrp; 355 void *addrp; local 429 addrp = (type == AF_INET)? 435 addrp, &i)) { 570 addrp 48 check_name(nss_XbyY_args_t *argp, const char *line, int linelen, int type, const char **namep, int *namelen, void *addrp, int *addrsize) argument 130 __nss_files_get_addr(int af, const char *addrstart, int addrlen, void *addrp, int v6flag, int *h_length) argument 620 struct in_addr *addrp; local [all...] |