glibc/io
Adhemerval Zanella 45ff2bfcb3 Consolidate posix_fallocate{64} implementations
This patch consolidates all the posix_fallocate{64} implementation for Linux
in only one (sysdeps/unix/sysv/linux/posix_fallocate{64}.c).  It also removes
the syscall from the auto-generation using assembly macros.

The macro SYSCALL_LL{64} is used to handle the offset argument along with
the new INTERNAL_SYSCALL_CALL macro to define correct argument count for
internal INTERNAL_SYSCALL call.

Tested on x86_64, i686, x32, aarch64, ppc64le, and armhf.

	* io/Makefile (tests): Add tst-posix_fallocate and
	tst-posix_fallocate64.
	* io/tst-posix_fallocate-common.c: New file.
	* io/tst-posix_fallocate.c: Likewise.
	* io/tst-posix_fallocate64.c: Likewise.
	* sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
	file.
	* sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
	Likewise.
	* sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
	* sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
	Likewise.
	* sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
	* sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
	* sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
	SYSCALL_LL to pass both offset and len arguments.
	* sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
	Likewise.
	* sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
	__libc_pwrite64 alias used by posix_fallocate64.
2016-10-07 14:16:41 -03:00
..
bits
sys Installed-header hygiene (BZ#20366): time.h types. 2016-09-23 08:43:56 -04:00
access.c
bug-ftw1.c
bug-ftw2.c
bug-ftw3.c
bug-ftw4.c
bug-ftw5.c
chdir.c
chmod.c
chown.c
close.c
creat64.c
creat.c
dup2.c
dup3.c
dup.c
euidaccess.c
faccessat.c
fchdir.c
fchmod.c
fchmodat.c
fchown.c
fchownat.c
fcntl.c
fcntl.h Installed-header hygiene (BZ#20366): time.h types. 2016-09-23 08:43:56 -04:00
flock.c
fstat64.c
fstat.c
fstatat64.c
fstatat.c
fstatfs64.c
fstatfs.c
fstatvfs64.c
fstatvfs.c
fts64.c
fts.c
fts.h Installed-header hygiene (BZ#20366): obsolete BSD u_* types. 2016-09-23 08:43:56 -04:00
ftw64.c
ftw.c
ftw.h
ftwtest-sh Make shebang interpreter directives consistent 2016-01-07 04:03:21 -05:00
ftwtest.c
futimens.c
fxstat64.c
fxstat.c
fxstatat64.c
fxstatat.c
getcwd.c
getdirname.c
getwd.c
have_o_cloexec.c
isatty.c
lchmod.c
lchown.c
link.c
linkat.c
lockf64.c
lockf.c
lseek64.c
lseek.c
lstat64.c
lstat.c
lxstat64.c
lxstat.c
Makefile Consolidate posix_fallocate{64} implementations 2016-10-07 14:16:41 -03:00
mkdir.c
mkdirat.c
mkfifo.c
mkfifoat.c
mknod.c
mknodat.c
open64_2.c
open64.c
open_2.c
open.c
openat64_2.c
openat64.c
openat_2.c
openat.c
pipe2.c
pipe.c
poll.c
poll.h
posix_fadvise64.c
posix_fadvise.c
posix_fallocate64.c
posix_fallocate.c
ppoll.c
pwd.c
read.c
readlink.c
readlinkat.c
rmdir.c
sendfile64.c
sendfile.c
stat64.c
stat.c
statfs64.c
statfs.c
statvfs64.c
statvfs.c
symlink.c
symlinkat.c
test-lfs.c 2016-06-11 Paul Pluzhnikov <ppluzhnikov@google.com> 2016-06-11 14:50:16 -07:00
test-stat2.c
test-stat.c
test-utime.c
tst-faccessat.c
tst-fchmodat.c
tst-fchownat.c
tst-fcntl.c 2016-06-11 Paul Pluzhnikov <ppluzhnikov@google.com> 2016-06-11 14:50:16 -07:00
tst-fstatat.c
tst-fts-lfs.c
tst-fts.c
tst-futimesat.c
tst-getcwd.c
tst-linkat.c
tst-mkdirat.c
tst-mkfifoat.c
tst-mknodat.c
tst-open-tmpfile.c tst-open-tmpfile: Add checks for open64, openat64, linkat 2016-09-23 13:38:09 +02:00
tst-openat.c
tst-posix_fallocate64.c Consolidate posix_fallocate{64} implementations 2016-10-07 14:16:41 -03:00
tst-posix_fallocate-common.c Consolidate posix_fallocate{64} implementations 2016-10-07 14:16:41 -03:00
tst-posix_fallocate.c Consolidate posix_fallocate{64} implementations 2016-10-07 14:16:41 -03:00
tst-readlinkat.c
tst-renameat.c
tst-statvfs.c
tst-symlinkat.c
tst-ttyname_r.c
tst-unlinkat.c
ttyname_r.c
ttyname.c
umask.c
unlink.c
unlinkat.c
utime.c
utime.h Installed-header hygiene (BZ#20366): time.h types. 2016-09-23 08:43:56 -04:00
utimensat.c
Versions
write.c
xmknod.c
xmknodat.c
xstat64.c
xstat.c