Lines Matching refs:alloc
196 struct scif_allocmsg *alloc = &window->alloc_handle; in scif_destroy_incomplete_window() local
201 err = wait_event_timeout(alloc->allocwq, in scif_destroy_incomplete_window()
202 alloc->state != OP_IN_PROGRESS, in scif_destroy_incomplete_window()
208 if (alloc->state == OP_COMPLETED) { in scif_destroy_incomplete_window()
760 struct scif_allocmsg *alloc = &window->alloc_handle; in scif_send_alloc_request() local
763 alloc->state = OP_IN_PROGRESS; in scif_send_alloc_request()
764 init_waitqueue_head(&alloc->allocwq); in scif_send_alloc_request()
786 struct scif_allocmsg *alloc = &window->alloc_handle; in scif_prep_remote_window() local
801 err = wait_event_timeout(alloc->allocwq, in scif_prep_remote_window()
802 alloc->state != OP_IN_PROGRESS, in scif_prep_remote_window()
819 if (alloc->state == OP_FAILED) in scif_prep_remote_window()
840 remote_window = scif_ioremap(alloc->phys_addr, sizeof(*window), in scif_prep_remote_window()
945 window->peer_window = alloc->vaddr; in scif_prep_remote_window()