Searched refs:true_val (Results 1 – 4 of 4) sorted by relevance
| /linux/tools/perf/pmu-events/ |
| H A D | metric.py | 329 def __init__(self, true_val: Union[int, float, Expression], 332 self.true_val = _Constify(true_val) 337 true_str = self.true_val.ToPerfJson() 348 true_val = self.true_val.Simplify() 351 return false_val if cond.value == '0' else true_val 353 if true_val.Equals(false_val): 354 return true_val 356 return Select(true_val, cond, false_val) 359 return (self.cond.HasExperimentalEvents() or self.true_val.HasExperimentalEvents() or 365 other.false_val) and self.true_val.Equals(other.true_val) [all …]
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | test_misc_tcp_hdr_options.c | 307 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 D | bpf_cubic.c | 181 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 D | test_tcp_hdr_options.c | 597 int true_val = 1; 602 &true_val, sizeof(true_val)); in estab() 600 int true_val = 1; estab() local
|