android_bionic/libc/arch-x86_64/syscalls/fallocate.S

22 lines
384 B
ArmAsm

/* Generated by gensyscalls.py. Do not edit. */
#include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(fallocate)
movq %rcx, %r10
movl $__NR_fallocate, %eax
syscall
cmpq $-MAX_ERRNO, %rax
jb 1f
negl %eax
movl %eax, %edi
call __set_errno
1:
ret
END(fallocate)
.globl fallocate64
.equ fallocate64, fallocate