/linux-master/block/ |
H A D | blk-timeout.c | 3 * Functions related to generic timeout handling of requests. 75 * request by deleting the timer and calling the q's timeout function. 76 * LLDDs who implement their own error recovery MAY ignore the timeout 82 * All we need to ensure is that timeout scan takes place 83 * immediately and that scan sees the new timeout value. 109 unsigned long blk_rq_timeout(unsigned long timeout) argument 114 if (time_after(timeout, maxt)) 115 timeout = maxt; 117 return timeout; 121 * blk_add_timer - Start timeout time [all...] |
/linux-master/tools/testing/selftests/sync/ |
H A D | sync.h | 35 int sync_wait(int fd, int timeout);
|
/linux-master/include/uapi/linux/ |
H A D | pg.h | 52 int timeout; /* number of seconds before timeout */ member in struct:pg_write_hdr
|
/linux-master/tools/thermal/lib/ |
H A D | mainloop.h | 8 extern int mainloop(unsigned int timeout);
|
/linux-master/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_wait.c | 20 long timeout) 25 return timeout; 28 return i915_request_wait_timeout(to_request(fence), flags, timeout); 32 timeout); 69 long timeout) 73 long ret = timeout ?: 1; 80 ret = i915_gem_object_wait_fence(fence, flags, timeout); 84 if (timeout) 85 timeout = ret; 167 * @timeout 18 i915_gem_object_wait_fence(struct dma_fence *fence, unsigned int flags, long timeout) argument 67 i915_gem_object_wait_reservation(struct dma_resv *resv, unsigned int flags, long timeout) argument 170 i915_gem_object_wait(struct drm_i915_gem_object *obj, unsigned int flags, long timeout) argument [all...] |
/linux-master/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
H A D | common_baco.c | 30 u32 timeout = 5000, data; local 35 timeout--; 36 } while (value != (data & mask) && (timeout != 0)); 38 if (timeout == 0) 45 u32 shift, u32 value, u32 timeout) 64 if (timeout) 66 msleep(timeout); 69 if (timeout) 71 udelay(timeout); 94 entry[i].shift, entry[i].val, entry[i].timeout)) 44 baco_cmd_handler(struct pp_hwmgr *hwmgr, u32 command, u32 reg, u32 mask, u32 shift, u32 value, u32 timeout) argument [all...] |
/linux-master/include/linux/ |
H A D | jump_label_ratelimit.h | 11 unsigned long timeout; member in struct:static_key_deferred 17 unsigned long timeout; member in struct:static_key_true_deferred 23 unsigned long timeout; member in struct:static_key_false_deferred 28 __static_key_slow_dec_deferred(&(x)->key, &(x)->work, (x)->timeout) 30 __static_key_slow_dec_deferred(&(x)->key.key, &(x)->work, (x)->timeout) 38 unsigned long timeout); 48 .timeout = (rl), \ 57 .timeout = (rl), \
|
H A D | swait.h | 193 #define __swait_event_timeout(wq, condition, timeout) \ 195 TASK_UNINTERRUPTIBLE, timeout, \ 198 #define swait_event_timeout_exclusive(wq, condition, timeout) \ 200 long __ret = timeout; \ 202 __ret = __swait_event_timeout(wq, condition, timeout); \ 218 #define __swait_event_interruptible_timeout(wq, condition, timeout) \ 220 TASK_INTERRUPTIBLE, timeout, \ 223 #define swait_event_interruptible_timeout_exclusive(wq, condition, timeout)\ 225 long __ret = timeout; \ 228 condition, timeout); \ [all...] |
H A D | rcuwait.h | 79 #define __rcuwait_wait_event_timeout(w, condition, state, timeout) \ 81 state, timeout, \ 84 #define rcuwait_wait_event_timeout(w, condition, state, timeout) \ 86 long __ret = timeout; \ 89 state, timeout); \
|
/linux-master/arch/arm/mach-imx/ |
H A D | hotplug.c | 37 unsigned long timeout = jiffies + msecs_to_jiffies(50); local 40 if (time_after(jiffies, timeout))
|
/linux-master/tools/perf/bench/ |
H A D | futex.h | 35 * @timeout: typically an absolute struct timespec (except where noted 49 futex_syscall(volatile u_int32_t *uaddr, int op, u_int32_t val, struct timespec *timeout, argument 52 return syscall(SYS_futex, uaddr, op | opflags, val, timeout, uaddr2, val3); 63 * futex_wait() - block on uaddr with optional timeout 64 * @timeout: relative timeout 67 futex_wait(u_int32_t *uaddr, u_int32_t val, struct timespec *timeout, int opflags) argument 69 return futex_syscall(uaddr, FUTEX_WAIT, val, timeout, NULL, 0, opflags); 86 futex_lock_pi(u_int32_t *uaddr, struct timespec *timeout, int opflags) argument 88 return futex_syscall(uaddr, FUTEX_LOCK_PI, 0, timeout, NUL 122 futex_wait_requeue_pi(u_int32_t *uaddr, u_int32_t val, u_int32_t *uaddr2, struct timespec *timeout, int opflags) argument [all...] |
/linux-master/net/netfilter/ |
H A D | nf_conntrack_snmp.c | 24 static unsigned int timeout __read_mostly = 30; 25 module_param(timeout, uint, 0400); 26 MODULE_PARM_DESC(timeout, "timeout for master connection/replies in seconds"); 40 nf_conntrack_broadcast_help(skb, ct, ctinfo, timeout); 65 exp_policy.timeout = timeout;
|
H A D | nf_conntrack_netbios_ns.c | 32 static unsigned int timeout __read_mostly = 3; 33 module_param(timeout, uint, 0400); 34 MODULE_PARM_DESC(timeout, "timeout for master connection/replies in seconds"); 44 return nf_conntrack_broadcast_help(skb, ct, ctinfo, timeout); 61 exp_policy.timeout = timeout;
|
H A D | nfnetlink_cttimeout.c | 44 struct nf_ct_timeout timeout; member in struct:ctnl_timeout 54 MODULE_DESCRIPTION("cttimeout: Extended Netfilter Connection Tracking timeout tuning"); 70 ctnl_timeout_parse_policy(void *timeout, argument 91 ret = l4proto->ctnl_timeout.nlattr_to_obj(tb, net, timeout); 106 struct ctnl_timeout *timeout, *matching = NULL; local 120 list_for_each_entry(timeout, &pernet->nfct_timeout_list, head) { 121 if (strncmp(timeout->name, name, CTNL_TIMEOUT_NAME_MAX) != 0) 127 matching = timeout; 133 /* You cannot replace one timeout policy by another of 136 if (matching->timeout 184 ctnl_timeout_fill_info(struct sk_buff *skb, u32 portid, u32 seq, u32 type, int event, struct ctnl_timeout *timeout) argument 312 ctnl_timeout_try_del(struct net *net, struct ctnl_timeout *timeout) argument 516 struct ctnl_timeout *timeout, *matching = NULL; local 533 struct ctnl_timeout *timeout = local 660 untimeout(struct nf_conn *ct, void *timeout) argument [all...] |
/linux-master/lib/ |
H A D | stmp_device.c | 28 int timeout = 0x400; local 32 while ((readl(addr) & mask) && --timeout) 35 return !timeout; 41 int timeout = 0x400; local 56 while ((!(readl(reset_addr) & STMP_MODULE_CLKGATE)) && --timeout) 58 if (unlikely(!timeout)) 74 pr_err("%s(%p): module reset timeout\n", __func__, reset_addr);
|
/linux-master/include/trace/events/ |
H A D | watchdog.h | 44 TP_PROTO(struct watchdog_device *wdd, unsigned int timeout, int err), 46 TP_ARGS(wdd, timeout, err), 50 __field(unsigned int, timeout) 56 __entry->timeout = timeout; 60 TP_printk("watchdog%d timeout=%u err=%d", __entry->id, __entry->timeout, __entry->err)
|
/linux-master/drivers/watchdog/ |
H A D | sun4v_wdt.c | 27 static unsigned int timeout; variable 28 module_param(timeout, uint, 0); 29 MODULE_PARM_DESC(timeout, "Watchdog timeout in seconds (default=" 49 * HV watchdog timer will round up the timeout 53 hverr = sun4v_mach_set_watchdog(wdd->timeout * 1000, NULL); 61 unsigned int timeout) 63 wdd->timeout = timeout; 89 .timeout 60 sun4v_wdt_set_timeout(struct watchdog_device *wdd, unsigned int timeout) argument [all...] |
H A D | visconti_wdt.c | 43 u32 timeout = wdev->timeout * VISCONTI_WDT_FREQ; local 47 writel(timeout, priv->base + WDT_MAX); 76 u32 timeout = wdev->timeout * VISCONTI_WDT_FREQ; local 79 if (timeout <= cnt) 81 timeout -= cnt; 83 return timeout / VISCONTI_WDT_FREQ; 86 static int visconti_wdt_set_timeout(struct watchdog_device *wdev, unsigned int timeout) argument 91 wdev->timeout [all...] |
H A D | db8500_wdt.c | 26 static unsigned int timeout = WATCHDOG_TIMEOUT; variable 27 module_param(timeout, uint, 0); 28 MODULE_PARM_DESC(timeout, 29 "Watchdog timeout in seconds. default=" 54 unsigned int timeout) 57 prcmu_load_a9wdog(PRCMU_WDOG_ALL, timeout * 1000); 89 timeout = 600; /* Default to 10 minutes */ 97 prcmu_load_a9wdog(PRCMU_WDOG_ALL, timeout * 1000); 115 prcmu_load_a9wdog(PRCMU_WDOG_ALL, timeout * 1000); 127 prcmu_load_a9wdog(PRCMU_WDOG_ALL, timeout * 100 53 db8500_wdt_set_timeout(struct watchdog_device *wdd, unsigned int timeout) argument [all...] |
H A D | ts4800_wdt.c | 36 * TS-4800 supports the following timeout values: 45 * Keep the regmap/timeout map ordered by timeout 48 const int timeout; member in struct:__anon203 79 unsigned int timeout) 85 if (ts4800_wdt_map[i].timeout >= timeout) 89 wdd->timeout = ts4800_wdt_map[i].timeout; 151 wdd->min_timeout = ts4800_wdt_map[0].timeout; 78 ts4800_wdt_set_timeout(struct watchdog_device *wdd, unsigned int timeout) argument [all...] |
/linux-master/include/net/netfilter/ |
H A D | nf_conntrack_core.h | 88 static inline void __nf_ct_set_timeout(struct nf_conn *ct, u64 timeout) argument 90 if (timeout > INT_MAX) 91 timeout = INT_MAX; 94 WRITE_ONCE(ct->timeout, nfct_time_stamp + (u32)timeout); 96 ct->timeout = (u32)timeout;
|
/linux-master/io_uring/ |
H A D | timeout.c | 14 #include "timeout.h" 32 /* timeout update */ 40 struct io_timeout *timeout = io_kiocb_to_cmd(req, struct io_timeout); local 43 return !timeout->off || data->flags & IORING_TIMEOUT_MULTISHOT; 54 static inline bool io_timeout_finish(struct io_timeout *timeout, argument 60 if (!timeout->off || (timeout->repeats && --timeout->repeats)) 70 struct io_timeout *timeout = io_kiocb_to_cmd(req, struct io_timeout); local 74 if (!io_timeout_finish(timeout, dat 95 struct io_timeout *timeout = io_kiocb_to_cmd(req, struct io_timeout); variable in typeref:struct:io_timeout 111 struct io_timeout *timeout, *tmp; local 221 struct io_timeout *timeout = io_kiocb_to_cmd(link, struct io_timeout); variable in typeref:struct:io_timeout 238 struct io_timeout *timeout = io_kiocb_to_cmd(req, struct io_timeout); local 261 struct io_timeout *timeout; variable in typeref:struct:io_timeout 301 struct io_timeout *timeout = io_kiocb_to_cmd(req, struct io_timeout); local 328 struct io_timeout *timeout = io_kiocb_to_cmd(req, struct io_timeout); local 375 struct io_timeout *timeout; variable in typeref:struct:io_timeout 404 struct io_timeout *timeout = io_kiocb_to_cmd(req, struct io_timeout); variable in typeref:struct:io_timeout 492 struct io_timeout *timeout = io_kiocb_to_cmd(req, struct io_timeout); local 568 struct io_timeout *timeout = io_kiocb_to_cmd(req, struct io_timeout); local 619 struct io_timeout *timeout = io_kiocb_to_cmd(req, struct io_timeout); local 662 struct io_timeout *timeout, *tmp; local [all...] |
/linux-master/arch/arm/mach-sa1100/ |
H A D | ssp.c | 48 * %-ETIMEDOUT timeout occurred 53 int timeout = TIMEOUT; local 56 if (!--timeout) 63 timeout = TIMEOUT; 65 if (!--timeout) 85 * %-ETIMEDOUT timeout occurred 90 int timeout = TIMEOUT; local 93 if (!--timeout) 112 * %-ETIMEDOUT timeout occurred 117 int timeout local [all...] |
/linux-master/arch/arm/mach-versatile/ |
H A D | platsmp.c | 68 unsigned long timeout; local 91 timeout = jiffies + (1 * HZ); 92 while (time_before(jiffies, timeout)) {
|
/linux-master/fs/bcachefs/ |
H A D | clock.h | 24 #define bch2_kthread_wait_event_ioclock_timeout(condition, clock, timeout)\ 26 long __ret = timeout; \ 29 __ret = __wait_event_timeout(wq, condition, timeout); \
|