Home
last modified time | relevance | path

Searched refs:ldops (Results 1 – 1 of 1) sorted by relevance

/linux-6.1.9/drivers/tty/
Dtty_ldisc.c97 struct tty_ldisc_ops *ldops, *ret; in get_ldops() local
101 ldops = tty_ldiscs[disc]; in get_ldops()
102 if (ldops) { in get_ldops()
104 if (try_module_get(ldops->owner)) in get_ldops()
105 ret = ldops; in get_ldops()
111 static void put_ldops(struct tty_ldisc_ops *ldops) in put_ldops() argument
116 module_put(ldops->owner); in put_ldops()
143 struct tty_ldisc_ops *ldops; in tty_ldisc_get() local
152 ldops = get_ldops(disc); in tty_ldisc_get()
153 if (IS_ERR(ldops)) { in tty_ldisc_get()
[all …]