Searched refs:subfd (Results 1 – 2 of 2) sorted by relevance
46 int subfd; in calculate_dir_size() local59 subfd = openat(dfd, name, O_RDONLY | O_DIRECTORY); in calculate_dir_size()60 if (subfd >= 0) { in calculate_dir_size()61 size += calculate_dir_size(subfd); in calculate_dir_size()
586 int subfd; in _delete_dir_contents() local595 subfd = openat(dfd, name, O_RDONLY | O_DIRECTORY | O_NOFOLLOW | O_CLOEXEC); in _delete_dir_contents()596 if (subfd < 0) { in _delete_dir_contents()601 subdir = fdopendir(subfd); in _delete_dir_contents()604 close(subfd); in _delete_dir_contents()