Searched refs:rqstor (Results 1 – 2 of 2) sorted by relevance
619 static int vmbus_alloc_requestor(struct vmbus_requestor *rqstor, u32 size) in vmbus_alloc_requestor() argument634 rqstor->req_arr = rqst_arr; in vmbus_alloc_requestor()635 rqstor->req_bitmap = bitmap; in vmbus_alloc_requestor()636 rqstor->size = size; in vmbus_alloc_requestor()637 rqstor->next_request_id = 0; in vmbus_alloc_requestor()638 spin_lock_init(&rqstor->req_lock); in vmbus_alloc_requestor()647 static void vmbus_free_requestor(struct vmbus_requestor *rqstor) in vmbus_free_requestor() argument649 kfree(rqstor->req_arr); in vmbus_free_requestor()650 bitmap_free(rqstor->req_bitmap); in vmbus_free_requestor()1247 struct vmbus_requestor *rqstor = &channel->requestor; in vmbus_next_request_id() local[all …]
1051 struct vmbus_requestor *rqstor = &(channel)->requestor; \1053 spin_lock_irqsave(&rqstor->req_lock, flags); \1059 struct vmbus_requestor *rqstor = &channel->requestor; in unlock_requestor() local1061 spin_unlock_irqrestore(&rqstor->req_lock, flags); in unlock_requestor()