/linux-master/arch/parisc/kernel/ |
H A D | smp.c | 336 long timeout; local 386 for (timeout = 0; timeout < 10000; timeout++) { 401 cpuid, timeout * 100);
|
/linux-master/tools/testing/selftests/timers/ |
H A D | set-timer-lat.c | 232 struct timeval timeout; local 240 memset(&timeout, 0, sizeof(timeout)); 241 timeout.tv_sec = 5; 243 err = select(0, NULL, NULL, NULL, &timeout);
|
/linux-master/tools/include/nolibc/ |
H A D | sys.h | 840 * int poll(struct pollfd *fds, int nfds, int timeout); 844 int sys_poll(struct pollfd *fds, int nfds, int timeout) argument 849 if (timeout >= 0) { 850 t.tv_sec = timeout / 1000; 851 t.tv_nsec = (timeout % 1000) * 1000000; 853 return my_syscall5(__NR_ppoll, fds, nfds, (timeout >= 0) ? &t : NULL, NULL, 0); 855 return my_syscall3(__NR_poll, fds, nfds, timeout); 857 return __nolibc_enosys(__func__, fds, nfds, timeout); 862 int poll(struct pollfd *fds, int nfds, int timeout) argument 864 return __sysret(sys_poll(fds, nfds, timeout)); 963 sys_select(int nfds, fd_set *rfds, fd_set *wfds, fd_set *efds, struct timeval *timeout) argument 990 select(int nfds, fd_set *rfds, fd_set *wfds, fd_set *efds, struct timeval *timeout) argument [all...] |
/linux-master/drivers/gpu/drm/ |
H A D | drm_syncobj.c | 441 u64 timeout = nsecs_to_jiffies64(DRM_SYNCOBJ_WAIT_FOR_SUBMIT_TIMEOUT); local 493 if (timeout == 0) { 503 timeout = schedule_timeout(timeout); 1037 signed long timeout, 1061 timeout = -EFAULT; 1067 timeout = -ENOMEM; 1088 timeout = -EINVAL; 1115 * fallthough and try a 0 timeout wait! 1162 if (timeout 1033 drm_syncobj_array_wait_timeout(struct drm_syncobj **syncobjs, void __user *user_points, uint32_t count, uint32_t flags, signed long timeout, uint32_t *idx, ktime_t *deadline) argument 1234 signed long timeout = 0; local [all...] |
/linux-master/drivers/firmware/tegra/ |
H A D | bpmp.c | 117 unsigned long timeout = channel->bpmp->soc->channels.cpu_tx.timeout; local 120 end = ktime_add_us(ktime_get(), timeout); 163 unsigned long timeout = channel->bpmp->soc->channels.cpu_tx.timeout; local 173 } while (ktime_us_delta(now, start) < timeout); 256 unsigned long timeout = bpmp->soc->channels.thread.timeout; local 263 err = down_timeout(&bpmp->threaded.lock, usecs_to_jiffies(timeout)); 368 unsigned long timeout; local [all...] |
/linux-master/net/mac80211/ |
H A D | agg-tx.c | 64 u16 agg_size, u16 timeout) 105 mgmt->u.action.u.addba_req.timeout = cpu_to_le16(timeout); 309 .timeout = 0, 491 buf_size, tid_tx->timeout); 507 .timeout = 0, 585 unsigned long timeout; local 591 timeout = tid_tx->last_tx + TU_TO_JIFFIES(tid_tx->timeout); 592 if (time_is_after_jiffies(timeout)) { 61 ieee80211_send_addba_request(struct ieee80211_sub_if_data *sdata, const u8 *da, u16 tid, u8 dialog_token, u16 start_seq_num, u16 agg_size, u16 timeout) argument 603 ieee80211_start_tx_ba_session(struct ieee80211_sta *pubsta, u16 tid, u16 timeout) argument [all...] |
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/ |
H A D | bit.c | 64 u32 timeout = T_TIMEOUT / T_RISEFALL; local 69 } while (!nvkm_i2c_sense_scl(bus) && --timeout); 71 return timeout != 0;
|
/linux-master/tools/testing/selftests/powerpc/benchmarks/ |
H A D | fork.c | 28 static unsigned int timeout = 30; variable 184 if (--timeout == 0) 214 { "timeout", required_argument, 0, 's' }, 225 fprintf(stderr, "\t\t--timeout=X\tDuration in seconds to run (default 30)\n"); 251 timeout = atoi(optarg);
|
/linux-master/drivers/media/pci/mantis/ |
H A D | mantis_uart.c | 83 unsigned long timeout; local 96 timeout = jiffies + msecs_to_jiffies(10); 101 if (!time_is_after_jiffies(timeout))
|
/linux-master/drivers/crypto/cavium/cpt/ |
H A D | cptvf_mbox.c | 61 int timeout = CPT_MBOX_MSG_TIMEOUT; local 67 /* Wait for previous message to be acked, timeout 2sec */ 74 timeout -= sleep; 75 if (!timeout) {
|
/linux-master/drivers/net/wireless/ti/wlcore/ |
H A D | ps.c | 19 u16 timeout = wl->conf.conn.dynamic_ps_timeout; local 24 wl1271_debug(DEBUG_PSM, "entering psm (mode=%d,timeout=%u)", 25 mode, timeout); 35 ret = wl1271_cmd_ps_mode(wl, wlvif, mode, timeout);
|
/linux-master/drivers/phy/ |
H A D | phy-pistachio-usb.c | 55 unsigned long timeout, rate; local 93 timeout = jiffies + msecs_to_jiffies(200); 94 while (time_before(jiffies, timeout)) {
|
/linux-master/drivers/net/ethernet/cavium/liquidio/ |
H A D | octeon_main.h | 156 * timeout: milli sec which an application wants to wait for the 167 * errno -ETIME: user spefified timeout value has been expired. 180 * This is to fix the possible race condition of both timeout process 187 unsigned long timeout) 192 if (timeout) 193 timeout_jiff = msecs_to_jiffies(timeout); 201 dev_err(&oct_dev->pci_dev->dev, "%s: sc is timeout\n", 211 dev_err(&oct_dev->pci_dev->dev, "%s: sc has fatal timeout\n", 185 wait_for_sc_completion_timeout(struct octeon_device *oct_dev, struct octeon_soft_command *sc, unsigned long timeout) argument
|
/linux-master/drivers/net/wireless/ti/wl1251/ |
H A D | event.c | 156 * timeout occurs (WL1251_EVENT_TIMEOUT in msecs) 161 unsigned long timeout; local 163 timeout = jiffies + msecs_to_jiffies(timeout_ms); 166 if (time_after(jiffies, timeout))
|
/linux-master/drivers/infiniband/hw/mlx4/ |
H A D | cm.c | 54 struct delayed_work timeout; member in struct:id_map_entry 60 struct delayed_work timeout; member in struct:rej_tmout_entry 180 struct id_map_entry *ent = container_of(delay, struct id_map_entry, timeout); 246 INIT_DELAYED_WORK(&ent->timeout, id_map_ent_timeout); 292 queue_delayed_work(cm_wq, &id->timeout, CM_CLEANUP_CACHE_TIMEOUT); 294 /* Adjust timeout if already scheduled */ 295 mod_delayed_work(cm_wq, &id->timeout, CM_CLEANUP_CACHE_TIMEOUT); 349 struct rej_tmout_entry *item = container_of(delay, struct rej_tmout_entry, timeout); 374 mod_delayed_work(cm_wq, &item->timeout, CM_CLEANUP_CACHE_TIMEOUT); 383 INIT_DELAYED_WORK(&item->timeout, rej_tmout_timeou [all...] |
/linux-master/arch/powerpc/platforms/powermac/ |
H A D | nvram.c | 283 unsigned long timeout; local 291 timeout = 0; 293 if (++timeout > 1000000) { 294 printk(KERN_ERR "nvram: Sharp/Micron flash erase timeout !\n"); 314 unsigned long timeout; local 324 timeout = 0; 326 if (++timeout > 1000000) { 327 printk(KERN_ERR "nvram: Sharp/Micron flash write timeout !\n"); 348 unsigned long timeout; local 371 timeout 394 unsigned long timeout; local [all...] |
/linux-master/drivers/usb/storage/ |
H A D | karma.c | 97 unsigned long timeout; local 107 timeout = jiffies + msecs_to_jiffies(6000); 122 if (time_after(jiffies, timeout))
|
/linux-master/drivers/watchdog/ |
H A D | f71808e_wdt.c | 69 #define WATCHDOG_TIMEOUT 60 /* 1 minute default timeout */ 80 static int timeout = WATCHDOG_TIMEOUT; /* default timeout in seconds */ variable 81 module_param(timeout, int, 0); 82 MODULE_PARM_DESC(timeout, 83 "Watchdog timeout in seconds. 1<= timeout <=" 106 " given initial timeout. Zero (default) disables this feature."); 213 static int fintek_wdt_set_timeout(struct watchdog_device *wdd, unsigned int timeout) argument 217 if (timeout > [all...] |
H A D | rtd119x_wdt.c | 74 data->wdt_dev.timeout = val; 116 data->wdt_dev.timeout = 120; 126 rtd119x_wdt_set_timeout(&data->wdt_dev, data->wdt_dev.timeout);
|
/linux-master/drivers/net/ethernet/huawei/hinic/ |
H A D | hinic_hw_mbox.h | 159 u16 *out_size, u32 timeout); 164 u16 *out_size, u32 timeout); 168 u16 in_size, void *buf_out, u16 *out_size, u32 timeout);
|
/linux-master/drivers/crypto/marvell/octeontx/ |
H A D | otx_cptvf_mbox.c | 131 int timeout = CPT_MBOX_MSG_TIMEOUT; local 137 /* Wait for previous message to be acked, timeout 2sec */ 144 timeout -= sleep; 145 if (!timeout) {
|
/linux-master/drivers/s390/char/ |
H A D | hmcdrv_cache.c | 20 #define HMCDRV_CACHE_TIMEOUT 30 /* aging timeout in seconds */ 30 * @timeout: cache timeout in jiffies 41 unsigned long timeout; member in struct:hmcdrv_cache_entry 75 time_after(jiffies, hmcdrv_cache_file.timeout)) 144 hmcdrv_cache_file.timeout = jiffies +
|
/linux-master/drivers/clk/mstar/ |
H A D | clk-msc313-cpupll.c | 91 ktime_t timeout; local 103 timeout = ktime_add_ns(ktime_get(), LPF_LOCK_TIMEOUT); 105 if (ktime_after(ktime_get(), timeout)) { 106 pr_err("timeout waiting for LPF_LOCK\n");
|
/linux-master/drivers/gpu/drm/i915/selftests/ |
H A D | i915_sw_fence.c | 671 struct i915_sw_fence *timeout = NULL, *not = NULL; local 681 timeout = wrap_dma_fence(dma, delay); 682 if (IS_ERR(timeout)) { 683 err = PTR_ERR(timeout); 694 if (i915_sw_fence_done(timeout) || i915_sw_fence_done(not)) { 699 /* We round the timeout for the fence up to the next second */ 710 if (i915_sw_fence_done(timeout) || i915_sw_fence_done(not)) { 715 if (!wait_event_timeout(timeout->wait, 716 i915_sw_fence_done(timeout), 723 pr_err("No timeout fenc [all...] |
/linux-master/drivers/usb/roles/ |
H A D | intel-xhci-usb-role-switch.c | 59 unsigned long timeout; local 111 timeout = jiffies + msecs_to_jiffies(DUAL_ROLE_CFG1_POLL_TIMEOUT); 123 } while (time_before(jiffies, timeout));
|