Lines Matching defs:cook
180 add_door_result(door_cookie_t *cook, void *data, uint64_t seq_num)
199 (void) mutex_lock(&cook->door_lock);
200 if (cook->results == NULL) {
201 cook->results = result;
203 struct door_result *tmp = cook->results;
209 (void) mutex_unlock(&cook->door_lock);
216 free_door_result(door_cookie_t *cook, uint64_t num)
220 (void) mutex_lock(&cook->door_lock);
221 tmp = cook->results;
230 (void) mutex_unlock(&cook->door_lock);
237 cook->results = tmp->next;
239 (void) mutex_unlock(&cook->door_lock);
253 door_cookie_t *cook = (door_cookie_t *)cookie;
268 (*cook->door_func)((void **)&args, &alen);
293 (void) mutex_lock(&cook->door_lock);
294 cook->seq_num++;
295 seq_num = cook->seq_num;
296 (void) mutex_unlock(&cook->door_lock);
318 * for long data, append results to end of queue in cook
322 add_door_result(cook, args, seq_num);