/linux-master/net/bridge/ |
H A D | br_stp.c | 16 /* since time values in bpdu are in jiffies and then scaled (1/256) 163 mod_timer(&p->forward_delay_timer, jiffies + br->forward_delay); 205 mod_timer(&br->hello_timer, jiffies + br->hello_time); 233 bpdu.message_age = (jiffies - root->designated_age) 246 round_jiffies(jiffies + BR_HOLD_TIME)); 258 p->designated_age = jiffies - bpdu->message_age; 260 mod_timer(&p->message_age_timer, jiffies 382 mod_timer(&br->topology_change_timer, jiffies 386 mod_timer(&br->tcn_timer, jiffies + br->bridge_hello_time); 466 mod_timer(&p->forward_delay_timer, jiffies [all...] |
/linux-master/sound/hda/ |
H A D | hdac_controller.c | 97 timeout = jiffies + msecs_to_jiffies(100); 99 && time_before(jiffies, timeout)) 102 timeout = jiffies + msecs_to_jiffies(100); 104 && time_before(jiffies, timeout)) 253 timeout = jiffies + msecs_to_jiffies(1000); 271 if (time_after(jiffies, timeout)) 396 timeout = jiffies + msecs_to_jiffies(100); 398 time_before(jiffies, timeout)) 415 timeout = jiffies + msecs_to_jiffies(100); 416 while (!snd_hdac_chip_readb(bus, GCTL) && time_before(jiffies, timeou [all...] |
/linux-master/net/netfilter/ipvs/ |
H A D | ip_vs_lblcr.c | 42 #include <linux/jiffies.h> 121 set->lastmod = jiffies; 142 set->lastmod = jiffies; 374 en->lastuse = jiffies; 424 unsigned long now = jiffies; 462 unsigned long now = jiffies; 503 mod_timer(&tbl->periodic_timer, jiffies+CHECK_EXPIRE_INTERVAL); 539 mod_timer(&tbl->periodic_timer, jiffies + CHECK_EXPIRE_INTERVAL); 657 en->lastuse = jiffies; 664 time_after(jiffies, e [all...] |
/linux-master/drivers/net/ethernet/pensando/ionic/ |
H A D | ionic_main.c | 352 now = READ_ONCE(jiffies); 431 time_start = jiffies; 453 } while (time_before(jiffies, time_limit)); 454 time_done = jiffies; 526 max_wait = jiffies + (max_seconds * HZ); 529 start_time = jiffies; 531 !done && fw_up && time_before(jiffies, max_wait); 538 duration = jiffies - start_time; 540 dev_dbg(ionic->dev, "DEVCMD %s (%d) done=%d took %ld secs (%ld jiffies)\n", 551 if (!done && !time_before(jiffies, max_wai [all...] |
/linux-master/drivers/hwmon/ |
H A D | sch5627.c | 17 #include <linux/jiffies.h> 83 unsigned long last_battery; /* In jiffies */ 87 unsigned long temp_last_updated; /* In jiffies */ 133 if (time_after(jiffies, data->temp_last_updated + HZ) || !data->temp_valid) { 144 data->temp_last_updated = jiffies; 160 if (time_after(jiffies, data->fan_last_updated + HZ) || !data->fan_valid) { 169 data->fan_last_updated = jiffies; 185 if (time_after(jiffies, data->last_battery + 300 * HZ)) { 188 data->last_battery = jiffies; 192 if (time_after(jiffies, dat [all...] |
/linux-master/arch/x86/platform/intel/ |
H A D | iosf_mbi.c | 352 start = jiffies; 357 iosf_mbi_sem_acquired = jiffies; 359 jiffies_to_msecs(jiffies - start)); 364 } while (time_before(jiffies, end)); 391 jiffies_to_msecs(jiffies - iosf_mbi_sem_acquired));
|
/linux-master/drivers/input/mouse/ |
H A D | byd.c | 53 /* Time in jiffies used to timeout various touch events (64 ms) */ 230 typeof(jiffies) last_touch_time; 293 typeof(jiffies) tap_time = 295 priv->touch = time_after(jiffies, tap_time); 332 priv->last_touch_time = jiffies; 333 mod_timer(&priv->timer, jiffies + BYD_TOUCH_TIMEOUT);
|
/linux-master/drivers/accessibility/speakup/ |
H A D | speakup_dectlk.c | 14 #include <linux/jiffies.h> 131 .jiffies = 50, 233 jiff_max = jiffies + jiffy_delta_val; 282 if (time_after_eq(jiffies, jiff_max)) { 294 jiff_max = jiffies + jiffy_delta_val;
|
H A D | speakup_keypc.c | 11 #include <linux/jiffies.h> 103 .jiffies = 50, 193 jiff_max = jiffies + jiffy_delta_val; 230 if (time_after_eq(jiffies, jiff_max) && (ch == SPACE)) { 245 jiff_max = jiffies + jiffy_delta_val;
|
H A D | speakup_acntpc.c | 14 #include <linux/jiffies.h> 112 .jiffies = 50, 192 jiff_max = jiffies + jiffy_delta_val; 226 if (time_after_eq(jiffies, jiff_max) && ch == SPACE) { 239 jiff_max = jiffies + jiffy_delta_val;
|
/linux-master/drivers/staging/media/av7110/ |
H A D | av7110_hw.c | 302 start = jiffies; 304 err = time_after(jiffies, start + ARM_WAIT_FREE); 337 start = jiffies; 339 err = time_after(jiffies, start + ARM_WAIT_FREE); 354 start = jiffies; 356 err = time_after(jiffies, start + ARM_WAIT_SHAKE); 394 start = jiffies; 396 err = time_after(jiffies, start + ARM_WAIT_FREE); 429 start = jiffies; 431 err = time_after(jiffies, star [all...] |
/linux-master/drivers/usb/host/ |
H A D | ohci-omap.c | 23 #include <linux/jiffies.h> 357 if (time_before(jiffies, ohci->next_statechange)) 359 ohci->next_statechange = jiffies; 375 if (time_before(jiffies, ohci->next_statechange)) 377 ohci->next_statechange = jiffies;
|
/linux-master/drivers/watchdog/ |
H A D | sama5d4_wdt.c | 66 while (time_before(jiffies, wdt->last_ping + WDT_DELAY)) 69 wdt->last_ping = jiffies; 74 if (time_before(jiffies, wdt->last_ping + WDT_DELAY)) 77 wdt->last_ping = jiffies; 270 wdt->last_ping = jiffies;
|
/linux-master/kernel/rcu/ |
H A D | tasks.h | 65 * @gp_start: Most recent grace-period start in jiffies. 70 * @lazy_jiffies: Number of jiffies to allow callbacks to be lazy. 160 /* Control stall timeouts. Disable with <= 0, otherwise jiffies till stall. */ 222 rtp->gp_jiffies = jiffies; 286 return jiffies + rtp->lazy_jiffies; 342 j = jiffies; 586 rtp->gp_start = jiffies; 713 jiffies - data_race(rtp->gp_jiffies), 771 lastreport = jiffies; 798 needreport = rtst > 0 && time_after(jiffies, lastrepor [all...] |
/linux-master/drivers/media/platform/samsung/s5p-mfc/ |
H A D | s5p_mfc_ctrl.c | 12 #include <linux/jiffies.h> 108 timeout = jiffies + msecs_to_jiffies(MFC_BW_TIMEOUT); 111 if (time_after(jiffies, timeout)) { 159 timeout = jiffies + msecs_to_jiffies(MFC_BW_TIMEOUT); 162 if (time_after(jiffies, timeout)) {
|
/linux-master/net/atm/ |
H A D | clip.c | 83 entry->neigh->used = jiffies; 96 entry->neigh->used = jiffies; 107 entry->expires = jiffies - 1; 131 if (cv->idle_timeout && time_after(jiffies, exp)) { 138 if (entry->vccs || time_before(jiffies, entry->expires)) 161 mod_timer(&idle_timer, jiffies + CLIP_CHECK_INTERVAL * HZ); 233 clip_vcc->last_use = jiffies; 305 entry->expires = jiffies - 1; 362 if (time_after(jiffies, entry->expires)) { 364 entry->expires = jiffies [all...] |
/linux-master/net/mac80211/ |
H A D | mesh_hwmp.c | 248 if (time_before(jiffies, ifmsh->next_perr)) 610 if (time_after(jiffies, ifmsh->last_sn_update + 612 time_before(jiffies, ifmsh->last_sn_update)) { 614 ifmsh->last_sn_update = jiffies; 627 ifmsh->last_sn_update = jiffies; 885 (time_after(jiffies, mpath->last_preq_to_root + 887 time_before(jiffies, mpath->last_preq_to_root))) && 893 mpath->last_preq_to_root = jiffies; 1030 if (time_after(jiffies, ifmsh->last_preq + min_preq_int_jiff(sdata))) 1033 else if (time_before(jiffies, ifms [all...] |
/linux-master/drivers/input/ |
H A D | ff-memless.c | 18 #include <linux/jiffies.h> 112 unsigned long now = jiffies; 153 unsigned long now = jiffies; 344 if (time_before(jiffies, state->play_at)) 365 time_after_eq(jiffies, state->stop_at)) { 372 state->play_at = jiffies + 379 state->adj_at = jiffies; 442 state->play_at = jiffies + 472 state->play_at = jiffies +
|
/linux-master/net/appletalk/ |
H A D | aarp.c | 148 a->last_sent = jiffies; 258 if (time_after(jiffies, (*n)->expires_at)) { 321 mod_timer(&aarp_timer, jiffies + 420 a->expires_at = jiffies - 1; 529 entry->expires_at = jiffies - 1; /* free the entry */ 616 a->expires_at = jiffies + (sysctl_aarp_expiry_time * 10); 639 a->expires_at = jiffies + sysctl_aarp_resolve_time; 656 mod_timer(&aarp_timer, jiffies + sysctl_aarp_tick_time); 701 a->expires_at = jiffies + 792 jiffies [all...] |
/linux-master/drivers/mtd/nand/raw/ |
H A D | nand_legacy.c | 202 timeo = jiffies + msecs_to_jiffies(timeo); 207 } while (time_before(jiffies, timeo)); 225 timeo = jiffies + msecs_to_jiffies(timeo); 237 } while (time_before(jiffies, timeo)); 553 timeo = jiffies + msecs_to_jiffies(timeo); 569 } while (time_before(jiffies, timeo));
|
/linux-master/drivers/scsi/ |
H A D | qlogicfas408.c | 193 i = jiffies + WATCHDOG; 194 while (time_before(jiffies, i) && !priv->qabort && 199 if (time_after_eq(jiffies, i)) 349 k = jiffies + WATCHDOG; 351 while (time_before(jiffies, k) && !priv->qabort && 355 if (time_after_eq(jiffies, k)) {
|
/linux-master/drivers/media/tuners/ |
H A D | it913x.c | 79 timeout = jiffies + msecs_to_jiffies(TIMEOUT); 80 while (!time_after(jiffies, timeout)) { 91 jiffies_to_msecs(jiffies) - 107 timeout = jiffies + msecs_to_jiffies(TIMEOUT); 108 while (!time_after(jiffies, timeout)) { 118 jiffies_to_msecs(jiffies) -
|
/linux-master/drivers/net/ethernet/8390/ |
H A D | mcf8390.c | 17 #include <linux/jiffies.h> 151 unsigned long reset_start_time = jiffies; 155 netif_dbg(ei_local, hw, dev, "resetting the 8390 t=%ld...\n", jiffies); 164 if (time_after(jiffies, reset_start_time + 2 * HZ / 100)) { 285 dma_start = jiffies; 287 if (time_after(jiffies, dma_start + 2 * HZ / 100)) { /* 20ms */
|
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_amdkfd_gfx_v7.c | 253 end_jiffies = msecs_to_jiffies(2000) + jiffies; 258 if (time_after(jiffies, end_jiffies)) { 443 end_jiffies = (utimeout * HZ / 1000) + jiffies; 448 if (time_after(jiffies, end_jiffies)) { 466 unsigned long end_jiffies = (utimeout * HZ / 1000) + jiffies; 479 if (time_after(jiffies, end_jiffies)) {
|
H A D | amdgpu_amdkfd_gc_9_4_3.c | 76 end_jiffies = msecs_to_jiffies(2000) + jiffies; 81 if (time_after(jiffies, end_jiffies)) { 189 unsigned long end_jiffies = (utimeout * HZ / 1000) + jiffies; 203 if (time_after(jiffies, end_jiffies)) { 245 timeout = jiffies + msecs_to_jiffies(10); 249 if (time_after(jiffies, timeout)) {
|