Searched refs:checked_open (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/tools/mm/ |
D | page-types.c | 238 static int checked_open(const char *pathname, int flags) in checked_open() function 542 hwpoison_inject_fd = checked_open(buf, O_WRONLY); in prepare_hwpoison_fd() 548 hwpoison_forget_fd = checked_open(buf, O_WRONLY); in prepare_hwpoison_fd() 792 kpageflags_fd = checked_open(opt_kpageflags, O_RDONLY); in walk_addr_ranges() 898 pagemap_fd = checked_open(buf, O_RDONLY); in parse_pid() 1051 fd = checked_open(name, O_RDONLY|O_NOATIME|O_NOFOLLOW); in walk_file() 1082 kpageflags_fd = checked_open(opt_kpageflags, O_RDONLY); in walk_page_cache() 1083 pagemap_fd = checked_open("/proc/self/pagemap", O_RDONLY); in walk_page_cache() 1342 kpagecgroup_fd = checked_open(PROC_KPAGECGROUP, O_RDONLY); in main() 1345 kpagecount_fd = checked_open(PROC_KPAGECOUNT, O_RDONLY); in main() [all …]
|