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

/lxc/src/tests/
H A Dlxcpath.c39 const char *p1, *p2; local
47 p1 = c->get_config_path(c);
49 if (!p1 || !p2 || strncmp(p1, p2, strlen(p1))) {
60 p1 = c->get_config_path(c);
62 if (strcmp(p1, CPATH) || strcmp(p2, FPATH)) {
74 p1 = c->get_config_path(c);
76 if (strcmp(p1, CPATH) || strcmp(p2, FPATH)) {
/lxc/src/lxc/tools/
H A Dlxc_autostart.c103 int list_contains_entry( char *str_ptr, struct lxc_list *p1 ) {
110 if (! p1 && ! str_ptr)
112 if (! p1 && ! *str_ptr)
115 if (!p1)
118 lxc_list_for_each(it1, p1) {
126 int lists_contain_common_entry(struct lxc_list *p1, struct lxc_list *p2) { argument
130 if (!p1 && !p2)
133 if (!p1)
139 lxc_list_for_each(it1, p1) {
319 static int cmporder(const void *p1, cons argument
[all...]
H A Dlxc_usernsexec.c208 char *p1, *p2; local
218 p1 = strchr(line, ':');
219 if (!p1)
221 p2 = strchr(p1+1, ':');
230 newmap->hostid = atol(p1+1);
/lxc/src/lxc/bdev/
H A Dlxcoverlay.c308 char *p1 = strchr(p, ':'); local
309 if (p1)
310 *p1 = '\0';
/lxc/src/lxc/
H A Dlxc_user_nic.c350 char *p1, *p2, *ret; local
352 while ((p < e) && (p1 = get_eol(p, e)) < e) {
382 p = p1 + 1;
H A Dconfile.c2402 char *p1; local
2411 p1 = strchr(key, '.');
2412 if (!p1 || *(p1+1) == '\0') return -1;
2413 p1++;
2418 if (strcmp(p1, "name") == 0) {
2421 } else if (strcmp(p1, "type") == 0) {
2423 } else if (strcmp(p1, "link") == 0) {
2426 } else if (strcmp(p1, "flags") == 0) {
2429 } else if (strcmp(p1, "scrip
[all...]
H A Dconf.c4190 char *p1; local
4195 p1 = strchr(key, '.');
4196 if (!p1 || *(p1+1) == '\0')
4197 p1 = NULL;
4218 if (!p1) {
4220 } else if (strcmp(p1, ".ipv4") == 0) {
4227 } else if (strcmp(p1, ".ipv6") == 0) {
H A Dlxccontainer.c2401 const char *p1 = do_lxcapi_get_config_path(c); local
2402 char *path = alloca(strlen(p1) + strlen(c->name) + 2);
2403 sprintf(path, "%s/%s", p1, c->name);
2837 char *p1 = alloca(l1 + 1); local
2841 snprintf(p1, l1, "%s/%s", c1->config_path, c1->name);
2843 if (!is_btrfs_fs(p0) || !is_btrfs_fs(p1))
2849 return btrfs_same_fs(p0, p1) == 0;

Completed in 45 milliseconds