Lines Matching refs:sys_sfnode_t
44 typedef struct _sfnode sys_sfnode_t; typedef
48 sys_sfnode_t *head;
49 sys_sfnode_t *tail;
217 #define SYS_SFLIST_FLAGS_MASK ((uintptr_t)(__alignof__(sys_sfnode_t) - 1))
221 static inline sys_sfnode_t *z_sfnode_next_peek(sys_sfnode_t *node) in z_sfnode_next_peek()
223 return (sys_sfnode_t *)(node->next_and_flags & ~SYS_SFLIST_FLAGS_MASK); in z_sfnode_next_peek()
226 static inline uint8_t sys_sfnode_flags_get(sys_sfnode_t *node);
228 static inline void z_sfnode_next_set(sys_sfnode_t *parent, in z_sfnode_next_set()
229 sys_sfnode_t *child) in z_sfnode_next_set()
236 static inline void z_sflist_head_set(sys_sflist_t *list, sys_sfnode_t *node) in z_sflist_head_set()
241 static inline void z_sflist_tail_set(sys_sflist_t *list, sys_sfnode_t *node) in z_sflist_tail_set()
253 static inline sys_sfnode_t *sys_sflist_peek_head(sys_sflist_t *list) in sys_sflist_peek_head()
265 static inline sys_sfnode_t *sys_sflist_peek_tail(sys_sflist_t *list) in sys_sflist_peek_tail()
281 static inline uint8_t sys_sfnode_flags_get(sys_sfnode_t *node) in sys_sfnode_flags_get()
300 static inline void sys_sfnode_init(sys_sfnode_t *node, uint8_t flags) in sys_sfnode_init()
317 static inline void sys_sfnode_flags_set(sys_sfnode_t *node, uint8_t flags) in sys_sfnode_flags_set()
347 static inline sys_sfnode_t *sys_sflist_peek_next_no_check(sys_sfnode_t *node);
358 static inline sys_sfnode_t *sys_sflist_peek_next(sys_sfnode_t *node);
371 sys_sfnode_t *node);
384 sys_sfnode_t *node);
430 sys_sfnode_t *prev,
431 sys_sfnode_t *node);
445 static inline sys_sfnode_t *sys_sflist_get_not_empty(sys_sflist_t *list);
458 static inline sys_sfnode_t *sys_sflist_get(sys_sflist_t *list);
473 sys_sfnode_t *prev_node,
474 sys_sfnode_t *node);
489 sys_sfnode_t *node);