Home
last modified time | relevance | path

Searched refs:ilist (Results 1 – 9 of 9) sorted by relevance

/linux/tools/perf/util/
H A Dintlist.c29 static void int_node__delete(struct int_node *ilist) in int_node__delete() argument
31 free(ilist); in int_node__delete()
55 int intlist__add(struct intlist *ilist, unsigned long i) in intlist__add() argument
57 return rblist__add_node(&ilist->rblist, (void *)i); in intlist__add()
60 void intlist__remove(struct intlist *ilist, struct int_node *node) in intlist__remove() argument
62 rblist__remove_node(&ilist->rblist, &node->rb_node); in intlist__remove()
65 static struct int_node *__intlist__findnew(struct intlist *ilist, in __intlist__findnew() argument
71 if (ilist == NULL) in __intlist__findnew()
75 rb_node = rblist__findnew(&ilist->rblist, (void *)i); in __intlist__findnew()
77 rb_node = rblist__find(&ilist->rblist, (void *)i); in __intlist__findnew()
[all …]
H A Dintlist.h21 void intlist__delete(struct intlist *ilist);
23 void intlist__remove(struct intlist *ilist, struct int_node *in);
24 int intlist__add(struct intlist *ilist, unsigned long i);
26 struct int_node *intlist__entry(const struct intlist *ilist, unsigned int idx);
27 struct int_node *intlist__find(struct intlist *ilist, unsigned long i);
28 struct int_node *intlist__findnew(struct intlist *ilist, unsigned long i);
30 static inline bool intlist__has_entry(struct intlist *ilist, unsigned long i) in intlist__has_entry() argument
32 return intlist__find(ilist, i) != NULL; in intlist__has_entry()
35 static inline bool intlist__empty(const struct intlist *ilist) in intlist__empty() argument
37 return rblist__empty(&ilist->rblist); in intlist__empty()
[all …]
H A Dsrcline.c55 struct inline_list *ilist; in inline_list__append() local
57 ilist = zalloc(sizeof(*ilist)); in inline_list__append()
58 if (ilist == NULL) in inline_list__append()
61 ilist->symbol = symbol; in inline_list__append()
62 ilist->srcline = srcline; in inline_list__append()
65 list_add_tail(&ilist->list, &node->val); in inline_list__append()
67 list_add(&ilist->list, &node->val); in inline_list__append()
1054 struct inline_list *ilist, *tmp; in inline_node__delete() local
1056 list_for_each_entry_safe(ilist, tmp, &node->val, list) { in inline_node__delete()
1057 list_del_init(&ilist->list); in inline_node__delete()
[all …]
H A Dmachine.c2858 struct inline_list *ilist; in append_inlines() local
2883 list_for_each_entry(ilist, &inline_node->val, list) { in append_inlines()
2884 ilist_ms.sym = ilist->symbol; in append_inlines()
2886 NULL, 0, 0, 0, ilist->srcline); in append_inlines()
/linux/drivers/md/
H A Ddm-cache-policy-smq.c112 struct ilist { struct
117 static void l_init(struct ilist *l) in l_init() argument
123 static struct entry *l_head(struct entry_space *es, struct ilist *l) in l_head()
128 static struct entry *l_tail(struct entry_space *es, struct ilist *l) in l_tail()
143 static bool l_empty(struct ilist *l) in l_empty()
148 static void l_add_head(struct entry_space *es, struct ilist *l, struct entry *e) in l_add_head()
164 static void l_add_tail(struct entry_space *es, struct ilist *l, struct entry *e) in l_add_tail()
180 static void l_add_before(struct entry_space *es, struct ilist *l, in l_add_before()
198 static void l_del(struct entry_space *es, struct ilist *l, struct entry *e) in l_del()
217 static struct entry *l_pop_head(struct entry_space *es, struct ilist *l) in l_pop_head()
[all …]
/linux/fs/9p/
H A Dfid.c70 hlist_for_each_entry(fid, h, ilist) { in v9fs_fid_find_inode()
98 hlist_add_head(&fid->ilist, (struct hlist_head *)&inode->i_private); in v9fs_open_fid_add()
H A Dvfs_dir.c222 hlist_del(&fid->ilist); in v9fs_dir_release()
/linux/drivers/scsi/ibmvscsi_tgt/
H A Dlibsrp.h100 struct list_head ilist; member
/linux/include/net/9p/
H A Dclient.h160 struct hlist_node ilist; member