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

/lxc/src/lxc/
H A Dstate.h36 extern int lxc_wait(const char *lxcname, const char *states, int timeout, const char *lxcpath);
H A Dstate.c108 extern int lxc_wait(const char *lxcname, const char *states, int timeout, argument
130 state = lxc_getstate(lxcname, lxcpath);
166 if (strcmp(lxcname, msg.name)) {
H A Dconf.h405 extern int lxc_assign_network(const char *lxcpath, char *lxcname,
H A Dcommands.c77 static int fill_sock_name(char *path, int len, const char *lxcname, argument
86 name = lxcname;
H A Dlxc_user_nic.c67 static char *lxcpath, *lxcname; variable
486 ret = lxc_bridge_attach(lxcpath, lxcname, br, veth1buf);
957 lxcname = argv[2];
H A Dlxccontainer.c1023 /* rootfs.path or lxcpath/lxcname/rootfs */
2224 char *lxcpath = NULL, *lxcname = NULL, path[MAXPATHLEN]; local
2239 if (getline(&lxcname, &namelen, f) == -1) {
2244 strip_newline(lxcname);
2245 if ((p = lxc_container_new(lxcname, lxcpath)) == NULL) {
2247 lxcpath, lxcname);
2252 lxcpath, lxcname);
2257 free(lxcname);
H A Dconf.c3111 static int unpriv_assign_nic(const char *lxcpath, char *lxcname, argument
3165 lxcname, pidstr, netdev_link, netdev->name);
3166 execlp(LXC_USERNIC_PATH, LXC_USERNIC_PATH, lxcpath, lxcname,
3216 int lxc_assign_network(const char *lxcpath, char *lxcname, argument
3230 if (unpriv_assign_nic(lxcpath, lxcname, netdev, pid))
/lxc/src/tests/
H A Dlxc-test-usernic.in153 lxcname=b1
156 if run_cmd "$LXC_USER_NIC $lxcpath $lxcname $p1 veth usernic-br0 xx1"; then
167 if run_cmd "$LXC_USER_NIC $lxcpath $lxcname $p1 veth usernic-br1 xx1"; then
173 if ! run_cmd "$LXC_USER_NIC $lxcpath $lxcname $p1 veth usernic-br0 xx2"; then
178 if ! run_cmd "$LXC_USER_NIC $lxcpath $lxcname $p1 veth usernic-br0 xx3"; then
184 if run_cmd "$LXC_USER_NIC $lxcpath $lxcname $p1 veth usernic-br0 xx4"; then
194 if ! run_cmd "$LXC_USER_NIC $lxcpath $lxcname $p1 veth usernic-br0 xx5"; then
207 if run_cmd "$LXC_USER_NIC $lxcpath $lxcname $p2 veth usernic-br0 xx6"; then
/lxc/src/lxc/tools/
H A Dlxc_destroy.c204 char *lxcname = NULL; local
241 if (!(lxcname = strtok_r(NULL, "\n", &scratch)))
243 c1 = lxc_container_new(lxcname, lxcpath);

Completed in 489 milliseconds