Home
last modified time | relevance | path

Searched refs:metric (Results 1 – 25 of 163) sorted by relevance

1234567

/OK3568_Linux_fs/kernel/tools/testing/selftests/net/forwarding/
H A Dfib_offload_lib.sh67 ip -n $ns route add 192.0.2.0/24 dev dummy1 tos 0 metric 1024
71 ip -n $ns route append 192.0.2.0/24 dev dummy2 tos 0 metric 1024
75 ip -n $ns route prepend 192.0.2.0/24 dev dummy3 tos 0 metric 1024
98 ip -n $ns route add 192.0.2.0/24 dev dummy1 tos 0 metric 1024
102 ip -n $ns route add 192.0.2.0/24 dev dummy1 tos 2 metric 1024
109 ip -n $ns route add 192.0.2.0/24 dev dummy1 tos 1 metric 1024
127 ip -n $ns route add 192.0.2.0/24 dev dummy1 metric 1024
131 ip -n $ns route add 192.0.2.0/24 dev dummy1 metric 1022
138 ip -n $ns route add 192.0.2.0/24 dev dummy1 metric 1023
159 ip -n $ns route add 192.0.2.0/24 dev dummy1 metric 1024
[all …]
/OK3568_Linux_fs/kernel/tools/testing/selftests/drivers/net/mlxsw/
H A Dfib_offload.sh79 ip -6 route add 2001:db8:3::/64 dev $spine_p1 metric 100
85 ip -6 route append 2001:db8:3::/64 dev $spine_p1 metric 200
93 ip -6 route append 2001:db8:3::/64 dev $spine_p1 metric 10
117 ip -6 route add 2001:db8:3::/64 metric 100 \
124 ip -6 route append 2001:db8:3::/64 metric 100 \
132 ip -6 route add 2001:db8:3::/64 metric 100 \
140 ip -6 route append 2001:db8:3::/64 metric 200 \
149 ip -6 route append 2001:db8:3::/64 metric 10 \
174 ip -6 route add 2001:db8:3::/64 metric 100 dev $spine_p1
177 ip -6 route replace 2001:db8:3::/64 metric 100 dev $spine_p2
[all …]
/OK3568_Linux_fs/yocto/poky/meta/recipes-core/busybox/files/
H A Dsimple.script59 metric=10
62 … /SBIN_DIR/ip route add default via $i metric $metric dev $interface
64 … /SBIN_DIR/route add default gw $i dev $interface metric $metric 2>/dev/null
66 metric=$(($metric + 1))
/OK3568_Linux_fs/app/forlinx/quectelCM/
H A Ddefault.script20 metric=0
22 /sbin/route add default gw $i dev $interface metric $metric
23 metric=$(($metric + 1))
H A Ddefault.script_ip18 metric=0
20 $IPCMD route add default dev $interface via $router metric $metric
21 metric=$(($metric + 1))
/OK3568_Linux_fs/kernel/include/net/
H A Ddst.h149 dst_metric_raw(const struct dst_entry *dst, const int metric) in dst_metric_raw() argument
153 return p[metric-1]; in dst_metric_raw()
157 dst_metric(const struct dst_entry *dst, const int metric) in dst_metric() argument
159 WARN_ON_ONCE(metric == RTAX_HOPLIMIT || in dst_metric()
160 metric == RTAX_ADVMSS || in dst_metric()
161 metric == RTAX_MTU); in dst_metric()
162 return dst_metric_raw(dst, metric); in dst_metric()
176 static inline void dst_metric_set(struct dst_entry *dst, int metric, u32 val) in dst_metric_set() argument
181 p[metric-1] = val; in dst_metric_set()
202 static inline unsigned long dst_metric_rtt(const struct dst_entry *dst, int metric) in dst_metric_rtt() argument
[all …]
/OK3568_Linux_fs/kernel/tools/perf/util/
H A Dmetricgroup.c119 struct metric { struct
303 struct metric *m; in metricgroup__setup_events()
690 struct metric **mp, in __add_metric()
695 struct metric *m; in __add_metric()
783 struct metric *old = list_entry(pos, struct metric, nd); in __add_metric()
806 static struct pmu_event *find_metric(const char *metric, struct pmu_events_map *map) in find_metric() argument
812 if (match_metric(pe->metric_name, metric)) in find_metric()
819 static int recursion_check(struct metric *m, const char *id, struct expr_id **parent, in recursion_check()
866 struct metric **mp,
870 static int __resolve_metric(struct metric *m, in __resolve_metric()
[all …]
/OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-support/ifmetric/ifmetric/
H A Difmetric.8_typo.patch11 …me as first parameter. The second parameter should be the new metric. If ommited the metric 0 (hig…
12 …me as first parameter. The second parameter should be the new metric. If omitted the metric 0 (hig…
/OK3568_Linux_fs/kernel/Documentation/networking/
H A Dvrf.rst85 ip route add table 10 unreachable default metric 4278198272
87 This high metric value ensures that the default unreachable route can
90 (lower 3 bytes). Thus the above metric translates to [255/8192].
307 unreachable default metric 4278198272
318 local 2002:1:: dev lo proto none metric 0 pref medium
319 local 2002:1::2 dev lo proto none metric 0 pref medium
320 2002:1::/120 dev eth1 proto kernel metric 256 pref medium
321 local 2002:2:: dev lo proto none metric 0 pref medium
322 local 2002:2::2 dev lo proto none metric 0 pref medium
323 2002:2::/120 dev eth2 proto kernel metric 256 pref medium
[all …]
/OK3568_Linux_fs/kernel/tools/perf/Documentation/
H A Dtopdown.txt51 metric register that reports slots ratios for the different bottleneck
64 metric event, and allow user programs to read the performance counters.
69 The metric events are mapped to the pseudo event event=0x00, umask=0x8X.
71 { .config = 0x8000, .type = PERF_TYPE_RAW } for Retiring metric event
121 #define RDPMC_METRIC (1 << 29) /* return metric counters */
151 The binary ratios in the metric value can be converted to float ratios:
162 The ratios in the metric accumulate for the time when the counter
237 Four pseudo TopDown metric events are exposed for the end-users,
241 - All the TopDown metric events must be in a group with the SLOTS event.
243 - The PERF_FORMAT_GROUP flag must be applied for each TopDown metric
[all …]
/OK3568_Linux_fs/kernel/Documentation/userspace-api/media/dvb/
H A Dfrontend-stat-properties.rst20 plus one metric per each carrier group (called "layer" on ISDB).
24 to the global metric. The other elements of the array represent each
61 Possible scales for this metric are:
80 Possible scales for this metric are:
111 Possible scales for this metric are:
139 Possible scales for this metric are:
168 Possible scales for this metric are:
196 Possible scales for this metric are:
217 Possible scales for this metric are:
239 Possible scales for this metric are:
/OK3568_Linux_fs/buildroot/package/pulseview/
H A D0001-Replace-obsolete-deprecated-Qt-methods.patch49 + * @param[in] metric metrics of the font
54 +std::streamsize text_width(const QFontMetrics &metric, const QString &string)
57 + return metric.horizontalAdvance(string);
59 + return metric.width(string);
83 + * @param[in] metric metrics of the font
88 +std::streamsize text_width(const QFontMetrics &metric, const QString &string);
/OK3568_Linux_fs/kernel/mm/damon/
H A Dcore.c111 scheme->wmarks.metric = wmarks->metric; in damon_new_scheme()
920 static unsigned long damos_wmark_metric_value(enum damos_wmark_metric metric) in damos_wmark_metric_value() argument
924 switch (metric) { in damos_wmark_metric_value()
940 unsigned long metric; in damos_wmark_wait_us() local
942 if (scheme->wmarks.metric == DAMOS_WMARK_NONE) in damos_wmark_wait_us()
945 metric = damos_wmark_metric_value(scheme->wmarks.metric); in damos_wmark_wait_us()
947 if (metric > scheme->wmarks.high || scheme->wmarks.low > metric) { in damos_wmark_wait_us()
951 metric > scheme->wmarks.high ? in damos_wmark_wait_us()
958 if ((scheme->wmarks.high >= metric && metric >= scheme->wmarks.mid) && in damos_wmark_wait_us()
/OK3568_Linux_fs/kernel/samples/bpf/
H A Dxdp_router_ipv4_user.c132 int dst_len, iface, metric; in read_route() member
194 route.metric = atoi(metrics); in read_route()
207 int metric; in read_route() member
243 route.metric, in read_route()
252 prefix_value->metric = route.metric; in read_route()
284 route.metric >= prefix_value->metric) { in read_route()
294 prefix_value->metric = route.metric; in read_route()
/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/include/
H A D802.11s.h111 uint32 metric; member
118 uint32 metric; member
147 uint32 metric; member
155 uint32 metric; member
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/include/
H A D802.11s.h111 uint32 metric; member
118 uint32 metric; member
147 uint32 metric; member
155 uint32 metric; member
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/include/
H A D802.11s.h111 uint32 metric; member
118 uint32 metric; member
147 uint32 metric; member
155 uint32 metric; member
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/include/
H A D802.11s.h112 uint32 metric; member
119 uint32 metric; member
148 uint32 metric; member
156 uint32 metric; member
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/include/
H A D802.11s.h112 uint32 metric; member
119 uint32 metric; member
148 uint32 metric; member
156 uint32 metric; member
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/include/
H A D802.11s.h110 uint32 metric; member
117 uint32 metric; member
147 uint32 metric; member
155 uint32 metric; member
/OK3568_Linux_fs/kernel/fs/ceph/
H A Dmetric.c19 struct ceph_client_metric *m = &mdsc->metric; in ceph_mdsc_send_metrics()
45 cap->hit = cpu_to_le64(percpu_counter_sum(&mdsc->metric.i_caps_hit)); in ceph_mdsc_send_metrics()
46 cap->mis = cpu_to_le64(percpu_counter_sum(&mdsc->metric.i_caps_mis)); in ceph_mdsc_send_metrics()
117 mdsc->metric.session = s; in metric_get_session()
131 container_of(m, struct ceph_mds_client, metric); in metric_delayed_work()
/OK3568_Linux_fs/kernel/drivers/net/wireless/ti/wlcore/
H A Devent.c105 s8 metric = metric_arr[0]; in wlcore_event_rssi_trigger() local
107 wl1271_debug(DEBUG_EVENT, "RSSI trigger metric: %d", metric); in wlcore_event_rssi_trigger()
111 if (metric <= wlvif->rssi_thold) in wlcore_event_rssi_trigger()
118 ieee80211_cqm_rssi_notify(vif, event, metric, in wlcore_event_rssi_trigger()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/core/mesh/
H A Drtw_mesh_hwmp.c212 u32 lifetime, u32 metric, u32 preq_id, in rtw_mesh_path_sel_frame_tx() argument
302 *(u32 *)pos = cpu_to_le32(metric); in rtw_mesh_path_sel_frame_tx()
728 target_metric = path->metric; in rtw_hwmp_preq_frame_process()
809 const u8 *prep_elem, u32 metric) in rtw_hwmp_prep_frame_process() argument
877 ttl, lifetime, metric, 0, adapter); in rtw_hwmp_prep_frame_process()
955 u32 originator_sn, metric, metric_txsta, interval; in rtw_hwmp_rann_frame_process() local
966 metric = le32_to_cpu(rann->rann_metric); in rtw_hwmp_rann_frame_process()
995 !(path->sn == originator_sn && metric < path->rann_metric)) { in rtw_hwmp_rann_frame_process()
1011 (path->rann_metric + mshcfg->sane_metric_delta < metric) && in rtw_hwmp_rann_frame_process()
1029 path->rann_metric = metric + metric_txsta; in rtw_hwmp_rann_frame_process()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/core/mesh/
H A Drtw_mesh_hwmp.c214 u32 lifetime, u32 metric, u32 preq_id, in rtw_mesh_path_sel_frame_tx() argument
302 *(u32 *)pos = cpu_to_le32(metric); in rtw_mesh_path_sel_frame_tx()
729 target_metric = path->metric; in rtw_hwmp_preq_frame_process()
810 const u8 *prep_elem, u32 metric) in rtw_hwmp_prep_frame_process() argument
878 ttl, lifetime, metric, 0, adapter); in rtw_hwmp_prep_frame_process()
956 u32 originator_sn, metric, metric_txsta, interval; in rtw_hwmp_rann_frame_process() local
967 metric = le32_to_cpu(rann->rann_metric); in rtw_hwmp_rann_frame_process()
996 !(path->sn == originator_sn && metric < path->rann_metric)) { in rtw_hwmp_rann_frame_process()
1012 (path->rann_metric + mshcfg->sane_metric_delta < metric) && in rtw_hwmp_rann_frame_process()
1030 path->rann_metric = metric + metric_txsta; in rtw_hwmp_rann_frame_process()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/core/mesh/
H A Drtw_mesh_hwmp.c213 u32 lifetime, u32 metric, u32 preq_id, in rtw_mesh_path_sel_frame_tx() argument
301 *(u32 *)pos = cpu_to_le32(metric); in rtw_mesh_path_sel_frame_tx()
728 target_metric = path->metric; in rtw_hwmp_preq_frame_process()
809 const u8 *prep_elem, u32 metric) in rtw_hwmp_prep_frame_process() argument
877 ttl, lifetime, metric, 0, adapter); in rtw_hwmp_prep_frame_process()
955 u32 originator_sn, metric, metric_txsta, interval; in rtw_hwmp_rann_frame_process() local
966 metric = le32_to_cpu(rann->rann_metric); in rtw_hwmp_rann_frame_process()
995 !(path->sn == originator_sn && metric < path->rann_metric)) { in rtw_hwmp_rann_frame_process()
1011 (path->rann_metric + mshcfg->sane_metric_delta < metric) && in rtw_hwmp_rann_frame_process()
1029 path->rann_metric = metric + metric_txsta; in rtw_hwmp_rann_frame_process()
[all …]

1234567