Home
last modified time | relevance | path

Searched refs:wn (Results 1 – 25 of 36) sorted by relevance

12

/freebsd/sys/net/route/
H A Dnhgrp_ctl.c123 wn[0].storage = wn[0].weight; in sort_weightened_nhops_weights()
128 wn[j + 1].storage = wn[j].storage; in sort_weightened_nhops_weights()
129 wn[j + 1].storage = weight; in sort_weightened_nhops_weights()
157 xmin = wn[0].storage; in calc_min_mpath_slots_fast()
159 total += wn[i].storage; in calc_min_mpath_slots_fast()
160 if ((wn[i].storage != last) && in calc_min_mpath_slots_fast()
162 xmin = wn[i].storage - last; in calc_min_mpath_slots_fast()
164 last = wn[i].storage; in calc_min_mpath_slots_fast()
571 wn, num_nhops, perror); in get_nhgrp()
740 wn[0].nh = rnd_add->rnd_nhop; in nhgrp_get_addition_group()
[all …]
H A Droute_rtentry.c117 const struct weightened_nhop *wn; in destroy_rtentry() local
119 wn = nhgrp_get_nhops((struct nhgrp_object *)nh, &num_nhops); in destroy_rtentry()
120 nh = wn[0].nh; in destroy_rtentry()
H A Droute_helpers.c384 const struct weightened_nhop *wn; in rib_decompose_notification() local
393 wn = nhgrp_get_nhops((struct nhgrp_object *)rc->rc_nh_new, &num_nhops); in rib_decompose_notification()
395 notify_add(&rc_new, &wn[i], cb, cbdata); in rib_decompose_notification()
401 wn = nhgrp_get_nhops((struct nhgrp_object *)rc->rc_nh_old, &num_nhops); in rib_decompose_notification()
403 notify_del(&rc_new, &wn[i], cb, cbdata); in rib_decompose_notification()
H A Droute_ctl.c1138 const struct weightened_nhop *wn = NULL; in change_mpath_route() local
1142 wn = nhgrp_get_nhops(rnd_orig->rnd_nhgrp, &num_nhops); in change_mpath_route()
1144 if (check_info_match_nhop(info, NULL, wn[i].nh) == 0) { in change_mpath_route()
1145 nh_orig = wn[i].nh; in change_mpath_route()
1165 memcpy(wn_new, wn, num_nhops * sizeof(struct weightened_nhop)); in change_mpath_route()
1167 wn_new[found_idx].weight = get_info_weight(info, wn[found_idx].weight); in change_mpath_route()
1512 const struct weightened_nhop *wn; in rib_walk_del() local
1516 wn = nhgrp_get_nhops(nhg, &num_nhops); in rib_walk_del()
1518 rt_routemsg(RTM_DELETE, rt, wn[i].nh, fibnum); in rib_walk_del()
/freebsd/usr.bin/calendar/tests/
H A Dregress.sh37 REGRESSION_TEST(`wn-1',`$CALENDAR -W 0 -t 28.12.2006')
38 REGRESSION_TEST(`wn-2',`$CALENDAR -W 1 -t 28.12.2006')
39 REGRESSION_TEST(`wn-3',`$CALENDAR -W 2 -t 28.12.2006')
40 REGRESSION_TEST(`wn-4',`$CALENDAR -W 3 -t 28.12.2006')
41 REGRESSION_TEST(`wn-5',`$CALENDAR -W 4 -t 28.12.2006')
42 REGRESSION_TEST(`wn-6',`$CALENDAR -W 5 -t 28.12.2006')
43 REGRESSION_TEST(`wn-7',`$CALENDAR -W 6 -t 28.12.2006')
H A DMakefile42 ${PACKAGE}FILES+= regress.wn-1.out
43 ${PACKAGE}FILES+= regress.wn-2.out
44 ${PACKAGE}FILES+= regress.wn-3.out
45 ${PACKAGE}FILES+= regress.wn-4.out
46 ${PACKAGE}FILES+= regress.wn-5.out
47 ${PACKAGE}FILES+= regress.wn-6.out
48 ${PACKAGE}FILES+= regress.wn-7.out
/freebsd/usr.sbin/makefs/msdos/
H A Dmsdosfs_conv.c163 uint16_t wn[WIN_MAXLEN], *p; in winChkName() local
185 len = char8ucs2str(un, unlen, wn, WIN_MAXLEN); in winChkName()
186 ucs2pad(wn, len, WIN_MAXLEN); in winChkName()
206 if (!(char8match(&wn[i], buf, WIN_CHARS))) in winChkName()
235 uint16_t wn[WIN_MAXLEN], *p; in unix2winfn() local
254 len = char8ucs2str(un, unlen, wn, WIN_MAXLEN); in unix2winfn()
255 ucs2pad(wn, len, WIN_MAXLEN); in unix2winfn()
270 p = &wn[i]; in unix2winfn()
/freebsd/contrib/tzcode/
H A Dasctime.c75 const char * wn; in asctime_r() local
85 wn = "???"; in asctime_r()
86 else wn = wday_name[timeptr->tm_wday]; in asctime_r()
102 wn, mn, in asctime_r()
/freebsd/sys/netlink/route/
H A Dnexthop.c302 wn = unhop->un_nhgrp_src; in clone_unhop()
422 grp->weight = wn[i].weight; in dump_nhgrp()
756 struct weightened_nhop *wn; in newnhg() local
758 wn = malloc(sizeof(*wn) * count, M_NETLINK, M_NOWAIT | M_ZERO); in newnhg()
759 if (wn == NULL) in newnhg()
767 free(wn, M_NETLINK); in newnhg()
772 free(wn, M_NETLINK); in newnhg()
777 free(wn, M_NETLINK); in newnhg()
784 wn[i].nh = unhop->un_nhop_src; in newnhg()
785 wn[i].weight = grp[i].weight; in newnhg()
[all …]
H A Drt.c184 uint32_t base_rtflags = nhop_get_rtflags(wn[0].nh); in dump_rc_nhg()
201 rtnh->rtnh_ifindex = if_getindex(wn[i].nh->nh_ifp); in dump_rc_nhg()
202 rtnh->rtnh_hops = wn[i].weight; in dump_rc_nhg()
203 dump_rc_nhop_gw(nw, wn[i].nh); in dump_rc_nhg()
204 uint32_t rtflags = nhop_get_rtflags(wn[i].nh); in dump_rc_nhg()
208 dump_rc_nhop_mtu(nw, wn[i].nh); in dump_rc_nhg()
844 struct weightened_nhop *wn = npt_alloc(npt, sizeof(*wn) * num_nhops); in create_nexthop_from_attrs() local
852 nhop_free(wn[j].nh); in create_nexthop_from_attrs()
858 struct rib_head *rh = nhop_get_rh(wn[0].nh); in create_nexthop_from_attrs()
862 wn, num_nhops, perror); in create_nexthop_from_attrs()
[all …]
/freebsd/contrib/bearssl/src/rsa/
H A Drsa_i32_priv.c95 uint32_t wn, wx; in br_rsa_i32_private() local
98 wn = ((unsigned char *)(t2 + 2 * U))[u]; in br_rsa_i32_private()
100 r = ((wx - (wn + r)) >> 8) & 1; in br_rsa_i32_private()
H A Drsa_i15_priv.c130 uint32_t wn, wx; in br_rsa_i15_private() local
133 wn = ((unsigned char *)t3)[u]; in br_rsa_i15_private()
135 r = ((wx - (wn + r)) >> 8) & 1; in br_rsa_i15_private()
H A Drsa_i31_priv.c124 uint32_t wn, wx; in br_rsa_i31_private() local
127 wn = ((unsigned char *)t3)[u]; in br_rsa_i31_private()
129 r = ((wx - (wn + r)) >> 8) & 1; in br_rsa_i31_private()
H A Drsa_i62_priv.c126 uint32_t wn, wx; in br_rsa_i62_private() local
129 wn = ((unsigned char *)t3)[u]; in br_rsa_i62_private()
131 r = ((wx - (wn + r)) >> 8) & 1; in br_rsa_i62_private()
/freebsd/sys/dev/wpi/
H A Dif_wpi.c1622 struct wpi_node *wn; in wpi_node_alloc() local
1627 if (wn == NULL) in wpi_node_alloc()
1630 wn->id = WPI_ID_UNDEFINED; in wpi_node_alloc()
1632 return &wn->ni; in wpi_node_alloc()
1695 wn->id = WPI_ID_UNDEFINED; in wpi_restore_node()
2907 tx->id = wn->id; in wpi_tx_data()
3393 node.id = wn->id; in wpi_add_node()
3458 wn->id = WPI_ID_UNDEFINED; in wpi_add_sta_node()
3512 wn->id, error); in wpi_del_node()
4626 node.id = wn->id; in wpi_load_key()
[all …]
/freebsd/sys/netinet/
H A Din_fib.c198 const struct weightened_nhop *wn; in check_urpf() local
200 wn = nhgrp_get_nhops((struct nhgrp_object *)nh, &num_nhops); in check_urpf()
202 if (check_urpf_nhop(wn[i].nh, flags, src_if) != 0) in check_urpf()
/freebsd/sys/netinet6/
H A Din6_fib.c207 const struct weightened_nhop *wn; in check_urpf() local
209 wn = nhgrp_get_nhops((struct nhgrp_object *)nh, &num_nhops); in check_urpf()
211 if (check_urpf_nhop(wn[i].nh, flags, src_if) != 0) in check_urpf()
/freebsd/tools/test/stress2/misc/
H A Dpoll.sh57 dtrace -wn '*::pipe_poll:entry {@rw[execname,probefunc] = count(); }'
/freebsd/contrib/bmake/
H A Dmake.c1321 add_wait_dependency(GNodeListNode *owln, GNode *wn) in add_wait_dependency() argument
1326 for (cln = owln; (cn = cln->datum) != wn; cln = cln->next) { in add_wait_dependency()
1328 cn->name, cn->cohort_num, wn->name); in add_wait_dependency()
1333 Lst_Append(&wn->children, cn); in add_wait_dependency()
1334 wn->unmade++; in add_wait_dependency()
1335 Lst_Append(&cn->parents, wn); in add_wait_dependency()
/freebsd/sys/dev/iwn/
H A Dif_iwn.c2691 struct iwn_node *wn; in iwn_node_alloc() local
2694 if (wn == NULL) in iwn_node_alloc()
2699 return (&wn->ni); in iwn_node_alloc()
3204 struct iwn_node *wn; in iwn_agg_tx_complete() local
3217 wn = (void *)ni; in iwn_agg_tx_complete()
3248 struct iwn_node *wn; in iwn_rx_compressed_ba() local
4712 tx->id = wn->id; in iwn_tx_data()
5348 linkq.id = wn->id; in iwn_set_link_quality()
7472 node.id = wn->id; in iwn_ampdu_rx_start()
7511 node.id = wn->id; in iwn_ampdu_rx_stop()
[all …]
/freebsd/contrib/unbound/validator/
H A Dval_utils.c903 uint8_t* wn; in val_rrset_wildcard() local
919 wn = rrset->rk.dname; in val_rrset_wildcard()
922 if(dname_is_wild(wn)) { in val_rrset_wildcard()
923 wn += 2; in val_rrset_wildcard()
926 labdiff = (dname_count_labels(wn) - 1) - (int)labcount; in val_rrset_wildcard()
928 *wc = wn; in val_rrset_wildcard()
/freebsd/contrib/ntp/ntpd/
H A Drefclock_palisade.c546 uint16_t wn; in TSIP_decode() local
933 wn = (uint16_t)getint((u_char *) &mb(4)); in TSIP_decode()
950 wd = gpscal_from_gpsweek((wn % 1024), (int32_t)tow, ugo); in TSIP_decode()
962 printf("GPS WN: %d\n", wn); in TSIP_decode()
/freebsd/sys/net/
H A Drtsock.c721 const struct weightened_nhop *wn; in select_nhop() local
723 wn = nhgrp_get_nhops((struct nhgrp_object *)nh, &num_nhops); in select_nhop()
725 return (wn[0].nh); in select_nhop()
727 if (match_nhop_gw(wn[i].nh, gw)) in select_nhop()
728 return (wn[i].nh); in select_nhop()
2223 const struct weightened_nhop *wn; in sysctl_dumpentry() local
2226 wn = nhgrp_get_nhops((struct nhgrp_object *)nh, &num_nhops); in sysctl_dumpentry()
2228 error = sysctl_dumpnhop(rt, wn[i].nh, wn[i].weight, w); in sysctl_dumpentry()
/freebsd/crypto/openssl/test/certs/
H A Dee-key-8192.pem71 eVBj1snnB/08igkExTydW9FEtx6nBbu+wn+T1K1T19EwFUStFN8ISMyjJaHHNJ6U
/freebsd/contrib/ntp/libparse/
H A Ddata_mbg.c129 tgpsp->wn = get_lsb_uint16(bufpp); in get_mbg_tgps()
287 tgpsp->wn, (long) tgpsp->sec / SECSPERDAY, in mbg_tgps_str()

12