Home
last modified time | relevance | path

Searched refs:delta_ms (Results 1 – 8 of 8) sorted by relevance

/linux-6.1.9/samples/bpf/ !
Dhbm.c220 int delta_ms; in run_bpf_prog() local
237 delta_ms = (t_new.tv_sec - t0.tv_sec) * 1000 + in run_bpf_prog()
239 if (delta_ms > dur * 1000) in run_bpf_prog()
259 delta_ms, delta_rate/1000000000.0, in run_bpf_prog()
/linux-6.1.9/tools/testing/selftests/net/mptcp/ !
Dmptcp_connect.c885 unsigned int delta_ms; in copyfd_io() local
889 delta_ms = (end.tv_sec - start.tv_sec) * 1000 + (end.tv_nsec - start.tv_nsec) / 1000000; in copyfd_io()
890 if (delta_ms > cfg_time) { in copyfd_io()
892 delta_ms, cfg_time); in copyfd_io()
899 fprintf(stderr, "%d", delta_ms); in copyfd_io()
/linux-6.1.9/net/openvswitch/ !
Dmeter.c601 u32 delta_ms; in ovs_meter_execute() local
625 delta_ms = (long_delta_ms > (long long int)meter->max_delta_t) in ovs_meter_execute()
653 band->bucket += delta_ms * band->rate; in ovs_meter_execute()
/linux-6.1.9/drivers/power/supply/ !
Dcpcap-battery.c552 s64 delta_ms = ktime_to_ms(ktime_sub(now, latest->time)); in cpcap_battery_update_status() local
554 if (delta_ms < CPCAP_BATTERY_CC_SAMPLE_PERIOD_MS) in cpcap_battery_update_status()
555 return delta_ms; in cpcap_battery_update_status()
/linux-6.1.9/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ !
Dp2p.c1734 uint delta_ms; in brcmf_p2p_send_action_frame() local
1882 delta_ms = jiffies_to_msecs(jiffies - p2p->af_tx_sent_jiffies); in brcmf_p2p_send_action_frame()
1883 if (le32_to_cpu(af_params->dwell_time) > delta_ms) in brcmf_p2p_send_action_frame()
1885 delta_ms; in brcmf_p2p_send_action_frame()
/linux-6.1.9/drivers/hid/ !
Dhid-nintendo.c550 unsigned int delta_ms = current_ms - ctlr->last_subcmd_sent_msecs; in joycon_enforce_subcmd_rate() local
552 while (delta_ms < max_subcmd_rate_ms && in joycon_enforce_subcmd_rate()
556 delta_ms = current_ms - ctlr->last_subcmd_sent_msecs; in joycon_enforce_subcmd_rate()
/linux-6.1.9/drivers/scsi/fnic/ !
Dfnic_scsi.c1315 u64 delta_ms = 0; in fnic_wq_copy_cmpl_handler() local
1332 delta_ms = jiffies_to_msecs(delta_jiffies); in fnic_wq_copy_cmpl_handler()
1333 atomic64_set(&misc_stats->max_isr_time_ms, delta_ms); in fnic_wq_copy_cmpl_handler()
/linux-6.1.9/block/ !
Dbfq-iosched.c4142 unsigned long *delta_ms) in bfq_bfqq_is_slow() argument
4165 *delta_ms = BFQ_MIN_TT / NSEC_PER_MSEC; in bfq_bfqq_is_slow()
4167 *delta_ms = bfq_slice_idle / NSEC_PER_MSEC; in bfq_bfqq_is_slow()
4172 *delta_ms = delta_usecs / USEC_PER_MSEC; in bfq_bfqq_is_slow()