/titanic_41/usr/src/lib/libnsl/nss/ |
H A D | gethostent.c | 111 int naddr, i, aliases_erange = 0; in __str2hostent() local 155 naddr = 1; in __str2hostent() 159 naddr++; in __str2hostent() 166 addrp6 -= naddr; in __str2hostent() 168 addrvec -= naddr + 1; in __str2hostent() 172 addrp -= naddr; in __str2hostent() 174 addrvec -= naddr + 1; in __str2hostent() 184 for (i = 0; i < naddr; i ++) { in __str2hostent() 269 addrvec[i >= naddr ? naddr : i + 1] = 0; in __str2hostent()
|
/titanic_41/usr/src/uts/common/fs/proc/ |
H A D | prsubr.c | 1383 caddr_t saddr, naddr; in prnsegs() local 1386 for (saddr = seg->s_base; saddr < eaddr; saddr = naddr) { in prnsegs() 1388 &saddr, &naddr, eaddr); in prnsegs() 1389 if (saddr != naddr) in prnsegs() 1638 caddr_t saddr, naddr; in prgetmap() local 1641 for (saddr = seg->s_base; saddr < eaddr; saddr = naddr) { in prgetmap() 1643 &saddr, &naddr, eaddr); in prgetmap() 1644 if (saddr == naddr) in prgetmap() 1650 mp->pr_size = naddr - saddr; in prgetmap() 1678 mp->pr_size = (uintptr_t)naddr - in prgetmap() [all …]
|
H A D | prioctl.c | 3542 caddr_t saddr, naddr; in oprgetmap() local 3545 for (saddr = seg->s_base; saddr < eaddr; saddr = naddr) { in oprgetmap() 3546 prot = pr_getprot(seg, 0, &tmp, &saddr, &naddr, eaddr); in oprgetmap() 3547 if (saddr == naddr) in oprgetmap() 3553 mp->pr_size = naddr - saddr; in oprgetmap() 3602 caddr_t saddr, naddr; in oprgetmap32() local 3605 for (saddr = seg->s_base; saddr < eaddr; saddr = naddr) { in oprgetmap32() 3606 prot = pr_getprot(seg, 0, &tmp, &saddr, &naddr, eaddr); in oprgetmap32() 3607 if (saddr == naddr) in oprgetmap32() 3613 mp->pr_size = (size32_t)(naddr - saddr); in oprgetmap32() [all …]
|
/titanic_41/usr/src/lib/libinetutil/common/ |
H A D | ifaddrlistx.c | 47 int i, nlifr, naddr = 0; in ifaddrlistx() local 138 naddr++; in ifaddrlistx() 145 return (naddr); in ifaddrlistx()
|
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_ipaddr.c | 307 void *naddr; local 322 naddr = (void *)&addrv6; 325 naddr = (void *)&addrv4; 332 (void) addhost(family, naddr, alias, NULL); 334 (void) addhost(family, naddr, name, NULL);
|
/titanic_41/usr/src/cmd/sed/ |
H A D | compile.c | 85 int naddr; /* Number of address args */ member 158 int naddr; /* Number of addresses */ in compile_stream() local 182 naddr = 0; in compile_stream() 187 naddr++; in compile_stream() 195 naddr++; in compile_stream() 215 if (naddr > fp->naddr) in compile_stream() 217 "found %d"), *p, fp->naddr, naddr); in compile_stream()
|
/titanic_41/usr/src/lib/libipmp/common/ |
H A D | ipmp_query.h | 112 #define IPMP_ADDRLIST_SIZE(naddr) \ argument 113 IPMP_LIST_SIZE(addrlist, sizeof (struct sockaddr_storage), naddr)
|
H A D | ipmp_query.c | 644 const char *bcifname, uint_t naddr, struct sockaddr_storage *addrs) in ipmp_groupinfo_create() argument 656 grinfop->gr_adlistp = ipmp_addrlist_create(naddr, addrs); in ipmp_groupinfo_create() 691 ipmp_addrlist_create(uint_t naddr, struct sockaddr_storage *addrs) in ipmp_addrlist_create() argument 696 adlistp = malloc(IPMP_ADDRLIST_SIZE(naddr)); in ipmp_addrlist_create() 700 adlistp->al_naddr = naddr; in ipmp_addrlist_create() 701 for (i = 0; i < naddr; i++) in ipmp_addrlist_create()
|
/titanic_41/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_fmt.c | 408 uintptr_t naddr; in fmt_instr() local 411 naddr = mdb_dis_ins2str(mdb.m_disasm, t, as, in fmt_instr() 413 if (naddr == addr) in fmt_instr() 416 addr = naddr; in fmt_instr() 427 uintptr_t naddr; in fmt_dotinstr() local 430 for (mdb_iob_clrflags(mdb.m_out, oflags); cnt-- != 0; addr = naddr) { in fmt_dotinstr() 435 naddr = mdb_dis_ins2str(mdb.m_disasm, t, as, in fmt_dotinstr() 437 if (naddr == addr) in fmt_dotinstr()
|
H A D | mdb_cmds.c | 206 mdb_tgt_addr_t naddr; in write_arglist() local 251 if ((naddr = write_value(as, addr, value, rdback)) == addr) { in write_arglist() 258 mdb.m_incr = naddr - addr; in write_arglist() 259 addr = naddr; in write_arglist() 393 mdb_tgt_addr_t naddr; in print_arglist() local 460 naddr = mdb_fmt_print(mdb.m_target, as, addr, n, in print_arglist() 462 mdb.m_incr = naddr - addr; in print_arglist() 463 addr = naddr; in print_arglist() 1917 uintptr_t oaddr, naddr; in cmd_dis() local 2006 naddr = mdb_dis_ins2str(dis, tgt, as, in cmd_dis() [all …]
|
/titanic_41/usr/src/uts/common/inet/ilb/ |
H A D | ilb_conn.c | 427 hnat_cksum_v4(uint16_t *oaddr, uint16_t *naddr, in_port_t old_port, in hnat_cksum_v4() argument 435 *adj_sum = (uint16_t)~sum + *naddr + *(naddr + 1) + new_port; in hnat_cksum_v4() 439 hnat_cksum_v6(uint16_t *oaddr, uint16_t *naddr, in_port_t old_port, in hnat_cksum_v6() argument 449 *adj_sum = (uint16_t)~sum + *naddr + *(naddr + 1) + in hnat_cksum_v6() 450 *(naddr + 2) + *(naddr + 3) + *(naddr + 4) + *(naddr + 5) + in hnat_cksum_v6() 451 *(naddr + 6) + *(naddr + 7) + new_port; in hnat_cksum_v6()
|
/titanic_41/usr/src/uts/common/io/ib/mgt/ibcm/ |
H A D | ibcm_arp.c | 379 int i, nifs, naddr = 0; in ibcm_arp_get_ibd_ipaddr() local 493 naddr++; in ibcm_arp_get_ibd_ipaddr() 499 naddr++; in ibcm_arp_get_ibd_ipaddr() 505 return (naddr > 0); in ibcm_arp_get_ibd_ipaddr()
|
/titanic_41/usr/src/uts/sun4u/starfire/os/ |
H A D | pda.c | 493 uint_t addr, size, naddr, nsize; in p2o_mem_coalesce() local 506 naddr = mc[ncp].Memc_StartAddress; in p2o_mem_coalesce() 509 if ((addr + size) >= naddr) { in p2o_mem_coalesce() 512 overlap = addr + size - naddr; in p2o_mem_coalesce()
|
/titanic_41/usr/src/cmd/rcap/rcapd/ |
H A D | rcapd_scanner.c | 351 prxmap_t *xmap, int nxmap, void *naddr) in set_prpageheader_cur_addr() argument 355 while (addr != NULL && addr <= naddr) in set_prpageheader_cur_addr() 356 if (naddr < (void *)((caddr_t)pcp->pr_addr + in set_prpageheader_cur_addr() 358 uint64_t pgdiff = ((uintptr_t)naddr - in set_prpageheader_cur_addr()
|
/titanic_41/usr/src/uts/common/inet/sctp/ |
H A D | sctp_addr.c | 1418 int naddr; in sctp_check_saddr() local 1439 naddr = sctp->sctp_saddrs[i].ipif_count; in sctp_check_saddr() 1440 for (l = 0; l < naddr; l++) { in sctp_check_saddr() 1656 int naddr; in sctp_saddr_info() local 1680 naddr = sctp->sctp_saddrs[i].ipif_count; in sctp_saddr_info() 1681 for (l = 0; l < naddr; l++) { in sctp_saddr_info() 1930 int naddr; in sctp_get_saddr_list() local 1940 naddr = sctp->sctp_saddrs[cnt].ipif_count; in sctp_get_saddr_list() 1941 for (icnt = 0; icnt < naddr; icnt++) { in sctp_get_saddr_list()
|
/titanic_41/usr/src/lib/libdtrace/common/ |
H A D | dt_handle.c | 409 uintptr_t naddr = base + _dt_droptab[i].dtdrt_offset; in dt_handle_status() local 412 uint64_t nval = *((uint64_t *)naddr); in dt_handle_status()
|
/titanic_41/usr/src/lib/libvscan/common/ |
H A D | libvscan.c | 1248 long naddr; in vs_is_valid_host() local 1256 if ((inet_pton(AF_INET, host, &naddr)) == 0) in vs_is_valid_host() 1258 if ((naddr & IN_CLASSA_NET) == 0) in vs_is_valid_host() 1260 if ((naddr & IN_CLASSC_HOST) == 0) in vs_is_valid_host()
|
/titanic_41/usr/src/uts/sun4u/starcat/io/ |
H A D | schpc.c | 3495 char *naddr; in schpc_add_pci() local 3532 naddr = ddi_get_name_addr(sdip); in schpc_add_pci() 3533 if (naddr == NULL) { in schpc_add_pci() 3541 if (strcmp(caddr, naddr) == 0) { in schpc_add_pci() 3545 if (strcmp(caddr, naddr) == 0) { in schpc_add_pci() 3565 (void *)sdip, naddr); in schpc_add_pci() 3574 "Invalid pci name addr %s\n", (void *)sdip, naddr); in schpc_add_pci() 3808 char *naddr; in schpc_match_dip() local 3812 ((((naddr = ddi_get_name_addr(dip)) != NULL) && in schpc_match_dip() 3813 (strcmp(find_dev->caddr, naddr) == 0)) || in schpc_match_dip() [all …]
|
/titanic_41/usr/src/uts/common/io/xge/drv/ |
H A D | xgell.h | 306 int naddr; /* total supported addresses */ member
|
H A D | xgell.c | 1222 ring->mmac.naddr = XGE_RX_MULTI_MAC_ADDRESSES_MAX; in xgell_rx_ring_maddr_init() 1223 ring->mmac.naddrfree = ring->mmac.naddr; in xgell_rx_ring_maddr_init() 1237 for (i = 0; i < ring->mmac.naddr; i++) { in xgell_rx_ring_maddr_init() 1265 for (slot = 0; slot < ring->mmac.naddr; slot++) { in xgell_addmac() 1271 ASSERT(slot < ring->mmac.naddr); in xgell_addmac() 1327 if (slot < 0 || slot >= ring->mmac.naddr) in xgell_remmac()
|
/titanic_41/usr/src/uts/common/exec/elf/ |
H A D | elf.c | 1491 caddr_t naddr; in process_scns() local 1524 prot = pr_getprot(seg, 1, &tmp, &saddr, &naddr, eaddr); in process_scns() 1918 caddr_t saddr, naddr; in elfcore() local 1922 for (saddr = seg->s_base; saddr < eaddr; saddr = naddr) { in elfcore() 1928 prot = pr_getprot(seg, 0, &tmp, &saddr, &naddr, eaddr); in elfcore() 1930 if ((size = (size_t)(naddr - saddr)) == 0) in elfcore()
|
/titanic_41/usr/src/uts/common/klm/ |
H A D | nlm_impl.c | 1322 struct knetconfig *knc, struct netbuf *naddr) in nlm_host_create() argument 1337 nlm_copy_netbuf(&host->nh_addr, naddr); in nlm_host_create() 1556 struct netbuf *naddr, avl_index_t *wherep) in nlm_host_find_locked() argument 1564 key.nh_addr.buf = naddr->buf; in nlm_host_find_locked() 1565 key.nh_addr.len = naddr->len; in nlm_host_find_locked() 1566 key.nh_addr.maxlen = naddr->maxlen; in nlm_host_find_locked()
|
/titanic_41/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | net.c | 152 uint32_t naddr = V4_PART_OF_V6((*nipv6addr)); in net_ipv4addrport_pr() local 155 mdb_printf("%*I.%-5hu", ADDR_V4_WIDTH, naddr, nport); in net_ipv4addrport_pr() 163 net_ipv6addrport_pr(const in6_addr_t *naddr, in_port_t nport) in net_ipv6addrport_pr() argument 166 mdb_printf("%*N.%-5hu", ADDR_V6_WIDTH, naddr, nport); in net_ipv6addrport_pr()
|
H A D | gcore.c | 670 u_offset_t naddr; in gcore_pr_getprot() local 676 naddr = gcore_pr_nextprot(gs, saddrp, eaddr, &prot); in gcore_pr_getprot() 679 gs->gs_seg, *saddrp, naddr, eaddr); in gcore_pr_getprot() 681 *naddrp = naddr; in gcore_pr_getprot()
|
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/in.mpathd/ |
H A D | mpd_tables.c | 3182 unsigned int nif = 0, naddr = 0; in getgroupinfo() local 3238 naddr++; in getgroupinfo() 3240 addrs = alloca(naddr * sizeof (*addrs)); in getgroupinfo() 3254 assert(i < naddr); in getgroupinfo() 3258 naddr = i; in getgroupinfo() 3262 lifgr.gi_m6ifname, lifgr.gi_bcifname, naddr, addrs); in getgroupinfo()
|