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

/lxc/src/lxc/
H A Dlxccontainer.c105 static bool get_snappath_dir(struct lxc_container *c, char *snappath);
3342 static bool get_snappath_dir(struct lxc_container *c, char *snappath) argument
3349 ret = snprintf(snappath, MAXPATHLEN, "%ssnaps", c->config_path);
3352 if (dir_exists(snappath)) {
3353 ret = snprintf(snappath, MAXPATHLEN, "%ssnaps/%s", c->config_path, c->name);
3363 ret = snprintf(snappath, MAXPATHLEN, "%s/%s/snaps", c->config_path, c->name);
3373 char snappath[MAXPATHLEN], newname[20]; local
3384 if (!get_snappath_dir(c, snappath))
3387 i = get_next_index(snappath, c->name);
3389 if (mkdir_p(snappath, 075
3469 get_snapcomment_path(char* snappath, char *name) argument
3485 get_timestamp(char* snappath, char *name) argument
3517 char snappath[MAXPATHLEN], path2[MAXPATHLEN]; local
[all...]

Completed in 409 milliseconds