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

/lxc/src/tests/
H A Dlist.c29 int i, n, n2; local
37 n2 = func(lxcpath, NULL, &clist);
38 if (n2 != n)
39 printf("Warning: first call returned %d, second %d\n", n, n2);
40 for (i = 0; i < n2; i++) {
45 if (n2 > 0) {
51 n2 = func(lxcpath, &names, NULL);
52 if (n2 != n)
53 printf("Warning: first call returned %d, second %d\n", n, n2);
54 for (i = 0; i < n2;
[all...]
H A Dlxc-test-cloneconfig34 n2=`grep ^$key $CONTAINER2_PATH/config | wc -l`
35 if [ $n1 -ne $n2 ]; then
38 echo "Original has $n1, clone has $n2"
/lxc/src/lxc/
H A Dlxccontainer.c1190 char **n2 = malloc(n2args * sizeof(*n2)); local
1194 if (!n2) {
1200 n2[0] = "lxc-usernsexec";
1204 n2 = realloc(n2, n2args * sizeof(char *));
1205 if (!n2)
1207 n2[n2args-2] = "-m";
1208 n2[n2args-1] = malloc(200);
1209 if (!n2[n2arg
[all...]
H A Dlxc_user_nic.c408 static int instantiate_veth(char *n1, char **n2) argument
412 err = snprintf(*n2, IFNAMSIZ, "%sp", n1);
418 err = lxc_veth_create(n1, *n2);
420 usernic_error("Failed to create %s-%s : %s.\n", n1, *n2, strerror(-err));

Completed in 18 milliseconds