Searched refs:dev_dirfd (Results 1 – 2 of 2) sorted by relevance
208 static int dev_dirfd; in print_entry() local209 if (!dev_dirfd) in print_entry()211 dev_dirfd = open ("/dev", O_PATHSEARCH | O_DIRECTORY); in print_entry()212 if (dev_dirfd < 0) in print_entry()213 dev_dirfd = AT_FDCWD - 1; in print_entry()215 dirfd = dev_dirfd; in print_entry()
344 static int dev_dirfd; in print_user() local345 if (!dev_dirfd) in print_user()347 dev_dirfd = open ("/dev", O_PATHSEARCH | O_DIRECTORY); in print_user()348 if (dev_dirfd < 0) in print_user()349 dev_dirfd = AT_FDCWD - 1; in print_user()351 dirfd = dev_dirfd; in print_user()