Lines Matching refs:NULL
176 struct asyncio_desc *ret = NULL; in get_asyncio_desc()
180 if (sbuf != NULL) { in get_asyncio_desc()
222 if (sbuf != NULL) { in acrn_insert_asyncio()
250 struct acrn_io_request_buffer *req_buf = NULL; in acrn_insert_request()
256 if ((vcpu->vm->sw.io_shared_page != NULL) in acrn_insert_request()
312 struct acrn_io_request_buffer *req_buf = NULL; in get_io_req_state()
316 if (req_buf == NULL) { in get_io_req_state()
330 struct acrn_io_request_buffer *req_buf = NULL; in set_io_req_state()
334 if (req_buf != NULL) { in set_io_req_state()
354 if (sbuf != NULL) { in init_asyncio()
401 struct acrn_io_request_buffer *req_buf = NULL; in complete_ioreq()
408 if (io_req != NULL) { in complete_ioreq()
481 complete_ioreq(vcpu, NULL); in dm_emulate_io_complete()
506 complete_ioreq(vcpu, NULL); in dm_emulate_io_complete()
591 io_read_fn_t io_read = NULL; in hv_emulate_pio()
592 io_write_fn_t io_write = NULL; in hv_emulate_pio()
609 if (handler->io_read != NULL) { in hv_emulate_pio()
612 if (handler->io_write != NULL) { in hv_emulate_pio()
618 if ((pio_req->direction == ACRN_IOREQ_DIR_WRITE) && (io_write != NULL)) { in hv_emulate_pio()
622 } else if ((pio_req->direction == ACRN_IOREQ_DIR_READ) && (io_read != NULL)) { in hv_emulate_pio()
654 struct mem_io_node *mmio_handler = NULL; in hv_emulate_mmio()
655 hv_mem_io_handler_t read_write = NULL; in hv_emulate_mmio()
656 void *handler_private_data = NULL; in hv_emulate_mmio()
668 if (mmio_handler->read_write != NULL) { in hv_emulate_mmio()
688 if ((status == -ENODEV) && (read_write != NULL)) { in hv_emulate_mmio()
833 mmio_node = NULL; in find_match_mmio_node()
853 if (mmio_node != NULL) { in find_free_mmio_node()
881 if ((read_write != NULL) && (end > start)) { in register_mmio_emulation_handler()
884 if (mmio_node != NULL) { in register_mmio_emulation_handler()
913 if (mmio_node != NULL) { in unregister_mmio_emulation_handler()