2014-02-04 01:20:46 +01:00
|
|
|
/* Generated by gensyscalls.py. Do not edit. */
|
|
|
|
|
|
|
|
#include <private/bionic_asm.h>
|
|
|
|
|
2014-08-09 00:19:20 +02:00
|
|
|
.hidden __set_errno
|
|
|
|
|
2014-02-04 01:20:46 +01:00
|
|
|
ENTRY(fallocate)
|
|
|
|
mov x8, __NR_fallocate
|
|
|
|
svc #0
|
|
|
|
|
|
|
|
cmn x0, #(MAX_ERRNO + 1)
|
|
|
|
cneg x0, x0, hi
|
|
|
|
b.hi __set_errno
|
|
|
|
|
|
|
|
ret
|
|
|
|
END(fallocate)
|
|
|
|
|
2014-02-19 01:42:36 +01:00
|
|
|
.globl fallocate64
|
|
|
|
.equ fallocate64, fallocate
|