summaryrefslogtreecommitdiffstats
path: root/libc/arch-arm64/syscalls/fstatfs.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/arch-arm64/syscalls/fstatfs.S')
-rw-r--r--libc/arch-arm64/syscalls/fstatfs.S21
1 files changed, 21 insertions, 0 deletions
diff --git a/libc/arch-arm64/syscalls/fstatfs.S b/libc/arch-arm64/syscalls/fstatfs.S
new file mode 100644
index 0000000..afd8875
--- /dev/null
+++ b/libc/arch-arm64/syscalls/fstatfs.S
@@ -0,0 +1,21 @@
+/* Generated by gensyscalls.py. Do not edit. */
+
+#include <private/bionic_asm.h>
+
+ENTRY(fstatfs)
+ stp x29, x30, [sp, #-16]!
+ mov x29, sp
+ str x8, [sp, #-16]!
+
+ mov x8, __NR_fstatfs
+ svc #0
+
+ ldr x8, [sp], #16
+ ldp x29, x30, [sp], #16
+
+ cmn x0, #(MAX_ERRNO + 1)
+ cneg x0, x0, hi
+ b.hi __set_errno
+
+ ret
+END(fstatfs)