/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/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/cmd-inet/usr.sbin/in.routed/ |
H A D | output.c | 491 walk_supply(struct radix_node *rn, void *argp) argument 493 #define RT ((struct rt_entry *)rn)
|
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...] |
H A D | trace.c | 1044 walk_trace(struct radix_node *rn, argument 1047 #define RT ((struct rt_entry *)rn)
|
H A D | table.c | 1976 walk_kern(struct radix_node *rn, void *argp) argument 1978 #define RT ((struct rt_entry *)rn) 2640 walk_bad(struct radix_node *rn, argument 2643 #define RT ((struct rt_entry *)rn) 2649 rts = &((struct rt_entry *)rn)->rt_spares[i]; 2689 walk_rewire(struct radix_node *rn, void *argp) argument 2691 struct rt_entry *RT = (struct rt_entry *)rn; 2723 walk_age(struct radix_node *rn, void *argp) argument 2725 #define RT ((struct rt_entry *)rn)
|
/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/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/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/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/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/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/common/io/nxge/npi/ |
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/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/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/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/cmd/ndmpd/ndmp/ |
H A D | ndmpd_tar3.c | 3153 struct rs_name_maker rn; local 3176 rn.rn_nlp = nlp; 3177 rn.rn_fp = mknewname; 3227 nlp->nlp_jstat, &rn, 1, 1, sels, &excl, flags, 3515 struct rs_name_maker rn; local 3533 rn.rn_nlp = nlp; 3534 rn.rn_fp = mknewname; 3593 nlp->nlp_jstat, &rn, 1, 1, sels, &excl, flags, 0,
|
/illumos-gate/usr/src/cmd/ndmpd/tlm/ |
H A D | tlm_restore_writer.c | 1001 struct rs_name_maker rn; local 1062 rn.rn_fp = catnames; 1063 rn.rn_nlp = dir; 1069 erc = tar_getdir(commands, local_commands, job_stats, &rn, 1, 1,
|
/illumos-gate/usr/src/uts/common/io/cardbus/ |
H A D | cardbus.c | 1082 const int rn = *(int *)arg; local 1083 if (rn > totreg) 1087 rn, regs[rn].pci_size_low); 1088 *(off_t *)result = regs[rn].pci_size_low;
|
/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);
|
/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/uts/common/io/rwd/ |
H A D | rt2661.c | 891 struct rt2661_node *rn; local 907 rn = (struct rt2661_node *)data->ni; 910 if (rn == NULL) { 923 rn->amn.amn_txcnt++; 925 rn->amn.amn_retrycnt++; 932 rn->amn.amn_txcnt++; 933 rn->amn.amn_retrycnt++; 1896 struct rt2661_node *rn = (struct rt2661_node *)ni; local 1898 rt2661_amrr_choose(&sc->amrr, ni, &rn->amn); 2072 struct rt2661_node *rn; local [all...] |