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
86 tty layer that might be for the ldisc. Multiple
90 to the tty layer that might be for the ldisc.
97 a buffer of received bytes to the ldisc for
103 a buffer of received bytes to the ldisc for
112 ldisc must be careful about setting order and to
116 from the ->write call from the ldisc as the ldisc
199 TTY_THROTTLED Driver input is throttled. The ldisc should call
203 TTY_DO_WRITE_WAKEUP If set, causes the driver to call the ldisc's
225 ldisc = tty_ldisc_ref(tty);
227 takes a handle to the line discipline in the tty and returns it. If no ldisc
228 is currently attached or the ldisc is being closed and re-opened at this
229 point then NULL is returned. While this handle is held the ldisc will not
232 tty_ldisc_deref(ldisc)
234 Returns the ldisc reference and allows the ldisc to be closed. Returning the
235 reference takes away your right to call the ldisc functions until you take
238 ldisc = tty_ldisc_ref_wait(tty);
241 ldisc change to complete and then return a reference to the new ldisc.
247 A caution: The ldisc->open(), ldisc->close() and driver->set_ldisc
248 functions are called with the ldisc unavailable. Thus tty_ldisc_ref will
260 further ldisc calls of any kind. May sleep
275 The ldisc is responsible for being intelligent
287 throttle() - Called by the ldisc to ask the driver to do flow
289 is the job of the ldisc layer.
291 unthrottle() - Called by the ldisc to ask the driver to stop flow
296 to the ldisc layer.