Lines Matching refs:buffer_header
130 struct vmci_data_in_out_header *buffer_header = vmci_dev->data_buffer; in vmci_read_data() local
131 struct vmci_sg_elem *sg_array = (struct vmci_sg_elem *)(buffer_header + 1); in vmci_read_data()
134 buffer_header->opcode = 1; in vmci_read_data()
135 buffer_header->size = 1; in vmci_read_data()
136 buffer_header->busy = 0; in vmci_read_data()
143 wait_event(vmci_dev->inout_wq, buffer_header->busy == 1); in vmci_read_data()
153 struct vmci_data_in_out_header *buffer_header = dev->tx_buffer; in vmci_write_data() local
154 u8 *dg_out_buffer = (u8 *)(buffer_header + 1); in vmci_write_data()
166 buffer_header->opcode = 0; in vmci_write_data()
167 buffer_header->size = VMCI_DG_SIZE(dg); in vmci_write_data()
168 buffer_header->busy = 1; in vmci_write_data()
174 spin_until_cond(buffer_header->busy == 0); in vmci_write_data()
178 result = (int)buffer_header->result; in vmci_write_data()