Home
last modified time | relevance | path

Searched refs:checked_open (Results 1 – 1 of 1) sorted by relevance

/tools/vm/
Dpage-types.c236 static int checked_open(const char *pathname, int flags) in checked_open() function
538 hwpoison_inject_fd = checked_open(buf, O_WRONLY); in prepare_hwpoison_fd()
544 hwpoison_forget_fd = checked_open(buf, O_WRONLY); in prepare_hwpoison_fd()
788 kpageflags_fd = checked_open(opt_kpageflags, O_RDONLY); in walk_addr_ranges()
894 pagemap_fd = checked_open(buf, O_RDONLY); in parse_pid()
981 fd = checked_open(name, O_RDONLY|O_NOATIME|O_NOFOLLOW); in walk_file()
1067 kpageflags_fd = checked_open(opt_kpageflags, O_RDONLY); in walk_page_cache()
1068 pagemap_fd = checked_open("/proc/self/pagemap", O_RDONLY); in walk_page_cache()
1327 kpagecgroup_fd = checked_open(PROC_KPAGECGROUP, O_RDONLY); in main()
1330 kpagecount_fd = checked_open(PROC_KPAGECOUNT, O_RDONLY); in main()
[all …]