Lines Matching refs:ldisc
15 discipline number and the ldisc structure. At the point of registration the
18 called. Do not re-use ldisc numbers as they are part of the userspace ABI
19 and writing over an existing ldisc will cause demons to eat your computer.
20 After the return the ldisc data has been copied so you may free your own
27 return -EBUSY if the ldisc is currently in use. Since the ldisc referencing
31 tty_ldisc structure in the ldisc table counts the number of lines using this
33 counts the number of active users of the ldisc at this instant. In effect it
34 counts the number of threads of execution within an ldisc method (plus those
46 prevent the ldisc from being attached. Can sleep.
51 ldisc code for this tty. Can sleep.
55 No further calls into the ldisc code will occur.
60 by the tty layer for the ldisc. May sleep.
77 ldisc must deal with serialization issues. May
84 that might be for the ldisc. Multiple ioctl calls
88 that might be for the ldisc. Multiple ioctl calls
93 receive_buf() - Hand buffers of bytes from the driver to the ldisc
100 ldisc must be careful about setting order and to
104 from the ->write call from the ldisc as the ldisc
187 TTY_THROTTLED Driver input is throttled. The ldisc should call
191 TTY_DO_WRITE_WAKEUP If set, causes the driver to call the ldisc's
213 ldisc = tty_ldisc_ref(tty);
215 takes a handle to the line discipline in the tty and returns it. If no ldisc
216 is currently attached or the ldisc is being closed and re-opened at this
217 point then NULL is returned. While this handle is held the ldisc will not
220 tty_ldisc_deref(ldisc)
222 Returns the ldisc reference and allows the ldisc to be closed. Returning the
223 reference takes away your right to call the ldisc functions until you take
226 ldisc = tty_ldisc_ref_wait(tty);
229 ldisc change to complete and then return a reference to the new ldisc.
235 A caution: The ldisc->open(), ldisc->close() and driver->set_ldisc
236 functions are called with the ldisc unavailable. Thus tty_ldisc_ref will
248 further ldisc calls of any kind. May sleep
263 The ldisc is responsible for being intelligent
275 throttle() - Called by the ldisc to ask the driver to do flow
277 is the job of the ldisc layer.
279 unthrottle() - Called by the ldisc to ask the driver to stop flow
284 to the ldisc layer.