Lines Matching refs:buf

26 int sys_statx(int fd, const char *path, int flags, unsigned int mask, struct statx *buf)  in sys_statx()  argument
29 return my_syscall5(__NR_statx, fd, path, flags, mask, buf); in sys_statx()
31 return __nolibc_enosys(__func__, fd, path, flags, mask, buf); in sys_statx()
36 int statx(int fd, const char *path, int flags, unsigned int mask, struct statx *buf) in statx() argument
38 return __sysret(sys_statx(fd, path, flags, mask, buf)); in statx()
43 int fstatat(int fd, const char *path, struct stat *buf, int flag) in fstatat() argument
52 buf->st_dev = ((statx.stx_dev_minor & 0xff) in fstatat()
55 buf->st_ino = statx.stx_ino; in fstatat()
56 buf->st_mode = statx.stx_mode; in fstatat()
57 buf->st_nlink = statx.stx_nlink; in fstatat()
58 buf->st_uid = statx.stx_uid; in fstatat()
59 buf->st_gid = statx.stx_gid; in fstatat()
60 buf->st_rdev = ((statx.stx_rdev_minor & 0xff) in fstatat()
63 buf->st_size = statx.stx_size; in fstatat()
64 buf->st_blksize = statx.stx_blksize; in fstatat()
65 buf->st_blocks = statx.stx_blocks; in fstatat()
66 buf->st_atim.tv_sec = statx.stx_atime.tv_sec; in fstatat()
67 buf->st_atim.tv_nsec = statx.stx_atime.tv_nsec; in fstatat()
68 buf->st_mtim.tv_sec = statx.stx_mtime.tv_sec; in fstatat()
69 buf->st_mtim.tv_nsec = statx.stx_mtime.tv_nsec; in fstatat()
70 buf->st_ctim.tv_sec = statx.stx_ctime.tv_sec; in fstatat()
71 buf->st_ctim.tv_nsec = statx.stx_ctime.tv_nsec; in fstatat()
77 int stat(const char *path, struct stat *buf) in stat() argument
79 return fstatat(AT_FDCWD, path, buf, 0); in stat()
83 int fstat(int fildes, struct stat *buf) in fstat() argument
85 return fstatat(fildes, "", buf, AT_EMPTY_PATH); in fstat()
89 int lstat(const char *path, struct stat *buf) in lstat() argument
91 return fstatat(AT_FDCWD, path, buf, AT_SYMLINK_NOFOLLOW); in lstat()