Home
last modified time | relevance | path

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

12345678910>>...22

/linux-6.14.4/kernel/sched/
Dloadavg.c222 if (!time_before(jiffies, READ_ONCE(calc_load_update))) in calc_load_write_idx()
271 if (time_before(jiffies, this_rq->calc_load_update)) in calc_load_nohz_stop()
279 if (time_before(jiffies, this_rq->calc_load_update + 10)) in calc_load_nohz_stop()
309 if (!time_before(jiffies, sample_window + 10)) { in calc_global_nohz()
355 if (time_before(jiffies, sample_window + 10)) in calc_global_load()
389 if (time_before(jiffies, this_rq->calc_load_update)) in calc_global_load_tick()
/linux-6.14.4/drivers/input/
Dff-memless.c82 if (time_before(state->adj_at, attack_stop)) in calculate_next_time()
93 if (time_before(state->adj_at, fade_start)) in calculate_next_time()
99 if (time_before(next_fade, state->stop_at)) in calculate_next_time()
133 (++events == 1 || time_before(next_at, earliest))) in ml_schedule_timer()
160 time_before(now, in apply_envelope()
171 time_before(now, state->stop_at)) { in apply_envelope()
344 if (time_before(jiffies, state->play_at)) in ml_get_combo_effect()
/linux-6.14.4/drivers/cdrom/
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-6.14.4/arch/riscv/kernel/
Dunaligned_access_speed.c62 while (time_before(jiffies, now + (1 << MISALIGNED_ACCESS_JIFFIES_LG2))) { in check_unaligned_access()
80 while (time_before(jiffies, now + (1 << MISALIGNED_ACCESS_JIFFIES_LG2))) { in check_unaligned_access()
306 while (time_before(jiffies, now + (1 << MISALIGNED_ACCESS_JIFFIES_LG2))) { in check_vector_unaligned_access()
324 while (time_before(jiffies, now + (1 << MISALIGNED_ACCESS_JIFFIES_LG2))) { in check_vector_unaligned_access()
/linux-6.14.4/lib/raid6/
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-6.14.4/tools/sched_ext/
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()
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-6.14.4/drivers/hwmon/
Dsht4x.c102 if (time_before(curr_jiffies, data->heating_complete)) in sht4x_read_values()
106 time_before(jiffies, data->heating_complete + data->update_interval)) { in sht4x_read_values()
250 return sysfs_emit(buf, "%u\n", time_before(jiffies, data->heating_complete)); in heater_enable_show()
292 if (time_before(jiffies, data->heating_complete)) { in heater_enable_store()
/linux-6.14.4/drivers/net/ethernet/mellanox/mlx4/
Dreset.c109 } while (time_before(jiffies, end)); in mlx4_reset()
132 } while (time_before(jiffies, end)); in mlx4_reset()
/linux-6.14.4/include/linux/
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-6.14.4/drivers/char/
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-6.14.4/drivers/i2c/muxes/
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-6.14.4/drivers/usb/host/
Dohci-spear.c122 if (time_before(jiffies, ohci->next_statechange)) in spear_ohci_hcd_drv_suspend()
141 if (time_before(jiffies, ohci->next_statechange)) in spear_ohci_hcd_drv_resume()
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-6.14.4/arch/alpha/kernel/
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-6.14.4/lib/
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-6.14.4/arch/arm/mach-versatile/
Dplatsmp.c92 while (time_before(jiffies, timeout)) { in versatile_boot_secondary()
/linux-6.14.4/kernel/rcu/
Dtree_stall.h956 if (time_before(j, READ_ONCE(rcu_state.gp_req_activity) + gpssdelay) || in rcu_check_gp_start_stall()
957 time_before(j, READ_ONCE(rcu_state.gp_activity) + gpssdelay) || in rcu_check_gp_start_stall()
966 time_before(j, READ_ONCE(rcu_state.gp_req_activity) + gpssdelay) || in rcu_check_gp_start_stall()
967 time_before(j, READ_ONCE(rcu_state.gp_activity) + gpssdelay) || in rcu_check_gp_start_stall()
980 time_before(j, READ_ONCE(rcu_state.gp_req_activity) + gpssdelay) || in rcu_check_gp_start_stall()
981 time_before(j, READ_ONCE(rcu_state.gp_activity) + gpssdelay) || in rcu_check_gp_start_stall()
/linux-6.14.4/drivers/parport/
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-6.14.4/drivers/media/dvb-frontends/
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-6.14.4/net/tipc/
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-6.14.4/drivers/mtd/nand/raw/
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-6.14.4/arch/arm/mach-spear/
Dplatsmp.c77 while (time_before(jiffies, timeout)) { in spear13xx_boot_secondary()
/linux-6.14.4/sound/hda/
Dhdac_controller.c100 && time_before(jiffies, timeout)) in hdac_wait_for_cmd_dmas()
105 && time_before(jiffies, timeout)) in hdac_wait_for_cmd_dmas()
511 time_before(jiffies, timeout)) in snd_hdac_bus_enter_link_reset()
529 while (!snd_hdac_chip_readb(bus, GCTL) && time_before(jiffies, timeout)) in snd_hdac_bus_exit_link_reset()
/linux-6.14.4/arch/arm/mach-meson/
Dplatsmp.c140 if (!time_before(jiffies, timeout)) { in meson_smp_finalize_secondary_boot()
323 } while (time_before(jiffies, timeout)); in meson8_smp_cpu_kill()

12345678910>>...22