blob: c6992b01a5cbd15c7cbf03d465603cb0e4b14603 [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(fallocate64)
6 mov ip, sp
7 stmfd sp!, {r4, r5, r6, r7}
8 .cfi_def_cfa_offset 16
9 .cfi_rel_offset r4, 0
10 .cfi_rel_offset r5, 4
11 .cfi_rel_offset r6, 8
12 .cfi_rel_offset r7, 12
13 ldmfd ip, {r4, r5, r6}
14 ldr r7, =__NR_fallocate
15 swi #0
16 ldmfd sp!, {r4, r5, r6, r7}
17 .cfi_def_cfa_offset 0
18 cmn r0, #(MAX_ERRNO + 1)
19 bxls lr
20 neg r0, r0
21 b __set_errno
22END(fallocate64)