Home
last modified time | relevance | path

Searched refs:__cn (Results 1 – 4 of 4) sorted by relevance

/Zephyr-Core-2.7.6/include/sys/
Ddlist.h127 #define SYS_DLIST_CONTAINER(__dn, __cn, __n) \ argument
128 ((__dn != NULL) ? CONTAINER_OF(__dn, __typeof__(*__cn), __n) : NULL)
136 #define SYS_DLIST_PEEK_HEAD_CONTAINER(__dl, __cn, __n) \ argument
137 SYS_DLIST_CONTAINER(sys_dlist_peek_head(__dl), __cn, __n)
146 #define SYS_DLIST_PEEK_NEXT_CONTAINER(__dl, __cn, __n) \ argument
147 ((__cn != NULL) ? \
148 SYS_DLIST_CONTAINER(sys_dlist_peek_next(__dl, &(__cn->__n)), \
149 __cn, __n) : NULL)
165 #define SYS_DLIST_FOR_EACH_CONTAINER(__dl, __cn, __n) \ argument
166 for (__cn = SYS_DLIST_PEEK_HEAD_CONTAINER(__dl, __cn, __n); \
[all …]
Dlist_gen.h31 #define Z_GENLIST_CONTAINER(__ln, __cn, __n) \ argument
32 ((__ln) ? CONTAINER_OF((__ln), __typeof__(*(__cn)), __n) : NULL)
34 #define Z_GENLIST_PEEK_HEAD_CONTAINER(__lname, __l, __cn, __n) \ argument
35 Z_GENLIST_CONTAINER(sys_ ## __lname ## _peek_head(__l), __cn, __n)
37 #define Z_GENLIST_PEEK_TAIL_CONTAINER(__lname, __l, __cn, __n) \ argument
38 Z_GENLIST_CONTAINER(sys_ ## __lname ## _peek_tail(__l), __cn, __n)
40 #define Z_GENLIST_PEEK_NEXT_CONTAINER(__lname, __cn, __n) \ argument
41 ((__cn) ? Z_GENLIST_CONTAINER( \
42 sys_ ## __lname ## _peek_next(&((__cn)->__n)), \
43 __cn, __n) : NULL)
[all …]
Dslist.h116 #define SYS_SLIST_CONTAINER(__ln, __cn, __n) \ argument
117 Z_GENLIST_CONTAINER(__ln, __cn, __n)
126 #define SYS_SLIST_PEEK_HEAD_CONTAINER(__sl, __cn, __n) \ argument
127 Z_GENLIST_PEEK_HEAD_CONTAINER(slist, __sl, __cn, __n)
136 #define SYS_SLIST_PEEK_TAIL_CONTAINER(__sl, __cn, __n) \ argument
137 Z_GENLIST_PEEK_TAIL_CONTAINER(slist, __sl, __cn, __n)
145 #define SYS_SLIST_PEEK_NEXT_CONTAINER(__cn, __n) \ argument
146 Z_GENLIST_PEEK_NEXT_CONTAINER(slist, __cn, __n)
162 #define SYS_SLIST_FOR_EACH_CONTAINER(__sl, __cn, __n) \ argument
163 Z_GENLIST_FOR_EACH_CONTAINER(slist, __sl, __cn, __n)
[all …]
Dsflist.h122 #define SYS_SFLIST_CONTAINER(__ln, __cn, __n) \ argument
123 Z_GENLIST_CONTAINER(__ln, __cn, __n)
132 #define SYS_SFLIST_PEEK_HEAD_CONTAINER(__sl, __cn, __n) \ argument
133 Z_GENLIST_PEEK_HEAD_CONTAINER(sflist, __sl, __cn, __n)
142 #define SYS_SFLIST_PEEK_TAIL_CONTAINER(__sl, __cn, __n) \ argument
143 Z_GENLIST_PEEK_TAIL_CONTAINER(sflist, __sl, __cn, __n)
151 #define SYS_SFLIST_PEEK_NEXT_CONTAINER(__cn, __n) \ argument
152 Z_GENLIST_PEEK_NEXT_CONTAINER(sflist, __cn, __n)
168 #define SYS_SFLIST_FOR_EACH_CONTAINER(__sl, __cn, __n) \ argument
169 Z_GENLIST_FOR_EACH_CONTAINER(sflist, __sl, __cn, __n)
[all …]