Lines Matching refs:ldisc

13 discipline number and the ldisc structure. At the point of registration the
16 called. Do not re-use ldisc numbers as they are part of the userspace ABI
17 and writing over an existing ldisc will cause demons to eat your computer.
18 After the return the ldisc data has been copied so you may free your own
25 return -EBUSY if the ldisc is currently in use. Since the ldisc referencing
29 tty_ldisc structure in the ldisc table counts the number of lines using this
31 counts the number of active users of the ldisc at this instant. In effect it
32 counts the number of threads of execution within an ldisc method (plus those
46 state needed by the ldisc, and set receive_room
50 Returning an error will prevent the ldisc from
56 ldisc code for this tty. Can sleep.
60 No further calls into the ldisc code will occur.
65 and the ldisc must deal with serialization issues.
71 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.
103 a buffer of received bytes to the ldisc for
109 a buffer of received bytes to the ldisc for
118 ldisc must be careful about setting order and to
122 from the ->write call from the ldisc as the ldisc
211 TTY_THROTTLED Driver input is throttled. The ldisc should call
215 TTY_DO_WRITE_WAKEUP If set, causes the driver to call the ldisc's
239 ldisc = tty_ldisc_ref(tty);
241 takes a handle to the line discipline in the tty and returns it. If no ldisc
242 is currently attached or the ldisc is being closed and re-opened at this
243 point then NULL is returned. While this handle is held the ldisc will not
246 tty_ldisc_deref(ldisc)
248 Returns the ldisc reference and allows the ldisc to be closed. Returning the
249 reference takes away your right to call the ldisc functions until you take
252 ldisc = tty_ldisc_ref_wait(tty);
255 ldisc change to complete and then return a reference to the new ldisc.
261 A caution: The ldisc->open(), ldisc->close() and driver->set_ldisc
262 functions are called with the ldisc unavailable. Thus tty_ldisc_ref will
275 further ldisc calls of any kind. May sleep
290 The ldisc is responsible for being intelligent
302 throttle() Called by the ldisc to ask the driver to do flow
304 is the job of the ldisc layer.
306 unthrottle() Called by the ldisc to ask the driver to stop flow
311 to the ldisc layer.