Home
last modified time | relevance | path

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

12

/Zephyr-Core-3.5.0/include/zephyr/sys/
Ddlist.h51 typedef struct _dnode sys_dlist_t; typedef
203 static inline void sys_dlist_init(sys_dlist_t *list) in sys_dlist_init()
248 static inline bool sys_dlist_is_head(sys_dlist_t *list, sys_dnode_t *node) in sys_dlist_is_head()
262 static inline bool sys_dlist_is_tail(sys_dlist_t *list, sys_dnode_t *node) in sys_dlist_is_tail()
275 static inline bool sys_dlist_is_empty(sys_dlist_t *list) in sys_dlist_is_empty()
290 static inline bool sys_dlist_has_multiple_nodes(sys_dlist_t *list) in sys_dlist_has_multiple_nodes()
303 static inline sys_dnode_t *sys_dlist_peek_head(sys_dlist_t *list) in sys_dlist_peek_head()
318 static inline sys_dnode_t *sys_dlist_peek_head_not_empty(sys_dlist_t *list) in sys_dlist_peek_head_not_empty()
334 static inline sys_dnode_t *sys_dlist_peek_next_no_check(sys_dlist_t *list, in sys_dlist_peek_next_no_check()
350 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-Core-3.5.0/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-Core-3.5.0/include/zephyr/kernel/internal/
Dsched_priq.h34 struct k_thread *z_priq_dumb_best(sys_dlist_t *pq);
35 void z_priq_dumb_remove(sys_dlist_t *pq, struct k_thread *thread);
54 sys_dlist_t queues[32];
/Zephyr-Core-3.5.0/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-Core-3.5.0/include/zephyr/
Dkernel_structs.h91 sys_dlist_t runq;
242 sys_dlist_t waitq;
/Zephyr-Core-3.5.0/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-Core-3.5.0/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);
Dsched.c172 static ALWAYS_INLINE struct k_thread *_priq_dumb_mask_best(sys_dlist_t *pq) in _priq_dumb_mask_best()
189 static ALWAYS_INLINE void z_priq_dumb_add(sys_dlist_t *pq, in z_priq_dumb_add()
1161 void z_priq_dumb_remove(sys_dlist_t *pq, struct k_thread *thread) in z_priq_dumb_remove()
1170 struct k_thread *z_priq_dumb_best(sys_dlist_t *pq) in z_priq_dumb_best()
1279 sys_dlist_t *l = &pq->queues[__builtin_ctz(pq->bitmask)]; in z_priq_mq_best()
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-Core-3.5.0/include/zephyr/shell/
Dshell_history.h23 sys_dlist_t list;
/Zephyr-Core-3.5.0/include/zephyr/usb/
Dusbh.h46 sys_dlist_t peripherals;
Dusbd.h173 sys_dlist_t descriptors;
/Zephyr-Core-3.5.0/include/zephyr/app_memory/
Dmem_domain.h87 sys_dlist_t mem_domain_q;
/Zephyr-Core-3.5.0/include/zephyr/drivers/usb/
Duhc.h173 sys_dlist_t ctrl_xfers;
175 sys_dlist_t bulk_xfers;
/Zephyr-Core-3.5.0/drivers/usb/uvb/
Duvb.h119 sys_dlist_t list;
/Zephyr-Core-3.5.0/kernel/include/
Dkernel_internal.h234 void z_handle_obj_poll_events(sys_dlist_t *events, uint32_t state);
/Zephyr-Core-3.5.0/drivers/disk/nvme/
Dnvme_cmd.c19 static sys_dlist_t free_prp_list;
22 static sys_dlist_t free_request;
23 static sys_dlist_t pending_request;
/Zephyr-Core-3.5.0/lib/posix/
Dpthread.c47 static sys_dlist_t ready_q = SYS_DLIST_STATIC_INIT(&ready_q);
48 static sys_dlist_t run_q = SYS_DLIST_STATIC_INIT(&run_q);
49 static sys_dlist_t done_q = SYS_DLIST_STATIC_INIT(&done_q);
321 sys_dlist_t recyclables = SYS_DLIST_STATIC_INIT(&recyclables); in posix_thread_recycle()
/Zephyr-Core-3.5.0/subsys/disk/
Ddisk_access.c21 static sys_dlist_t disk_access_list = SYS_DLIST_STATIC_INIT(&disk_access_list);
/Zephyr-Core-3.5.0/doc/kernel/data_structures/
Ddlist.rst14 A :c:struct:`sys_dlist_t` struct may be instantiated by the user in any
53 Internally, the dlist implementation is minimal: the :c:struct:`sys_dlist_t`
/Zephyr-Core-3.5.0/subsys/bluetooth/services/ots/
Dots_obj_manager.c29 sys_dlist_t list;
/Zephyr-Core-3.5.0/subsys/portability/cmsis_rtos_v2/
Dthread.c27 static sys_dlist_t thread_list;
/Zephyr-Core-3.5.0/subsys/fs/
Dfs.c25 static sys_dlist_t fs_mnt_list;

12