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

/lxc/src/tests/
H A Daa.c43 char *fnam = payload; local
46 f = fopen(fnam, "w");
63 static int do_test_file_open(struct lxc_container *c, char *fnam) argument
80 ret = c->attach(c, test_attach_write_file, fnam, &attach_options, &pid);
/lxc/src/lxc/tools/
H A Dlxc_usernsexec.c201 static int read_default_map(char *fnam, int which, char *username) argument
210 fin = fopen(fnam, "r");
/lxc/src/lxc/
H A Dlxc_user_nic.c730 static bool create_db_dir(char *fnam) argument
734 p = alloca(strlen(fnam) + 1);
735 strcpy(p, fnam);
736 fnam = p;
746 if (mkdir(fnam, 0755) && errno != EEXIST) {
747 usernic_error("Failed to create %s: %s.\n", fnam, strerror(errno));
H A Dconfile.c1837 const char *fnam; local
1841 fnam = direntp->d_name;
1842 if (!strcmp(fnam, "."))
1845 if (!strcmp(fnam, ".."))
1848 len = strlen(fnam);
1849 if (len < 6 || strncmp(fnam+len-5, ".conf", 5) != 0)
1851 len = snprintf(path, MAXPATHLEN, "%s/%s", dirp, fnam);
H A Dutils.c372 int sha1sum_file(char *fnam, unsigned char *digest) argument
379 if (!fnam)
381 f = fopen_cloexec(fnam, "r");
/lxc/src/lxc/cgroups/
H A Dcgfsng.c285 static char *read_file(char *fnam) argument
292 f = fopen(fnam, "r");

Completed in 57 milliseconds