Searched refs:rqstor (Results 1 – 2 of 2) sorted by relevance
600 static int vmbus_alloc_requestor(struct vmbus_requestor *rqstor, u32 size) in vmbus_alloc_requestor() argument615 rqstor->req_arr = rqst_arr; in vmbus_alloc_requestor()616 rqstor->req_bitmap = bitmap; in vmbus_alloc_requestor()617 rqstor->size = size; in vmbus_alloc_requestor()618 rqstor->next_request_id = 0; in vmbus_alloc_requestor()619 spin_lock_init(&rqstor->req_lock); in vmbus_alloc_requestor()628 static void vmbus_free_requestor(struct vmbus_requestor *rqstor) in vmbus_free_requestor() argument630 kfree(rqstor->req_arr); in vmbus_free_requestor()631 bitmap_free(rqstor->req_bitmap); in vmbus_free_requestor()1230 struct vmbus_requestor *rqstor = &channel->requestor; in vmbus_next_request_id() local[all …]
1065 struct vmbus_requestor *rqstor = &(channel)->requestor; \1067 spin_lock_irqsave(&rqstor->req_lock, flags); \1073 struct vmbus_requestor *rqstor = &channel->requestor; in unlock_requestor() local1075 spin_unlock_irqrestore(&rqstor->req_lock, flags); in unlock_requestor()