2014-02-04 01:20:46 +01:00
|
|
|
/* Generated by gensyscalls.py. Do not edit. */
|
|
|
|
|
|
|
|
#include <private/bionic_asm.h>
|
|
|
|
|
|
|
|
ENTRY(fallocate)
|
|
|
|
movq %rcx, %r10
|
|
|
|
movl $__NR_fallocate, %eax
|
|
|
|
syscall
|
|
|
|
cmpq $-MAX_ERRNO, %rax
|
|
|
|
jb 1f
|
|
|
|
negl %eax
|
|
|
|
movl %eax, %edi
|
|
|
|
call __set_errno
|
|
|
|
orq $-1, %rax
|
|
|
|
1:
|
|
|
|
ret
|
|
|
|
END(fallocate)
|
|
|
|
|
2014-02-19 01:42:36 +01:00
|
|
|
.globl fallocate64
|
|
|
|
.equ fallocate64, fallocate
|