/Linux-v6.1/tools/testing/selftests/net/forwarding/ |
D | fib_offload_lib.sh | 67 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 8 metric 1024 109 ip -n $ns route add 192.0.2.0/24 dev dummy1 tos 4 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 …]
|
/Linux-v6.1/fs/ceph/ |
D | metric.c | 31 struct ceph_client_metric *m = &mdsc->metric; in ceph_mdsc_send_metrics() 70 sum = m->metric[METRIC_READ].latency_sum; in ceph_mdsc_send_metrics() 72 ktime_to_ceph_timespec(&read->avg, m->metric[METRIC_READ].latency_avg); in ceph_mdsc_send_metrics() 73 read->sq_sum = cpu_to_le64(m->metric[METRIC_READ].latency_sq_sum); in ceph_mdsc_send_metrics() 74 read->count = cpu_to_le64(m->metric[METRIC_READ].total); in ceph_mdsc_send_metrics() 83 sum = m->metric[METRIC_WRITE].latency_sum; in ceph_mdsc_send_metrics() 85 ktime_to_ceph_timespec(&write->avg, m->metric[METRIC_WRITE].latency_avg); in ceph_mdsc_send_metrics() 86 write->sq_sum = cpu_to_le64(m->metric[METRIC_WRITE].latency_sq_sum); in ceph_mdsc_send_metrics() 87 write->count = cpu_to_le64(m->metric[METRIC_WRITE].total); in ceph_mdsc_send_metrics() 96 sum = m->metric[METRIC_METADATA].latency_sum; in ceph_mdsc_send_metrics() [all …]
|
D | metric.h | 177 struct ceph_metric metric[METRIC_MAX]; member 220 ceph_update_metrics(&m->metric[METRIC_READ], in ceph_update_read_metrics() 227 ceph_update_metrics(&m->metric[METRIC_WRITE], in ceph_update_write_metrics() 234 ceph_update_metrics(&m->metric[METRIC_METADATA], in ceph_update_metadata_metrics() 241 ceph_update_metrics(&m->metric[METRIC_COPYFROM], in ceph_update_copyfrom_metrics()
|
D | debugfs.c | 152 struct ceph_client_metric *m = &fsc->mdsc->metric; in metrics_file_show() 176 struct ceph_client_metric *cm = &fsc->mdsc->metric; in metrics_latency_show() 185 m = &cm->metric[i]; in metrics_latency_show() 202 struct ceph_client_metric *cm = &fsc->mdsc->metric; in metrics_size_show() 215 m = &cm->metric[i]; in metrics_size_show() 232 struct ceph_client_metric *m = &fsc->mdsc->metric; in metrics_caps_show()
|
D | Makefile | 11 debugfs.o util.o metric.o
|
/Linux-v6.1/tools/testing/selftests/drivers/net/mlxsw/ |
D | fib_offload.sh | 79 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 …]
|
/Linux-v6.1/include/net/ |
D | dst.h | 151 dst_metric_raw(const struct dst_entry *dst, const int metric) in dst_metric_raw() argument 155 return p[metric-1]; in dst_metric_raw() 159 dst_metric(const struct dst_entry *dst, const int metric) in dst_metric() argument 161 WARN_ON_ONCE(metric == RTAX_HOPLIMIT || in dst_metric() 162 metric == RTAX_ADVMSS || in dst_metric() 163 metric == RTAX_MTU); in dst_metric() 164 return dst_metric_raw(dst, metric); in dst_metric() 178 static inline void dst_metric_set(struct dst_entry *dst, int metric, u32 val) in dst_metric_set() argument 183 p[metric-1] = val; in dst_metric_set() 206 static inline unsigned long dst_metric_rtt(const struct dst_entry *dst, int metric) in dst_metric_rtt() argument [all …]
|
D | ip6_fib.h | 540 void fib6_metric_set(struct fib6_info *f6i, int metric, u32 val); 541 static inline bool fib6_metric_locked(struct fib6_info *f6i, int metric) in fib6_metric_locked() argument 543 return !!(f6i->fib6_metrics->metrics[RTAX_LOCK - 1] & (1 << metric)); in fib6_metric_locked()
|
/Linux-v6.1/tools/perf/util/ |
D | metricgroup.c | 116 struct metric { struct 182 static void metric__free(struct metric *m) in metric__free() 194 static struct metric *metric__new(const struct pmu_event *pe, in metric__new() 201 struct metric *m; in metric__new() 349 static bool match_pe_metric(const struct pmu_event *pe, const char *metric) in match_pe_metric() argument 351 return match_metric(pe->metric_group, metric) || in match_pe_metric() 352 match_metric(pe->metric_name, metric); in match_pe_metric() 882 struct metric *root_metric; 887 static bool metricgroup__find_metric(const char *metric, 897 struct metric *root_metric, [all …]
|
D | metricgroup.h | 83 bool metricgroup__has_metric(const char *metric);
|
/Linux-v6.1/tools/perf/Documentation/ |
D | topdown.txt | 51 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 135 #define RDPMC_METRIC (1 << 29) /* return metric counters */ 169 The binary ratios in the metric value can be converted to float ratios: 173 /* L1 Topdown metric events */ 180 * L2 Topdown metric events. 190 The ratios in the metric accumulate for the time when the counter 221 Later the individual ratios of L1 metric events for the measurement period can [all …]
|
D | perf-stat.txt | 100 allows multiple perf-stat sessions that are counting the same metric (cycles, 278 If the metric exists, it is calculated by the counts generated in this interval and the metric is p… 293 --metric-only:: 337 --metric-no-group:: 338 By default, events to compute a metric are placed in weak groups. The 340 --metric-no-group option places events outside of groups and may 346 --metric-no-merge:: 347 By default metric events in different weak groups can be shared if one 412 This enables --metric-only, unless overridden with --no-metric-only. 479 Users who wants to get the actual value can apply --no-metric-only. [all …]
|
/Linux-v6.1/Documentation/networking/ |
D | vrf.rst | 85 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]. 320 unreachable default metric 4278198272 331 local 2002:1:: dev lo proto none metric 0 pref medium 332 local 2002:1::2 dev lo proto none metric 0 pref medium 333 2002:1::/120 dev eth1 proto kernel metric 256 pref medium 334 local 2002:2:: dev lo proto none metric 0 pref medium 335 local 2002:2::2 dev lo proto none metric 0 pref medium 336 2002:2::/120 dev eth2 proto kernel metric 256 pref medium [all …]
|
/Linux-v6.1/Documentation/userspace-api/media/dvb/ |
D | frontend-stat-properties.rst | 20 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-v6.1/samples/bpf/ |
D | xdp_router_ipv4_user.c | 101 int dst_len, iface, metric; in read_route() member 152 route.metric = atoi(metrics); in read_route() 161 int metric; in read_route() member 198 prefix_value->metric = route.metric; in read_route() 223 route.metric >= prefix_value->metric) { in read_route() 233 prefix_value->metric = route.metric; in read_route()
|
/Linux-v6.1/Documentation/translations/zh_CN/admin-guide/mm/damon/ |
D | usage.rst | 83 │ │ │ │ │ │ │ watermarks/metric,interval_us,high,mid,low 254 在水位目录下,存在五个文件(``metric``, ``interval_us``,``high``, ``mid``, and ``low``) 257 可以写入 ``metric`` 文件的关键词和含义如下。 302 # echo free_mem_rate > watermarks/metric 451 <metric> <check interval> <high mark> <middle mark> <low mark> 453 ``<metric>`` 是一个预定义的整数,用于要检查的度量。支持的数字和它们的含义如下。
|
/Linux-v6.1/mm/damon/ |
D | core.c | 1052 static unsigned long damos_wmark_metric_value(enum damos_wmark_metric metric) in damos_wmark_metric_value() argument 1056 switch (metric) { in damos_wmark_metric_value() 1072 unsigned long metric; in damos_wmark_wait_us() local 1074 if (scheme->wmarks.metric == DAMOS_WMARK_NONE) in damos_wmark_wait_us() 1077 metric = damos_wmark_metric_value(scheme->wmarks.metric); in damos_wmark_wait_us() 1079 if (metric > scheme->wmarks.high || scheme->wmarks.low > metric) { in damos_wmark_wait_us() 1083 metric > scheme->wmarks.high ? in damos_wmark_wait_us() 1090 if ((scheme->wmarks.high >= metric && metric >= scheme->wmarks.mid) && in damos_wmark_wait_us()
|
D | sysfs.c | 221 enum damos_wmark_metric metric; member 229 enum damos_wmark_metric metric, unsigned long interval_us, in damon_sysfs_watermarks_alloc() argument 238 watermarks->metric = metric; in damon_sysfs_watermarks_alloc() 259 damon_sysfs_wmark_metric_strs[watermarks->metric]); in metric_show() 267 enum damos_wmark_metric metric; in metric_store() local 269 for (metric = 0; metric < NR_DAMOS_WMARK_METRICS; metric++) { in metric_store() 270 if (sysfs_streq(buf, damon_sysfs_wmark_metric_strs[metric])) { in metric_store() 271 watermarks->metric = metric; in metric_store() 360 __ATTR_RW_MODE(metric, 0600); 2275 .metric = sysfs_wmarks->metric, in damon_sysfs_mk_scheme() [all …]
|
/Linux-v6.1/drivers/net/wireless/ti/wlcore/ |
D | event.c | 114 s8 metric = metric_arr[0]; in wlcore_event_rssi_trigger() local 116 wl1271_debug(DEBUG_EVENT, "RSSI trigger metric: %d", metric); in wlcore_event_rssi_trigger() 120 if (metric <= wlvif->rssi_thold) in wlcore_event_rssi_trigger() 127 ieee80211_cqm_rssi_notify(vif, event, metric, in wlcore_event_rssi_trigger()
|
/Linux-v6.1/net/mac80211/ |
D | mesh_hwmp.c | 105 u32 lifetime, u32 metric, u32 preq_id, in mesh_path_sel_frame_tx() argument 177 put_unaligned_le32(metric, pos); in mesh_path_sel_frame_tx() 459 new_metric) >= mpath->metric)) { in hwmp_route_info_get() 498 mpath->metric = new_metric; in hwmp_route_info_get() 530 last_hop_metric) > mpath->metric))) in hwmp_route_info_get() 545 mpath->metric = last_hop_metric; in hwmp_route_info_get() 633 target_metric = mpath->metric; in hwmp_preq_frame_process() 702 const u8 *prep_elem, u32 metric) in hwmp_prep_frame_process() argument 750 ttl, lifetime, metric, 0, sdata); in hwmp_prep_frame_process()
|
/Linux-v6.1/tools/testing/selftests/net/ |
D | vrf-xfrm-tests.sh | 98 ip ${ns} route add vrf ${vrf} unreachable default metric 8192 99 ip ${ns} -6 route add vrf ${vrf} unreachable default metric 8192 129 ip -netns ${ns} ro add unreachable default metric 8192 130 ip -netns ${ns} -6 ro add unreachable default metric 8192
|
D | traceroute.sh | 82 ip netns exec ${ns} ip ro add unreachable default metric 8192 83 ip netns exec ${ns} ip -6 ro add unreachable default metric 8192
|
/Linux-v6.1/Documentation/admin-guide/mm/damon/ |
D | usage.rst | 89 │ │ │ │ │ │ │ watermarks/metric,interval_us,high,mid,low 316 values called ``metric``, ``interval``, ``high``, ``mid``, and ``low``. The 317 ``metric`` is the system metric such as free memory ratio that can be measured. 318 If the metric value of the system is higher than the value in ``high`` or lower 322 Under the watermarks directory, five files (``metric``, ``interval_us``, 326 Keywords and meanings of those that can be written to the ``metric`` file are 381 # echo free_mem_rate > watermarks/metric 571 <metric> <check interval> <high mark> <middle mark> <low mark> 573 ``<metric>`` is a predefined integer for the metric to be checked. The 579 The value of the metric is checked every ``<check interval>`` microseconds.
|
/Linux-v6.1/tools/testing/selftests/bpf/ |
D | test_lwt_ip_encap.sh | 151 ip -netns ${NS1} route add table 1001 unreachable default metric 8192 152 ip -netns ${NS1} -6 route add table 1001 unreachable default metric 8192 158 ip -netns ${NS2} route add table 1001 unreachable default metric 8192 159 ip -netns ${NS2} -6 route add table 1001 unreachable default metric 8192
|
/Linux-v6.1/Documentation/accounting/ |
D | psi.rst | 90 Triggers can be set on more than one psi metric and more than one trigger 91 for the same psi metric can be specified. However for each trigger a separate 98 psi metric and deactivates upon exit from the stall state. While system is
|