Home
last modified time | relevance | path

Searched refs:_timeout (Results 1 – 25 of 28) sorted by relevance

12

/Zephyr-latest/kernel/include/
Dtimeout_q.h25 static inline void z_init_timeout(struct _timeout *to) in z_init_timeout()
30 void z_add_timeout(struct _timeout *to, _timeout_func_t fn,
33 int z_abort_timeout(struct _timeout *to);
35 static inline bool z_is_inactive_timeout(const struct _timeout *to) in z_is_inactive_timeout()
45 extern void z_thread_timeout(struct _timeout *timeout);
59 k_ticks_t z_timeout_remaining(const struct _timeout *timeout);
/Zephyr-latest/kernel/
Dtimeout.c39 static struct _timeout *first(void) in first()
43 return (t == NULL) ? NULL : CONTAINER_OF(t, struct _timeout, node); in first()
46 static struct _timeout *next(struct _timeout *t) in next()
50 return (n == NULL) ? NULL : CONTAINER_OF(n, struct _timeout, node); in next()
53 static void remove_timeout(struct _timeout *t) in remove_timeout()
85 struct _timeout *to = first(); in next_timeout()
99 void z_add_timeout(struct _timeout *to, _timeout_func_t fn, in z_add_timeout()
114 struct _timeout *t; in z_add_timeout()
144 int z_abort_timeout(struct _timeout *to) in z_abort_timeout()
159 static k_ticks_t timeout_rem(const struct _timeout *timeout) in timeout_rem()
[all …]
Dtimeslicing.c13 static struct _timeout slice_timeouts[CONFIG_MP_MAX_NUM_CPUS];
54 static void slice_timeout(struct _timeout *timeout) in slice_timeout()
Dtimer.c27 void z_timer_expiration_handler(struct _timeout *t) in z_timer_expiration_handler()
Dpoll.c593 static void triggered_work_expiration_handler(struct _timeout *timeout) in triggered_work_expiration_handler()
Dwork.c864 static void work_timeout(struct _timeout *to) in work_timeout()
/Zephyr-latest/include/zephyr/shell/
Dshell_log_backend.h70 #define Z_SHELL_LOG_BACKEND_DEFINE(_name, _buf, _size, _queue_size, _timeout) \ argument
89 .timeout = _timeout, \
96 #define Z_SHELL_LOG_BACKEND_DEFINE(_name, _buf, _size, _queue_size, _timeout) argument
/Zephyr-latest/include/zephyr/bluetooth/
Dgap.h928 #define BT_GAP_MS_TO_PER_ADV_SYNC_TIMEOUT(_timeout) ((uint16_t)((_timeout) / 10U)) argument
938 #define BT_GAP_US_TO_PER_ADV_SYNC_TIMEOUT(_timeout) \ argument
939 (BT_GAP_MS_TO_PER_ADV_SYNC_TIMEOUT((_timeout) / USEC_PER_MSEC))
1015 #define BT_GAP_MS_TO_CONN_TIMEOUT(_timeout) ((uint16_t)((_timeout) / 10U)) argument
1025 #define BT_GAP_US_TO_CONN_TIMEOUT(_timeout) (BT_GAP_MS_TO_CONN_TIMEOUT((_timeout) / USEC_PER_MSEC)) argument
Dbluetooth.h1173 #define BT_LE_EXT_ADV_START_PARAM_INIT(_timeout, _n_evts) \ argument
1175 .timeout = (_timeout), \
1185 #define BT_LE_EXT_ADV_START_PARAM(_timeout, _n_evts) \ argument
1187 BT_LE_EXT_ADV_START_PARAM_INIT((_timeout), (_n_evts)) \
/Zephyr-latest/include/zephyr/
Dkernel_structs.h293 struct _timeout;
294 typedef void (*_timeout_func_t)(struct _timeout *t);
296 struct _timeout { struct
Dnet_buf.h1349 #define net_buf_alloc_fixed(_pool, _timeout) \ argument
1350 net_buf_alloc_fixed_debug(_pool, _timeout, __func__, __LINE__)
1391 #define net_buf_alloc_len(_pool, _size, _timeout) \ argument
1392 net_buf_alloc_len_debug(_pool, _size, _timeout, __func__, __LINE__)
1428 #define net_buf_alloc_with_data(_pool, _data_, _size, _timeout) \ argument
1429 net_buf_alloc_with_data_debug(_pool, _data_, _size, _timeout, \
1453 #define net_buf_get(_fifo, _timeout) \ argument
1454 net_buf_get_debug(_fifo, _timeout, __func__, __LINE__)
Dkernel.h695 k_ticks_t z_timeout_expires(const struct _timeout *timeout);
696 k_ticks_t z_timeout_remaining(const struct _timeout *timeout);
1555 struct _timeout timeout;
4038 struct _timeout timeout;
4409 struct _timeout timeout;
6163 void z_timer_expiration_handler(struct _timeout *timeout);
/Zephyr-latest/samples/kernel/metairq_dispatch/src/
Dmsgdev.c17 static struct _timeout timeout;
54 static void dev_timer_expired(struct _timeout *t) in dev_timer_expired()
/Zephyr-latest/tests/bluetooth/audio/mocks/include/
Dmock_kernel.h17 DECLARE_FAKE_VALUE_FUNC(k_ticks_t, z_timeout_remaining, const struct _timeout *);
/Zephyr-latest/tests/bluetooth/host/id/mocks/
Dkernel.c11 DEFINE_FAKE_VALUE_FUNC(k_ticks_t, z_timeout_remaining, const struct _timeout *);
Dkernel.h18 DECLARE_FAKE_VALUE_FUNC(k_ticks_t, z_timeout_remaining, const struct _timeout *);
/Zephyr-latest/include/zephyr/net/
Dnet_pkt.h1840 #define net_pkt_alloc(_timeout) \ argument
1841 net_pkt_alloc_debug(_timeout, __func__, __LINE__)
1846 #define net_pkt_alloc_from_slab(_slab, _timeout) \ argument
1847 net_pkt_alloc_from_slab_debug(_slab, _timeout, __func__, __LINE__)
1851 #define net_pkt_rx_alloc(_timeout) \ argument
1852 net_pkt_rx_alloc_debug(_timeout, __func__, __LINE__)
1858 #define net_pkt_alloc_on_iface(_iface, _timeout) \ argument
1859 net_pkt_alloc_on_iface_debug(_iface, _timeout, __func__, __LINE__)
1865 #define net_pkt_rx_alloc_on_iface(_iface, _timeout) \ argument
1866 net_pkt_rx_alloc_on_iface_debug(_iface, _timeout, \
[all …]
/Zephyr-latest/tests/kernel/timer/timer_error_case/src/
Dmain.c328 extern void z_add_timeout(struct _timeout *to, _timeout_func_t fn,
330 static void test_timer_handle(struct _timeout *t) in test_timer_handle()
337 struct _timeout tm; in ZTEST_USER()
/Zephyr-latest/subsys/bluetooth/host/
Dconn_internal.h541 #define bt_conn_create_pdu_timeout(_pool, _reserve, _timeout) \ argument
542 bt_conn_create_pdu_timeout_debug(_pool, _reserve, _timeout, \
562 #define bt_conn_create_frag_timeout(_reserve, _timeout) \ argument
563 bt_conn_create_frag_timeout_debug(_reserve, _timeout, \
/Zephyr-latest/scripts/pylib/pytest-twister-harness/src/twister_harness/device/
Dfifo_handler.py36 self._timeout = timeout
73 timeout_time: float = time.time() + self._timeout
/Zephyr-latest/scripts/ci/
Dguideline_check.py98 _timeout=10,
/Zephyr-latest/tests/bluetooth/audio/mocks/src/
Dkernel.c22 DEFINE_FAKE_VALUE_FUNC(k_ticks_t, z_timeout_remaining, const struct _timeout *);
/Zephyr-latest/include/zephyr/kernel/
Dthread.h136 struct _timeout timeout;
/Zephyr-latest/scripts/coccinelle/
Dms_timeout.cocci27 |tty_set_(tx|rx)_timeout
/Zephyr-latest/tests/net/lib/lwm2m/interop/pytest/
Dleshan.py443 self._timeout = timeout
451 timeout = time.time() + self._timeout

12