Searched refs:nl_list_entry (Results 1 – 2 of 2) sorted by relevance
/external/libnl/include/netlink/ |
D | list.h | 66 #define nl_list_entry(ptr, type, member) \ macro 79 nl_list_entry((head)->next, type, member) 82 for (pos = nl_list_entry((head)->next, __typeof__(*pos), member); \ 84 (pos) = nl_list_entry((pos)->member.next, __typeof__(*(pos)), member)) 87 for (pos = nl_list_entry((head)->next, __typeof__(*pos), member), \ 88 n = nl_list_entry(pos->member.next, __typeof__(*pos), member); \ 90 pos = n, n = nl_list_entry(n->member.next, __typeof__(*n), member))
|
/external/libnl/lib/ |
D | cache.c | 125 return nl_list_entry(cache->c_items.next, in nl_cache_get_first() 138 return nl_list_entry(cache->c_items.prev, in nl_cache_get_last() 151 return nl_list_entry(obj->ce_list.next, in nl_cache_get_next() 164 return nl_list_entry(obj->ce_list.prev, in nl_cache_get_prev()
|