Searched defs:rn (Results 1 - 25 of 31) sorted by relevance

12

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Drrwlock.c86 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 Dip_pool.c382 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 Doutput.c491 walk_supply(struct radix_node *rn, void *argp) argument
493 #define RT ((struct rt_entry *)rn)
H A Dradix.c924 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 Dtrace.c1044 walk_trace(struct radix_node *rn, argument
1047 #define RT ((struct rt_entry *)rn)
H A Dtable.c1976 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 Dipfcomp.c1003 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 Dradix.c124 #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 Dip_ftable.c408 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 Dip_ire.c978 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 Dpcifm.c1212 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 Dpci.c544 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 Dnpe.c710 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 Dnpi_vir.c763 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 Dniumx.c375 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 Dpci_pci.c478 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 Disa.c689 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 Dsimba.c583 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 Dmntinfo.c854 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 Dndmpd_tar3.c3153 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 Dtlm_restore_writer.c1001 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 Dcardbus.c1082 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 Dpcieb.c572 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 Drt2560.c789 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 Drt2661.c891 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...]

Completed in 214 milliseconds

12