Lines Matching defs:tmp_links
1143 * @tmp_links: list_head the allocated links are put on
1145 * Allocate @count cgrp_cset_link structures and chain them on @tmp_links
1148 static int allocate_cgrp_cset_links(int count, struct list_head *tmp_links)
1153 INIT_LIST_HEAD(tmp_links);
1158 free_cgrp_cset_links(tmp_links);
1161 list_add(&link->cset_link, tmp_links);
1168 * @tmp_links: cgrp_cset_link objects allocated by allocate_cgrp_cset_links()
1172 static void link_css_set(struct list_head *tmp_links, struct css_set *cset,
1177 BUG_ON(list_empty(tmp_links));
1182 link = list_first_entry(tmp_links, struct cgrp_cset_link, cset_link);
1210 struct list_head tmp_links;
1234 if (allocate_cgrp_cset_links(cgroup_root_count, &tmp_links) < 0) {
1263 link_css_set(&tmp_links, cset, c);
1266 BUG_ON(!list_empty(&tmp_links));
2150 LIST_HEAD(tmp_links);
2170 ret = allocate_cgrp_cset_links(2 * css_set_count, &tmp_links);
2227 link_css_set(&tmp_links, cset, root_cgrp);
2249 free_cgrp_cset_links(&tmp_links);