Lines Matching refs:result_fd
694 _cleanup_close_ int result_fd = -1; in method_clean_pool() local
743 result_fd = open_tmpfile_unlinkable(NULL, O_RDWR|O_CLOEXEC); in method_clean_pool()
744 if (result_fd < 0) in method_clean_pool()
769 l = write(result_fd, &success, sizeof(success)); in method_clean_pool()
793 (void) ftruncate(result_fd, 0); in method_clean_pool()
794 (void) lseek(result_fd, 0, SEEK_SET); in method_clean_pool()
795 (void) write(result_fd, &success, sizeof(success)); in method_clean_pool()
796 (void) write(result_fd, image->name, strlen(image->name)+1); in method_clean_pool()
800 l = write(result_fd, image->name, strlen(image->name)+1); in method_clean_pool()
806 … l = write(result_fd, &image->usage_exclusive, sizeof(image->usage_exclusive)); in method_clean_pool()
813 result_fd = safe_close(result_fd); in method_clean_pool()
831 operation->extra_fd = result_fd; in method_clean_pool()
834 result_fd = -1; in method_clean_pool()