summaryrefslogtreecommitdiff
path: root/conf/fh_dref
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2016-08-31 00:08:49 +0000
committerCy Schubert <cy@FreeBSD.org>2016-08-31 00:08:49 +0000
commitca57057f598bfc7119f79f71bf38ec88244ab396 (patch)
tree051f78ef258707b493cc7cb21569b6949915f6c7 /conf/fh_dref
parente66b16bf080ead1c51f321eaf56710c771778706 (diff)
downloadsrc-test2-vendor/amd/6.2.tar.gz
src-test2-vendor/amd/6.2.zip
Diffstat (limited to 'conf/fh_dref')
-rw-r--r--conf/fh_dref/fh_dref_aix3.h2
-rw-r--r--conf/fh_dref/fh_dref_aix42.h2
-rw-r--r--conf/fh_dref/fh_dref_bsd44.h2
-rw-r--r--conf/fh_dref/fh_dref_default.h2
-rw-r--r--conf/fh_dref/fh_dref_hpux.h2
-rw-r--r--conf/fh_dref/fh_dref_irix.h2
-rw-r--r--conf/fh_dref/fh_dref_isc3.h2
-rw-r--r--conf/fh_dref/fh_dref_linux.h2
-rw-r--r--conf/fh_dref/fh_dref_nextstep.h2
-rw-r--r--conf/fh_dref/fh_dref_osf2.h2
-rw-r--r--conf/fh_dref/fh_dref_osf4.h2
-rw-r--r--conf/fh_dref/fh_dref_sunos3.h2
-rw-r--r--conf/fh_dref/fh_dref_sunos4.h2
-rw-r--r--conf/fh_dref/fh_dref_svr4.h2
14 files changed, 28 insertions, 0 deletions
diff --git a/conf/fh_dref/fh_dref_aix3.h b/conf/fh_dref/fh_dref_aix3.h
new file mode 100644
index 000000000000..c7abaa03b1b1
--- /dev/null
+++ b/conf/fh_dref/fh_dref_aix3.h
@@ -0,0 +1,2 @@
+/* $srcdir/conf/fh_dref/fh_dref_aix3.h */
+#define NFS_FH_DREF(dst, src) memcpy((char *) &(dst.x), (char *) src, sizeof(struct nfs_fh))
diff --git a/conf/fh_dref/fh_dref_aix42.h b/conf/fh_dref/fh_dref_aix42.h
new file mode 100644
index 000000000000..02ba30502274
--- /dev/null
+++ b/conf/fh_dref/fh_dref_aix42.h
@@ -0,0 +1,2 @@
+/* $srcdir/conf/fh_dref/fh_dref_aix42.h */
+#define NFS_FH_DREF(dst, src) (dst) = (caddr_t)(src)
diff --git a/conf/fh_dref/fh_dref_bsd44.h b/conf/fh_dref/fh_dref_bsd44.h
new file mode 100644
index 000000000000..72ec8cfa6202
--- /dev/null
+++ b/conf/fh_dref/fh_dref_bsd44.h
@@ -0,0 +1,2 @@
+/* $srcdir/conf/fh_dref/fh_dref_bsd44.h */
+#define NFS_FH_DREF(dst, src) (dst) = (nfsv2fh_t *) (src)
diff --git a/conf/fh_dref/fh_dref_default.h b/conf/fh_dref/fh_dref_default.h
new file mode 100644
index 000000000000..9a074760fae2
--- /dev/null
+++ b/conf/fh_dref/fh_dref_default.h
@@ -0,0 +1,2 @@
+/* $srcdir/conf/fh_dref/fh_dref_default.h */
+#define NFS_FH_DREF(dst, src) (dst) = (src)
diff --git a/conf/fh_dref/fh_dref_hpux.h b/conf/fh_dref/fh_dref_hpux.h
new file mode 100644
index 000000000000..b3a75708f8df
--- /dev/null
+++ b/conf/fh_dref/fh_dref_hpux.h
@@ -0,0 +1,2 @@
+/* $srcdir/conf/fh_dref/fh_dref_hpux.h */
+#define NFS_FH_DREF(dst, src) (dst) = (fhandle_t *) (src)
diff --git a/conf/fh_dref/fh_dref_irix.h b/conf/fh_dref/fh_dref_irix.h
new file mode 100644
index 000000000000..1a5de2026bd3
--- /dev/null
+++ b/conf/fh_dref/fh_dref_irix.h
@@ -0,0 +1,2 @@
+/* $srcdir/conf/fh_dref/fh_dref_irix.h */
+#define NFS_FH_DREF(dst, src) (dst) = (fhandle_t *) (src)
diff --git a/conf/fh_dref/fh_dref_isc3.h b/conf/fh_dref/fh_dref_isc3.h
new file mode 100644
index 000000000000..0ff1ad4b9158
--- /dev/null
+++ b/conf/fh_dref/fh_dref_isc3.h
@@ -0,0 +1,2 @@
+/* $srcdir/conf/fh_dref/fh_dref_isc3.h */
+#define NFS_FH_DREF(dst, src) (dst) = *(src)
diff --git a/conf/fh_dref/fh_dref_linux.h b/conf/fh_dref/fh_dref_linux.h
new file mode 100644
index 000000000000..7ffa5b506952
--- /dev/null
+++ b/conf/fh_dref/fh_dref_linux.h
@@ -0,0 +1,2 @@
+/* $srcdir/conf/fh_dref/fh_dref_linux.h */
+#define NFS_FH_DREF(dst, src) memcpy((char *) &(dst.data), (char *) src, sizeof(struct nfs_fh))
diff --git a/conf/fh_dref/fh_dref_nextstep.h b/conf/fh_dref/fh_dref_nextstep.h
new file mode 100644
index 000000000000..819035443ea7
--- /dev/null
+++ b/conf/fh_dref/fh_dref_nextstep.h
@@ -0,0 +1,2 @@
+/* $srcdir/conf/fh_dref/fh_dref_nextstep.h */
+#define NFS_FH_DREF(dst, src) (dst) = (caddr_t) (src)
diff --git a/conf/fh_dref/fh_dref_osf2.h b/conf/fh_dref/fh_dref_osf2.h
new file mode 100644
index 000000000000..74669a76b7dd
--- /dev/null
+++ b/conf/fh_dref/fh_dref_osf2.h
@@ -0,0 +1,2 @@
+/* $srcdir/conf/fh_dref/fh_dref_osf2.h */
+#define NFS_FH_DREF(dst, src) (dst) = (nfsv2fh_t *) (src)
diff --git a/conf/fh_dref/fh_dref_osf4.h b/conf/fh_dref/fh_dref_osf4.h
new file mode 100644
index 000000000000..5bb073c27634
--- /dev/null
+++ b/conf/fh_dref/fh_dref_osf4.h
@@ -0,0 +1,2 @@
+/* $srcdir/conf/fh_dref/fh_dref_osf4.h */
+#define NFS_FH_DREF(dst, src) (dst) = (caddr_t) (src)
diff --git a/conf/fh_dref/fh_dref_sunos3.h b/conf/fh_dref/fh_dref_sunos3.h
new file mode 100644
index 000000000000..c3dd0b60441f
--- /dev/null
+++ b/conf/fh_dref/fh_dref_sunos3.h
@@ -0,0 +1,2 @@
+/* $srcdir/conf/fh_dref/fh_dref_sunos3.h */
+#define NFS_FH_DREF(dst, src) (dst) = (caddr_t) (src)
diff --git a/conf/fh_dref/fh_dref_sunos4.h b/conf/fh_dref/fh_dref_sunos4.h
new file mode 100644
index 000000000000..f13c6bef3d44
--- /dev/null
+++ b/conf/fh_dref/fh_dref_sunos4.h
@@ -0,0 +1,2 @@
+/* $srcdir/conf/fh_dref/fh_dref_sunos4.h */
+#define NFS_FH_DREF(dst, src) (dst) = (caddr_t) (src)
diff --git a/conf/fh_dref/fh_dref_svr4.h b/conf/fh_dref/fh_dref_svr4.h
new file mode 100644
index 000000000000..2b9b686b88f2
--- /dev/null
+++ b/conf/fh_dref/fh_dref_svr4.h
@@ -0,0 +1,2 @@
+/* $srcdir/conf/fh_dref/fh_dref_svr4.h */
+#define NFS_FH_DREF(dst, src) (dst) = (caddr_t) (src)