Home
last modified time | relevance | path

Searched refs:rn (Results 1 – 25 of 49) sorted by relevance

12

/titanic_44/usr/src/uts/common/fs/zfs/
H A Drrwlock.c86 rrw_node_t *rn; in rrn_find() local
91 for (rn = tsd_get(rrw_tsd_key); rn != NULL; rn = rn->rn_next) { in rrn_find()
92 if (rn->rn_rrl == rrl) in rrn_find()
93 return (rn); in rrn_find()
104 rrw_node_t *rn; in rrn_add() local
106 rn = kmem_alloc(sizeof (*rn), KM_SLEEP); in rrn_add()
107 rn->rn_rrl = rrl; in rrn_add()
108 rn->rn_next = tsd_get(rrw_tsd_key); in rrn_add()
109 rn->rn_tag = tag; in rrn_add()
110 VERIFY(tsd_set(rrw_tsd_key, rn) == 0); in rrn_add()
[all …]
/titanic_44/usr/src/common/net/patricia/
H A Dradix.c124 #define RN_MATCHF(rn, f, arg) (f == NULL || (*f)((rn), arg)) argument
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 &&
1131 (rn->rn_flags & RNF_ROOT) == 0) {
1132 rn = rn->rn_parent;
1135 for (rn = rn->rn_parent->rn_right; rn->rn_bit >= 0; ) {
[all …]
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Dradix.c924 struct radix_node *rn = h->rnh_treetop; in rn_walktree() local
931 while (rn->rn_b >= 0) in rn_walktree()
932 rn = rn->rn_l; in rn_walktree()
934 base = rn; in rn_walktree()
936 while (rn->rn_p->rn_r == rn && !(rn->rn_flags & RNF_ROOT)) in rn_walktree()
937 rn = rn->rn_p; in rn_walktree()
939 for (rn = rn->rn_p->rn_r; rn->rn_b >= 0; ) in rn_walktree()
940 rn = rn->rn_l; in rn_walktree()
941 next = rn; in rn_walktree()
943 while ((rn = base) != NULL) { in rn_walktree()
[all …]
/titanic_44/usr/src/uts/common/os/
H A Dpcifm.c1212 int rn; in pci_check_regs() local
1228 for (rn = 0; rn < totreg; rn++) { in pci_check_regs()
1230 PCI_REG_ADDR_G(drv_regp[rn].pci_phys_hi) && in pci_check_regs()
1233 (drv_regp[rn].pci_phys_hi & (PCI_REG_BUS_M | in pci_check_regs()
1252 for (rn = 0; rn < totreg; rn++) { in pci_check_regs()
1253 if ((drv_regp[rn].pci_phys_hi & PCI_RELOCAT_B) && in pci_check_regs()
1256 PCI_REG_ADDR_G(drv_regp[rn].pci_phys_hi)) && in pci_check_regs()
1258 (uint64_t)drv_regp[rn].pci_phys_low + in pci_check_regs()
1259 ((uint64_t)drv_regp[rn].pci_phys_mid << 32)) && in pci_check_regs()
1261 (uint64_t)drv_regp[rn].pci_phys_low + in pci_check_regs()
[all …]
/titanic_44/usr/src/uts/common/io/nxge/npi/
H A Dnpi_vir.h151 #define DMA_BIND_VADDR_VALIDATE(fn, rn, id, status) \ argument
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 * \ argument
182 rn * VIR_PAGE_INDEX_MAX) + id)
H A Dnpi_vir.c763 uint8_t fn, region, id, tn, rn; in npi_fzc_dma_bind_set() local
769 rn = dma_bind.rx_channel; in npi_fzc_dma_bind_set()
784 DMA_BIND_RX_VALIDATE(rn, status); in npi_fzc_dma_bind_set()
797 bind.bits.ldw.rx = rn; in npi_fzc_dma_bind_set()
/titanic_44/usr/src/uts/sun4v/io/niumx/
H A Dniumx.c375 int i, rn = mp->map_obj.rnumber, reglen, rnglen, rngnum, ret; in niumx_map() local
381 NIUMX_NAMEINST(dip), NIUMX_NAMEINST(rdip), rn); in niumx_map()
387 if (rn < 0 || (rn >= reglen / sizeof (niu_regspec_t))) { in niumx_map()
388 DBG(NIUMX_DBG_MAP, dip, "rnumber out of range: %d\n", rn); in niumx_map()
408 for (i = 0, reg_p += rn; i < rngnum; rng_p++, i++) { in niumx_map()
415 "not found.\n", rn); in niumx_map()
432 DBG(NIUMX_DBG_MAP, dip, "size out of range for reg[%d].\n", rn); in niumx_map()
447 kmem_free(reg_p - rn, reglen); in niumx_map()
502 int rn; in niumx_ctlops() local
503 rn = *(int *)arg; in niumx_ctlops()
[all …]
/titanic_44/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) {
/titanic_44/usr/src/uts/common/inet/ip/
H A Dip_ftable.c408 struct radix_node *rn; in ire_get_bucket() local
443 rn = ipst->ips_ip_ftable->rnh_addaddr(&rt->rt_dst, &rmask, in ire_get_bucket()
445 if (rn == NULL) { in ire_get_bucket()
451 rn = ipst->ips_ip_ftable->rnh_lookup(&rdst, &rmask, in ire_get_bucket()
453 if (rn != NULL && ((rn->rn_flags & RNF_ROOT) == 0)) { in ire_get_bucket()
455 rt = (struct rt_entry *)rn; in ire_get_bucket()
660 ire_find_best_route(struct radix_node *rn, void *arg) in ire_find_best_route() argument
662 struct rt_entry *rt = (struct rt_entry *)rn; in ire_find_best_route()
967 irb_refhold_rn(struct radix_node *rn) in irb_refhold_rn() argument
969 if ((rn->rn_flags & RNF_ROOT) == 0) in irb_refhold_rn()
[all …]
H A Dip_ire.c978 rtfunc(struct radix_node *rn, void *arg) in rtfunc() argument
986 rt = (struct rt_entry *)rn; in rtfunc()
1455 struct radix_node *rn; in irb_inactive() local
1461 rn = (struct radix_node *)rt; in irb_inactive()
1467 rn = ipst->ips_ip_ftable->rnh_deladdr(rn->rn_key, rn->rn_mask, in irb_inactive()
1470 ASSERT((void *)rn == (void *)rt); in irb_inactive()
1741 ire_update_generation(struct radix_node *rn, void *arg) in ire_update_generation() argument
1743 struct rt_entry *rt = (struct rt_entry *)rn; in ire_update_generation()
2088 ire_find_zoneid(struct radix_node *rn, void *arg) in ire_find_zoneid() argument
2090 struct rt_entry *rt = (struct rt_entry *)rn; in ire_find_zoneid()
/titanic_44/usr/src/cmd/svc/milestone/
H A Dnet-routing-setup100 set -- `/usr/bin/netstat -rn -f inet | \
148 /usr/bin/netstat -rn -f inet | \
/titanic_44/usr/src/lib/libzfs/common/
H A Dlibzfs_import.c1039 rdsk_node_t *rn = arg; in zpool_open_func() local
1044 if (rn->rn_nozpool) in zpool_open_func()
1046 if ((fd = openat64(rn->rn_dfd, rn->rn_name, O_RDONLY)) < 0) { in zpool_open_func()
1049 nozpool_all_slices(rn->rn_avl, rn->rn_name); in zpool_open_func()
1073 check_slices(rn->rn_avl, fd, rn->rn_name); in zpool_open_func()
1078 (void) no_memory(rn->rn_hdl); in zpool_open_func()
1083 rn->rn_config = config; in zpool_open_func()
/titanic_44/usr/src/uts/i86pc/io/pci/
H A Dpci.c581 int rn; in pci_ctlops() local
583 rn = *(int *)arg; in pci_ctlops()
584 if (rn >= totreg) { in pci_ctlops()
588 val = drv_regp[rn].pci_size_low | in pci_ctlops()
589 (uint64_t)drv_regp[rn].pci_size_hi << 32; in pci_ctlops()
/titanic_44/usr/src/uts/common/io/ral/
H A Drt2560.c789 struct rt2560_node *rn; in rt2560_node_alloc() local
791 rn = kmem_zalloc(sizeof (struct rt2560_node), KM_SLEEP); in rt2560_node_alloc()
792 return ((rn != NULL) ? &rn->ni : NULL); in rt2560_node_alloc()
827 struct rt2560_node *rn = (struct rt2560_node *)ni; in rt2560_iter_func() local
829 ral_rssadapt_updatestats(&rn->rssadapt); in rt2560_iter_func()
1019 struct rt2560_node *rn; in rt2560_tx_intr() local
1041 rn = (struct rt2560_node *)data->ni; in rt2560_tx_intr()
1047 ral_rssadapt_raise_rate(ic, &rn->rssadapt, in rt2560_tx_intr()
1064 &rn->rssadapt, &data->id); in rt2560_tx_intr()
1180 struct rt2560_node *rn; in rt2560_rx_intr() local
[all …]
/titanic_44/usr/src/uts/i86pc/io/pciex/
H A Dnpe.c749 int rn; in npe_ctlops() local
751 rn = *(int *)arg; in npe_ctlops()
752 if (rn >= totreg) { in npe_ctlops()
756 val = drv_regp[rn].pci_size_low | in npe_ctlops()
757 (uint64_t)drv_regp[rn].pci_size_hi << 32; in npe_ctlops()
/titanic_44/usr/src/uts/sun4u/io/pci/
H A Dsimba.c583 int rn; in simba_ctlops() local
633 rn = *(int *)arg; in simba_ctlops()
634 if (rn >= totreg) { in simba_ctlops()
638 *(off_t *)result = drv_regp[rn].pci_size_low | in simba_ctlops()
639 ((uint64_t)drv_regp[rn].pci_size_hi << 32); in simba_ctlops()
/titanic_44/usr/src/uts/common/io/rwd/
H A Drt2661.c891 struct rt2661_node *rn; in rt2661_tx_intr() local
907 rn = (struct rt2661_node *)data->ni; in rt2661_tx_intr()
910 if (rn == NULL) { in rt2661_tx_intr()
923 rn->amn.amn_txcnt++; in rt2661_tx_intr()
925 rn->amn.amn_retrycnt++; in rt2661_tx_intr()
932 rn->amn.amn_txcnt++; in rt2661_tx_intr()
933 rn->amn.amn_retrycnt++; in rt2661_tx_intr()
1896 struct rt2661_node *rn = (struct rt2661_node *)ni; in rt2661_iter_func() local
1898 rt2661_amrr_choose(&sc->amrr, ni, &rn->amn); in rt2661_iter_func()
2072 struct rt2661_node *rn; in rt2661_node_alloc() local
[all …]
/titanic_44/usr/src/cmd/troff/nroff.d/terms.d/
H A Dab.X108 rn 1 \033\n_\n
H A Db.30081 rn 1 \344_\304
H A Db.lp81 rn 1 \0337_\n
H A Dab.37108 rn 1 \0338_\0339
H A Dab.tn300108 rn 1 ~
/titanic_44/usr/src/uts/intel/io/pci/
H A Dpci_pci.c478 int rn; in ppb_ctlops() local
564 rn = *(int *)arg; in ppb_ctlops()
565 if (rn >= totreg) { in ppb_ctlops()
569 *(off_t *)result = drv_regp[rn].pci_size_low; in ppb_ctlops()
/titanic_44/usr/src/cmd/svr4pkg/libinst/
H A Dmntinfo.c858 static char *rn = "/"; in get_mntinfo() local
1007 if (strcmp(fs_tab[fs_tab_used-1]->name, rn) != 0) { in get_mntinfo()
1008 progerr(ERR_MNT_NOROOT, fs_tab[fs_tab_used-1]->name, rn, errno, in get_mntinfo()
/titanic_44/usr/src/cmd/lp/filter/postscript/font/devpost/
H A DS110 rn 50 2 96

12