Lines Matching refs:cook
178 add_door_result(door_cookie_t *cook, void *data, uint64_t seq_num) in add_door_result() argument
197 (void) mutex_lock(&cook->door_lock); in add_door_result()
198 if (cook->results == NULL) { in add_door_result()
199 cook->results = result; in add_door_result()
201 struct door_result *tmp = cook->results; in add_door_result()
207 (void) mutex_unlock(&cook->door_lock); in add_door_result()
214 free_door_result(door_cookie_t *cook, uint64_t num) in free_door_result() argument
218 (void) mutex_lock(&cook->door_lock); in free_door_result()
219 tmp = cook->results; in free_door_result()
228 (void) mutex_unlock(&cook->door_lock); in free_door_result()
235 cook->results = tmp->next; in free_door_result()
237 (void) mutex_unlock(&cook->door_lock); in free_door_result()
251 door_cookie_t *cook = (door_cookie_t *)cookie; in door_service() local
266 (*cook->door_func)((void **)&args, &alen); in door_service()
291 (void) mutex_lock(&cook->door_lock); in door_service()
292 cook->seq_num++; in door_service()
293 seq_num = cook->seq_num; in door_service()
294 (void) mutex_unlock(&cook->door_lock); in door_service()
320 add_door_result(cook, args, seq_num); in door_service()