Home
last modified time | relevance | path

Searched full:msecs (Results 1 – 25 of 285) sorted by relevance

12345678910>>...12

/linux-6.14.4/include/uapi/linux/
Dneighbour.h147 NDTPA_REACHABLE_TIME, /* u64, read-only, msecs */
148 NDTPA_BASE_REACHABLE_TIME, /* u64, msecs */
149 NDTPA_RETRANS_TIME, /* u64, msecs */
150 NDTPA_GC_STALETIME, /* u64, msecs */
151 NDTPA_DELAY_PROBE_TIME, /* u64, msecs */
156 NDTPA_ANYCAST_DELAY, /* u64, msecs */
157 NDTPA_PROXY_DELAY, /* u64, msecs */
159 NDTPA_LOCKTIME, /* u64, msecs */
163 NDTPA_INTERVAL_PROBE_TIME_MS, /* u64, msecs */
178 __u32 ndtc_last_flush; /* delta to now in msecs */
[all …]
Dtcp_metrics.h50 TCP_METRICS_ATTR_AGE, /* msecs */
56 TCP_METRICS_ATTR_FOPEN_SYN_DROP_TS, /* msecs age */
/linux-6.14.4/include/linux/
Dhwspinlock.h272 * @to: timeout value in msecs
277 * be released, but give up when @timeout msecs have elapsed.
285 * busy after @timeout msecs). The function will never sleep.
296 * @to: timeout value in msecs
300 * be released, but give up when @timeout msecs have elapsed.
308 * busy after @timeout msecs). The function will never sleep.
319 * @to: timeout value in msecs
323 * be released, but give up when @timeout msecs have elapsed.
331 * busy after @timeout msecs). The function will never sleep.
342 * @to: timeout value in msecs
[all …]
Dgpio_keys.h19 * @debounce_interval: debounce ticks interval in msecs
46 * @poll_interval: polling interval in msecs - for polling driver only
Dgameport.h34 unsigned int poll_interval; /* in msecs */
201 static inline void gameport_set_poll_interval(struct gameport *gameport, unsigned int msecs) in gameport_set_poll_interval() argument
203 gameport->poll_interval = msecs; in gameport_set_poll_interval()
/linux-6.14.4/kernel/time/
Dsleep_timeout.c284 * @msecs: Requested sleep duration in milliseconds
293 * (msecs) and HZ configuration and can be calculated in the following way (with
296 * ``slack = MSECS_PER_TICK / msecs``
313 void msleep(unsigned int msecs) in msleep() argument
315 unsigned long timeout = msecs_to_jiffies(msecs); in msleep()
324 * @msecs: Requested sleep duration in milliseconds
331 * Returns: The remaining time of the sleep duration transformed to msecs (see
334 unsigned long msleep_interruptible(unsigned int msecs) in msleep_interruptible() argument
336 unsigned long timeout = msecs_to_jiffies(msecs); in msleep_interruptible()
/linux-6.14.4/Documentation/locking/
Dhwspinlock.rst104 msecs). If the hwspinlock is already taken, the function will busy loop
112 notably -ETIMEDOUT if the hwspinlock is still busy after timeout msecs).
120 msecs). If the hwspinlock is already taken, the function will busy loop
127 notably -ETIMEDOUT if the hwspinlock is still busy after timeout msecs).
136 msecs). If the hwspinlock is already taken, the function will busy loop
144 notably -ETIMEDOUT if the hwspinlock is still busy after timeout msecs).
153 msecs). If the hwspinlock is already taken, the function will busy loop
161 notably -ETIMEDOUT if the hwspinlock is still busy after timeout msecs).
170 msecs). If the hwspinlock is already taken, the function will busy loop
174 value shall not exceed a few msecs.
[all …]
/linux-6.14.4/rust/kernel/
Dtime.rs18 pub type Msecs = crate::ffi::c_uint; typedef
22 pub fn msecs_to_jiffies(msecs: Msecs) -> Jiffies { in msecs_to_jiffies()
25 unsafe { bindings::__msecs_to_jiffies(msecs) } in msecs_to_jiffies()
/linux-6.14.4/drivers/watchdog/
Dpseries-wdt.c104 unsigned long flags, msecs; in pseries_wdt_start() local
108 msecs = wdd->timeout * MSEC_PER_SEC; in pseries_wdt_start()
109 rc = plpar_hcall_norets(H_WATCHDOG, flags, pw->num, msecs); in pseries_wdt_start()
150 long msecs, rc; in pseries_wdt_probe() local
181 msecs = PSERIES_WDTQ_MIN_TIMEOUT(cap); in pseries_wdt_probe()
182 pw->wd.min_timeout = DIV_ROUND_UP(msecs, MSEC_PER_SEC); in pseries_wdt_probe()
/linux-6.14.4/arch/powerpc/kexec/
Dcrash.c117 unsigned int msecs; in crash_kexec_prepare_cpus() local
144 msecs = IPI_TIMEOUT; in crash_kexec_prepare_cpus()
145 while ((atomic_read(&cpus_in_crash) < ncpus) && (--msecs > 0)) in crash_kexec_prepare_cpus()
204 int msecs = SECONDARY_TIMEOUT; in crash_kexec_secondary() local
210 if (--msecs < 0) { in crash_kexec_secondary()
248 unsigned int msecs; in crash_kexec_wait_realmode() local
251 msecs = REAL_MODE_TIMEOUT; in crash_kexec_wait_realmode()
252 for (i=0; i < nr_cpu_ids && msecs > 0; i++) { in crash_kexec_wait_realmode()
258 if (!cpu_possible(i) || !cpu_online(i) || (msecs <= 0)) in crash_kexec_wait_realmode()
260 msecs--; in crash_kexec_wait_realmode()
/linux-6.14.4/net/netfilter/
Dnft_last.c75 __be64 msecs; in nft_last_dump() local
83 msecs = nf_jiffies64_to_msecs(jiffies - last_jiffies); in nft_last_dump()
85 msecs = 0; in nft_last_dump()
88 nla_put_be64(skb, NFTA_LAST_MSECS, msecs, NFTA_LAST_PAD)) in nft_last_dump()
/linux-6.14.4/tools/include/nolibc/
Dunistd.h22 int msleep(unsigned int msecs) in msleep() argument
24 struct timeval my_timeval = { msecs / 1000, (msecs % 1000) * 1000 }; in msleep()
/linux-6.14.4/arch/arm/kernel/
Dmachine_kexec.c103 unsigned long msecs; in crash_smp_send_stop() local
119 msecs = 1000; /* Wait at most a second for the other cpus to stop */ in crash_smp_send_stop()
120 while ((atomic_read(&waiting_for_crash_ipi) > 0) && msecs) { in crash_smp_send_stop()
122 msecs--; in crash_smp_send_stop()
/linux-6.14.4/arch/mips/kernel/
Dcrash.c58 unsigned int msecs; in crash_kexec_prepare_cpus() local
74 msecs = 10000; in crash_kexec_prepare_cpus()
75 while ((cpumask_weight(&cpus_in_crash) < ncpus) && (--msecs > 0)) { in crash_kexec_prepare_cpus()
/linux-6.14.4/drivers/base/test/
Dtest_async_driver_probe.c36 dev_dbg(&pdev->dev, "sleeping for %d msecs in probe\n", in test_probe()
137 pr_info("registration took %lld msecs\n", duration); in test_async_probe_init()
165 "registration took %lld msecs\n", duration); in test_async_probe_init()
199 pr_info("registration took %lld msecs\n", duration); in test_async_probe_init()
225 "registration took %lld msecs\n", duration); in test_async_probe_init()
/linux-6.14.4/drivers/crypto/
Datmel-i2c.c68 cmd->msecs = MAX_EXEC_TIME_READ; in atmel_i2c_init_read_config_cmd()
90 cmd->msecs = MAX_EXEC_TIME_READ; in atmel_i2c_init_read_otp_cmd()
107 cmd->msecs = MAX_EXEC_TIME_RANDOM; in atmel_i2c_init_random_cmd()
123 cmd->msecs = MAX_EXEC_TIME_GENKEY; in atmel_i2c_init_genkey_cmd()
154 cmd->msecs = MAX_EXEC_TIME_ECDH; in atmel_i2c_init_ecdh_cmd()
258 msleep(cmd->msecs); in atmel_i2c_send_receive()
/linux-6.14.4/arch/sh/include/asm/
Dwatchdog.h48 * 1/1024 1.31 msecs
49 * 1/2048 2.62 msecs
50 * 1/4096 5.25 msecs
/linux-6.14.4/block/
Dblk-stat.h158 * @msecs: Number of milliseconds to gather statistics for.
163 unsigned int msecs) in blk_stat_activate_msecs() argument
165 mod_timer(&cb->timer, jiffies + msecs_to_jiffies(msecs)); in blk_stat_activate_msecs()
/linux-6.14.4/net/batman-adv/
Dbat_v_ogm.c89 unsigned int msecs = BATADV_MAX_AGGREGATION_MS * 1000; in batadv_v_ogm_start_queue_timer() local
91 /* msecs * [0.9, 1.1] */ in batadv_v_ogm_start_queue_timer()
92 msecs += get_random_u32_below(msecs / 5) - (msecs / 10); in batadv_v_ogm_start_queue_timer()
94 msecs_to_jiffies(msecs / 1000)); in batadv_v_ogm_start_queue_timer()
103 unsigned long msecs; in batadv_v_ogm_start_timer() local
110 msecs = atomic_read(&bat_priv->orig_interval) - BATADV_JITTER; in batadv_v_ogm_start_timer()
111 msecs += get_random_u32_below(2 * BATADV_JITTER); in batadv_v_ogm_start_timer()
113 msecs_to_jiffies(msecs)); in batadv_v_ogm_start_timer()
/linux-6.14.4/drivers/net/ethernet/brocade/bna/
Dbfa_ioc.h19 #define BFA_IOC_TOV 3000 /* msecs */
20 #define BFA_IOC_HWSEM_TOV 500 /* msecs */
21 #define BFA_IOC_HB_TOV 500 /* msecs */
22 #define BFA_IOC_POLL_TOV 200 /* msecs */
/linux-6.14.4/drivers/net/dsa/mv88e6xxx/
Dglobal1_atu.c45 unsigned int msecs) in mv88e6xxx_g1_atu_set_age_time() argument
54 if (msecs < min || msecs > max) in mv88e6xxx_g1_atu_set_age_time()
58 age_time = (msecs + coeff / 2) / coeff; in mv88e6xxx_g1_atu_set_age_time()
/linux-6.14.4/Documentation/netlink/specs/
Dtcp_metrics.yaml96 Round Trip Time (RTT), in msecs with 3 bits fractional
102 Round Trip Time VARiance (RTT), in msecs with 2 bits fractional
/linux-6.14.4/drivers/net/wireless/intel/iwlwifi/mvm/
Dconstants.h67 #define IWL_MVM_UAPSD_NONAGG_PERIOD 5000 /* msecs */
95 #define IWL_MVM_RS_AGG_TIME_LIMIT 4000 /* 4 msecs. valid 100-8000 */
/linux-6.14.4/drivers/net/dsa/realtek/
Drealtek.h17 #define REALTEK_HW_STOP_DELAY 25 /* msecs */
18 #define REALTEK_HW_START_DELAY 100 /* msecs */
/linux-6.14.4/drivers/char/tpm/
Dtpm.h40 TPM_TIMEOUT = 5, /* msecs */
41 TPM_TIMEOUT_RETRY = 100, /* msecs */
43 TPM_TIMEOUT_POLL = 1, /* msecs */

12345678910>>...12