Home
last modified time | relevance | path

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

1234

/linux/tools/testing/selftests/net/forwarding/
A Dfib_offload_lib.sh187 local metric
197 for metric in $(seq 1024 1026); do
198 ip -n $ns route add 192.0.2.0/24 dev dummy1 metric $metric
324 local metric
333 for metric in $(seq 1 20); do
334 ip -n $ns route add 192.0.2.0/24 dev dummy1 metric $metric
707 ip -n $ns route del 2001:db8:10::/64 metric 1025
721 ip -n $ns route del 2001:db8:10::/64 metric 1024
747 ip -n $ns route del 2001:db8:10::/64 metric 1024
760 ip -n $ns route del 2001:db8:10::/64 metric 1025
[all …]
/linux/fs/ceph/
A Dmetric.c189 mdsc->metric.session = s; in metric_get_session()
223 struct ceph_metric *metric; in ceph_metric_init() local
248 metric = &m->metric[i]; in ceph_metric_init()
249 spin_lock_init(&metric->lock); in ceph_metric_init()
250 metric->size_sum = 0; in ceph_metric_init()
251 metric->size_min = U64_MAX; in ceph_metric_init()
252 metric->size_max = 0; in ceph_metric_init()
253 metric->total = 0; in ceph_metric_init()
254 metric->latency_sum = 0; in ceph_metric_init()
255 metric->latency_sq_sum = 0; in ceph_metric_init()
[all …]
A Dmetric.h158 struct ceph_metric metric[METRIC_MAX]; member
201 ceph_update_metrics(&m->metric[METRIC_READ], in ceph_update_read_metrics()
208 ceph_update_metrics(&m->metric[METRIC_WRITE], in ceph_update_write_metrics()
215 ceph_update_metrics(&m->metric[METRIC_METADATA], in ceph_update_metadata_metrics()
222 ceph_update_metrics(&m->metric[METRIC_COPYFROM], in ceph_update_copyfrom_metrics()
A Ddebugfs.c152 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()
203 struct ceph_client_metric *cm = &fsc->mdsc->metric; in metrics_size_show()
216 m = &cm->metric[i]; in metrics_size_show()
233 struct ceph_client_metric *m = &fsc->mdsc->metric; in metrics_caps_show()
A DMakefile11 debugfs.o util.o metric.o
A Dfile.c917 ceph_update_read_metrics(&fsc->mdsc->metric, in ceph_sync_read()
1054 struct ceph_client_metric *metric = &ceph_sb_to_mdsc(inode->i_sb)->metric; in ceph_aio_complete_req() local
1106 ceph_update_write_metrics(metric, req->r_start_latency, in ceph_aio_complete_req()
1109 ceph_update_read_metrics(metric, req->r_start_latency, in ceph_aio_complete_req()
1199 struct ceph_client_metric *metric = &fsc->mdsc->metric; in ceph_direct_read_write() local
1317 ceph_update_write_metrics(metric, req->r_start_latency, in ceph_direct_read_write()
1320 ceph_update_read_metrics(metric, req->r_start_latency, in ceph_direct_read_write()
1494 ceph_update_write_metrics(&fsc->mdsc->metric, req->r_start_latency, in ceph_sync_write()
2319 ceph_update_copyfrom_metrics(&fsc->mdsc->metric, in ceph_do_objects_copy()
/linux/tools/testing/selftests/drivers/net/mlxsw/
A Dfib_offload.sh79 ip -6 route add 2001:db8:3::/64 dev $spine_p1 metric 100
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
182 ip -6 route replace 2001:db8:3::/64 metric 100 \
197 ip -6 route replace 2001:db8:3::/64 metric 100 \
[all …]
/linux/include/net/
A Ddst.h150 dst_metric_raw(const struct dst_entry *dst, const int metric) in dst_metric_raw() argument
154 return p[metric-1]; in dst_metric_raw()
158 dst_metric(const struct dst_entry *dst, const int metric) in dst_metric() argument
160 WARN_ON_ONCE(metric == RTAX_HOPLIMIT || in dst_metric()
161 metric == RTAX_ADVMSS || in dst_metric()
162 metric == RTAX_MTU); in dst_metric()
163 return dst_metric_raw(dst, metric); in dst_metric()
182 p[metric-1] = val; in dst_metric_set()
207 return msecs_to_jiffies(dst_metric(dst, metric)); in dst_metric_rtt()
218 dst_metric_locked(const struct dst_entry *dst, int metric) in dst_metric_locked() argument
[all …]
A Dip6_fib.h538 void fib6_metric_set(struct fib6_info *f6i, int metric, u32 val);
539 static inline bool fib6_metric_locked(struct fib6_info *f6i, int metric) in fib6_metric_locked() argument
541 return !!(f6i->fib6_metrics->metrics[RTAX_LOCK - 1] & (1 << metric)); in fib6_metric_locked()
/linux/tools/perf/Documentation/
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
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
307 Four pseudo TopDown metric events are exposed for the end-users,
[all …]
A Dperf-stat.txt276 If the metric exists, it is calculated by the counts generated in this interval and the metric is p…
291 --metric-only::
335 --metric-no-group::
336 By default, events to compute a metric are placed in weak groups. The
338 --metric-no-group option places events outside of groups and may
344 --metric-no-merge::
345 By default metric events in different weak groups can be shared if one
410 This enables --metric-only, unless overridden with --no-metric-only.
467 Users who wants to get the actual value can apply --no-metric-only.
550 - optional metric value
[all …]
/linux/tools/perf/util/
A Dmetricgroup.c126 struct metric { struct
197 struct metric *m; in metric__new()
841 struct metric *root_metric;
873 struct metric *root_metric, in resolve_metric()
951 struct metric *root_metric, in __add_metric()
1121 const struct metric *left = container_of(l, struct metric, nd); in metric_list_cmp()
1122 const struct metric *right = container_of(r, struct metric, nd); in metric_list_cmp()
1250 struct metric *m, *tmp; in metricgroup__free_metrics()
1270 struct metric *m; in build_combined_expr_ctx()
1371 struct metric *m; in parse_groups()
[all …]
A Dmetricgroup.h73 const struct pmu_event *metricgroup__find_metric(const char *metric,
84 bool metricgroup__has_metric(const char *metric);
/linux/tools/perf/tests/
A Dpmu-events.c832 struct metric { struct
843 struct metric *metric, *tmp; in resolve_metric_simple() local
869 metric = malloc(sizeof(*metric)); in resolve_metric_simple()
870 if (!metric) { in resolve_metric_simple()
875 ref = &metric->metric_ref; in resolve_metric_simple()
878 list_add_tail(&metric->list, compound_list); in resolve_metric_simple()
890 list_for_each_entry_safe(metric, tmp, compound_list, list) in resolve_metric_simple()
891 free(metric); in resolve_metric_simple()
920 struct metric *metric, *tmp; in test__parsing() local
960 expr__add_ref(ctx, &metric->metric_ref); in test__parsing()
[all …]
/linux/Documentation/networking/
A Dvrf.rst320 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
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
337 local fe80:: dev lo proto none metric 0 pref medium
338 local fe80:: dev lo proto none metric 0 pref medium
341 fe80::/64 dev eth1 proto kernel metric 256 pref medium
343 ff00::/8 dev red metric 256 pref medium
344 ff00::/8 dev eth1 metric 256 pref medium
[all …]
/linux/Documentation/userspace-api/media/dvb/
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:
/linux/mm/damon/
A Dcore.c127 scheme->wmarks.metric = wmarks->metric; in damon_new_scheme()
926 static unsigned long damos_wmark_metric_value(enum damos_wmark_metric metric) in damos_wmark_metric_value() argument
930 switch (metric) { in damos_wmark_metric_value()
946 unsigned long metric; in damos_wmark_wait_us() local
948 if (scheme->wmarks.metric == DAMOS_WMARK_NONE) in damos_wmark_wait_us()
951 metric = damos_wmark_metric_value(scheme->wmarks.metric); in damos_wmark_wait_us()
953 if (metric > scheme->wmarks.high || scheme->wmarks.low > metric) { in damos_wmark_wait_us()
957 metric > scheme->wmarks.high ? in damos_wmark_wait_us()
964 if ((scheme->wmarks.high >= metric && metric >= scheme->wmarks.mid) && in damos_wmark_wait_us()
/linux/samples/bpf/
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
246 route.metric, in read_route()
256 prefix_value->metric = route.metric; in read_route()
288 route.metric >= prefix_value->metric) { in read_route()
298 prefix_value->metric = route.metric; in read_route()
/linux/drivers/net/wireless/ti/wlcore/
A Devent.c114 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/net/mac80211/
A Dmesh_hwmp.c105 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()
454 new_metric) >= mpath->metric)) { in hwmp_route_info_get()
493 mpath->metric = new_metric; in hwmp_route_info_get()
525 last_hop_metric) > mpath->metric))) in hwmp_route_info_get()
540 mpath->metric = last_hop_metric; in hwmp_route_info_get()
628 target_metric = mpath->metric; in hwmp_preq_frame_process()
697 const u8 *prep_elem, u32 metric) in hwmp_prep_frame_process() argument
745 ttl, lifetime, metric, 0, sdata); in hwmp_prep_frame_process()
/linux/tools/testing/selftests/net/
A Dvrf-xfrm-tests.sh98 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
A Dtraceroute.sh82 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/tools/testing/selftests/bpf/
A Dtest_lwt_ip_encap.sh143 ip -netns ${NS1} route add table 1001 unreachable default metric 8192
144 ip -netns ${NS1} -6 route add table 1001 unreachable default metric 8192
150 ip -netns ${NS2} route add table 1001 unreachable default metric 8192
151 ip -netns ${NS2} -6 route add table 1001 unreachable default metric 8192
/linux/Documentation/accounting/
A Dpsi.rst91 Triggers can be set on more than one psi metric and more than one trigger
92 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
/linux/tools/testing/selftests/net/mptcp/
A Dsimult_flows.sh80 ip -net "$ns1" route add default via 10.0.2.2 metric 101
81 ip -net "$ns1" route add default via dead:beef:2::2 metric 101

Completed in 52 milliseconds

1234