blob: e79b96a6990f0f406795b9876abc28690d60df49 [file] [log] [blame]
Elliott Hughesf64b8ea2014-02-03 16:20:46 -08001/* Generated by gensyscalls.py. Do not edit. */
2
3#include <private/bionic_asm.h>
4
5ENTRY(fallocate)
6 stp x29, x30, [sp, #-16]!
7 mov x29, sp
8 str x8, [sp, #-16]!
9
10 mov x8, __NR_fallocate
11 svc #0
12
13 ldr x8, [sp], #16
14 ldp x29, x30, [sp], #16
15
16 cmn x0, #(MAX_ERRNO + 1)
17 cneg x0, x0, hi
18 b.hi __set_errno
19
20 ret
21END(fallocate)
22
23 .globl _C_LABEL(fallocate64)
24 .equ _C_LABEL(fallocate64), _C_LABEL(fallocate)