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

/lxc/src/include/
H A Dlxcmntent.h25 struct mntent struct
35 extern struct mntent *getmntent (FILE *stream);
36 extern struct mntent *getmntent_r (FILE *stream, struct mntent *mp, char *buffer, int bufsiz);
48 extern char *hasmntopt (const struct mntent *mnt, const char *opt);
/lxc/src/lxc/bdev/
H A Dlxcaufs.c352 int aufs_mkdir(const struct mntent *mntent, const struct lxc_rootfs *rootfs, argument
373 opts = lxc_string_split(mntent->mnt_opts, ',');
H A Dlxcoverlay.c485 int ovl_mkdir(const struct mntent *mntent, const struct lxc_rootfs *rootfs, argument
506 opts = lxc_string_split(mntent->mnt_opts, ',');
/lxc/src/lxc/
H A Dcriu.c51 #include <mntent.h>
136 struct mntent mntent; local
336 while (getmntent_r(mnts, &mntent, buf, sizeof(buf))) {
341 if (parse_mntopts(mntent.mnt_opts, &flags, &mntdata) < 0)
352 key = mntent.mnt_dir;
353 val = mntent.mnt_dir;
356 key = mntent.mnt_dir;
357 val = mntent.mnt_fsname;
H A Dconf.c103 #include <mntent.h>
1832 static void cull_mntent_opt(struct mntent *mntent) argument
1842 if (!(p = strstr(mntent->mnt_opts, list[i])))
1854 static int mount_entry_create_dir_file(const struct mntent *mntent, argument
1862 if (strncmp(mntent->mnt_type, "overlay", 7) == 0) {
1863 if (ovl_mkdir(mntent, rootfs, lxc_name, lxc_path) < 0)
1865 } else if (strncmp(mntent->mnt_type, "aufs", 4) == 0) {
1866 if (aufs_mkdir(mntent, rootf
1897 mount_entry_on_generic(struct mntent *mntent, const char* path, const struct lxc_rootfs *rootfs, const char *lxc_name, const char *lxc_path) argument
1930 mount_entry_on_systemfs(struct mntent *mntent) argument
1950 mount_entry_on_absolute_rootfs(struct mntent *mntent, const struct lxc_rootfs *rootfs, const char *lxc_name, const char *lxc_path) argument
1998 mount_entry_on_relative_rootfs(struct mntent *mntent, const struct lxc_rootfs *rootfs, const char *lxc_name, const char *lxc_path) argument
2019 struct mntent mntent; local
[all...]

Completed in 214 milliseconds