Home
last modified time | relevance | path

Searched refs:nl_list_entry (Results 1 – 2 of 2) sorted by relevance

/external/libnl/include/netlink/
Dlist.h64 #define nl_list_entry(ptr, type, member) \ macro
77 nl_list_entry((head)->next, type, member)
80 for (pos = nl_list_entry((head)->next, typeof(*pos), member); \
82 (pos) = nl_list_entry((pos)->member.next, typeof(*(pos)), member))
85 for (pos = nl_list_entry((head)->next, typeof(*pos), member), \
86 n = nl_list_entry(pos->member.next, typeof(*pos), member); \
88 pos = n, n = nl_list_entry(n->member.next, typeof(*n), member))
/external/libnl/lib/
Dcache.c124 return nl_list_entry(cache->c_items.next, in nl_cache_get_first()
137 return nl_list_entry(cache->c_items.prev, in nl_cache_get_last()
150 return nl_list_entry(obj->ce_list.next, in nl_cache_get_next()
163 return nl_list_entry(obj->ce_list.prev, in nl_cache_get_prev()