Searched refs:printstate (Results 1 – 1 of 1) sorted by relevance
203 static struct print_state printstate; variable437 printstate.ticket_counter = 0; in init_printstate()438 printstate.ticket_completed = 0; in init_printstate()439 printstate.cnt = 0; in init_printstate()441 mutex_init(&printstate.mutex, NULL); in init_printstate()445 cond_init(&printstate.cond, &cattr); in init_printstate()665 r = ++(printstate.ticket_counter); in printstate_next_ticket()667 req->ticket_completed_ref = printstate.ticket_completed; in printstate_next_ticket()668 cond_broadcast(&printstate.cond); in printstate_next_ticket()675 if (req->ticket > printstate.ticket_completed) in printstate_mark_req_completed()[all …]