Home
last modified time | relevance | path

Searched refs:sys_dlist_t (Results 1 – 25 of 30) sorted by relevance

12

/Zephyr-latest/include/zephyr/sys/
Ddlist.h50 typedef struct _dnode sys_dlist_t; typedef
202 static inline void sys_dlist_init(sys_dlist_t *list) in sys_dlist_init()
247 static inline bool sys_dlist_is_head(sys_dlist_t *list, sys_dnode_t *node) in sys_dlist_is_head()
261 static inline bool sys_dlist_is_tail(sys_dlist_t *list, sys_dnode_t *node) in sys_dlist_is_tail()
274 static inline bool sys_dlist_is_empty(sys_dlist_t *list) in sys_dlist_is_empty()
289 static inline bool sys_dlist_has_multiple_nodes(sys_dlist_t *list) in sys_dlist_has_multiple_nodes()
302 static inline sys_dnode_t *sys_dlist_peek_head(sys_dlist_t *list) in sys_dlist_peek_head()
317 static inline sys_dnode_t *sys_dlist_peek_head_not_empty(sys_dlist_t *list) in sys_dlist_peek_head_not_empty()
333 static inline sys_dnode_t *sys_dlist_peek_next_no_check(sys_dlist_t *list, in sys_dlist_peek_next_no_check()
349 static inline sys_dnode_t *sys_dlist_peek_next(sys_dlist_t *list, in sys_dlist_peek_next()
[all …]
Dp4wq.h40 sys_dlist_t dlnode;
73 sys_dlist_t active;
/Zephyr-latest/lib/hash/
Dhash_map_sc.c35 sys_dlist_t *buckets = map->data->buckets; in sys_hashmap_sc_insert_entry()
42 static void sys_hashmap_sc_insert_all(struct sys_hashmap *map, sys_dlist_t *list) in sys_hashmap_sc_insert_all()
53 static void sys_hashmap_sc_to_list(struct sys_hashmap *map, sys_dlist_t *list) in sys_hashmap_sc_to_list()
55 sys_dlist_t *bucket; in sys_hashmap_sc_to_list()
57 sys_dlist_t *buckets = map->data->buckets; in sys_hashmap_sc_to_list()
73 sys_dlist_t list; in sys_hashmap_sc_rehash()
74 sys_dlist_t *bucket; in sys_hashmap_sc_rehash()
76 sys_dlist_t *new_buckets; in sys_hashmap_sc_rehash()
86 new_buckets = (sys_dlist_t *)map->alloc_func(map->data->buckets, in sys_hashmap_sc_rehash()
99 bucket = &((sys_dlist_t *)(map->data->buckets))[i]; in sys_hashmap_sc_rehash()
[all …]
/Zephyr-latest/kernel/include/
Dpriority_q.h62 static ALWAYS_INLINE void z_priq_dumb_init(sys_dlist_t *pq) in z_priq_dumb_init()
67 static ALWAYS_INLINE void z_priq_dumb_remove(sys_dlist_t *pq, struct k_thread *thread) in z_priq_dumb_remove()
74 static ALWAYS_INLINE struct k_thread *z_priq_dumb_best(sys_dlist_t *pq) in z_priq_dumb_best()
147 sys_dlist_t *l = &pq->queues[i * 64 + u64_count_trailing_zeros(pq->bitmask[i])]; in z_priq_mq_best()
149 sys_dlist_t *l = &pq->queues[i * 32 + u32_count_trailing_zeros(pq->bitmask[i])]; in z_priq_mq_best()
213 static ALWAYS_INLINE struct k_thread *z_priq_dumb_mask_best(sys_dlist_t *pq) in z_priq_dumb_mask_best()
231 static ALWAYS_INLINE void z_priq_dumb_add(sys_dlist_t *pq, in z_priq_dumb_add()
Dkernel_internal.h224 void z_handle_obj_poll_events(sys_dlist_t *events, uint32_t state);
/Zephyr-latest/include/zephyr/
Dkernel_structs.h123 sys_dlist_t queues[K_NUM_THREAD_PRIO];
134 sys_dlist_t runq;
285 sys_dlist_t waitq;
/Zephyr-latest/tests/benchmarks/data_structure_perf/dlist_perf/src/
Ddlist_perf.c18 static sys_dlist_t test_list;
188 sys_dlist_t list; in ZTEST()
224 sys_dlist_t list; in ZTEST()
225 sys_dlist_t node[10]; in ZTEST()
/Zephyr-latest/modules/nrf_wifi/os/
Dshim.h53 sys_dlist_t head;
/Zephyr-latest/tests/unit/list/
Ddlist.c10 static sys_dlist_t test_list;
22 static inline bool verify_emptyness(sys_dlist_t *list) in verify_emptyness()
84 static inline bool verify_content_amount(sys_dlist_t *list, int amount) in verify_content_amount()
147 static inline bool verify_tail_head(sys_dlist_t *list, in verify_tail_head()
/Zephyr-latest/kernel/
Dpipes.c25 sys_dlist_t *list;
247 static size_t pipe_waiter_list_populate(sys_dlist_t *list, in pipe_waiter_list_populate()
268 static size_t pipe_buffer_list_populate(sys_dlist_t *list, in pipe_buffer_list_populate()
326 static size_t pipe_write(struct k_pipe *pipe, sys_dlist_t *src_list, in pipe_write()
327 sys_dlist_t *dest_list, bool *reschedule) in pipe_write()
387 sys_dlist_t dest_list; in z_impl_k_pipe_put()
388 sys_dlist_t src_list; in z_impl_k_pipe_put()
536 sys_dlist_t src_list; in pipe_get_internal()
629 sys_dlist_t pipe_list; in pipe_get_internal()
Dtimeout.c17 static sys_dlist_t timeout_list = SYS_DLIST_STATIC_INIT(&timeout_list);
Dpoll.c112 static inline void add_event(sys_dlist_t *events, struct k_poll_event *event, in add_event()
467 void z_handle_obj_poll_events(sys_dlist_t *events, uint32_t state) in z_handle_obj_poll_events()
/Zephyr-latest/include/zephyr/shell/
Dshell_history.h23 sys_dlist_t list;
/Zephyr-latest/include/zephyr/app_memory/
Dmem_domain.h87 sys_dlist_t mem_domain_q;
/Zephyr-latest/include/zephyr/usb/
Dusbh.h46 sys_dlist_t peripherals;
Dusbd.h293 sys_dlist_t descriptors;
299 sys_dlist_t vreqs;
/Zephyr-latest/include/zephyr/drivers/usb/
Duhc.h175 sys_dlist_t ctrl_xfers;
177 sys_dlist_t bulk_xfers;
/Zephyr-latest/drivers/usb/uvb/
Duvb.h119 sys_dlist_t list;
/Zephyr-latest/drivers/disk/nvme/
Dnvme_cmd.c22 static sys_dlist_t free_prp_list;
25 static sys_dlist_t free_request;
26 static sys_dlist_t pending_request;
/Zephyr-latest/doc/kernel/data_structures/
Ddlist.rst14 A :c:type:`sys_dlist_t` struct may be instantiated by the user in any
53 Internally, the dlist implementation is minimal: the :c:type:`sys_dlist_t`
/Zephyr-latest/subsys/bluetooth/services/ots/
Dots_obj_manager.c29 sys_dlist_t list;
/Zephyr-latest/subsys/disk/
Ddisk_access.c22 static sys_dlist_t disk_access_list = SYS_DLIST_STATIC_INIT(&disk_access_list);
/Zephyr-latest/lib/posix/options/
Dshm.c27 static sys_dlist_t shm_list = SYS_DLIST_STATIC_INIT(&shm_list);
Dpthread.c86 static sys_dlist_t posix_thread_q[] = {
539 sys_dlist_t recyclables = SYS_DLIST_STATIC_INIT(&recyclables); in posix_thread_recycle()
/Zephyr-latest/subsys/portability/cmsis_rtos_v2/
Dthread.c27 static sys_dlist_t thread_list;

12