aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/tty_buffer.c
AgeCommit message (Expand)AuthorFilesLines
2024-02-18tty: Don't include tty_buffer.h in tty.hIlpo Järvinen1-0/+1
2023-10-03tty: tty_buffer: use bool for 'restart' in tty_buffer_unlock_exclusive()Jiri Slaby (SUSE)1-3/+2
2023-08-22tty: tty_buffer: invert conditions in __tty_buffer_request_room()Jiri Slaby (SUSE)1-22/+22
2023-08-22tty: tty_buffer: initialize variables in initializers alreadyJiri Slaby (SUSE)1-10/+3
2023-08-22tty: tty_buffer: better types in __tty_buffer_request_room()Jiri Slaby (SUSE)1-1/+2
2023-08-22tty: tty_buffer: use __tty_insert_flip_string_flags() in tty_insert_flip_char()Jiri Slaby (SUSE)1-26/+0
2023-08-22tty: tty_buffer: let tty_prepare_flip_string() return size_tJiri Slaby (SUSE)1-2/+3
2023-08-22tty: tty_buffer: switch insert functions to size_tJiri Slaby (SUSE)1-6/+6
2023-08-22tty: tty_buffer: warn if losing flags in __tty_insert_flip_string_flags()Jiri Slaby (SUSE)1-0/+3
2023-08-22tty: tty_buffer: unify tty_insert_flip_string_{fixed_flag,flags}()Jiri Slaby (SUSE)1-55/+15
2023-08-22tty: tty_buffer: use struct_size() in tty_buffer_alloc()Jiri Slaby (SUSE)1-2/+1
2023-08-11tty: use u8 for flagsJiri Slaby (SUSE)1-4/+4
2023-08-11tty: use u8 for charsJiri Slaby (SUSE)1-11/+10
2023-08-11tty: switch count in tty_ldisc_receive_buf() to size_tJiri Slaby (SUSE)1-3/+3
2023-08-11tty: switch receive_buf() counts to size_tJiri Slaby (SUSE)1-4/+4
2023-08-11tty: make tty_port_client_operations operate with u8Jiri Slaby (SUSE)1-2/+2
2022-11-09tty: Convert tty_buffer flags to boolIlpo Järvinen1-14/+14
2022-11-03tty: Cleanup tty buffer align maskIlpo Järvinen1-2/+2
2022-08-30tty: Fix lookahead_buf crash with serdevVincent Whitchurch1-5/+9
2022-08-08Merge tag 'tty-6.0-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/greg...Linus Torvalds1-9/+50
2022-07-08tty: use new tty_insert_flip_string_and_push_buffer() in pty_write()Jiri Slaby1-0/+31
2022-07-08tty: extract tty_flip_buffer_commit() from tty_flip_buffer_push()Jiri Slaby1-5/+10
2022-06-10tty: Implement lookahead to process XON/XOFF timelyIlpo Järvinen1-9/+50
2022-05-12tty: fix deadlock caused by calling printk() under tty_port->lockQi Zheng1-1/+2
2021-11-26tty: reformat kernel-doc in tty_buffer.cJiri Slaby1-127/+124
2021-11-25tty: drop tty_schedule_flip()Jiri Slaby1-22/+8
2021-10-18tty: tty_buffer: Fix the softlockup issue in flush_to_ldiscGuanghui Feng1-0/+3
2021-05-20tty: tty_buffer: Fix incorrectly documented function __tty_buffer_request_room()Lee Jones1-1/+1
2021-05-13tty: tty_buffer: Fix coding style issues of block commentsXiaofei Tan1-3/+6
2021-05-13tty: tty_buffer: Remove the repeated word 'the'Xiaofei Tan1-2/+2
2021-05-13tty: tty_buffer: Add a blank line after declarationsXiaofei Tan1-0/+7
2021-05-13tty: make tty_buffer_space_avail return uintJiri Slaby1-1/+1
2021-05-13tty: make fp of tty_ldisc_ops::receive_buf{,2} constJiri Slaby1-2/+2
2021-04-15tty: move some internal tty lock enums and functions out of tty.hGreg Kroah-Hartman1-1/+1
2020-11-06tty: tty_buffer: Add missing description for 'limit'Lee Jones1-0/+1
2020-08-18tty: fix kernel-docJiri Slaby1-7/+7
2019-01-30tty: increase the default flip buffer limit to 2*640KManfred Schlaegl1-1/+1
2018-10-11tty: wipe buffer.Linus Torvalds1-1/+5
2018-09-18TTY: tty_buffer, warn on leaksJiri Slaby1-1/+6
2017-11-08tty: add SPDX identifiers to all remaining files in drivers/tty/Greg Kroah-Hartman1-0/+1
2017-11-04tty: fix tty_ldisc_receive_buf() documentationJohan Hovold1-1/+1
2017-08-02tty: fix __tty_insert_flip_char regressionArnd Bergmann1-1/+2
2017-07-30tty: improve tty_insert_flip_char() slow pathArnd Bergmann1-2/+3
2017-07-30tty: improve tty_insert_flip_char() fast pathArnd Bergmann1-0/+24
2017-02-03tty_port: Add port client functionsRob Herring1-14/+3
2017-01-19tty: constify tty_ldisc_receive_buf buffer pointerRob Herring1-1/+1
2016-05-01Fix OpenSSH pty regression on closeBrian Bloniarz1-28/+6
2016-01-28tty: Unify receive_buf() code pathsPeter Hurley1-11/+28
2015-12-12tty: Fix GPF in flush_to_ldisc()Peter Hurley1-1/+1
2015-10-17tty: Use unbound workqueue for all input workersPeter Hurley1-1/+1
2015-10-17tty: Abstract tty buffer workPeter Hurley1-0/+10
2015-10-04tty: fix data race on tty_buffer.commitDmitry Vyukov1-3/+12
2015-10-04tty: fix data race in tty_buffer_flushDmitry Vyukov1-1/+4
2015-10-04tty: fix data race in flush_to_ldiscDmitry Vyukov1-1/+1
2015-07-23tty: buffers: Move hidden buffer index advance into outer loopPeter Hurley1-1/+1
2015-07-23tty: Replace smp_rmb/smp_wmb with smp_load_acquire/smp_store_releasePeter Hurley1-6/+4
2015-05-18Merge 4.1-rc4 into tty-nextGreg Kroah-Hartman1-14/+27
2015-05-10pty: Fix input race when closingPeter Hurley1-14/+27
2015-05-10tty: tty_buffer.c: move assignment out of if () blockGreg Kroah-Hartman1-1/+2
2015-02-02pty: Fix buffer flush deadlockPeter Hurley1-0/+6
2014-11-05tty: Flush ldisc buffer atomically with tty flip buffersPeter Hurley1-2/+8
2014-05-24Staging: speakup: Update __speakup_paste_selection() tty (ab)usage to match vtBen Hutchings1-0/+2
2014-05-03tty: Fix lockless tty buffer racePeter Hurley1-3/+14
2014-05-03Revert "tty: Fix race condition between __tty_buffer_request_room and flush_t...Peter Hurley1-14/+2
2014-04-24tty: Fix race condition between __tty_buffer_request_room and flush_to_ldiscManfred Schlaegl1-2/+14
2014-02-28tty: Fix low_latency BUGPeter Hurley1-16/+4
2014-01-07tty: delete non-required instances of include <linux/init.h>Paul Gortmaker1-1/+0
2013-12-09tty: Halve flip buffer GFP_ATOMIC memory consumptionPeter Hurley1-10/+35
2013-12-08tty: Fix stale tty_buffer_flush() commentPeter Hurley1-3/+1
2013-12-08staging/fwserial: Rip out rx bufferingPeter Hurley1-0/+1
2013-12-08tty: Remove tty_prepare_flip_string_flags()Peter Hurley1-28/+0
2013-12-08tty: Rename tty buffer memory_used fieldPeter Hurley1-6/+6
2013-12-08tty: Enable configurable tty flip buffer limitPeter Hurley1-3/+21
2013-07-23tty: Remove private constant from global namespacePeter Hurley1-0/+10
2013-07-23tty: Fix unsafe vt paste_selection()Peter Hurley1-13/+48
2013-07-23tty: Merge __tty_flush_buffer() into lone call sitePeter Hurley1-23/+6
2013-07-23tty: Use non-atomic state to signal flip buffer flush pendingPeter Hurley1-3/+4
2013-07-23tty: Only perform flip buffer flush from tty_buffer_flush()Peter Hurley1-42/+21
2013-07-23tty: Ensure single-threaded flip buffer consumer with mutexPeter Hurley1-21/+19
2013-07-23tty: Make driver-side flip buffers locklessPeter Hurley1-27/+4
2013-07-23tty: Track flip buffer memory limit atomicallyPeter Hurley1-6/+31
2013-07-23tty: Simplify flip buffer list with 0-sized sentinelPeter Hurley1-31/+18
2013-07-23tty: Use lockless flip buffer free listPeter Hurley1-17/+12
2013-07-23tty: Use generic names for flip buffer list cursorsPeter Hurley1-10/+10
2013-07-23tty: Merge tty_buffer_find() into tty_buffer_alloc()Peter Hurley1-32/+18
2013-07-23tty: Factor flip buffer initialization into helper functionPeter Hurley1-9/+12
2013-07-23tty: Fix flip buffer free listPeter Hurley1-6/+10
2013-07-23tty: Compute flip buffer ptrsPeter Hurley1-12/+10
2013-07-23tty: Make ldisc input flow control concurrency-friendlyPeter Hurley1-4/+9
2013-07-23tty: Simplify tty buffer/ldisc interface with helper functionPeter Hurley1-12/+17
2013-07-23tty: Replace ldisc locking with ldisc_semPeter Hurley1-1/+1
2013-04-09tty: Fix race condition if flushing tty flip buffersPeter Hurley1-12/+10
2013-03-04TTY: disable debugging warningJiri Slaby1-1/+1
2013-02-13pps: Move timestamp read into PPS code properGeorge Spelvin1-0/+1
2013-01-20tty: Correct tty buffer flush.Ilya Zykov1-70/+22
2013-01-15TTY: switch tty_schedule_flipJiri Slaby1-4/+4
2013-01-15TTY: switch tty_flip_buffer_pushJiri Slaby1-4/+4
2013-01-15TTY: move low_latency to tty_portJiri Slaby1-4/+5
2013-01-15TTY: convert more flipping functionsJiri Slaby1-16/+16
2013-01-15TTY: switch tty_buffer_request_room to tty_portJiri Slaby1-3/+2
2012-10-25tty: add missing newlines to WARN_RATELIMITSasha Levin1-1/+1
2012-10-24TTY: Report warning when low_latency flag is wrongly usedIvo Sieben1-0/+1
2012-10-22TTY: move tty buffers to tty_portJiri Slaby1-49/+53
2012-10-22TTY: tty_buffer, cache pointer to tty->bufJiri Slaby1-56/+76
2012-10-22TTY: move TTY_FLUSH* flags to tty_portJiri Slaby1-8/+10
2012-10-22tty: prevent unnecessary work queue lock checking on flip buffer copyIvo Sieben1-1/+4
2012-04-09tty: hold lock across tty buffer finding and buffer fillingXiaobing Tu1-20/+65
2011-06-08tty_buffer: get rid of 'seen_tail' logic in flush_to_ldiscLinus Torvalds1-12/+2
2011-06-04Revert "tty: make receive_buf() return the amout of bytes received"Linus Torvalds1-9/+6
2011-04-22tty: make receive_buf() return the amout of bytes receivedFelipe Balbi1-6/+9
2011-04-04tty: fix endless work loop when the buffer fills upLinus Torvalds1-3/+1
2011-03-22tty: stop using "delayed_work" in the tty layerLinus Torvalds1-7/+7
2010-11-09tty: prevent DOS in the flush_to_ldiscJiri Olsa1-2/+12
2010-11-05TTY: create drivers/tty and move the tty core files thereGreg Kroah-Hartman1-0/+524