Home
last modified time | relevance | path

Searched refs:msecs (Results 1 – 25 of 81) sorted by relevance

1234

/Linux-v4.19/arch/powerpc/kernel/
Dcrash.c109 unsigned int msecs; in crash_kexec_prepare_cpus() local
128 msecs = IPI_TIMEOUT; in crash_kexec_prepare_cpus()
129 while ((atomic_read(&cpus_in_crash) < ncpus) && (--msecs > 0)) in crash_kexec_prepare_cpus()
188 int msecs = SECONDARY_TIMEOUT; in crash_kexec_secondary() local
194 if (--msecs < 0) { in crash_kexec_secondary()
232 unsigned int msecs; in crash_kexec_wait_realmode() local
235 msecs = REAL_MODE_TIMEOUT; in crash_kexec_wait_realmode()
236 for (i=0; i < nr_cpu_ids && msecs > 0; i++) { in crash_kexec_wait_realmode()
242 if (!cpu_possible(i) || !cpu_online(i) || (msecs <= 0)) in crash_kexec_wait_realmode()
244 msecs--; in crash_kexec_wait_realmode()
/Linux-v4.19/arch/mips/kernel/
Dcrash.c53 unsigned int msecs; in crash_kexec_prepare_cpus() local
69 msecs = 10000; in crash_kexec_prepare_cpus()
70 while ((cpumask_weight(&cpus_in_crash) < ncpus) && (--msecs > 0)) { in crash_kexec_prepare_cpus()
/Linux-v4.19/drivers/staging/rts5208/
Drtsx.h73 #define wait_timeout_x(task_state, msecs) \ argument
76 schedule_timeout((msecs) * HZ / 1000); \
78 #define wait_timeout(msecs) wait_timeout_x(TASK_INTERRUPTIBLE, (msecs)) argument
/Linux-v4.19/arch/arm/kernel/
Dmachine_kexec.c101 unsigned long msecs; in crash_smp_send_stop() local
108 msecs = 1000; /* Wait at most a second for the other cpus to stop */ in crash_smp_send_stop()
109 while ((atomic_read(&waiting_for_crash_ipi) > 0) && msecs) { in crash_smp_send_stop()
111 msecs--; in crash_smp_send_stop()
/Linux-v4.19/drivers/ide/
Dide-park.c96 unsigned int msecs; in ide_park_show() local
105 msecs = jiffies_to_msecs(drive->sleep - now); in ide_park_show()
107 msecs = 0; in ide_park_show()
110 return snprintf(buf, 20, "%u\n", msecs); in ide_park_show()
/Linux-v4.19/include/linux/
Ddelay.h58 void msleep(unsigned int msecs);
59 unsigned long msleep_interruptible(unsigned int msecs);
Dgameport.h211 static inline void gameport_set_poll_interval(struct gameport *gameport, unsigned int msecs) in gameport_set_poll_interval() argument
213 gameport->poll_interval = msecs; in gameport_set_poll_interval()
Dblk-mq.h262 void blk_mq_delay_kick_requeue_list(struct request_queue *q, unsigned long msecs);
275 void blk_mq_delay_run_hw_queue(struct blk_mq_hw_ctx *hctx, unsigned long msecs);
/Linux-v4.19/block/
Dblk-stat.h157 unsigned int msecs) in blk_stat_activate_msecs() argument
159 mod_timer(&cb->timer, jiffies + msecs_to_jiffies(msecs)); in blk_stat_activate_msecs()
/Linux-v4.19/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-v4.19/drivers/staging/vt6656/
Dwcmd.c31 static void vnt_cmd_timer_wait(struct vnt_private *priv, unsigned long msecs) in vnt_cmd_timer_wait() argument
33 schedule_delayed_work(&priv->run_command_work, msecs_to_jiffies(msecs)); in vnt_cmd_timer_wait()
/Linux-v4.19/arch/x86/kernel/
Dreboot.c824 unsigned long msecs; in nmi_shootdown_cpus() local
848 msecs = 1000; /* Wait at most a second for the other cpus to stop */ in nmi_shootdown_cpus()
849 while ((atomic_read(&waiting_for_crash_ipi) > 0) && msecs) { in nmi_shootdown_cpus()
851 msecs--; in nmi_shootdown_cpus()
/Linux-v4.19/net/batman-adv/
Dbat_v_elp.c61 unsigned int msecs; in batadv_v_elp_start_timer() local
63 msecs = atomic_read(&hard_iface->bat_v.elp_interval) - BATADV_JITTER; in batadv_v_elp_start_timer()
64 msecs += prandom_u32() % (2 * BATADV_JITTER); in batadv_v_elp_start_timer()
67 msecs_to_jiffies(msecs)); in batadv_v_elp_start_timer()
Dbat_v_ogm.c97 unsigned long msecs; in batadv_v_ogm_start_timer() local
104 msecs = atomic_read(&bat_priv->orig_interval) - BATADV_JITTER; in batadv_v_ogm_start_timer()
105 msecs += prandom_u32() % (2 * BATADV_JITTER); in batadv_v_ogm_start_timer()
107 msecs_to_jiffies(msecs)); in batadv_v_ogm_start_timer()
Dbridge_loop_avoidance.c2274 int secs, msecs; in batadv_bla_backbone_table_seq_print_text() local
2295 msecs = jiffies_to_msecs(jiffies - in batadv_bla_backbone_table_seq_print_text()
2297 secs = msecs / 1000; in batadv_bla_backbone_table_seq_print_text()
2298 msecs = msecs % 1000; in batadv_bla_backbone_table_seq_print_text()
2312 msecs, backbone_crc); in batadv_bla_backbone_table_seq_print_text()
2342 int msecs; in batadv_bla_backbone_dump_entry() local
2359 msecs = jiffies_to_msecs(jiffies - backbone_gw->lasttime); in batadv_bla_backbone_dump_entry()
2372 nla_put_u32(msg, BATADV_ATTR_LAST_SEEN_MSECS, msecs)) { in batadv_bla_backbone_dump_entry()
/Linux-v4.19/Documentation/timers/
Dtimers-howto.txt27 mdelay(unsigned long msecs)
49 msleep(unsigned long msecs)
50 msleep_interruptible(unsigned long msecs)
/Linux-v4.19/drivers/net/wireless/intel/iwlwifi/dvm/
Drx.c158 unsigned int msecs) in iwlagn_good_plcp_health() argument
177 if ((delta * 100 / msecs) > threshold) { in iwlagn_good_plcp_health()
180 threshold, delta, msecs); in iwlagn_good_plcp_health()
232 unsigned int msecs; in iwlagn_recover_from_statistics() local
237 msecs = jiffies_to_msecs(stamp - priv->rx_statistics_jiffies); in iwlagn_recover_from_statistics()
244 if (msecs < 99) in iwlagn_recover_from_statistics()
247 if (!iwlagn_good_plcp_health(priv, cur_ofdm, cur_ofdm_ht, msecs)) in iwlagn_recover_from_statistics()
/Linux-v4.19/drivers/crypto/
Datmel-ecc.h64 u8 msecs; member
Datmel-ecc.c153 cmd->msecs = MAX_EXEC_TIME_READ; in atmel_ecc_init_read_cmd()
168 cmd->msecs = MAX_EXEC_TIME_GENKEY; in atmel_ecc_init_genkey_cmd()
198 cmd->msecs = MAX_EXEC_TIME_ECDH; in atmel_ecc_init_ecdh_cmd()
327 msleep(cmd->msecs); in atmel_ecc_send_receive()
/Linux-v4.19/drivers/infiniband/core/
Dsysfs.c839 int msecs; in show_stats_lifespan() local
854 msecs = jiffies_to_msecs(stats->lifespan); in show_stats_lifespan()
857 return sprintf(buf, "%d\n", msecs); in show_stats_lifespan()
866 int msecs; in set_stats_lifespan() local
870 ret = kstrtoint(buf, 10, &msecs); in set_stats_lifespan()
873 if (msecs < 0 || msecs > 10000) in set_stats_lifespan()
875 jiffies = msecs_to_jiffies(msecs); in set_stats_lifespan()
/Linux-v4.19/mm/
Dkhugepaged.c121 unsigned long msecs; in scan_sleep_millisecs_store() local
124 err = kstrtoul(buf, 10, &msecs); in scan_sleep_millisecs_store()
125 if (err || msecs > UINT_MAX) in scan_sleep_millisecs_store()
128 khugepaged_scan_sleep_millisecs = msecs; in scan_sleep_millisecs_store()
149 unsigned long msecs; in alloc_sleep_millisecs_store() local
152 err = kstrtoul(buf, 10, &msecs); in alloc_sleep_millisecs_store()
153 if (err || msecs > UINT_MAX) in alloc_sleep_millisecs_store()
156 khugepaged_alloc_sleep_millisecs = msecs; in alloc_sleep_millisecs_store()
/Linux-v4.19/Documentation/
Dhwspinlock.txt93 msecs). If the hwspinlock is already taken, the function will busy loop
101 notably -ETIMEDOUT if the hwspinlock is still busy after timeout msecs).
109 msecs). If the hwspinlock is already taken, the function will busy loop
116 notably -ETIMEDOUT if the hwspinlock is still busy after timeout msecs).
125 msecs). If the hwspinlock is already taken, the function will busy loop
133 notably -ETIMEDOUT if the hwspinlock is still busy after timeout msecs).
/Linux-v4.19/tools/perf/Documentation/
Dperf-stat.txt170 -I msecs::
171 --interval-print msecs::
184 --timeout msecs::
210 -D msecs::
211 --delay msecs::
212 After starting the program, wait msecs before measuring. This is useful to
/Linux-v4.19/drivers/md/
Ddm-rq.c246 static void __dm_mq_kick_requeue_list(struct request_queue *q, unsigned long msecs) in __dm_mq_kick_requeue_list() argument
248 blk_mq_delay_kick_requeue_list(q, msecs); in __dm_mq_kick_requeue_list()
257 static void dm_mq_delay_requeue_request(struct request *rq, unsigned long msecs) in dm_mq_delay_requeue_request() argument
260 __dm_mq_kick_requeue_list(rq->q, msecs); in dm_mq_delay_requeue_request()
/Linux-v4.19/kernel/
Dpanic.c391 static void spin_msec(int msecs) in spin_msec() argument
395 for (i = 0; i < msecs; i++) { in spin_msec()

1234