Searched refs:__n (Results 1 – 4 of 4) sorted by relevance
/hal_espressif-3.7.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 …]
|
/hal_espressif-3.7.0/components/bt/porting/nimble/include/os/ |
D | os.h | 43 #define OS_ALIGN(__n, __a) ( \ argument 44 (((__n) & ((__a) - 1)) == 0) ? \ 45 (__n) : \ 46 ((__n) + ((__a) - ((__n) & ((__a) - 1)))) \
|
D | os_mbuf.h | 131 #define OS_MBUF_F_MASK(__n) (1 << (__n)) argument
|