/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | rrwlock.c | 86 rrw_node_t *rn; local 91 for (rn = tsd_get(rrw_tsd_key); rn != NULL; rn = rn->rn_next) { 92 if (rn->rn_rrl == rrl) 93 return (rn); 104 rrw_node_t *rn; local 106 rn = kmem_alloc(sizeof (*rn), KM_SLEE 120 rrw_node_t *rn; local 302 rrw_node_t *rn = arg; local [all...] |
/illumos-gate/usr/src/common/net/patricia/ |
H A D | radix.c | 124 #define RN_MATCHF(rn, f, arg) (f == NULL || (*f)((rn), arg)) 1106 struct radix_node *rn = h->rnh_treetop; local 1120 while (rn->rn_bit >= 0) { 1121 rn = rn->rn_left; 1125 (*lockf)(rn); 1128 base = rn; 1130 while (rn->rn_parent->rn_right == rn [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/ |
H A D | radix.c | 924 struct radix_node *rn = h->rnh_treetop; local 931 while (rn->rn_b >= 0) 932 rn = rn->rn_l; 934 base = rn; 936 while (rn->rn_p->rn_r == rn && !(rn->rn_flags & RNF_ROOT)) 937 rn = rn [all...] |
/illumos-gate/usr/src/uts/common/os/ |
H A D | pcifm.c | 1212 int rn; local 1228 for (rn = 0; rn < totreg; rn++) { 1230 PCI_REG_ADDR_G(drv_regp[rn].pci_phys_hi) && 1233 (drv_regp[rn].pci_phys_hi & (PCI_REG_BUS_M | 1252 for (rn = 0; rn < totreg; rn++) { 1253 if ((drv_regp[rn] [all...] |
/illumos-gate/usr/src/cmd/svc/milestone/ |
H A D | net-routing-setup | 100 set -- `/usr/bin/netstat -rn -f inet | \ 148 /usr/bin/netstat -rn -f inet | \
|
/illumos-gate/usr/src/uts/common/io/nxge/npi/ |
H A D | npi_vir.h | 151 #define DMA_BIND_VADDR_VALIDATE(fn, rn, id, status) \ 156 } else if (!SUBREGION_VALID(rn)) { \ 157 status = (NPI_FAILURE | NPI_VIR_BD_REG_INVALID(rn)); \ 180 #define DMA_BIND_REG_OFFSET(fn, rn, id) (DMA_BIND_STEP * \ 182 rn * VIR_PAGE_INDEX_MAX) + id)
|
H A D | npi_vir.c | 763 uint8_t fn, region, id, tn, rn; local 769 rn = dma_bind.rx_channel; 784 DMA_BIND_RX_VALIDATE(rn, status); 797 bind.bits.ldw.rx = rn;
|
/illumos-gate/usr/src/uts/sun4v/io/niumx/ |
H A D | niumx.c | 375 int i, rn = mp->map_obj.rnumber, reglen, rnglen, rngnum, ret; local 381 NIUMX_NAMEINST(dip), NIUMX_NAMEINST(rdip), rn); 387 if (rn < 0 || (rn >= reglen / sizeof (niu_regspec_t))) { 388 DBG(NIUMX_DBG_MAP, dip, "rnumber out of range: %d\n", rn); 408 for (i = 0, reg_p += rn; i < rngnum; rng_p++, i++) { 415 "not found.\n", rn); 432 DBG(NIUMX_DBG_MAP, dip, "size out of range for reg[%d].\n", rn); 447 kmem_free(reg_p - rn, reglen); 502 int rn; local [all...] |
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ip_ftable.c | 408 struct radix_node *rn; local 443 rn = ipst->ips_ip_ftable->rnh_addaddr(&rt->rt_dst, &rmask, 445 if (rn == NULL) { 451 rn = ipst->ips_ip_ftable->rnh_lookup(&rdst, &rmask, 453 if (rn != NULL && ((rn->rn_flags & RNF_ROOT) == 0)) { 455 rt = (struct rt_entry *)rn; 660 ire_find_best_route(struct radix_node *rn, void *arg) argument 662 struct rt_entry *rt = (struct rt_entry *)rn; 967 irb_refhold_rn(struct radix_node *rn) argument 974 irb_refrele_rn(struct radix_node *rn) argument [all...] |
H A D | ip_ire.c | 978 rtfunc(struct radix_node *rn, void *arg) argument 986 rt = (struct rt_entry *)rn; 1455 struct radix_node *rn; local 1461 rn = (struct radix_node *)rt; 1467 rn = ipst->ips_ip_ftable->rnh_deladdr(rn->rn_key, rn->rn_mask, 1470 ASSERT((void *)rn == (void *)rt); 1741 ire_update_generation(struct radix_node *rn, void *arg) argument 1743 struct rt_entry *rt = (struct rt_entry *)rn; 2088 ire_find_zoneid(struct radix_node *rn, void *arg) argument [all...] |
/illumos-gate/usr/src/uts/common/inet/ipf/ |
H A D | ip_pool.c | 382 struct radix_node *rn; local 412 rn = ipo->ipo_head->rnh_matchaddr(&v, ipo->ipo_head); 414 if ((rn != NULL) && ((rn->rn_flags & RNF_ROOT) == 0)) { 415 m = (ip_pool_node_t *)rn; 444 struct radix_node *rn; local 464 rn = ipo->ipo_head->rnh_addaddr(&x->ipn_addr, &x->ipn_mask, 467 printf("Added %p at %p\n", x, rn); 470 if (rn == NULL) {
|
/illumos-gate/usr/src/cmd/troff/nroff.d/terms.d/ |
H A D | ab.X | 108 rn 1 \033\n_\n
|
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_import.c | 1039 rdsk_node_t *rn = arg; local 1044 if (rn->rn_nozpool) 1046 if ((fd = openat64(rn->rn_dfd, rn->rn_name, O_RDONLY)) < 0) { 1049 nozpool_all_slices(rn->rn_avl, rn->rn_name); 1073 check_slices(rn->rn_avl, fd, rn->rn_name); 1078 (void) no_memory(rn->rn_hdl); 1083 rn [all...] |
/illumos-gate/usr/src/uts/common/net/ |
H A D | radix.h | 148 (struct radix_node *rn, struct radix_node_head *head);
|
/illumos-gate/usr/src/uts/i86pc/io/pci/ |
H A D | pci.c | 544 int rn; local 585 rn = *(int *)arg; 586 if (rn >= totreg) { 590 *(off_t *)result = drv_regp[rn].pci_size_low;
|
/illumos-gate/usr/src/uts/common/io/ral/ |
H A D | rt2560.c | 789 struct rt2560_node *rn; local 791 rn = kmem_zalloc(sizeof (struct rt2560_node), KM_SLEEP); 792 return ((rn != NULL) ? &rn->ni : NULL); 827 struct rt2560_node *rn = (struct rt2560_node *)ni; local 829 ral_rssadapt_updatestats(&rn->rssadapt); 1019 struct rt2560_node *rn; local 1041 rn = (struct rt2560_node *)data->ni; 1047 ral_rssadapt_raise_rate(ic, &rn->rssadapt, 1064 &rn 1180 struct rt2560_node *rn; local 1563 struct rt2560_node *rn; local [all...] |
/illumos-gate/usr/src/common/crypto/skein/ |
H A D | skein_block.c | 596 pE, pF, ROT, rn) \ 598 pD, pE, pF, ROT, rn) \ 599 Skein_Show_R_Ptr(BLK_BITS, &ctx->h, rn, Xptr); 621 pE, pF, ROT, rn) \ 623 pD, pE, pF, ROT, rn) \ 624 Skein_Show_R_Ptr(BLK_BITS, &ctx->h, 4 * (r - 1) + rn, Xptr);
|
/illumos-gate/usr/src/uts/sun4u/io/pci/ |
H A D | simba.c | 583 int rn; local 633 rn = *(int *)arg; 634 if (rn >= totreg) { 638 *(off_t *)result = drv_regp[rn].pci_size_low | 639 ((uint64_t)drv_regp[rn].pci_size_hi << 32);
|
/illumos-gate/usr/src/cmd/svr4pkg/libinst/ |
H A D | mntinfo.c | 854 static char *rn = "/"; local 1000 if (strcmp(fs_tab[fs_tab_used-1]->name, rn) != 0) { 1001 progerr(ERR_MNT_NOROOT, fs_tab[fs_tab_used-1]->name, rn, errno,
|
/illumos-gate/usr/src/uts/i86pc/io/ |
H A D | isa.c | 689 int rn; local 741 rn = *(int *)arg; 742 if (rn >= pdp->par_nreg) 744 *(off_t *)result = (off_t)pdp->par_reg[rn].regspec_size;
|
/illumos-gate/usr/src/uts/i86pc/io/pciex/ |
H A D | npe.c | 710 int rn; local 753 rn = *(int *)arg; 754 if (rn >= totreg) { 758 *(off_t *)result = drv_regp[rn].pci_size_low;
|
/illumos-gate/usr/src/uts/intel/io/pci/ |
H A D | pci_pci.c | 478 int rn; local 564 rn = *(int *)arg; 565 if (rn >= totreg) { 569 *(off_t *)result = drv_regp[rn].pci_size_low;
|
/illumos-gate/usr/src/uts/intel/io/scsi/adapters/pvscsi/ |
H A D | pvscsi.c | 1388 int offset, rcount, rn, type; local 1404 for (rn = 0; rn < rcount; ++rn) { 1405 if (PCI_REG_REG_G(regs[rn].pci_phys_hi) == offset) { 1406 type = regs[rn].pci_phys_hi & PCI_ADDR_MASK; 1411 if (rn >= rcount) 1415 if (ddi_dev_regsize(pvs->dip, rn, 1418 "!failed to get size of reg %d", rn); 1422 if (ddi_regs_map_setup(pvs->dip, rn, [all...] |
/illumos-gate/usr/src/cmd/ipf/tools/ |
H A D | ipfcomp.c | 1003 int i, n, rn; local 1022 for (fr1 = top, rn = 0; fr1 != NULL; fr1 = fr1->fr_next, rn++) { 1239 emitGroup(rn, dir, m, fr1, group, count, 0); 1241 emitGroup(rn, dir, m, fr1, group, 0, count);
|
/illumos-gate/usr/src/uts/common/io/pciex/ |
H A D | pcieb.c | 572 int rn; local 708 rn = *(int *)arg; 709 if (rn >= totreg) { 714 *(off_t *)result = drv_regp[rn].pci_size_low | 715 ((uint64_t)drv_regp[rn].pci_size_hi << 32);
|