Home
last modified time | relevance | path

Searched refs:time_before (Results 1 – 25 of 526) sorted by relevance

12345678910>>...22

/linux/kernel/sched/
H A Dloadavg.c224 if (!time_before(jiffies, READ_ONCE(calc_load_update))) in calc_load_write_idx()
273 if (time_before(jiffies, this_rq->calc_load_update)) in calc_load_nohz_stop()
281 if (time_before(jiffies, this_rq->calc_load_update + 10)) in calc_load_nohz_stop()
311 if (!time_before(jiffies, sample_window + 10)) { in calc_global_nohz()
357 if (time_before(jiffies, sample_window + 10)) in calc_global_load()
391 if (time_before(jiffies, this_rq->calc_load_update)) in calc_global_load_tick()
/linux/drivers/input/
H A Dff-memless.c83 if (time_before(state->adj_at, attack_stop)) in calculate_next_time()
94 if (time_before(state->adj_at, fade_start)) in calculate_next_time()
100 if (time_before(next_fade, state->stop_at)) in calculate_next_time()
134 (++events == 1 || time_before(next_at, earliest))) in ml_schedule_timer()
161 time_before(now, in apply_envelope()
172 time_before(now, state->stop_at)) { in apply_envelope()
345 if (time_before(jiffies, state->play_at)) in ml_get_combo_effect()
/linux/drivers/cdrom/
H A Dgdrom.c137 (time_before(jiffies, timeout))) in gdrom_wait_clrbusy()
139 return time_before(jiffies, timeout + 1); in gdrom_wait_clrbusy()
147 while (!gdrom_is_busy() && time_before(jiffies, timeout)) in gdrom_wait_busy_sleeps()
195 while (!gdrom_data_request() && time_before(jiffies, timeout)) in gdrom_spicommand()
197 if (!time_before(jiffies, timeout + 1)) { in gdrom_spicommand()
606 while (gdrom_is_busy() && time_before(jiffies, timeout)) in gdrom_readdisk_dma()
611 while (gdrom_is_busy() && time_before(jiffies, timeout)) in gdrom_readdisk_dma()
619 time_before(jiffies, timeout)) in gdrom_readdisk_dma()
/linux/lib/raid6/
H A Dalgos.c128 #define time_before(x, y) ((x) < (y)) macro
179 while (time_before(jiffies, in raid6_choose_gen()
221 while (time_before(jiffies, in raid6_choose_gen()
/linux/drivers/hwmon/
H A Dsht4x.c98 if (time_before(curr_jiffies, data->heating_complete)) in sht4x_read_values()
102 time_before(jiffies, data->heating_complete + data->update_interval)) { in sht4x_read_values()
240 return sysfs_emit(buf, "%u\n", time_before(jiffies, data->heating_complete)); in heater_enable_show()
280 if (time_before(jiffies, data->heating_complete)) in heater_enable_store()
/linux/arch/riscv/kernel/
H A Dunaligned_access_speed.c66 while (time_before(jiffies, now + (1 << MISALIGNED_ACCESS_JIFFIES_LG2))) { in check_unaligned_access()
84 while (time_before(jiffies, now + (1 << MISALIGNED_ACCESS_JIFFIES_LG2))) { in check_unaligned_access()
322 while (time_before(jiffies, now + (1 << MISALIGNED_ACCESS_JIFFIES_LG2))) { in check_vector_unaligned_access()
340 while (time_before(jiffies, now + (1 << MISALIGNED_ACCESS_JIFFIES_LG2))) { in check_vector_unaligned_access()
/linux/tools/sched_ext/
H A Dscx_simple.bpf.c82 if (time_before(vtime, vtime_now - SCX_SLICE_DFL)) in BPF_STRUCT_OPS()
106 if (time_before(vtime_now, p->scx.dsq_vtime)) in BPF_STRUCT_OPS()
H A Dscx_flatcg.bpf.c269 if (time_before(cvtime, cvtime_now - max_budget)) in cgrp_cap_budget()
399 if (time_before(tvtime, cgc->tvtime_now - SCX_SLICE_DFL)) in BPF_STRUCT_OPS()
533 if (time_before(cgc->tvtime_now, p->scx.dsq_vtime)) in BPF_STRUCT_OPS()
643 if (time_before(cvtime_now, cgv_node->cvtime)) in try_pick_next_cgroup()
742 if (time_before(now, cpuc->cur_at + cgrp_slice_ns)) { in BPF_STRUCT_OPS()
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dreset.c109 } while (time_before(jiffies, end)); in mlx4_reset()
132 } while (time_before(jiffies, end)); in mlx4_reset()
/linux/drivers/char/
H A Dnwflash.c346 while (!(c1 & 0x80) && time_before(jiffies, timeout)) { in erase_block()
469 while (!(c1 & 0x80) && time_before(jiffies, timeout1)) in write_block()
507 if (time_before(jiffies, timeout)) { in write_block()
/linux/include/linux/
H A Djiffies.h138 #define time_before(a,b) time_after(b,a) macro
182 time_before(a,c))
277 #define time_is_after_jiffies(a) time_before(jiffies, a)
/linux/drivers/usb/host/
H A Dohci-spear.c121 if (time_before(jiffies, ohci->next_statechange)) in spear_ohci_hcd_drv_suspend()
140 if (time_before(jiffies, ohci->next_statechange)) in spear_ohci_hcd_drv_resume()
H A Dohci-sm501.c217 if (time_before(jiffies, ohci->next_statechange)) in ohci_sm501_suspend()
235 if (time_before(jiffies, ohci->next_statechange)) in ohci_sm501_resume()
/linux/drivers/i2c/muxes/
H A Di2c-arb-gpio-challenge.c56 while (time_before(jiffies, stop_retry)) { in i2c_arbitrator_select()
71 } while (time_before(jiffies, stop_time)); in i2c_arbitrator_select()
/linux/arch/alpha/kernel/
H A Dsmp.c104 while (time_before(jiffies, stop)) { in wait_boot_cpu_to_stop()
183 while (time_before(jiffies, timeout)) { in wait_for_txrdy()
343 while (time_before(jiffies, timeout)) { in secondary_cpu_start()
379 while (time_before(jiffies, timeout)) { in smp_boot_one_cpu()
/linux/lib/
H A Ddynamic_queue_limits.c45 if (time_before(start, dql->last_reap + 1)) in dql_check_stall()
54 if (time_before(now, end + stall_thrs / 2)) in dql_check_stall()
/linux/drivers/parport/
H A Dieee1284_ops.c85 if (!time_before (jiffies, expire)) in parport_ieee1284_write_compat()
107 } while (time_before (jiffies, expire)); in parport_ieee1284_write_compat()
132 if (time_before (jiffies, expire)) in parport_ieee1284_write_compat()
517 if (!time_before (jiffies, expire)) in parport_ieee1284_ecp_read_data()
/linux/drivers/media/dvb-frontends/
H A Dstv0297.c537 while (time_before(jiffies, timeout)) { in stv0297_set_frontend()
549 while (time_before(jiffies, timeout)) { in stv0297_set_frontend()
562 while (time_before(jiffies, timeout)) { in stv0297_set_frontend()
579 while (time_before(jiffies, timeout)) { in stv0297_set_frontend()
/linux/kernel/rcu/
H A Dtree_stall.h1016 if (time_before(j, READ_ONCE(rcu_state.gp_req_activity) + gpssdelay) || in rcu_check_gp_start_stall()
1017 time_before(j, READ_ONCE(rcu_state.gp_activity) + gpssdelay) || in rcu_check_gp_start_stall()
1026 time_before(j, READ_ONCE(rcu_state.gp_req_activity) + gpssdelay) || in rcu_check_gp_start_stall()
1027 time_before(j, READ_ONCE(rcu_state.gp_activity) + gpssdelay) || in rcu_check_gp_start_stall()
1040 time_before(j, READ_ONCE(rcu_state.gp_req_activity) + gpssdelay) || in rcu_check_gp_start_stall()
1041 time_before(j, READ_ONCE(rcu_state.gp_activity) + gpssdelay) || in rcu_check_gp_start_stall()
/linux/drivers/mtd/nand/raw/
H A Dnand_legacy.c207 } while (time_before(jiffies, timeo)); in nand_wait_ready()
237 } while (time_before(jiffies, timeo)); in nand_wait_status_ready()
569 } while (time_before(jiffies, timeo)); in nand_wait()
/linux/net/tipc/
H A Ddiscover.c152 bool trial = time_before(jiffies, tn->addr_trial_end) && !self; in tipc_disc_addr_trial_msg()
311 if (!time_before(jiffies, tn->addr_trial_end) && !tipc_own_addr(net)) { in tipc_disc_timeout()
319 if (time_before(jiffies, tn->addr_trial_end)) { in tipc_disc_timeout()
/linux/sound/hda/core/
H A Dcontroller.c99 && time_before(jiffies, timeout)) in hdac_wait_for_cmd_dmas()
104 && time_before(jiffies, timeout)) in hdac_wait_for_cmd_dmas()
499 time_before(jiffies, timeout)) in snd_hdac_bus_enter_link_reset()
517 while (!snd_hdac_chip_readb(bus, GCTL) && time_before(jiffies, timeout)) in snd_hdac_bus_exit_link_reset()
/linux/arch/arm/mach-versatile/
H A Dplatsmp.c92 while (time_before(jiffies, timeout)) { in versatile_boot_secondary()
/linux/arch/arm/mach-meson/
H A Dplatsmp.c140 if (!time_before(jiffies, timeout)) { in meson_smp_finalize_secondary_boot()
323 } while (time_before(jiffies, timeout)); in meson8_smp_cpu_kill()
/linux/drivers/net/ethernet/meta/fbnic/
H A Dfbnic_phylink.c285 if (!time_before(READ_ONCE(fbd->end_of_pmd_training), jiffies)) in fbnic_phylink_pmd_training_complete_notify()
299 if (!time_before(READ_ONCE(fbd->end_of_pmd_training), jiffies)) in fbnic_phylink_pmd_training_complete_notify()

12345678910>>...22