Lines Matching refs:nl_object
78 int nl_cache_nitems_filter(struct nl_cache *cache, struct nl_object *filter) in nl_cache_nitems_filter()
80 struct nl_object *obj; in nl_cache_nitems_filter()
119 struct nl_object *nl_cache_get_first(struct nl_cache *cache) in nl_cache_get_first()
125 struct nl_object, ce_list); in nl_cache_get_first()
132 struct nl_object *nl_cache_get_last(struct nl_cache *cache) in nl_cache_get_last()
138 struct nl_object, ce_list); in nl_cache_get_last()
145 struct nl_object *nl_cache_get_next(struct nl_object *obj) in nl_cache_get_next()
151 struct nl_object, ce_list); in nl_cache_get_next()
158 struct nl_object *nl_cache_get_prev(struct nl_object *obj) in nl_cache_get_prev()
164 struct nl_object, ce_list); in nl_cache_get_prev()
298 struct nl_object *filter) in nl_cache_subset()
301 struct nl_object *obj; in nl_cache_subset()
341 struct nl_object *obj; in nl_cache_clone()
368 struct nl_object *obj, *tmp; in nl_cache_clear()
434 static int __cache_add(struct nl_cache *cache, struct nl_object *obj) in __cache_add()
479 int nl_cache_add(struct nl_cache *cache, struct nl_object *obj) in nl_cache_add()
481 struct nl_object *new; in nl_cache_add()
523 int nl_cache_move(struct nl_cache *cache, struct nl_object *obj) in nl_cache_move()
551 void nl_cache_remove(struct nl_object *obj) in nl_cache_remove()
711 static int pickup_cb(struct nl_object *c, struct nl_parser_param *p) in pickup_cb()
714 struct nl_object *old; in pickup_cb()
756 static int cache_include(struct nl_cache *cache, struct nl_object *obj, in cache_include()
759 struct nl_object *old; in cache_include()
806 int nl_cache_include(struct nl_cache *cache, struct nl_object *obj, in nl_cache_include()
826 static int resync_cb(struct nl_object *c, struct nl_parser_param *p) in resync_cb()
836 struct nl_object *obj, *next; in nl_cache_resync()
1004 static struct nl_object *__cache_fast_lookup(struct nl_cache *cache, in __cache_fast_lookup()
1005 struct nl_object *needle) in __cache_fast_lookup()
1007 struct nl_object *obj; in __cache_fast_lookup()
1033 struct nl_object *nl_cache_search(struct nl_cache *cache, in nl_cache_search()
1034 struct nl_object *needle) in nl_cache_search()
1036 struct nl_object *obj; in nl_cache_search()
1068 struct nl_object *nl_cache_find(struct nl_cache *cache, in nl_cache_find()
1069 struct nl_object *filter) in nl_cache_find()
1071 struct nl_object *obj; in nl_cache_find()
1099 struct nl_object *obj; in nl_cache_mark_all()
1138 struct nl_object *filter) in nl_cache_dump_filter()
1142 struct nl_object *obj; in nl_cache_dump_filter()
1186 void (*cb)(struct nl_object *, void *), void *arg) in nl_cache_foreach() argument
1202 void nl_cache_foreach_filter(struct nl_cache *cache, struct nl_object *filter, in nl_cache_foreach_filter()
1203 void (*cb)(struct nl_object *, void *), void *arg) in nl_cache_foreach_filter() argument
1205 struct nl_object *obj, *tmp; in nl_cache_foreach_filter()