Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/net/mptcp/
H A Dmptcp_sockopt.c119 struct mptcp_info last_sample; member
373 s->last_sample = i; in do_getsockopt_mptcp_info()
549 assert(mfi.mptcp_info.mptcpi_bytes_sent == s->last_sample.mptcpi_bytes_sent); in do_getsockopt_mptcp_full_info()
550 assert(mfi.mptcp_info.mptcpi_bytes_received == s->last_sample.mptcpi_bytes_received); in do_getsockopt_mptcp_full_info()
676 if (s.last_sample.mptcpi_bytes_sent != ret2) in process_one_client()
679 s.last_sample.mptcpi_bytes_sent, ret2, in process_one_client()
680 s.last_sample.mptcpi_bytes_sent - ret2); in process_one_client()
681 if (s.last_sample.mptcpi_bytes_received != ret) in process_one_client()
684 s.last_sample.mptcpi_bytes_received, ret, in process_one_client()
685 s.last_sample.mptcpi_bytes_received - ret); in process_one_client()
[all …]
/linux/drivers/net/hamradio/
H A Dbaycom_ser_hdx.c110 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/drivers/gpu/drm/msm/
H A Dmsm_gpu.c712 elapsed = ktime_to_us(ktime_sub(time, gpu->last_sample.time)); in update_sw_cntrs()
715 if (gpu->last_sample.active) in update_sw_cntrs()
718 gpu->last_sample.active = msm_gpu_active(gpu); in update_sw_cntrs()
719 gpu->last_sample.time = time; in update_sw_cntrs()
733 gpu->last_sample.active = msm_gpu_active(gpu); in msm_gpu_perfcntr_start()
734 gpu->last_sample.time = ktime_get(); in msm_gpu_perfcntr_start()
H A Dmsm_gpu.h177 } last_sample; member
/linux/kernel/trace/
H A Dtrace_osnoise.c1407 u64 start, sample, last_sample; in run_osnoise() local
1470 last_int_count = set_int_safe_time(osn_var, &last_sample); in run_osnoise()
1478 noise = time_sub(sample, last_sample); in run_osnoise()
1514 trace_sample_threshold(last_sample, noise, interference); in run_osnoise()
1550 last_sample = sample; in run_osnoise()