Lines Matching full:foo
36 * We need to keep a list of struct foo in the parent struct bar, i.e. what
41 * struct foo *list_of_foos; -----> struct foo {}, struct foo {}, struct foo{}
54 * struct foo {
68 * struct foo *foo = malloc(...);
70 * list_add(&foo->entry, &bar.list_of_foos);
74 * list_del(&foo->entry);
75 * free(foo);
80 * Looping through the list requires a 'struct foo' as iterator and the
83 * struct foo *iterator;
92 * struct foo *iterator, *next;
152 * struct foo *newfoo = malloc(...);
173 * struct foo *newfoo = malloc(...);
202 * list_del(&foo->entry);
244 * struct foo* f;
245 * f = container_of(&foo->entry, struct foo, entry);
246 * assert(f == foo);
268 * struct foo *first;
269 * first = list_first_entry(&bar->list_of_foos, struct foo, list_of_foos);
283 * struct foo *first;
284 * first = list_last_entry(&bar->list_of_foos, struct foo, list_of_foos);
301 * struct foo *iterator;