Searched refs:on_exit (Results 1 – 2 of 2) sorted by relevance
265 void disassociate_ctty(int on_exit) in disassociate_ctty() argument274 if (on_exit && tty->driver->type != TTY_DRIVER_TYPE_PTY) { in disassociate_ctty()280 kill_pgrp(tty_pgrp, SIGHUP, on_exit); in disassociate_ctty()281 if (!on_exit) in disassociate_ctty()282 kill_pgrp(tty_pgrp, SIGCONT, on_exit); in disassociate_ctty()288 } else if (on_exit) { in disassociate_ctty()296 kill_pgrp(old_pgrp, SIGHUP, on_exit); in disassociate_ctty()297 kill_pgrp(old_pgrp, SIGCONT, on_exit); in disassociate_ctty()
92 static DECLARE_COMPLETION(on_exit);1750 complete(&on_exit); in udc_timer_function()3038 wait_for_completion(&on_exit); in udc_remove()