Lines Matching defs:xdc_fd
40 static zx_status_t read_file_header(const fbl::unique_fd& xdc_fd, file_header_t* out_file_header) {
47 ((res = read(xdc_fd.get(), buf + total_read, len - total_read)) != 0)) {
62 static zx_status_t write_file_header(const fbl::unique_fd& file_fd, fbl::unique_fd& xdc_fd,
71 ssize_t res = write(xdc_fd.get(), buf, sizeof(file_header));
152 fbl::unique_fd xdc_fd;
153 zx_status_t status = configure_xdc(stream_id, xdc_fd);
170 if (read_file_header(xdc_fd, &file_header) != ZX_OK) {
173 src_fd = fbl::move(xdc_fd);
176 if (write_file_header(file_fd, xdc_fd, &file_header) != ZX_OK) {
180 dest_fd = fbl::move(xdc_fd);