Searched refs:last_sample (Results 1 – 6 of 6) sorted by relevance
/linux-6.6.21/tools/testing/selftests/net/mptcp/ |
D | mptcp_sockopt.c | 118 struct mptcp_info last_sample; member 363 s->last_sample = i; in do_getsockopt_mptcp_info() 539 assert(mfi.mptcp_info.mptcpi_bytes_sent == s->last_sample.mptcpi_bytes_sent); in do_getsockopt_mptcp_full_info() 540 assert(mfi.mptcp_info.mptcpi_bytes_received == s->last_sample.mptcpi_bytes_received); in do_getsockopt_mptcp_full_info() 665 if (s.last_sample.mptcpi_bytes_sent != ret2) in process_one_client() 667 s.last_sample.mptcpi_bytes_sent, ret2, in process_one_client() 668 s.last_sample.mptcpi_bytes_sent - ret2); in process_one_client() 669 if (s.last_sample.mptcpi_bytes_received != ret) in process_one_client() 671 s.last_sample.mptcpi_bytes_received, ret, in process_one_client() 672 s.last_sample.mptcpi_bytes_received - ret); in process_one_client() [all …]
|
/linux-6.6.21/drivers/net/hamradio/ |
D | baycom_ser_hdx.c | 110 unsigned char last_sample; member 212 (cur_s != bc->modem.ser12.last_sample); in ser12_rx() 213 bc->modem.ser12.last_sample = cur_s; in ser12_rx() 272 if (bc->modem.ser12.last_sample == in ser12_rx() 276 bc->modem.ser12.last_sample; in ser12_rx() 327 if (bc->modem.ser12.last_sample == in ser12_rx() 331 bc->modem.ser12.last_sample; in ser12_rx()
|
/linux-6.6.21/drivers/gpu/drm/msm/ |
D | msm_gpu.c | 579 elapsed = ktime_to_us(ktime_sub(time, gpu->last_sample.time)); in update_sw_cntrs() 582 if (gpu->last_sample.active) in update_sw_cntrs() 585 gpu->last_sample.active = msm_gpu_active(gpu); in update_sw_cntrs() 586 gpu->last_sample.time = time; in update_sw_cntrs() 600 gpu->last_sample.active = msm_gpu_active(gpu); in msm_gpu_perfcntr_start() 601 gpu->last_sample.time = ktime_get(); in msm_gpu_perfcntr_start()
|
D | msm_gpu.h | 180 } last_sample; member
|
/linux-6.6.21/kernel/trace/ |
D | trace_osnoise.c | 1418 u64 start, sample, last_sample; in run_osnoise() local 1481 last_int_count = set_int_safe_time(osn_var, &last_sample); in run_osnoise() 1489 noise = time_sub(sample, last_sample); in run_osnoise() 1525 trace_sample_threshold(last_sample, noise, interference); in run_osnoise() 1563 last_sample = sample; in run_osnoise()
|
/linux-6.6.21/drivers/media/platform/aspeed/ |
D | aspeed-video.c | 252 ktime_t last_sample; member 570 ktime_to_ms(ktime_sub(ktime_get(), p->last_sample)); in update_perf() 632 video->perf.last_sample = ktime_get(); in aspeed_video_start_frame()
|