Home
last modified time | relevance | path

Searched refs:true_val (Results 1 – 4 of 4) sorted by relevance

/linux/tools/perf/pmu-events/
H A Dmetric.py328 def __init__(self, true_val: Union[int, float, Expression],
331 self.true_val = _Constify(true_val)
336 true_str = self.true_val.ToPerfJson()
342 return (f'Select({self.true_val.ToPython()}, {self.cond.ToPython()}, '
347 true_val = self.true_val.Simplify()
350 return false_val if cond.value == '0' else true_val
352 if true_val.Equals(false_val):
353 return true_val
[all...]
/linux/tools/testing/selftests/bpf/progs/
H A Dtest_misc_tcp_hdr_options.c307 int true_val = 1, false_val = 0, ret; in misc_estab() local
314 &true_val, sizeof(true_val)); in misc_estab()
323 ret = bpf_setsockopt(skops, SOL_TCP, TCP_NODELAY, &true_val, sizeof(true_val)); in misc_estab()
328 ret = bpf_setsockopt(skops, SOL_TCP, TCP_NODELAY, &true_val, sizeof(true_val)); in misc_estab()
H A Dbpf_cubic.c181 int true_val = 1, ret; in BPF_PROG() local
183 ret = bpf_setsockopt(sk, SOL_TCP, TCP_NODELAY, &true_val, sizeof(true_val)); in BPF_PROG()
201 int true_val = 1, ret; in BPF_PROG() local
204 ret = bpf_setsockopt(sk, SOL_TCP, TCP_NODELAY, &true_val, sizeof(true_val)); in BPF_PROG()
H A Dtest_tcp_hdr_options.c597 int true_val = 1;
602 &true_val, sizeof(true_val)); in estab()
600 int true_val = 1; estab() local