10 #include <linux/compiler.h> 17 int i = (int)((
long)
entry);
18 struct rb_node *rc = NULL;
45 int i = (int)((
long)
entry);
65 struct rb_node *rb_node;
76 node = container_of(rb_node,
struct int_node, rb_node);
97 long value = strtol(s, &sep, 10);
99 if (*sep !=
',' && *sep !=
'\0')
105 }
while (*sep !=
'\0');
139 struct rb_node *rb_node;
143 node = container_of(rb_node,
struct int_node, rb_node);
void intlist__delete(struct intlist *ilist)
int intlist__add(struct intlist *ilist, int i)
void rblist__delete(struct rblist *rblist)
int(* node_cmp)(struct rb_node *rbn, const void *entry)
void(* node_delete)(struct rblist *rblist, struct rb_node *rb_node)
struct rb_node * rblist__find(struct rblist *rblist, const void *entry)
struct int_node * intlist__find(struct intlist *ilist, int i)
struct rb_node * rblist__entry(const struct rblist *rblist, unsigned int idx)
struct rb_node * rblist__findnew(struct rblist *rblist, const void *entry)
void intlist__remove(struct intlist *ilist, struct int_node *node)
static int entry(u64 ip, struct unwind_info *ui)
struct int_node * intlist__findnew(struct intlist *ilist, int i)
static struct rb_node * intlist__node_new(struct rblist *rblist __maybe_unused, const void *entry)
static void intlist__node_delete(struct rblist *rblist __maybe_unused, struct rb_node *rb_node)
struct int_node * intlist__entry(const struct intlist *ilist, unsigned int idx)
struct rb_node *(* node_new)(struct rblist *rlist, const void *new_entry)
struct intlist * intlist__new(const char *slist)
void rblist__init(struct rblist *rblist)
static int intlist__parse_list(struct intlist *ilist, const char *s)
static void int_node__delete(struct int_node *ilist)
int rblist__add_node(struct rblist *rblist, const void *new_entry)
static struct int_node * __intlist__findnew(struct intlist *ilist, int i, bool create)
void rblist__remove_node(struct rblist *rblist, struct rb_node *rb_node)
static int intlist__node_cmp(struct rb_node *rb_node, const void *entry)