Searched defs:ilist (Results 1 – 2 of 2) sorted by relevance
/tools/perf/util/ |
D | intlist.c | 30 static void int_node__delete(struct int_node *ilist) in int_node__delete() 51 int intlist__add(struct intlist *ilist, int i) in intlist__add() 56 void intlist__remove(struct intlist *ilist, struct int_node *node) in intlist__remove() 61 static struct int_node *__intlist__findnew(struct intlist *ilist, in __intlist__findnew() 81 struct int_node *intlist__find(struct intlist *ilist, int i) in intlist__find() 86 struct int_node *intlist__findnew(struct intlist *ilist, int i) in intlist__findnew() 91 static int intlist__parse_list(struct intlist *ilist, const char *s) in intlist__parse_list() 112 struct intlist *ilist = malloc(sizeof(*ilist)); in intlist__new() local 130 void intlist__delete(struct intlist *ilist) in intlist__delete() 136 struct int_node *intlist__entry(const struct intlist *ilist, unsigned int idx) in intlist__entry()
|
D | intlist.h | 29 static inline bool intlist__has_entry(struct intlist *ilist, int i) in intlist__has_entry() 34 static inline bool intlist__empty(const struct intlist *ilist) in intlist__empty() 39 static inline unsigned int intlist__nr_entries(const struct intlist *ilist) in intlist__nr_entries() 45 static inline struct int_node *intlist__first(struct intlist *ilist) in intlist__first() 64 #define intlist__for_each_entry(pos, ilist) \ argument 74 #define intlist__for_each_entry_safe(pos, n, ilist) \ argument
|