Searched refs:cachestat (Results 1 - 7 of 7) sorted by relevance
/linux-master/include/uapi/linux/ |
H A D | mman.h | 50 struct cachestat { struct
|
/linux-master/tools/include/uapi/linux/ |
H A D | mman.h | 50 struct cachestat { struct
|
/linux-master/tools/testing/selftests/cachestat/ |
H A D | test_cachestat.c | 27 void print_cachestat(struct cachestat *cs) 30 "Using cachestat: Cached: %llu, Dirty: %llu, Writeback: %llu, Evicted: %llu, Recently Evicted: %llu\n", 112 * (exactly num_pages), then test the cachestat syscall on this file. 125 struct cachestat cs; 212 struct cachestat cs; 264 ksft_exit_skip("cachestat syscall not available\n"); 281 ksft_test_result_pass("cachestat works with %s\n", dev_filename); 283 ksft_test_result_fail("cachestat fails with %s\n", dev_filename); 290 ksft_test_result_pass("cachestat works with a normal file\n"); 292 ksft_test_result_fail("cachestat fail [all...] |
/linux-master/kernel/ |
H A D | sys_ni.c | 198 COND_SYSCALL(cachestat); variable
|
/linux-master/tools/testing/selftests/ |
H A D | Makefile | 7 TARGETS += cachestat
|
/linux-master/mm/ |
H A D | filemap.c | 4143 * @cs: the cachestat struct to write the result to. 4151 pgoff_t first_index, pgoff_t last_index, struct cachestat *cs) 4244 * The cachestat(2) system call. 4246 * cachestat() returns the page cache statistics of a file in the 4266 * Because the status of a page can change after cachestat() checks it 4277 SYSCALL_DEFINE4(cachestat, unsigned int, fd, 4279 struct cachestat __user *, cstat, unsigned int, flags) 4284 struct cachestat cs; 4310 memset(&cs, 0, sizeof(struct cachestat)); 4315 if (copy_to_user(cstat, &cs, sizeof(struct cachestat))) [all...] |
/linux-master/include/linux/ |
H A D | syscalls.h | 77 struct cachestat; 960 struct cachestat __user *cstat, unsigned int flags);
|
Completed in 292 milliseconds