blob: 7e03c548c91b1fbf70bf0e5d9cc0631b990c2666 [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 pushl %ebx
7 pushl %ecx
8 pushl %edx
9 pushl %esi
10 pushl %edi
11 pushl %ebp
12 .cfi_def_cfa_offset 24
13 .cfi_rel_offset ebx, 0
14 .cfi_rel_offset ecx, 4
15 .cfi_rel_offset edx, 8
16 .cfi_rel_offset esi, 12
17 .cfi_rel_offset edi, 16
18 .cfi_rel_offset ebp, 20
19 mov 28(%esp), %ebx
20 mov 32(%esp), %ecx
21 mov 36(%esp), %edx
22 mov 40(%esp), %esi
23 mov 44(%esp), %edi
24 mov 48(%esp), %ebp
25 movl $__NR_fallocate, %eax
26 int $0x80
27 cmpl $-MAX_ERRNO, %eax
28 jb 1f
29 negl %eax
30 pushl %eax
31 call __set_errno
32 addl $4, %esp
33 orl $-1, %eax
341:
35 popl %ebp
36 popl %edi
37 popl %esi
38 popl %edx
39 popl %ecx
40 popl %ebx
41 ret
42END(fallocate64)