2 * SYSCALL_DEFINE2(fstat64, unsigned long, fd, struct stat64 __user *, statbuf)
4 * On success, zero is returned.
5 * On error, -1 is returned, and errno is set appropriately.
9 struct syscallentry syscall_fstat64
= {
14 .arg2name
= "statbuf",
15 .arg2type
= ARG_ADDRESS
,
16 .rettype
= RET_ZERO_SUCCESS
,
22 * SYSCALL_DEFINE4(fstatat64, int, dfd, const char __user *, filename,
23 struct stat64 __user *, statbuf, int, flag)
25 * On success, fstatat() returns 0.
26 * On error, -1 is returned and errno is set to indicate the error.
29 struct syscallentry syscall_fstatat64
= {
34 .arg2name
= "filename",
35 .arg2type
= ARG_PATHNAME
,
36 .arg3name
= "statbuf",
37 .arg3type
= ARG_ADDRESS
,
39 .rettype
= RET_ZERO_SUCCESS
,