/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/ |
H A D | timer.c | 54 struct rt_entry *rt; local 107 for (rt = rh->rt_forw; rt != (struct rt_entry *)rh; 108 rt = rt->rt_forw) { 114 rt->rt_state &= ~RTS_CHANGED; 115 if ((rt->rt_state & RTS_INTERFACE) != 0) 117 rt->rt_timer += alarmtime; 118 if (rt->rt_timer >= GARBAGE_TIME) { 119 rt 161 struct rt_entry *rt; local [all...] |
H A D | output.c | 136 struct rt_entry *rt; local 157 for (rt = rh->rt_forw; rt != (struct rt_entry *)rh; 158 rt = rt->rt_forw) { 160 if (IN6_IS_ADDR_LINKLOCAL(&rt->rt_dst)) 162 if (IN6_IS_ADDR_UNSPECIFIED(&rt->rt_dst)) 166 if (rt->rt_state & RTS_PRIVATE) 173 if (splith && rt->rt_ifp != NULL && 175 rt [all...] |
H A D | input.c | 131 struct rt_entry *rt; local 243 rt = rtlookup(&prefix, n->rip6_prefix_length); 245 n->rip6_metric = (rt == NULL ? 247 min(rt->rt_metric, HOPCNT_INFINITY)); 430 rt = rtlookup(&prefix, n->rip6_prefix_length); 431 if (rt == NULL) { 448 rt->rt_metric == HOPCNT_INFINITY) 465 if (IN6_ARE_ADDR_EQUAL(gate, &rt->rt_router)) { 466 if (n->rip6_metric != rt->rt_metric || 467 rt [all...] |
H A D | startup.c | 366 struct rt_entry *rt; local 374 rt = rtlookup(dst, ifp->int_prefix_length); 376 if (rt != NULL) { 377 if (rt->rt_state & RTS_INTERFACE) 379 rtdelete(rt);
|
H A D | trace.c | 140 traceaction(FILE *fp, char *action, struct rt_entry *rt) argument 169 if (rt != NULL) { 173 inet_ntop(AF_INET6, (void *)&rt->rt_dst, buf1, 175 rt->rt_prefix_length); 177 inet_ntop(AF_INET6, (void *)&rt->rt_router, buf1, 179 rt->rt_metric); 180 if (rt->rt_ifp != NULL) { 182 (rt->rt_ifp->int_name != NULL) ? 183 rt->rt_ifp->int_name : "(noname)"); 188 if ((rt [all...] |
H A D | tables.c | 106 log_single(int level, struct rt_entry *rt) argument 111 (void) inet_ntop(AF_INET6, (void *)&rt->rt_dst, buf1, sizeof (buf1)); 112 (void) inet_ntop(AF_INET6, (void *)&rt->rt_router, buf2, sizeof (buf2)); 116 (rt->rt_ifp != NULL && rt->rt_ifp->int_name != NULL) ? 117 rt->rt_ifp->int_name : "(noname)", 118 rt->rt_metric); 180 struct rt_entry *rt; local 191 for (rt = rh->rt_forw; rt ! 237 struct rt_entry *rt; local 325 rtchange(struct rt_entry *rt, struct in6_addr *gate, short metric, struct interface *ifp) argument 423 rtdown(struct rt_entry *rt) argument 448 rtdelete(struct rt_entry *rt) argument 475 struct rt_entry *rt; local 506 struct rt_entry *rt; local 527 rtdumpentry(FILE *fp, struct rt_entry *rt) argument 596 struct rt_entry *rt; local [all...] |
/illumos-gate/usr/src/lib/libast/common/string/ |
H A D | fmtfs.c | 63 struct stat rt; local 80 while ((mnt = mntread(mp)) && (stat(mnt->dir, &rt) || rt.st_dev != st->st_dev));
|
/illumos-gate/usr/src/uts/common/io/hxge/ |
H A D | hpi.c | 70 hpi_rtrace_buf_init(rtrace_t *rt) argument 74 rt->next_idx = 0; 75 rt->last_idx = MAX_RTRACE_ENTRIES - 1; 76 rt->wrapped = B_FALSE; 78 rt->buf[i].ctl_addr = TRACE_CTL_INVALID; 79 rt->buf[i].val_l32 = 0; 80 rt->buf[i].val_h32 = 0; 85 hpi_rtrace_update(hpi_handle_t handle, boolean_t wr, rtrace_t *rt, argument 89 idx = rt->next_idx; 91 rt [all...] |
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | tsearch.c | 131 twalk(const void *rt, /* Root of the tree to be walked */ argument 134 NODE *root = (NODE *)rt;
|
/illumos-gate/usr/src/lib/libc/port/locale/ |
H A D | iswctype.c | 65 unsigned int rt; local 68 rt = __runetype(loc->runelocale, c); 70 rt = loc->runelocale->__runetype[c]; 71 return (rt & f);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_solarnet.c | 88 Rec_type rt; local 218 rt = getxdr_enum(); 219 if (rt == REC_TYPE_NORM) { 231 } else if (rt == REC_TYPE_EOR) { 234 } while (rt != REC_TYPE_EOF); 275 rt = getxdr_enum(); 276 if (rt == REC_TYPE_NORM) { 288 } else if (rt == REC_TYPE_EOR) { 291 } while (rt != REC_TYPE_EOF);
|
/illumos-gate/usr/src/uts/common/avs/ns/solaris/ |
H A D | nsc_proc.c | 72 * If 'rt' is TRUE, then increase the scheduling priority of the lwp. 80 nsc_create_process(void (*func)(void *), void *arg, boolean_t rt) argument 110 nsk->data2 = (uint64_t)rt;
|
/illumos-gate/usr/src/uts/common/io/ath/ |
H A D | ath_rate.c | 76 const HAL_RATE_TABLE *rt = asc->asc_currates; local 79 ASSERT(rt != NULL); 84 an->an_tx_mgtrate = rt->info[0].rateCode; 85 an->an_tx_mgtratesp = an->an_tx_mgtrate | rt->info[0].shortPreamble; 100 an->an_tx_rate0 = rt->info[an->an_tx_rix0].rateCode; 102 rt->info[an->an_tx_rix0].shortPreamble; 115 an->an_tx_rate1 = rt->info[rix].rateCode; 117 rt->info[rix].shortPreamble; 124 an->an_tx_rate2 = rt->info[rix].rateCode; 126 rt 306 const HAL_RATE_TABLE *rt; local [all...] |
H A D | ath_aux.c | 221 const HAL_RATE_TABLE *rt; local 227 rt = asc->asc_rates[mode]; 228 ASSERT(rt != NULL); 230 for (i = 0; i < rt->rateCount; i++) 231 asc->asc_rixmap[rt->info[i].dot11Rate & IEEE80211_RATE_VAL] = 234 asc->asc_currates = rt;
|
/illumos-gate/usr/src/uts/common/io/nxge/npi/ |
H A D | npi.c | 73 npi_rtrace_buf_init(rtrace_t *rt) argument 77 rt->next_idx = 0; 78 rt->last_idx = MAX_RTRACE_ENTRIES - 1; 79 rt->wrapped = B_FALSE; 81 rt->buf[i].ctl_addr = TRACE_CTL_INVALID; 82 rt->buf[i].val_l32 = 0; 83 rt->buf[i].val_h32 = 0; 88 npi_rtrace_update(npi_handle_t handle, boolean_t wr, rtrace_t *rt, argument 92 idx = rt->next_idx; 94 rt 112 npi_trace_update(npi_handle_t handle, boolean_t wr, rtrace_t *rt, const char *name, uint32_t addr, uint64_t val) argument 147 npi_trace_dump( rtrace_t *rt, int count) argument [all...] |
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | space_reftree.c | 116 space_reftree_add_map(avl_tree_t *t, range_tree_t *rt, int64_t refcnt) argument 120 ASSERT(MUTEX_HELD(rt->rt_lock)); 122 for (rs = avl_first(&rt->rt_root); rs; rs = AVL_NEXT(&rt->rt_root, rs)) 131 space_reftree_generate_map(avl_tree_t *t, range_tree_t *rt, int64_t minref) argument 137 ASSERT(MUTEX_HELD(rt->rt_lock)); 139 range_tree_vacate(rt, NULL, NULL); 152 range_tree_add(rt, start, end - start);
|
H A D | range_tree.c | 54 range_tree_stat_verify(range_tree_t *rt) argument 60 for (rs = avl_first(&rt->rt_root); rs != NULL; 61 rs = AVL_NEXT(&rt->rt_root, rs)) { 70 if (hist[i] != rt->rt_histogram[i]) { 72 i, hist, hist[i], rt->rt_histogram[i]); 74 VERIFY3U(hist[i], ==, rt->rt_histogram[i]); 79 range_tree_stat_incr(range_tree_t *rt, range_seg_t *rs) argument 86 sizeof (rt->rt_histogram) / sizeof (*rt->rt_histogram)); 88 ASSERT(MUTEX_HELD(rt 94 range_tree_stat_decr(range_tree_t *rt, range_seg_t *rs) argument 133 range_tree_t *rt; local 151 range_tree_destroy(range_tree_t *rt) argument 165 range_tree_t *rt = arg; local 240 range_tree_t *rt = arg; local 304 range_tree_find_impl(range_tree_t *rt, uint64_t start, uint64_t size) argument 319 range_tree_find(range_tree_t *rt, uint64_t start, uint64_t size) argument 328 range_tree_verify(range_tree_t *rt, uint64_t off, uint64_t size) argument 340 range_tree_contains(range_tree_t *rt, uint64_t start, uint64_t size) argument 350 range_tree_clear(range_tree_t *rt, uint64_t start, uint64_t size) argument 364 range_tree_t *rt; local 376 range_tree_vacate(range_tree_t *rt, range_tree_func_t *func, void *arg) argument 397 range_tree_walk(range_tree_t *rt, range_tree_func_t *func, void *arg) argument 408 range_tree_space(range_tree_t *rt) argument [all...] |
H A D | space_map.c | 56 space_map_load(space_map_t *sm, range_tree_t *rt, maptype_t maptype) argument 67 VERIFY0(range_tree_space(rt)); 70 range_tree_add(rt, sm->sm_start, sm->sm_size); 117 VERIFY3U(range_tree_space(rt) + size, <=, 119 range_tree_add(rt, offset, size); 121 range_tree_remove(rt, offset, size); 127 VERIFY3U(range_tree_space(rt), ==, space); 129 range_tree_vacate(rt, NULL, NULL); 145 space_map_histogram_verify(space_map_t *sm, range_tree_t *rt) argument 152 if (rt 159 space_map_histogram_add(space_map_t *sm, range_tree_t *rt, dmu_tx_t *tx) argument 210 space_map_entries(space_map_t *sm, range_tree_t *rt) argument 236 space_map_write(space_map_t *sm, range_tree_t *rt, maptype_t maptype, dmu_tx_t *tx) argument [all...] |
/illumos-gate/usr/src/uts/common/io/arn/ |
H A D | arn_beacon.c | 48 struct ath_rate_table *rt; local 81 rt = sc->hw_rate_table[sc->sc_curmode]; 82 rate = rt->info[rix].ratecode; 84 rate |= rt->info[rix].short_preamble;
|
/illumos-gate/usr/src/uts/intel/io/intel_nb5000/ |
H A D | dimm_addr.c | 95 cmi_errno_t rt = CMIERR_UNKNOWN; local 111 rt = CMI_SUCCESS; 113 return (rt);
|
/illumos-gate/usr/src/uts/intel/io/intel_nhm/ |
H A D | intel_nhmdrv.c | 95 int rt = 0; local 105 rt = -1; 108 return (rt);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/ |
H A D | input.c | 163 struct rt_entry *rt; local 394 (rt = rtget(RIP_DEFAULT, 0))) 396 (rt->rt_metric + 1)); 453 rt = rtget(dst, mask); 454 if (rt == NULL && dst != RIP_DEFAULT) 455 rt = rtfind(n->n_dst); 459 if (rt == NULL) { 469 v12buf.n->n_metric = rt->rt_metric + 1; 473 v12buf.n->n_tag = rt->rt_tag; 475 on_net(rt 1066 struct rt_entry *rt; local [all...] |
H A D | output.c | 748 struct rt_entry *rt; local 769 rt = rtfind(dst->sin_addr.s_addr); 770 if (rt != NULL) 771 ifp = rt->rt_ifp; 855 if (NULL == (rt = rtget(RIP_DEFAULT, 0)) || 856 rt->rt_metric+ws.metric >= def_metric) { 861 def_metric = rt->rt_metric+ws.metric;
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ip_ftable.c | 101 struct rt_entry *rt; local 146 rt = (struct rt_entry *)ipst->ips_ip_ftable->rnh_matchaddr_args(&rdst, 149 if (rt == NULL) { 227 struct rt_entry *rt; local 239 rt = (struct rt_entry *)ipst->ips_ip_ftable->rnh_matchaddr_args(&rdst, 242 if (rt == NULL) 245 irb = &rt->rt_irb; 409 struct rt_entry *rt; local 430 R_Malloc(rt, rt_entry_cache, sizeof (*rt)); 662 struct rt_entry *rt = (struct rt_entry *)rn; local [all...] |
/illumos-gate/usr/src/uts/i86pc/cpu/genuineintel/ |
H A D | gintel_main.c | 190 cms_cookie_t rt = (cms_cookie_t)NULL; local 199 rt = (cms_cookie_t)GINTEL_ERR_SPARE_MEM; 203 rt = (cms_cookie_t)GINTEL_ERR_MEM_UE; 205 rt = (cms_cookie_t)GINTEL_ERR_MEM_CE; 208 rt = (cms_cookie_t)GINTEL_ERR_MEM_PARITY; 210 rt = (cms_cookie_t)GINTEL_ERR_MEM_ADDR_PARITY; 212 rt = (cms_cookie_t)GINTEL_ERR_MEM_REDUNDANT; 214 rt = (cms_cookie_t)GINTEL_ERR_MEM_BAD_ADDR; 216 rt = (cms_cookie_t)GINTEL_ERR_MEM_BAD_ID; 218 rt [all...] |