Lines Matching refs:list
199 static inline void sys_slist_init(sys_slist_t *list) in sys_slist_init() argument
201 list->head = NULL; in sys_slist_init()
202 list->tail = NULL; in sys_slist_init()
221 static inline void z_slist_head_set(sys_slist_t *list, sys_snode_t *node) in z_slist_head_set() argument
223 list->head = node; in z_slist_head_set()
226 static inline void z_slist_tail_set(sys_slist_t *list, sys_snode_t *node) in z_slist_tail_set() argument
228 list->tail = node; in z_slist_tail_set()
238 static inline sys_snode_t *sys_slist_peek_head(sys_slist_t *list) in sys_slist_peek_head() argument
240 return list->head; in sys_slist_peek_head()
250 static inline sys_snode_t *sys_slist_peek_tail(sys_slist_t *list) in sys_slist_peek_tail() argument
252 return list->tail; in sys_slist_peek_tail()
266 static inline bool sys_slist_is_empty(sys_slist_t *list);
302 static inline void sys_slist_prepend(sys_slist_t *list,
315 static inline void sys_slist_append(sys_slist_t *list,
333 static inline void sys_slist_append_list(sys_slist_t *list,
347 static inline void sys_slist_merge_slist(sys_slist_t *list,
361 static inline void sys_slist_insert(sys_slist_t *list,
377 static inline sys_snode_t *sys_slist_get_not_empty(sys_slist_t *list);
390 static inline sys_snode_t *sys_slist_get(sys_slist_t *list);
404 static inline void sys_slist_remove(sys_slist_t *list,
420 static inline bool sys_slist_find_and_remove(sys_slist_t *list,
434 static inline bool sys_slist_find(sys_slist_t *list, sys_snode_t *node,
445 static inline size_t sys_slist_len(sys_slist_t *list);