Searched refs:open_or_die (Results 1 – 1 of 1) sorted by relevance
288 static int open_or_die(const char *name, int flags) in open_or_die() function299 int fd = open_or_die("/dev/zero", O_RDONLY); in map_zeroed_pages()512 ifd = open_or_die(name, O_RDONLY); in load_initrd()568 lguest_fd = open_or_die("/dev/lguest", O_RDWR); in tell_kernel()1490 netfd = open_or_die("/dev/net/tun", O_RDWR); in get_tun_device()1735 vblk->fd = open_or_die(filename, O_RDWR|O_LARGEFILE); in setup_block_file()1807 rng_info->rfd = open_or_die("/dev/random", O_RDONLY); in setup_rng()1997 start = load_kernel(open_or_die(argv[optind+1], O_RDONLY)); in main()