Searched refs:ZFS_EXPORTS_FILE (Results 1 – 2 of 2) sorted by relevance
| /f-stack/freebsd/contrib/openzfs/lib/libshare/os/freebsd/ |
| H A D | nfs.c | 53 #define ZFS_EXPORTS_FILE "/etc/zfs/exports" macro 54 #define ZFS_EXPORTS_LOCK ZFS_EXPORTS_FILE".lock" 190 if (asprintf(&tmpfile, "%s%s", ZFS_EXPORTS_FILE, ".XXXXXXXX") == -1) { in nfs_init_tmpfile() 210 if (rename(tmpfile, ZFS_EXPORTS_FILE) == -1) { in nfs_fini_tmpfile() 231 FILE *oldfp = fopen(ZFS_EXPORTS_FILE, "r"); in nfs_copy_entries() 371 FILE *fp = fopen(ZFS_EXPORTS_FILE, "r"); in nfs_is_shared()
|
| /f-stack/freebsd/contrib/openzfs/lib/libshare/os/linux/ |
| H A D | nfs.c | 47 #define ZFS_EXPORTS_FILE ZFS_EXPORTS_DIR"/zfs.exports" macro 48 #define ZFS_EXPORTS_LOCK ZFS_EXPORTS_FILE".lock" 405 if (asprintf(&tmpfile, "%s%s", ZFS_EXPORTS_FILE, ".XXXXXXXX") == -1) { in nfs_init_tmpfile() 424 if (rename(tmpfile, ZFS_EXPORTS_FILE) == -1) { in nfs_fini_tmpfile() 492 FILE *oldfp = fopen(ZFS_EXPORTS_FILE, "r"); in nfs_copy_entries() 635 FILE *fp = fopen(ZFS_EXPORTS_FILE, "r"); in nfs_is_shared()
|