Searched refs:checked_open (Results 1 – 1 of 1) sorted by relevance
/tools/vm/ |
D | page-types.c | 238 static int checked_open(const char *pathname, int flags) in checked_open() function 540 hwpoison_inject_fd = checked_open(buf, O_WRONLY); in prepare_hwpoison_fd() 546 hwpoison_forget_fd = checked_open(buf, O_WRONLY); in prepare_hwpoison_fd() 790 kpageflags_fd = checked_open(opt_kpageflags, O_RDONLY); in walk_addr_ranges() 896 pagemap_fd = checked_open(buf, O_RDONLY); in parse_pid() 983 fd = checked_open(name, O_RDONLY|O_NOATIME|O_NOFOLLOW); in walk_file() 1069 kpageflags_fd = checked_open(opt_kpageflags, O_RDONLY); in walk_page_cache() 1070 pagemap_fd = checked_open("/proc/self/pagemap", O_RDONLY); in walk_page_cache() 1329 kpagecgroup_fd = checked_open(PROC_KPAGECGROUP, O_RDONLY); in main() 1332 kpagecount_fd = checked_open(PROC_KPAGECOUNT, O_RDONLY); in main() [all …]
|