Lines Matching refs:ldisc
12 discipline number and the ldisc structure. At the point of registration the
15 called. Do not re-use ldisc numbers as they are part of the userspace ABI
16 and writing over an existing ldisc will cause demons to eat your computer.
17 After the return the ldisc data has been copied so you may free your own
24 return -EBUSY if the ldisc is currently in use. Since the ldisc referencing
28 tty_ldisc structure in the ldisc table counts the number of lines using this
30 counts the number of active users of the ldisc at this instant. In effect it
31 counts the number of threads of execution within an ldisc method (plus those
43 state needed by the ldisc, and set receive_room
47 Returning an error will prevent the ldisc from
53 ldisc code for this tty. Can sleep.
57 No further calls into the ldisc code will occur.
62 and the ldisc must deal with serialization issues.
68 tty layer for the ldisc. If not defined, the
89 tty layer that might be for the ldisc. Multiple
93 to the tty layer that might be for the ldisc.
100 a buffer of received bytes to the ldisc for
106 a buffer of received bytes to the ldisc for
115 ldisc must be careful about setting order and to
119 from the ->write call from the ldisc as the ldisc
202 TTY_THROTTLED Driver input is throttled. The ldisc should call
206 TTY_DO_WRITE_WAKEUP If set, causes the driver to call the ldisc's
228 ldisc = tty_ldisc_ref(tty);
230 takes a handle to the line discipline in the tty and returns it. If no ldisc
231 is currently attached or the ldisc is being closed and re-opened at this
232 point then NULL is returned. While this handle is held the ldisc will not
235 tty_ldisc_deref(ldisc)
237 Returns the ldisc reference and allows the ldisc to be closed. Returning the
238 reference takes away your right to call the ldisc functions until you take
241 ldisc = tty_ldisc_ref_wait(tty);
244 ldisc change to complete and then return a reference to the new ldisc.
250 A caution: The ldisc->open(), ldisc->close() and driver->set_ldisc
251 functions are called with the ldisc unavailable. Thus tty_ldisc_ref will
263 further ldisc calls of any kind. May sleep
278 The ldisc is responsible for being intelligent
290 throttle() - Called by the ldisc to ask the driver to do flow
292 is the job of the ldisc layer.
294 unthrottle() - Called by the ldisc to ask the driver to stop flow
299 to the ldisc layer.