Searched defs:template (Results 1 - 8 of 8) sorted by relevance

/lxc/src/tests/
H A Dcgpath.c123 const char *template)
147 if (!c->createl(c, template, NULL, NULL, 0, NULL)) {
121 test_container(const char *lxcpath, const char *group, const char *name, const char *template) argument
H A Dsnapshot.c59 char *template = "busybox"; local
62 template = argv[1];
80 if (!c->createl(c, template, NULL, NULL, 0, NULL)) {
81 fprintf(stderr, "%s: %d: failed to create %s container\n", __FILE__, __LINE__, template);
H A Dconsole.c116 * @template : template to use when creating the container
120 const char *template)
143 if (!c->createl(c, template, NULL, NULL, 0, NULL)) {
118 test_console(const char *lxcpath, const char *group, const char *name, const char *template) argument
H A Dattach.c300 * @template : template to use when creating the container
304 const char *template)
326 if (!ct->createl(ct, template, NULL, NULL, 0, NULL)) {
349 static int test_attach(const char *lxcpath, const char *name, const char *template) argument
355 ct = test_ct_create(lxcpath, NULL, name, template);
302 test_ct_create(const char *lxcpath, const char *group, const char *name, const char *template) argument
H A Dconcurrent.c35 static const char *template = "busybox"; variable
40 { "template", required_argument, NULL, 't' },
55 " -t, --template=t Template to use (default: busybox)\n"
94 if (!c->create(c, template, NULL, NULL, 1, NULL)) {
166 template = optarg;
/lxc/src/lxc/
H A Dcriu.c756 char template[IFNAMSIZ]; local
761 snprintf(template, sizeof(template), "vethXXXXXX");
764 netdev->priv.veth_attr.pair = lxc_mkifname(template);
H A Dlxc_user_nic.c521 char template[IFNAMSIZ]; local
523 ret = snprintf(template, sizeof(template), "vethXXXXXX");
524 if (ret < 0 || (size_t)ret >= sizeof(template))
527 *dest = lxc_mkifname(template);
H A Dnetwork.c1507 char *lxc_mkifname(char *template) argument
1536 name = strdup(template);

Completed in 37 milliseconds