/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/frw/ |
H A D | frw_timer.c | 47 frw_timeout_stru *timeout = HI_NULL; in frw_timer_timeout_event() local 50 timeout = (frw_timeout_stru *)data; in frw_timer_timeout_event() 64 *(hi_u32 *)event->auc_event_data = timeout->timer_id; in frw_timer_timeout_event() 136 hi_void frw_timer_add_timer(frw_timeout_stru *timeout) in frw_timer_add_timer() argument 138 if (timeout == HI_NULL) { in frw_timer_add_timer() 142 hi_list_tail_insert(&timeout->entry, &g_ast_timer_list); in frw_timer_add_timer() 145 hi_void frw_timer_create_timer(frw_timeout_stru *timeout, frw_timeout_func timeout_func, in frw_timer_create_timer() argument 148 if (timeout == HI_NULL) { in frw_timer_create_timer() 155 timeout->func = timeout_func; in frw_timer_create_timer() 156 timeout in frw_timer_create_timer() 182 frw_timeout_stru *timeout = NULL; frw_timer_timeout_proc_event() local 215 frw_timer_immediate_destroy_timer(frw_timeout_stru *timeout) frw_timer_timeout_proc_event() argument 239 frw_timer_restart_timer(frw_timeout_stru *timeout, hi_u32 timeoutval, hi_u8 is_periodic) frw_timer_timeout_proc_event() argument 260 frw_timer_stop_timer(frw_timeout_stru *timeout) frw_timer_timeout_proc_event() argument [all...] |
/kernel/linux/linux-5.10/drivers/watchdog/ |
H A D | npcm_wdt.c | 69 if (wdd->timeout < 2) in npcm_wdt_start() 71 else if (wdd->timeout < 3) in npcm_wdt_start() 73 else if (wdd->timeout < 6) in npcm_wdt_start() 75 else if (wdd->timeout < 11) in npcm_wdt_start() 77 else if (wdd->timeout < 22) in npcm_wdt_start() 79 else if (wdd->timeout < 44) in npcm_wdt_start() 81 else if (wdd->timeout < 87) in npcm_wdt_start() 83 else if (wdd->timeout < 173) in npcm_wdt_start() 85 else if (wdd->timeout < 688) in npcm_wdt_start() 107 unsigned int timeout) in npcm_wdt_set_timeout() 106 npcm_wdt_set_timeout(struct watchdog_device *wdd, unsigned int timeout) npcm_wdt_set_timeout() argument [all...] |
/kernel/linux/linux-6.6/drivers/watchdog/ |
H A D | npcm_wdt.c | 74 if (wdd->timeout < 2) in npcm_wdt_start() 76 else if (wdd->timeout < 3) in npcm_wdt_start() 78 else if (wdd->timeout < 6) in npcm_wdt_start() 80 else if (wdd->timeout < 11) in npcm_wdt_start() 82 else if (wdd->timeout < 22) in npcm_wdt_start() 84 else if (wdd->timeout < 44) in npcm_wdt_start() 86 else if (wdd->timeout < 87) in npcm_wdt_start() 88 else if (wdd->timeout < 173) in npcm_wdt_start() 90 else if (wdd->timeout < 688) in npcm_wdt_start() 115 unsigned int timeout) in npcm_wdt_set_timeout() 114 npcm_wdt_set_timeout(struct watchdog_device *wdd, unsigned int timeout) npcm_wdt_set_timeout() argument [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/ |
H A D | eloop_win.c | 55 struct dl_list timeout; member 78 dl_list_init(&eloop.timeout); in eloop_init() 241 struct eloop_timeout *timeout, *tmp; in eloop_register_timeout() local 244 timeout = os_zalloc(sizeof(*timeout)); in eloop_register_timeout() 245 if (timeout == NULL) in eloop_register_timeout() 247 if (os_get_reltime(&timeout->time) < 0) { in eloop_register_timeout() 248 os_free(timeout); in eloop_register_timeout() 251 now_sec = timeout->time.sec; in eloop_register_timeout() 252 timeout in eloop_register_timeout() 285 eloop_remove_timeout(struct eloop_timeout *timeout) eloop_remove_timeout() argument 295 struct eloop_timeout *timeout, *prev; eloop_cancel_timeout() local 318 struct eloop_timeout *timeout, *prev; eloop_cancel_timeout_one() local 542 struct eloop_timeout *timeout; eloop_run() local 652 struct eloop_timeout *timeout, *prev; eloop_destroy() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/ |
H A D | eloop_win.c | 55 struct dl_list timeout; member 78 dl_list_init(&eloop.timeout); in eloop_init() 241 struct eloop_timeout *timeout, *tmp; in eloop_register_timeout() local 244 timeout = os_zalloc(sizeof(*timeout)); in eloop_register_timeout() 245 if (timeout == NULL) in eloop_register_timeout() 247 if (os_get_reltime(&timeout->time) < 0) { in eloop_register_timeout() 248 os_free(timeout); in eloop_register_timeout() 251 now_sec = timeout->time.sec; in eloop_register_timeout() 252 timeout in eloop_register_timeout() 285 eloop_remove_timeout(struct eloop_timeout *timeout) eloop_remove_timeout() argument 295 struct eloop_timeout *timeout, *prev; eloop_cancel_timeout() local 318 struct eloop_timeout *timeout, *prev; eloop_cancel_timeout_one() local 542 struct eloop_timeout *timeout; eloop_run() local 652 struct eloop_timeout *timeout, *prev; eloop_destroy() local [all...] |
H A D | eloop.c | 117 struct dl_list timeout; member 240 dl_list_init(&eloop.timeout); in eloop_init() 853 struct eloop_timeout *timeout, *tmp; in eloop_register_timeout() local 856 timeout = os_zalloc(sizeof(*timeout)); in eloop_register_timeout() 857 if (timeout == NULL) in eloop_register_timeout() 859 if (os_get_reltime(&timeout->time) < 0) { in eloop_register_timeout() 860 os_free(timeout); in eloop_register_timeout() 863 now_sec = timeout->time.sec; in eloop_register_timeout() 864 timeout in eloop_register_timeout() 915 eloop_remove_timeout(struct eloop_timeout *timeout) eloop_remove_timeout() argument 933 struct eloop_timeout *timeout, *prev; eloop_cancel_timeout() local 956 struct eloop_timeout *timeout, *prev; eloop_cancel_timeout_one() local 1218 struct eloop_timeout *timeout; eloop_run() local 1384 struct eloop_timeout *timeout, *prev; eloop_destroy() local [all...] |
/kernel/linux/linux-5.10/net/netfilter/ |
H A D | nf_conntrack_timeout.c | 29 void (*nf_ct_timeout_put_hook)(struct nf_ct_timeout *timeout) __read_mostly; 32 static int untimeout(struct nf_conn *ct, void *timeout) in untimeout() argument 36 if (timeout_ext && (!timeout || timeout_ext->timeout == timeout)) in untimeout() 37 RCU_INIT_POINTER(timeout_ext->timeout, NULL); in untimeout() 43 void nf_ct_untimeout(struct net *net, struct nf_ct_timeout *timeout) in nf_ct_untimeout() argument 45 nf_ct_iterate_cleanup_net(net, untimeout, timeout, 0, 0); in nf_ct_untimeout() 49 static void __nf_ct_timeout_put(struct nf_ct_timeout *timeout) in __nf_ct_timeout_put() argument 55 timeout_put(timeout); in __nf_ct_timeout_put() 62 struct nf_ct_timeout *timeout; nf_ct_set_timeout() local [all...] |
H A D | nfnetlink_cttimeout.c | 35 MODULE_DESCRIPTION("cttimeout: Extended Netfilter Connection Tracking timeout tuning"); 46 ctnl_timeout_parse_policy(void *timeout, in ctnl_timeout_parse_policy() argument 67 ret = l4proto->ctnl_timeout.nlattr_to_obj(tb, net, timeout); in ctnl_timeout_parse_policy() 83 struct ctnl_timeout *timeout, *matching = NULL; in cttimeout_new_timeout() local 97 list_for_each_entry(timeout, &net->nfct_timeout_list, head) { in cttimeout_new_timeout() 98 if (strncmp(timeout->name, name, CTNL_TIMEOUT_NAME_MAX) != 0) in cttimeout_new_timeout() 104 matching = timeout; in cttimeout_new_timeout() 110 /* You cannot replace one timeout policy by another of in cttimeout_new_timeout() 113 if (matching->timeout.l3num != l3num || in cttimeout_new_timeout() 114 matching->timeout in cttimeout_new_timeout() 159 ctnl_timeout_fill_info(struct sk_buff *skb, u32 portid, u32 seq, u32 type, int event, struct ctnl_timeout *timeout) ctnl_timeout_fill_info() argument 289 ctnl_timeout_try_del(struct net *net, struct ctnl_timeout *timeout) ctnl_timeout_try_del() argument 506 struct ctnl_timeout *timeout, *matching = NULL; ctnl_timeout_find_get() local 528 struct ctnl_timeout *timeout = ctnl_timeout_put() local [all...] |
/device/soc/rockchip/common/sdk_linux/include/linux/ |
H A D | freezer.h | 195 static inline long freezable_schedule_timeout(long timeout) in freezable_schedule_timeout() argument 199 __retval = schedule_timeout(timeout); in freezable_schedule_timeout() 208 static inline long freezable_schedule_timeout_interruptible(long timeout) in freezable_schedule_timeout_interruptible() argument 212 __retval = schedule_timeout_interruptible(timeout); in freezable_schedule_timeout_interruptible() 218 static inline long freezable_schedule_timeout_interruptible_unsafe(long timeout) in freezable_schedule_timeout_interruptible_unsafe() argument 223 __retval = schedule_timeout_interruptible(timeout); in freezable_schedule_timeout_interruptible_unsafe() 229 static inline long freezable_schedule_timeout_killable(long timeout) in freezable_schedule_timeout_killable() argument 233 __retval = schedule_timeout_killable(timeout); in freezable_schedule_timeout_killable() 239 static inline long freezable_schedule_timeout_killable_unsafe(long timeout) in freezable_schedule_timeout_killable_unsafe() argument 243 __retval = schedule_timeout_killable(timeout); in freezable_schedule_timeout_killable_unsafe() [all...] |
/kernel/linux/linux-5.10/include/linux/ |
H A D | freezer.h | 188 static inline long freezable_schedule_timeout(long timeout) in freezable_schedule_timeout() argument 192 __retval = schedule_timeout(timeout); in freezable_schedule_timeout() 201 static inline long freezable_schedule_timeout_interruptible(long timeout) in freezable_schedule_timeout_interruptible() argument 205 __retval = schedule_timeout_interruptible(timeout); in freezable_schedule_timeout_interruptible() 211 static inline long freezable_schedule_timeout_interruptible_unsafe(long timeout) in freezable_schedule_timeout_interruptible_unsafe() argument 216 __retval = schedule_timeout_interruptible(timeout); in freezable_schedule_timeout_interruptible_unsafe() 222 static inline long freezable_schedule_timeout_killable(long timeout) in freezable_schedule_timeout_killable() argument 226 __retval = schedule_timeout_killable(timeout); in freezable_schedule_timeout_killable() 232 static inline long freezable_schedule_timeout_killable_unsafe(long timeout) in freezable_schedule_timeout_killable_unsafe() argument 236 __retval = schedule_timeout_killable(timeout); in freezable_schedule_timeout_killable_unsafe() [all...] |
/kernel/linux/linux-6.6/net/netfilter/ |
H A D | nf_conntrack_timeout.c | 28 static int untimeout(struct nf_conn *ct, void *timeout) in untimeout() argument 35 t = rcu_access_pointer(timeout_ext->timeout); in untimeout() 37 if (!timeout || t == timeout) in untimeout() 38 RCU_INIT_POINTER(timeout_ext->timeout, NULL); in untimeout() 45 void nf_ct_untimeout(struct net *net, struct nf_ct_timeout *timeout) in nf_ct_untimeout() argument 49 .data = timeout, in nf_ct_untimeout() 56 static void __nf_ct_timeout_put(struct nf_ct_timeout *timeout) in __nf_ct_timeout_put() argument 61 h->timeout_put(timeout); in __nf_ct_timeout_put() 68 struct nf_ct_timeout *timeout; in nf_ct_set_timeout() local [all...] |
H A D | nfnetlink_cttimeout.c | 44 struct nf_ct_timeout timeout; member 54 MODULE_DESCRIPTION("cttimeout: Extended Netfilter Connection Tracking timeout tuning"); 70 ctnl_timeout_parse_policy(void *timeout, in ctnl_timeout_parse_policy() argument 91 ret = l4proto->ctnl_timeout.nlattr_to_obj(tb, net, timeout); in ctnl_timeout_parse_policy() 106 struct ctnl_timeout *timeout, *matching = NULL; in cttimeout_new_timeout() local 120 list_for_each_entry(timeout, &pernet->nfct_timeout_list, head) { in cttimeout_new_timeout() 121 if (strncmp(timeout->name, name, CTNL_TIMEOUT_NAME_MAX) != 0) in cttimeout_new_timeout() 127 matching = timeout; in cttimeout_new_timeout() 133 /* You cannot replace one timeout policy by another of in cttimeout_new_timeout() 136 if (matching->timeout in cttimeout_new_timeout() 184 ctnl_timeout_fill_info(struct sk_buff *skb, u32 portid, u32 seq, u32 type, int event, struct ctnl_timeout *timeout) ctnl_timeout_fill_info() argument 312 ctnl_timeout_try_del(struct net *net, struct ctnl_timeout *timeout) ctnl_timeout_try_del() argument 516 struct ctnl_timeout *timeout, *matching = NULL; ctnl_timeout_find_get() local 533 struct ctnl_timeout *timeout = ctnl_timeout_put() local 660 untimeout(struct nf_conn *ct, void *timeout) untimeout() argument [all...] |
/kernel/linux/linux-5.10/kernel/sched/ |
H A D | completion.c | 72 long (*action)(long), long timeout, int state) in do_wait_for_common() 79 timeout = -ERESTARTSYS; in do_wait_for_common() 85 timeout = action(timeout); in do_wait_for_common() 87 } while (!x->done && timeout); in do_wait_for_common() 90 return timeout; in do_wait_for_common() 94 return timeout ?: 1; in do_wait_for_common() 99 long (*action)(long), long timeout, int state) in __wait_for_common() 106 timeout = do_wait_for_common(x, action, timeout, stat in __wait_for_common() 71 do_wait_for_common(struct completion *x, long (*action)(long), long timeout, int state) do_wait_for_common() argument 98 __wait_for_common(struct completion *x, long (*action)(long), long timeout, int state) __wait_for_common() argument 115 wait_for_common(struct completion *x, long timeout, int state) wait_for_common() argument 121 wait_for_common_io(struct completion *x, long timeout, int state) wait_for_common_io() argument 155 wait_for_completion_timeout(struct completion *x, unsigned long timeout) wait_for_completion_timeout() argument 189 wait_for_completion_io_timeout(struct completion *x, unsigned long timeout) wait_for_completion_io_timeout() argument 225 wait_for_completion_interruptible_timeout(struct completion *x, unsigned long timeout) wait_for_completion_interruptible_timeout() argument 263 wait_for_completion_killable_timeout(struct completion *x, unsigned long timeout) wait_for_completion_killable_timeout() argument [all...] |
/kernel/linux/linux-6.6/kernel/sched/ |
H A D | completion.c | 82 long (*action)(long), long timeout, int state) in do_wait_for_common() 89 timeout = -ERESTARTSYS; in do_wait_for_common() 95 timeout = action(timeout); in do_wait_for_common() 97 } while (!x->done && timeout); in do_wait_for_common() 100 return timeout; in do_wait_for_common() 104 return timeout ?: 1; in do_wait_for_common() 109 long (*action)(long), long timeout, int state) in __wait_for_common() 116 timeout = do_wait_for_common(x, action, timeout, stat in __wait_for_common() 81 do_wait_for_common(struct completion *x, long (*action)(long), long timeout, int state) do_wait_for_common() argument 108 __wait_for_common(struct completion *x, long (*action)(long), long timeout, int state) __wait_for_common() argument 125 wait_for_common(struct completion *x, long timeout, int state) wait_for_common() argument 131 wait_for_common_io(struct completion *x, long timeout, int state) wait_for_common_io() argument 165 wait_for_completion_timeout(struct completion *x, unsigned long timeout) wait_for_completion_timeout() argument 199 wait_for_completion_io_timeout(struct completion *x, unsigned long timeout) wait_for_completion_io_timeout() argument 236 wait_for_completion_interruptible_timeout(struct completion *x, unsigned long timeout) wait_for_completion_interruptible_timeout() argument 285 wait_for_completion_killable_timeout(struct completion *x, unsigned long timeout) wait_for_completion_killable_timeout() argument [all...] |
/kernel/linux/linux-6.6/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); in io_is_timeout_noseq() local 43 return !timeout->off || data->flags & IORING_TIMEOUT_MULTISHOT; in io_is_timeout_noseq() 54 static inline bool io_timeout_finish(struct io_timeout *timeout, in io_timeout_finish() argument 60 if (!timeout->off || (timeout->repeats && --timeout->repeats)) in io_timeout_finish() 70 struct io_timeout *timeout = io_kiocb_to_cmd(req, struct io_timeout); in io_timeout_complete() local 74 if (!io_timeout_finish(timeout, dat in io_timeout_complete() 98 struct io_timeout *timeout = io_kiocb_to_cmd(req, struct io_timeout); global() variable 114 struct io_timeout *timeout, *tmp; io_flush_timeouts() local 224 struct io_timeout *timeout = io_kiocb_to_cmd(link, struct io_timeout); global() variable 241 struct io_timeout *timeout = io_kiocb_to_cmd(req, struct io_timeout); io_timeout_fn() local 264 struct io_timeout *timeout; global() variable 305 struct io_timeout *timeout = io_kiocb_to_cmd(req, struct io_timeout); io_req_task_link_timeout() local 332 struct io_timeout *timeout = io_kiocb_to_cmd(req, struct io_timeout); io_link_timeout_fn() local 379 struct io_timeout *timeout; global() variable 408 struct io_timeout *timeout = io_kiocb_to_cmd(req, struct io_timeout); global() variable 496 struct io_timeout *timeout = io_kiocb_to_cmd(req, struct io_timeout); __io_timeout_prep() local 573 struct io_timeout *timeout = io_kiocb_to_cmd(req, struct io_timeout); io_timeout() local 624 struct io_timeout *timeout = io_kiocb_to_cmd(req, struct io_timeout); io_queue_linked_timeout() local 667 struct io_timeout *timeout, *tmp; io_kill_timeouts() local [all...] |
/third_party/musl/libc-test/src/functionalext/supplement/select/ |
H A D | select.c | 39 struct timeval timeout; in select_0100() local 40 timeout.tv_sec = 5; in select_0100() 41 timeout.tv_usec = 0; in select_0100() 48 result = select(2, &readfds, &writefds, 0, &timeout); in select_0100() 55 * (invalid parameter, microsecond invalid value in timeout structure) 60 struct timeval timeout; in select_0200() local 61 timeout.tv_sec = -50; in select_0200() 68 result = select(2, &readfds, &writefds, 0, &timeout); in select_0200() 80 struct timeval timeout; in select_0300() local 81 timeout in select_0300() 100 struct timeval timeout; select_time64_0100() local [all...] |
H A D | pselect.c | 61 struct timespec timeout; in pselect_normal_0100() local 62 timeout.tv_sec = 5; in pselect_normal_0100() 63 timeout.tv_nsec = 0; in pselect_normal_0100() 67 int ret = pselect(STDOUT_FILENO + 1, NULL, &set, NULL, &timeout, NULL); in pselect_normal_0100() 80 struct timespec timeout; in pselect_error_0100() local 81 timeout.tv_sec = 5; in pselect_error_0100() 82 timeout.tv_nsec = 0; in pselect_error_0100() 86 int ret = pselect(-1, NULL, &set, NULL, &timeout, NULL); in pselect_error_0100() 92 * @tc.desc : Monitor stdout file for readability (timeout) 99 struct timespec timeout; in pselect_timeout_0100() local 120 struct timespec timeout; pselect_time64_normal_0100() local [all...] |
/third_party/ltp/testcases/kernel/syscalls/select/ |
H A D | select_var.h | 22 fd_set *exceptfds, struct timeval *timeout, int faulty_to) in do_select_faulty_to() 26 return select(nfds, readfds, writefds, exceptfds, timeout); in do_select_faulty_to() 30 return tst_syscall(__NR_select, nfds, readfds, writefds, exceptfds, timeout); in do_select_faulty_to() 37 ._tvp = (long)timeout, in do_select_faulty_to() 49 ts = timeout; in do_select_faulty_to() 52 _ts.tv_sec = timeout->tv_sec; in do_select_faulty_to() 53 _ts.tv_nsec = timeout->tv_usec * 1000; in do_select_faulty_to() 58 timeout->tv_sec = _ts.tv_sec; in do_select_faulty_to() 59 timeout->tv_usec = _ts.tv_nsec / 1000; in do_select_faulty_to() 70 ts = timeout; in do_select_faulty_to() 21 do_select_faulty_to(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout, int faulty_to) do_select_faulty_to() argument 99 do_select(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout) do_select() argument [all...] |
/third_party/musl/libc-test/src/functionalext/supplement/linux/ |
H A D | ppoll.c | 35 struct timespec timeout; in ppoll_0100() local 36 timeout.tv_sec = 5; in ppoll_0100() 37 timeout.tv_nsec = 0; in ppoll_0100() 39 int ret = ppoll(pollfds, 1, &timeout, NULL); in ppoll_0100() 52 * @tc.desc : Listen to non-specified file time (timeout returns) 58 struct timespec timeout; in ppoll_0200() local 59 timeout.tv_sec = 3; in ppoll_0200() 60 timeout.tv_nsec = 0; in ppoll_0200() 62 int ret = ppoll(pollfds, 1, &timeout, NULL); in ppoll_0200() 73 struct timespec timeout; in ppoll_0300() local [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/firmware/ |
H A D | fw_fallback.sh | 30 local timeout=10 33 timeout=$(( $timeout - 1 )) 34 if [ "$timeout" -eq 0 ]; then 57 local timeout=10 60 timeout=$(( $timeout - 1 )) 61 if [ "$timeout" -eq 0 ]; then 86 local timeout=10 89 timeout [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_wait.c | 18 long timeout) in i915_gem_object_wait_fence() 23 return timeout; in i915_gem_object_wait_fence() 26 return i915_request_wait(to_request(fence), flags, timeout); in i915_gem_object_wait_fence() 30 timeout); in i915_gem_object_wait_fence() 36 long timeout) in i915_gem_object_wait_reservation() 52 timeout = i915_gem_object_wait_fence(shared[i], in i915_gem_object_wait_reservation() 53 flags, timeout); in i915_gem_object_wait_reservation() 54 if (timeout < 0) in i915_gem_object_wait_reservation() 73 prune_fences = count && timeout >= 0; in i915_gem_object_wait_reservation() 78 if (excl && timeout > in i915_gem_object_wait_reservation() 16 i915_gem_object_wait_fence(struct dma_fence *fence, unsigned int flags, long timeout) i915_gem_object_wait_fence() argument 34 i915_gem_object_wait_reservation(struct dma_resv *resv, unsigned int flags, long timeout) i915_gem_object_wait_reservation() argument 172 i915_gem_object_wait(struct drm_i915_gem_object *obj, unsigned int flags, long timeout) i915_gem_object_wait() argument [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/firmware/ |
H A D | fw_fallback.sh | 30 local timeout=10 33 timeout=$(( $timeout - 1 )) 34 if [ "$timeout" -eq 0 ]; then 57 local timeout=10 60 timeout=$(( $timeout - 1 )) 61 if [ "$timeout" -eq 0 ]; then 86 local timeout=10 89 timeout [all...] |
/third_party/mesa3d/src/util/ |
H A D | futex.h | 41 static inline long sys_futex(void *addr1, int op, int val1, const struct timespec *timeout, void *addr2, int val3) in sys_futex() argument 43 return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); in sys_futex() 51 static inline int futex_wait(uint32_t *addr, int32_t value, const struct timespec *timeout) in futex_wait() argument 54 * FUTEX_WAIT, except that it treats the timeout as absolute. */ in futex_wait() 55 return sys_futex(addr, FUTEX_WAIT_BITSET, value, timeout, NULL, in futex_wait() 75 static inline int futex_wait(uint32_t *addr, int32_t value, struct timespec *timeout) in futex_wait() argument 85 if (timeout != NULL) { in futex_wait() 86 tmo._timeout = *timeout; in futex_wait() 105 static inline int futex_wait(uint32_t *addr, int32_t value, const struct timespec *timeout) in futex_wait() argument 109 if (timeout in futex_wait() 142 futex_wait(uint32_t *addr, int32_t value, const struct timespec *timeout) futex_wait() argument [all...] |
/kernel/linux/linux-5.10/include/net/netfilter/ |
H A D | nf_conntrack_timeout.h | 25 struct nf_ct_timeout timeout; member 29 struct nf_ct_timeout __rcu *timeout; member 36 struct nf_ct_timeout *timeout; in nf_ct_timeout_data() local 38 timeout = rcu_dereference(t->timeout); in nf_ct_timeout_data() 39 if (timeout == NULL) in nf_ct_timeout_data() 42 return (unsigned int *)timeout->data; in nf_ct_timeout_data() 60 struct nf_ct_timeout *timeout, in nf_ct_timeout_ext_add() 70 rcu_assign_pointer(timeout_ext->timeout, timeout); in nf_ct_timeout_ext_add() 59 nf_ct_timeout_ext_add(struct nf_conn *ct, struct nf_ct_timeout *timeout, gfp_t gfp) nf_ct_timeout_ext_add() argument [all...] |
/third_party/musl/libc-test/src/functionalext/supplement/thread/ |
H A D | mtx_timedlock.c | 27 * @tc.desc : Provide correct parameters, test timeout and lock 32 struct timespec timeout; in mtx_timedlock_0100() local 33 timeout.tv_sec = TWO; in mtx_timedlock_0100() 34 timeout.tv_nsec = 0; in mtx_timedlock_0100() 42 ret = mtx_timedlock(&mutex, &timeout); in mtx_timedlock_0100() 60 struct timespec timeout; in mtx_timedlock_0200() local 61 timeout.tv_sec = TWO; in mtx_timedlock_0200() 62 timeout.tv_nsec = 0; in mtx_timedlock_0200() 74 ret = mtx_timedlock(&mutex, &timeout); in mtx_timedlock_0200() 86 * @tc.desc : Provide correct parameters, test timeout an 91 struct timespec timeout; mtx_timedlock_time64_0100() local [all...] |