Home
last modified time | relevance | path

Searched refs:sample_cnt (Results 1 – 5 of 5) sorted by relevance

/Linux-v6.1/tools/testing/selftests/bpf/prog_tests/
Dringbuf.c28 static int sample_cnt; variable
44 atomic_inc(&sample_cnt); in process_sample()
183 cnt = atomic_xchg(&sample_cnt, 0); in test_ringbuf()
190 cnt = atomic_xchg(&sample_cnt, 0); in test_ringbuf()
207 cnt = atomic_xchg(&sample_cnt, 0); in test_ringbuf()
237 cnt = atomic_xchg(&sample_cnt, 0); in test_ringbuf()
254 cnt = atomic_xchg(&sample_cnt, 0); in test_ringbuf()
284 cnt = atomic_xchg(&sample_cnt, 0); in test_ringbuf()
/Linux-v6.1/drivers/i2c/busses/
Di2c-mt65xx.c635 unsigned int sample_cnt) in mtk_i2c_get_clk_div_restri() argument
642 if (sample_cnt == 1) { in mtk_i2c_get_clk_div_restri()
675 unsigned int sample_cnt) in mtk_i2c_check_ac_timing() argument
680 unsigned int sample_ns = div_u64(1000000000ULL * (sample_cnt + 1), in mtk_i2c_check_ac_timing()
728 (sample_cnt << 12) | (high_cnt << 8); in mtk_i2c_check_ac_timing()
730 i2c->ac_timing.ltiming |= (sample_cnt << 12) | in mtk_i2c_check_ac_timing()
745 i2c->ac_timing.htiming = (sample_cnt << 8) | (high_cnt); in mtk_i2c_check_ac_timing()
746 i2c->ac_timing.ltiming = (sample_cnt << 6) | (low_cnt); in mtk_i2c_check_ac_timing()
779 unsigned int sample_cnt; in mtk_i2c_calculate_speed() local
804 for (sample_cnt = 1; sample_cnt <= MAX_SAMPLE_CNT_DIV; sample_cnt++) { in mtk_i2c_calculate_speed()
[all …]
/Linux-v6.1/net/ipv4/
Dtcp_cdg.c91 u16 sample_cnt; member
172 if (ca->sample_cnt < 8) { in tcp_cdg_hystart_update()
173 ca->sample_cnt++; in tcp_cdg_hystart_update()
281 ca->sample_cnt = 0; in tcp_cdg_cong_avoid()
Dtcp_cubic.c99 u8 sample_cnt; /* number of samples to decide curr_rtt */ member
126 ca->sample_cnt = 0; in bictcp_hystart_reset()
431 if (ca->sample_cnt < HYSTART_MIN_SAMPLES) { in hystart_update()
432 ca->sample_cnt++; in hystart_update()
/Linux-v6.1/tools/testing/selftests/bpf/progs/
Dbpf_cubic.c86 __u8 sample_cnt; /* number of samples to decide curr_rtt */ member
169 ca->sample_cnt = 0; in bictcp_hystart_reset()
481 if (ca->sample_cnt < HYSTART_MIN_SAMPLES) { in hystart_update()
482 ca->sample_cnt++; in hystart_update()