/hal_espressif-3.6.0/examples/bluetooth/esp_ble_mesh/aligenie_demo/components/vendor_model/include/ |
D | genie_slist.h | 116 #define GENIE_SLIST_CONTAINER(__ln, __cn, __n) \ argument 117 ((__ln) ? CONTAINER_OF((__ln), __typeof__(*(__cn)), __n) : NULL) 125 #define GENIE_SLIST_PEEK_HEAD_CONTAINER(__sl, __cn, __n) \ argument 126 GENIE_SLIST_CONTAINER(genie_slist_peek_head(__sl), __cn, __n) 135 #define GENIE_SLIST_PEEK_TAIL_CONTAINER(__sl, __cn, __n) \ argument 136 GENIE_SLIST_CONTAINER(genie_slist_peek_tail(__sl), __cn, __n) 145 #define GENIE_SLIST_PEEK_NEXT_CONTAINER(__cn, __n) \ argument 146 ((__cn) ? GENIE_SLIST_CONTAINER(genie_slist_peek_next(&((__cn)->__n)), \ 147 __cn, __n) : NULL) 163 #define GENIE_SLIST_FOR_EACH_CONTAINER(__sl, __cn, __n) \ argument [all …]
|
D | genie_dlist.h | 119 #define GENIE_DLIST_CONTAINER(__dn, __cn, __n) \ argument 120 (__dn ? CONTAINER_OF(__dn, __typeof__(*__cn), __n) : NULL) 128 #define GENIE_DLIST_PEEK_HEAD_CONTAINER(__dl, __cn, __n) \ argument 129 GENIE_DLIST_CONTAINER(genie_dlist_peek_head(__dl), __cn, __n) 138 #define GENIE_DLIST_PEEK_NEXT_CONTAINER(__dl, __cn, __n) \ argument 139 ((__cn) ? GENIE_DLIST_CONTAINER(genie_dlist_peek_next(__dl, &(__cn->__n)), \ 140 __cn, __n) : NULL) 156 #define GENIE_DLIST_FOR_EACH_CONTAINER(__dl, __cn, __n) \ argument 157 for (__cn = GENIE_DLIST_PEEK_HEAD_CONTAINER(__dl, __cn, __n); __cn; \ 158 __cn = GENIE_DLIST_PEEK_NEXT_CONTAINER(__dl, __cn, __n)) [all …]
|
/hal_espressif-3.6.0/components/bt/esp_ble_mesh/mesh_common/include/ |
D | mesh_slist.h | 116 #define SYS_SLIST_CONTAINER(__ln, __cn, __n) \ argument 117 ((__ln) ? CONTAINER_OF((__ln), __typeof__(*(__cn)), __n) : NULL) 125 #define SYS_SLIST_PEEK_HEAD_CONTAINER(__sl, __cn, __n) \ argument 126 SYS_SLIST_CONTAINER(sys_slist_peek_head(__sl), __cn, __n) 135 #define SYS_SLIST_PEEK_TAIL_CONTAINER(__sl, __cn, __n) \ argument 136 SYS_SLIST_CONTAINER(sys_slist_peek_tail(__sl), __cn, __n) 145 #define SYS_SLIST_PEEK_NEXT_CONTAINER(__cn, __n) \ argument 146 ((__cn) ? SYS_SLIST_CONTAINER(sys_slist_peek_next(&((__cn)->__n)), \ 147 __cn, __n) : NULL) 163 #define SYS_SLIST_FOR_EACH_CONTAINER(__sl, __cn, __n) \ argument [all …]
|
D | mesh_dlist.h | 120 #define SYS_DLIST_CONTAINER(__dn, __cn, __n) \ argument 121 (__dn ? CONTAINER_OF(__dn, __typeof__(*__cn), __n) : NULL) 129 #define SYS_DLIST_PEEK_HEAD_CONTAINER(__dl, __cn, __n) \ argument 130 SYS_DLIST_CONTAINER(sys_dlist_peek_head(__dl), __cn, __n) 139 #define SYS_DLIST_PEEK_NEXT_CONTAINER(__dl, __cn, __n) \ argument 140 ((__cn) ? SYS_DLIST_CONTAINER(sys_dlist_peek_next(__dl, &(__cn->__n)), \ 141 __cn, __n) : NULL) 157 #define SYS_DLIST_FOR_EACH_CONTAINER(__dl, __cn, __n) \ argument 158 for (__cn = SYS_DLIST_PEEK_HEAD_CONTAINER(__dl, __cn, __n); __cn; \ 159 __cn = SYS_DLIST_PEEK_NEXT_CONTAINER(__dl, __cn, __n)) [all …]
|