ldops 113 drivers/tty/tty_ldisc.c struct tty_ldisc_ops *ldops, *ret; ldops 117 drivers/tty/tty_ldisc.c ldops = tty_ldiscs[disc]; ldops 118 drivers/tty/tty_ldisc.c if (ldops) { ldops 120 drivers/tty/tty_ldisc.c if (try_module_get(ldops->owner)) { ldops 121 drivers/tty/tty_ldisc.c ldops->refcount++; ldops 122 drivers/tty/tty_ldisc.c ret = ldops; ldops 129 drivers/tty/tty_ldisc.c static void put_ldops(struct tty_ldisc_ops *ldops) ldops 134 drivers/tty/tty_ldisc.c ldops->refcount--; ldops 135 drivers/tty/tty_ldisc.c module_put(ldops->owner); ldops 169 drivers/tty/tty_ldisc.c struct tty_ldisc_ops *ldops; ldops 178 drivers/tty/tty_ldisc.c ldops = get_ldops(disc); ldops 179 drivers/tty/tty_ldisc.c if (IS_ERR(ldops)) { ldops 183 drivers/tty/tty_ldisc.c ldops = get_ldops(disc); ldops 184 drivers/tty/tty_ldisc.c if (IS_ERR(ldops)) ldops 185 drivers/tty/tty_ldisc.c return ERR_CAST(ldops); ldops 193 drivers/tty/tty_ldisc.c ld->ops = ldops; ldops 231 drivers/tty/tty_ldisc.c struct tty_ldisc_ops *ldops; ldops 233 drivers/tty/tty_ldisc.c ldops = get_ldops(i); ldops 234 drivers/tty/tty_ldisc.c if (IS_ERR(ldops)) ldops 236 drivers/tty/tty_ldisc.c seq_printf(m, "%-10s %2d\n", ldops->name ? ldops->name : "???", i); ldops 237 drivers/tty/tty_ldisc.c put_ldops(ldops);