Searched refs:checked_open (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/tools/mm/ |
H A D | page-types.c | 239 static int checked_open(const char *pathname, int flags) in checked_open() function 543 hwpoison_inject_fd = checked_open(buf, O_WRONLY); in prepare_hwpoison_fd() 549 hwpoison_forget_fd = checked_open(buf, O_WRONLY); in prepare_hwpoison_fd() 793 kpageflags_fd = checked_open(opt_kpageflags, O_RDONLY); in walk_addr_ranges() 899 pagemap_fd = checked_open(buf, O_RDONLY); in parse_pid() 1052 fd = checked_open(name, O_RDONLY|O_NOATIME|O_NOFOLLOW); in walk_file() 1083 kpageflags_fd = checked_open(opt_kpageflags, O_RDONLY); in walk_page_cache() 1084 pagemap_fd = checked_open("/proc/self/pagemap", O_RDONLY); in walk_page_cache() 1343 kpagecgroup_fd = checked_open(PROC_KPAGECGROUP, O_RDONLY); in main() 1346 kpagecount_fd = checked_open(PROC_KPAGECOUNT, O_RDONLY); in main() [all …]
|