aboutsummaryrefslogtreecommitdiffstats
path: root/io_uring/kbuf.c
AgeCommit message (Expand)AuthorFilesLines
2025-10-23io_uring: fix buffer auto-commit for multishot uring_cmdMing Lei1-11/+22
2025-10-02Merge tag 'for-6.18/io_uring-20250929' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-31/+36
2025-08-28io_uring/kbuf: always use READ_ONCE() to read ring provided buffer lengthsJens Axboe1-7/+13
2025-08-27io_uring/kbuf: fix signedness in this_len calculationQingyue Zhang1-1/+1
2025-08-24io_uring/kbuf: switch to storing struct io_buffer_list locallyJens Axboe1-12/+15
2025-08-24io_uring/kbuf: use struct io_br_sel for multiple buffers pickingJens Axboe1-2/+3
2025-08-24io_uring/kbuf: introduce struct io_br_selJens Axboe1-13/+13
2025-08-24io_uring/kbuf: pass in struct io_buffer_list to commit/recycle helpersJens Axboe1-4/+5
2025-06-26io_uring/kbuf: flag partial buffer mappingsJens Axboe1-0/+1
2025-06-13io_uring/kbuf: don't truncate end buffer for multiple buffer peeksJens Axboe1-1/+4
2025-06-03io_uring/kbuf: limit legacy provided buffer lists to USHRT_MAXJens Axboe1-2/+15
2025-05-21io_uring: finish IOU_OK -> IOU_COMPLETE transitionJens Axboe1-1/+1
2025-05-13io_uring/kbuf: unify legacy buf provision and removalPavel Begunkov1-45/+28
2025-05-13io_uring/kbuf: refactor __io_remove_buffersPavel Begunkov1-25/+13
2025-05-13io_uring/kbuf: don't compute size twice on prepPavel Begunkov1-2/+0
2025-05-13io_uring/kbuf: drop extra vars in io_register_pbuf_ringPavel Begunkov1-3/+3
2025-05-13io_uring/kbuf: use mem_is_zero()Pavel Begunkov1-10/+4
2025-05-13io_uring/kbuf: account ring io_buffer_list memoryPavel Begunkov1-1/+1
2025-04-21io_uring: don't store bgid in req->buf_indexPavel Begunkov1-7/+4
2025-04-21io_uring/kbuf: pass bgid to io_buffer_select()Pavel Begunkov1-2/+2
2025-04-07io_uring/kbuf: reject zero sized provided buffersJens Axboe1-0/+2
2025-03-10io_uring/kbuf: enable bundles for incrementally consumed buffersJens Axboe1-30/+26
2025-02-17io_uring/kbuf: uninline __io_put_kbufsPavel Begunkov1-0/+60
2025-02-17io_uring/kbuf: introduce io_kbuf_drop_legacy()Pavel Begunkov1-0/+10
2025-02-17io_uring/kbuf: open code __io_put_kbuf()Pavel Begunkov1-5/+0
2025-02-17io_uring/kbuf: remove legacy kbuf cachingPavel Begunkov1-50/+7
2025-02-17io_uring/kbuf: simplify __io_put_kbufPavel Begunkov1-23/+3
2025-02-17io_uring/kbuf: remove legacy kbuf kmem cachePavel Begunkov1-4/+2
2025-02-17io_uring/kbuf: remove legacy kbuf bulk allocationPavel Begunkov1-25/+5
2025-02-12io_uring/kbuf: reallocate buf lists on upgradePavel Begunkov1-4/+12
2025-01-20Merge tag 'for-6.14/io_uring-20250119' of git://git.kernel.dk/linuxLinus Torvalds1-157/+69
2025-01-03io_uring/kbuf: use pre-committed buffer address for non-pollable fileJens Axboe1-1/+3
2024-12-23io_uring/kbuf: fix unintentional sign extension on shift of reg.bgidColin Ian King1-1/+1
2024-12-23io_uring/memmap: unify io_uring mmap'ing codePavel Begunkov1-3/+0
2024-12-23io_uring/kbuf: use region api for pbuf ringsPavel Begunkov1-120/+50
2024-12-23io_uring/kbuf: remove pbuf ring refcountingPavel Begunkov1-14/+7
2024-12-23io_uring/kbuf: use mmap_lock to sync with mmapPavel Begunkov1-32/+24
2024-09-16Merge tag 'for-6.12/io_uring-20240913' of git://git.kernel.dk/linuxLinus Torvalds1-43/+53
2024-08-30io_uring/kbuf: return correct iovec count from classic buffer peekJens Axboe1-1/+1
2024-08-29io_uring/kbuf: add support for incremental buffer consumptionJens Axboe1-12/+30
2024-08-29io_uring/kbuf: pass in 'len' argument for buffer commitJens Axboe1-5/+5
2024-08-29io_uring/kbuf: move io_ring_head_to_buf() to kbuf.hJens Axboe1-6/+0
2024-08-29io_uring/kbuf: add io_kbuf_commit() helperJens Axboe1-4/+3
2024-08-25io_uring/kbuf: turn io_buffer_list booleans into flagsJens Axboe1-18/+17
2024-08-25io_uring/kbuf: use 'bl' directly rather than req->buf_listJens Axboe1-1/+1
2024-08-21io_uring/kbuf: sanitize peek buffer setupJens Axboe1-3/+6
2024-07-20io_uring: fix error pbuf checkingPavel Begunkov1-1/+3
2024-04-22io_uring/kbuf: add helpers for getting/peeking multiple buffersJens Axboe1-3/+154
2024-04-15io_uring/kbuf: remove dead defineJens Axboe1-2/+0
2024-04-15io_uring: move mapping/allocation helpers to a separate fileJens Axboe1-0/+1
2024-04-15io_uring: use unpin_user_pages() where appropriateJens Axboe1-3/+2
2024-04-15io_uring/kbuf: use vm_insert_pages() for mmap'ed pbuf ringJens Axboe1-108/+26
2024-04-15io_uring/kbuf: vmap pinned buffer ringJens Axboe1-24/+15
2024-04-02io_uring/kbuf: hold io_buffer_list reference over mmapJens Axboe1-8/+27
2024-04-02io_uring/kbuf: protect io_buffer_list teardown with a referenceJens Axboe1-4/+11
2024-04-02io_uring/kbuf: get rid of bl->is_readyJens Axboe1-8/+0
2024-04-02io_uring/kbuf: get rid of lower BGID listsJens Axboe1-62/+8
2024-03-13io_uring/kbuf: rename is_mappedPavel Begunkov1-10/+10
2024-03-08io_uring/kbuf: rename REQ_F_PARTIAL_IO to REQ_F_BL_NO_RECYCLEJens Axboe1-9/+0
2024-02-27io_uring/kbuf: flag request if buffer pool is empty after buffer pickJens Axboe1-2/+8
2024-02-08io_uring/kbuf: cleanup passing back cflagsJens Axboe1-10/+4
2024-02-08io_uring: add io_file_can_poll() helperJens Axboe1-1/+1
2023-12-21io_uring/kbuf: add method for returning provided buffer ring headJens Axboe1-0/+26
2023-12-05io_uring/kbuf: check for buffer list readiness after NULL checkJens Axboe1-2/+2
2023-12-05io_uring/kbuf: Fix an NULL vs IS_ERR() bug in io_alloc_pbuf_ring()Dan Carpenter1-2/+2
2023-11-28io_uring: free io_buffer_list entries via RCUJens Axboe1-13/+51
2023-11-28io_uring/kbuf: prune deferred locked cache when tearing downJens Axboe1-0/+8
2023-11-28io_uring/kbuf: recycle freed mapped buffer ring entriesJens Axboe1-11/+66
2023-11-28io_uring/kbuf: defer release of mapped buffer ringsJens Axboe1-5/+39
2023-11-06io_uring: indicate if io_kbuf_recycle did recycle anythingDylan Yudaken1-3/+3
2023-11-01Merge tag 'for-6.7/io_uring-2023-10-30' of git://git.kernel.dk/linuxLinus Torvalds1-25/+33
2023-10-05io_uring/kbuf: Use slab for struct io_buffer objectsGabriel Krisman Bertazi1-21/+26
2023-10-05io_uring/kbuf: Allow the full buffer id space for provided buffersGabriel Krisman Bertazi1-4/+7
2023-10-05io_uring/kbuf: Fix check of BID wrapping in provided buffersGabriel Krisman Bertazi1-1/+1
2023-10-03io_uring/kbuf: don't allow registered buffer rings on highmem pagesJens Axboe1-8/+19
2023-08-21io_uring: stop calling free_compound_page()Matthew Wilcox (Oracle)1-5/+1
2023-04-26Merge tag 'for-6.4/io_uring-2023-04-21' of git://git.kernel.dk/linuxLinus Torvalds1-36/+124
2023-04-12io_uring/kbuf: remove extra ->buf_ring null checkPavel Begunkov1-8/+6
2023-04-03io_uring/kbuf: disallow mapping a badly aligned provided ring bufferJens Axboe1-0/+18
2023-04-03io_uring: add support for user mapped provided buffer ringJens Axboe1-23/+76
2023-04-03io_uring/kbuf: rename struct io_uring_buf_reg 'pad' to'flags'Jens Axboe1-2/+6
2023-04-03io_uring/kbuf: add buffer_list->is_mapped memberJens Axboe1-6/+8
2023-04-03io_uring/kbuf: move pinning of provided buffer ring into helperJens Axboe1-12/+25
2023-04-01io_uring: fix memory leak when removing provided buffersWojciech Lukowicz1-1/+4
2023-04-01io_uring: fix return value when removing provided buffersWojciech Lukowicz1-2/+0
2023-02-22io_uring: fix size calculation when registering buf ringWojciech Lukowicz1-1/+1
2022-11-25io_uring: don't use complete_post in kbufPavel Begunkov1-9/+5
2022-11-23io_uring: iopoll protect complete_postPavel Begunkov1-2/+2
2022-11-10io_uring: check for rollover of buffer ID when providing buffersJens Axboe1-0/+2
2022-08-12io_uring: make io_kiocb_to_cmd() typesafeStefan Metzmacher1-4/+4
2022-08-04io_uring: mem-account pbuf bucketsPavel Begunkov1-1/+1
2022-07-24io_uring: allow 0 length for buffer selectDylan Yudaken1-2/+2
2022-07-24io_uring: kbuf: inline io_kbuf_recycle_ring()Hao Xu1-28/+0
2022-07-24io_uring: kbuf: kill __io_kbuf_recycle()Hao Xu1-29/+42
2022-07-24io_uring: kill extra io_uring_types.h includesPavel Begunkov1-1/+0
2022-07-24io_uring: kbuf: add comments for some tricky codeHao Xu1-6/+14
2022-07-24io_uring: don't inline io_put_kbufPavel Begunkov1-0/+33
2022-07-24io_uring: split provided buffers handling into its own fileJens Axboe1-0/+524