Searched defs:src_path (Results 1 - 2 of 2) sorted by relevance

/lxc/src/python-lxc/
H A Dlxc.c621 static char *kwlist[] = {"src_path", "dest_path", NULL};
622 char *src_path = NULL; local
633 src_path = PyBytes_AS_STRING(py_src_path);
634 assert(src_path != NULL);
642 if (self->container->add_device_node(self->container, src_path,
1215 static char *kwlist[] = {"src_path", "dest_path", NULL};
1216 char *src_path = NULL; local
1227 src_path = PyBytes_AS_STRING(py_src_path);
1228 assert(src_path != NULL);
1236 if (self->container->remove_device_node(self->container, src_path,
[all...]
/lxc/src/lxc/
H A Dlxccontainer.c3803 static bool add_remove_device_node(struct lxc_container *c, const char *src_path, const char *dest_path, bool add) argument
3816 /* use src_path if dest_path is NULL otherwise use dest_path */
3817 p = dest_path ? dest_path : src_path;
3854 static bool do_lxcapi_add_device_node(struct lxc_container *c, const char *src_path, const char *dest_path) argument
3860 return add_remove_device_node(c, src_path, dest_path, true);
3865 static bool do_lxcapi_remove_device_node(struct lxc_container *c, const char *src_path, const char *dest_path) argument
3871 return add_remove_device_node(c, src_path, dest_path, false);

Completed in 29 milliseconds