diff options
| author | Denis Efremov (Oracle) <efremov@linux.com> | 2023-09-04 12:39:56 +0400 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2023-09-04 11:58:18 +0000 |
| commit | 8bc9053e88dacf57f5ce550da040d31895eb9626 (patch) | |
| tree | 323f7179a7cca5db6b348675620d76da5499dabe /sys/linux/sys.txt | |
| parent | 818736f74e201d1207a22e2c0a739c005d3809cc (diff) | |
sys/linux: add cachestat description
Handle torvalds/linux@cf264e1329fb ("cachestat: implement cachestat syscall")
Signed-off-by: Denis Efremov (Oracle) <efremov@linux.com>
Diffstat (limited to 'sys/linux/sys.txt')
| -rw-r--r-- | sys/linux/sys.txt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sys/linux/sys.txt b/sys/linux/sys.txt index 9c9874b33..176e86fe2 100644 --- a/sys/linux/sys.txt +++ b/sys/linux/sys.txt @@ -135,6 +135,19 @@ vmsplice(fd fd, vec ptr[in, array[iovec_in]], vlen len[vec], f flags[splice_flag sendfile(fdout fd, fdin fd, off ptr[inout, fileoff[intptr], opt], count intptr) sendfile64(fdout fd, fdin fd, off ptr[inout, fileoff[int64], opt], count intptr) +cachestat_range { + off fileoff[int64] + len int64 +} + +cachestat { + nr_cache int64 + nr_dirty int64 + nr_writeback int64 + nr_evicted int64 + nr_recently_evicted int64 +} + stat(file ptr[in, filename], statbuf ptr[out, stat]) lstat(file ptr[in, filename], statbuf ptr[out, stat]) fstat(fd fd, statbuf ptr[out, stat]) @@ -144,6 +157,7 @@ lstat64(file ptr[in, filename], statbuf ptr[out, stat64]) fstat64(fd fd, statbuf ptr[out, stat64]) fstatat64(dfd const[AT_FDCWD], file ptr[in, filename], statbuf ptr[out, stat64], flag flags[statx_flags]) statx(fd fd_dir, file ptr[in, filename], flags flags[statx_flags], mask flags[statx_mask], statxbuf ptr[out, statx]) +cachestat(fd fd, cstat_range ptr[in, cachestat_range], cstat ptr[out, cachestat], flags const[0]) poll(fds ptr[in, array[pollfd]], nfds len[fds], timeout int32) ppoll(fds ptr[in, array[pollfd]], nfds len[fds], tsp ptr[in, timespec], sigmask ptr[in, sigset_t], size len[sigmask]) |
