Searched refs:ct_cnt (Results 1 - 1 of 1) sorted by relevance

/lxc/src/lxc/
H A Dlxccontainer.c4450 int i, ret, active_cnt, ct_cnt, ct_list_cnt; local
4455 ct_cnt = list_defined_containers(lxcpath, &ct_name, NULL);
4456 if (ct_cnt < 0)
4457 return ct_cnt;
4466 if (!array_contains(&ct_name, active_name[i], ct_cnt)) {
4467 if (!add_to_array(&ct_name, active_name[i], ct_cnt)) {
4471 ct_cnt++;
4480 for (i = 0, ct_list_cnt = 0; i < ct_cnt && cret; i++) {
4486 remove_from_array(&ct_name, ct_name[i], ct_cnt--);
4504 ret = ct_cnt;
[all...]

Completed in 14 milliseconds