ttyj 521 drivers/tty/ipwireless/tty.c struct ipw_tty *ttyj = ttys[j]; ttyj 523 drivers/tty/ipwireless/tty.c if (ttyj) { ttyj 524 drivers/tty/ipwireless/tty.c mutex_lock(&ttyj->ipw_tty_mutex); ttyj 528 drivers/tty/ipwireless/tty.c tty_type_name(ttyj->tty_type), j); ttyj 529 drivers/tty/ipwireless/tty.c ttyj->closing = 1; ttyj 530 drivers/tty/ipwireless/tty.c if (ttyj->port.tty != NULL) { ttyj 531 drivers/tty/ipwireless/tty.c mutex_unlock(&ttyj->ipw_tty_mutex); ttyj 532 drivers/tty/ipwireless/tty.c tty_vhangup(ttyj->port.tty); ttyj 537 drivers/tty/ipwireless/tty.c mutex_lock(&ttyj->ipw_tty_mutex); ttyj 539 drivers/tty/ipwireless/tty.c while (ttyj->port.count) ttyj 540 drivers/tty/ipwireless/tty.c do_ipw_close(ttyj); ttyj 542 drivers/tty/ipwireless/tty.c ttyj->channel_idx); ttyj 544 drivers/tty/ipwireless/tty.c tty_port_destroy(&ttyj->port); ttyj 546 drivers/tty/ipwireless/tty.c mutex_unlock(&ttyj->ipw_tty_mutex); ttyj 547 drivers/tty/ipwireless/tty.c kfree(ttyj);