Searched refs:tr_data (Results 1 – 1 of 1) sorted by relevance
47 static struct tracerouter_data *tr_data; variable66 if (tr_data->opencalled == 0) { in n_tracerouter_open()68 tr_data->kref_tty = tty_kref_get(tty); in n_tracerouter_open()69 if (tr_data->kref_tty == NULL) { in n_tracerouter_open()72 tr_data->opencalled = 1; in n_tracerouter_open()73 tty->disc_data = tr_data; in n_tracerouter_open()94 WARN_ON(tptr->kref_tty != tr_data->kref_tty); in n_tracerouter_close()96 tty_kref_put(tr_data->kref_tty); in n_tracerouter_close()97 tr_data->kref_tty = NULL; in n_tracerouter_close()98 tr_data->opencalled = 0; in n_tracerouter_close()[all …]