Home
last modified time | relevance | path

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

12

/Linux-v4.19/include/net/
Ddst.h161 dst_metric_raw(const struct dst_entry *dst, const int metric) in dst_metric_raw() argument
165 return p[metric-1]; in dst_metric_raw()
169 dst_metric(const struct dst_entry *dst, const int metric) in dst_metric() argument
171 WARN_ON_ONCE(metric == RTAX_HOPLIMIT || in dst_metric()
172 metric == RTAX_ADVMSS || in dst_metric()
173 metric == RTAX_MTU); in dst_metric()
174 return dst_metric_raw(dst, metric); in dst_metric()
188 static inline void dst_metric_set(struct dst_entry *dst, int metric, u32 val) in dst_metric_set() argument
193 p[metric-1] = val; in dst_metric_set()
214 static inline unsigned long dst_metric_rtt(const struct dst_entry *dst, int metric) in dst_metric_rtt() argument
[all …]
Dip6_fib.h465 void fib6_metric_set(struct fib6_info *f6i, int metric, u32 val);
466 static inline bool fib6_metric_locked(struct fib6_info *f6i, int metric) in fib6_metric_locked() argument
468 return !!(f6i->fib6_metrics->metrics[RTAX_LOCK - 1] & (1 << metric)); in fib6_metric_locked()
/Linux-v4.19/Documentation/networking/
Dvrf.txt74 ip route add table 10 unreachable default metric 4278198272
76 This high metric value ensures that the default unreachable route can
79 (lower 3 bytes). Thus the above metric translates to [255/8192].
264 unreachable default metric 4278198272
275 local 2002:1:: dev lo proto none metric 0 pref medium
276 local 2002:1::2 dev lo proto none metric 0 pref medium
277 2002:1::/120 dev eth1 proto kernel metric 256 pref medium
278 local 2002:2:: dev lo proto none metric 0 pref medium
279 local 2002:2::2 dev lo proto none metric 0 pref medium
280 2002:2::/120 dev eth2 proto kernel metric 256 pref medium
[all …]
Dswitchdev.txt347 11.0.0.4/30 via 11.0.0.1 dev sw1p1 proto zebra metric 20 offload
349 11.0.0.12/30 via 11.0.0.9 dev sw1p2 proto zebra metric 20 offload
350 12.0.0.2 proto zebra metric 30 offload
353 12.0.0.3 via 11.0.0.1 dev sw1p1 proto zebra metric 20 offload
354 12.0.0.4 via 11.0.0.9 dev sw1p2 proto zebra metric 20 offload
/Linux-v4.19/Documentation/media/uapi/dvb/
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:
/Linux-v4.19/samples/bpf/
Dxdp_router_ipv4_user.c116 int dst_len, iface, metric; in read_route() member
178 route.metric = atoi(metrics); in read_route()
195 int metric; in read_route() member
226 route.metric, in read_route()
235 prefix_value->metric = route.metric; in read_route()
267 route.metric >= prefix_value->metric) { in read_route()
277 prefix_value->metric = route.metric; in read_route()
Dxdp_router_ipv4_kern.c23 int metric; member
/Linux-v4.19/drivers/net/wireless/ti/wlcore/
Devent.c119 s8 metric = metric_arr[0]; in wlcore_event_rssi_trigger() local
121 wl1271_debug(DEBUG_EVENT, "RSSI trigger metric: %d", metric); in wlcore_event_rssi_trigger()
125 if (metric <= wlvif->rssi_thold) in wlcore_event_rssi_trigger()
132 ieee80211_cqm_rssi_notify(vif, event, metric, in wlcore_event_rssi_trigger()
/Linux-v4.19/tools/perf/util/
Dmetricgroup.c370 static int metricgroup__add_metric(const char *metric, struct strbuf *events, in metricgroup__add_metric() argument
388 if (match_metric(pe->metric_group, metric) || in metricgroup__add_metric()
389 match_metric(pe->metric_name, metric)) { in metricgroup__add_metric()
494 bool metricgroup__has_metric(const char *metric) in metricgroup__has_metric() argument
510 if (match_metric(pe->metric_name, metric)) in metricgroup__has_metric()
Dmetricgroup.h31 bool metricgroup__has_metric(const char *metric);
/Linux-v4.19/net/mac80211/
Dmesh_hwmp.c107 u32 lifetime, u32 metric, u32 preq_id, in mesh_path_sel_frame_tx() argument
179 put_unaligned_le32(metric, pos); in mesh_path_sel_frame_tx()
444 new_metric >= mpath->metric)) { in hwmp_route_info_get()
481 mpath->metric = new_metric; in hwmp_route_info_get()
510 (last_hop_metric > mpath->metric))) in hwmp_route_info_get()
523 mpath->metric = last_hop_metric; in hwmp_route_info_get()
610 target_metric = mpath->metric; in hwmp_preq_frame_process()
679 const u8 *prep_elem, u32 metric) in hwmp_prep_frame_process() argument
727 ttl, lifetime, metric, 0, sdata); in hwmp_prep_frame_process()
Dmesh.h115 u32 metric; member
Dmesh_pathtbl.c812 mpath->metric = 0; in mesh_path_fix_nexthop()
/Linux-v4.19/tools/perf/Documentation/
Dperf-stat.txt189 --metric-only::
280 This enables --metric-only, unless overriden with --no-metric-only.
311 Users who wants to get the actual value can apply --no-metric-only.
367 - optional metric value
368 - optional unit of metric
Dperf-script.txt120 brstackoff, callindent, insn, insnlen, synth, phys_addr, metric, misc.
220 With the metric option perf script can compute metrics for
225 that the metric computed is averaged over the whole sampling
Dperf-list.txt12 [hw|sw|cache|tracepoint|pmu|sdt|metric|metricgroup|event_glob]
268 . 'metric' to list metrics
/Linux-v4.19/tools/testing/selftests/net/forwarding/
Dlib.sh323 ip -4 route add table $tb_id unreachable default metric 4278198272
324 ip -6 route add table $tb_id unreachable default metric 4278198272
335 ip -6 route del table $tb_id unreachable default metric 4278198272
336 ip -4 route del table $tb_id unreachable default metric 4278198272
/Linux-v4.19/tools/testing/selftests/net/
Dfib_tests.sh549 $IP -4 route add vrf red unreachable default metric 4278198272
550 $IP -6 route add vrf red unreachable default metric 4278198272
880 ip addr help 2>&1 | grep -q metric
/Linux-v4.19/sound/pci/
Dsonicvibes.c488 unsigned int xm, xn, xr, xd, metric = ~0U; in snd_sonicvibes_pll() local
503 if (xd < metric) { in snd_sonicvibes_pll()
504 metric = xd; in snd_sonicvibes_pll()
514 "metric = %i, xm = %i, xn = %i\n", metric, xm, xn); in snd_sonicvibes_pll()
/Linux-v4.19/net/batman-adv/
DKconfig44 network, as well as a throughput based metric.
/Linux-v4.19/Documentation/admin-guide/pm/
Dcpufreq.rst398 Per-Entity Load Tracking (PELT) metric for the root control group of the
431 utilization metric, so in principle its decisions should not contradict the
437 This governor uses CPU load as a CPU frequency selection metric.
453 irregular. Also, it affects its own CPU load metric by running code that
550 This governor uses CPU load as a CPU frequency selection metric.
/Linux-v4.19/arch/x86/events/intel/
Dp4.c508 #define P4_GEN_CACHE_EVENT(event, bit, metric) \ argument
511 p4_config_pack_cccr(metric | \
/Linux-v4.19/drivers/net/wireless/marvell/libertas/
Dhost.h949 __le32 metric; member
/Linux-v4.19/drivers/media/pci/tw5864/
Dtw5864-video.c1314 const unsigned int metric = tw5864_md_metric_from_mvd(mv[i]); in tw5864_is_motion_triggered() local
1316 if (metric > thresh) in tw5864_is_motion_triggered()
/Linux-v4.19/Documentation/cgroup-v1/
Dcpusets.txt248 The memory_pressure of a cpuset provides a simple per-cpuset metric
271 code of __alloc_pages() for this metric reduces to simply noticing
273 systems that enable this feature will compute the metric.
279 metric is sharply reduced on large systems, because a scan of

12