aboutsummaryrefslogtreecommitdiffstats
path: root/block/bio-integrity.c
AgeCommit message (Expand)AuthorFilesLines
7 daysblock: handle REQ_OP_ZONE_APPEND in __bio_integrity_actionChristoph Hellwig1-0/+1
7 daysblock: fix GFP_ flags confusion in bio_integrity_alloc_bufChristoph Hellwig1-5/+3
2026-05-12block: bio-integrity: Fix null-ptr-deref in bio_integrity_map_user()Sungwoo Kim1-0/+18
2026-05-12block: don't overwrite bip_vcnt in bio_integrity_copy_user()David Carlier1-1/+0
2026-04-17block: relax pgmap check in bio_add_page for compatible zone device pagesNaman Jain1-3/+3
2026-03-09block: factor out a bio_integrity_setup_default helperChristoph Hellwig1-0/+16
2026-03-09block: factor out a bio_integrity_action helperChristoph Hellwig1-0/+48
2026-02-21Convert 'alloc_obj' family to use the new default GFP_KERNEL argumentLinus Torvalds1-1/+1
2026-02-21treewide: Replace kmalloc with kmalloc_obj for non-scalar typesKees Cook1-2/+2
2025-11-04block: make bio auto-integrity deadlock safeChristoph Hellwig1-0/+48
2025-09-09blk-integrity: enable p2p source and destinationKeith Busch1-4/+17
2025-09-09blk-integrity: use simpler alignment checkKeith Busch1-2/+2
2025-06-30block: don't merge different kinds of P2P transfers in a single bioChristoph Hellwig1-0/+3
2025-06-03block: drop direction param from bio_integrity_copy_user()Caleb Sander Mateos1-12/+5
2025-05-13block: remove the same_page output argument to bvec_try_merge_pageChristoph Hellwig1-3/+1
2025-04-16block: integrity: Do not call set_page_dirty_lock()Martin K. Petersen1-11/+6
2025-03-03block: split struct bio_integrity_payloadChristoph Hellwig1-85/+22
2025-03-03block: move the block layer auto-integrity code into a new fileChristoph Hellwig1-159/+0
2024-12-23block: add support to pass user meta bufferKanchan Joshi1-0/+50
2024-12-23block: introduce BIP_CHECK_GUARD/REFTAG/APPTAG bip_flagsAnuj Gupta1-0/+5
2024-12-23block: modify bio_integrity_map_user to accept iov_iter as argumentAnuj Gupta1-7/+5
2024-12-23block: copy back bounce buffer to user-space correctly in case of splitChristoph Hellwig1-7/+8
2024-12-23block: define set of integrity flags to be inherited by cloned bipAnuj Gupta1-1/+1
2024-10-30blk-integrity: remove seed for user mapped buffersKeith Busch1-8/+5
2024-09-17Merge tag 'v6.11' into for-6.12/blockJens Axboe1-4/+0
2024-09-13block: provide a request helper for user integrity segmentsKeith Busch1-1/+0
2024-09-04bio-integrity: don't restrict the size of integrity metadataMikulas Patocka1-4/+0
2024-07-22Merge tag 'for-6.11/block-post-20240722' of git://git.kernel.dk/linuxLinus Torvalds1-55/+32
2024-07-15Merge tag 'for-6.11/block-20240710' of git://git.kernel.dk/linuxLinus Torvalds1-98/+37
2024-07-04block: reuse original bio_vec array for integrity during cloneAnuj Gupta1-6/+3
2024-07-03block: don't free the integrity payload in bio_integrity_unmap_free_userChristoph Hellwig1-20/+11
2024-07-03block: don't free submitter owned integrity payload on I/O completionChristoph Hellwig1-35/+22
2024-07-03block: call bio_integrity_unmap_free_user from blk_rq_unmap_userChristoph Hellwig1-1/+0
2024-07-03Merge tag 'v6.10-rc6' into for-6.11/block-postJens Axboe1-2/+24
2024-06-28block: set bip_vcnt correctlyAnuj Gupta1-0/+2
2024-06-28block: remove bio_integrity_processChristoph Hellwig1-45/+2
2024-06-28block: switch on bio operation in bio_integrity_prepChristoph Hellwig1-5/+7
2024-06-28block: remove allocation failure warnings in bio_integrity_prepChristoph Hellwig1-2/+0
2024-06-28block: simplify adding the payload in bio_integrity_prepChristoph Hellwig1-26/+6
2024-06-28block: only zero non-PI metadata tuples in bio_integrity_prepChristoph Hellwig1-4/+4
2024-06-26block: move dma_pad_mask into queue_limitsChristoph Hellwig1-1/+1
2024-06-14block: invert the BLK_INTEGRITY_{GENERATE,VERIFY} flagsChristoph Hellwig1-2/+2
2024-06-14block: remove the blk_integrity_profile structureChristoph Hellwig1-19/+13
2024-06-14block: initialize integrity buffer to zero before writing it to mediaChristoph Hellwig1-1/+10
2024-06-12block: unmap and free user mapped integrity via submitterAnuj Gupta1-2/+24
2024-02-12block: support PI at non-zero offset within metadataKanchan Joshi1-0/+1
2024-01-16block: bio-integrity: fix kcalloc() arguments orderDmitry Antipov1-1/+1
2023-12-01block: bio-integrity: directly map user buffersKeith Busch1-2/+216
2023-08-09bio-integrity: create multi-page bvecs in bio_integrity_add_page()Jinyoung Choi1-7/+24
2023-08-09bio-integrity: cleanup adding integrity pages to bip's bvec.Jinyoung Choi1-13/+3
2023-08-09bio-integrity: update the payload size in bio_integrity_add_page()Jinyoung Choi1-1/+1
2023-07-25block: cleanup bio_integrity_prepJinyoung Choi1-5/+1
2023-07-20block: refactor to use helperNitesh Shetty1-3/+1
2023-02-16block: bio-integrity: Copy flags when bio_integrity_payload is clonedMartin K. Petersen1-0/+1
2023-02-03block: factor out a bvec_set_page helperChristoph Hellwig1-6/+1
2022-08-02block: pass struct queue_limits to the bio splitting helpersChristoph Hellwig1-1/+1
2022-03-07block: support pi with extended metadataKeith Busch1-0/+1
2022-03-07Merge branch 'for-5.18/block' into for-5.18/64bit-piJens Axboe1-1/+0
2022-02-04block: clone crypto and integrity data in __bio_clone_fastChristoph Hellwig1-1/+0
2022-02-03block: bio-integrity: Advance seed correctly for larger interval sizesMartin K. Petersen1-1/+1
2021-10-18block: convert the rest of block to bdev_get_queuePavel Begunkov1-1/+1
2021-10-18block: move integrity handling out of <linux/blkdev.h>Christoph Hellwig1-1/+1
2021-08-16block: use bvec_virt in bio_integrity_{process,free}Christoph Hellwig1-5/+2
2021-08-02block: use bvec_kmap_local in bio_integrity_processChristoph Hellwig1-8/+6
2021-04-06block: remove BLK_BOUNCE_ISA supportChristoph Hellwig1-2/+1
2021-02-08block: use bi_max_vecs to find the bvec poolChristoph Hellwig1-7/+4
2021-02-08block: reuse BIO_INLINE_VECS for integrity bvecsChristoph Hellwig1-4/+2
2021-01-24block: store a block_device pointer in struct bioChristoph Hellwig1-9/+9
2020-07-02block: make function __bio_integrity_free() staticWei Yongjun1-1/+2
2020-06-24block: release bip in a right way in error pathChengguang Xu1-9/+14
2020-06-02block/bio-integrity: don't free 'buf' if bio_integrity_add_page() failedyu kuai1-1/+0
2020-05-14block: Make blk-integrity preclude hardware inline encryptionSatya Tangirala1-0/+3
2019-12-05block: fix memleak of bio integrity dataJustin Tee1-1/+1
2019-07-11block/bio-integrity: fix a memory leak bugWenwen Wang1-2/+6
2019-05-16block/bio-integrity: use struct_size() in kmalloc()Jackie Liu1-2/+1
2019-04-30block: switch all files cleared marked as GPLv2 to SPDX tagsChristoph Hellwig1-15/+1
2018-12-16block: remove the bio_integrity_advance exportChristoph Hellwig1-1/+0
2018-12-16block: remove the bioset_integrity_free exportChristoph Hellwig1-1/+0
2018-09-06block: remove bio_rewind_iter()Ming Lei1-8/+4
2018-07-26block: move bio_integrity_{intervals,bytes} into blkdev.hGreg Edwards1-22/+0
2018-05-14block: Convert bio_set to mempool_init()Kent Overstreet1-15/+14
2018-01-17block: Fix __bio_integrity_endio() documentationBart Van Assche1-1/+0
2017-10-06block: remove unnecessary NULL checks in bioset_integrity_free()Tim Hansen1-5/+2
2017-09-07Merge branch 'for-4.14/block' of git://git.kernel.dk/linux-blockLinus Torvalds1-14/+12
2017-08-24bio-integrity: Fix regression if profile verify_fn is NULLMilan Broz1-1/+4
2017-08-23block: replace bi_bdev with a gendisk pointer and partitions indexChristoph Hellwig1-10/+8
2017-08-09bio-integrity: only verify integrity on the lowest stacked driverChristoph Hellwig1-3/+2
2017-08-09bio-integrity: Fix regression if profile verify_fn is NULLMilan Broz1-1/+4
2017-08-09bio-integrity: move the bio integrity profile check earlier in bio_integrity_...Christoph Hellwig1-3/+3
2017-07-04bio-integrity: fix boolreturn.cocci warningskbuild test robot1-1/+1
2017-07-03bio-integrity: stop abusing bi_end_ioChristoph Hellwig1-27/+12
2017-07-03bio-integrity: Restore original iterator on verify stageDmitry Monakhov1-6/+20
2017-07-03bio-integrity: fold bio_integrity_enabled to bio_integrity_prepDmitry Monakhov1-49/+39
2017-07-03bio-integrity: fix interface for bio_integrity_trimDmitry Monakhov1-9/+2
2017-07-03bio-integrity: bio_integrity_advance must update integrity seedDmitry Monakhov1-0/+1
2017-06-12Merge tag 'v4.12-rc5' into for-4.13/blockJens Axboe1-0/+3
2017-06-09block: switch bios to blk_status_tChristoph Hellwig1-4/+4
2017-06-03bio-integrity: Do not allocate integrity context for bio w/o dataDmitry Monakhov1-0/+3
2016-10-28block: remove bio_is_rwChristoph Hellwig1-1/+1
2016-08-07block: rename bio bi_rw to bi_opfJens Axboe1-1/+1
2016-07-26Merge branch 'for-4.8/drivers' of git://git.kernel.dk/linux-blockLinus Torvalds1-5/+4
2016-07-20block: simplify and cleanup bvec pool handlingChristoph Hellwig1-5/+4
2016-06-14block/bio-integrity.c: Add #include "blk.h"Bart Van Assche1-0/+1
2015-12-09blk-integrity: checking for NULL instead of IS_ERRDan Carpenter1-5/+4
2015-12-03blk-integrity: empty implementation when disabledKeith Busch1-2/+2
2015-10-21block: blk_flush_integrity() for bio-based driversDan Williams1-0/+5
2015-10-21block: Reduce the size of struct blk_integrityMartin K. Petersen1-2/+2
2015-10-21block: Consolidate static integrity profile propertiesMartin K. Petersen1-4/+4
2015-09-11block: Refuse adding appending a gapped integrity page to a bioSagi Grimberg1-0/+5
2015-07-29block: add a bi_error field to struct bioChristoph Hellwig1-6/+5
2015-07-07bio integrity: do not assume bio_integrity_pool exists if bioset existsMike Snitzer1-2/+2
2015-05-22block: remove management of bi_remaining when restoring original bi_end_ioMike Snitzer1-2/+2
2014-12-02block: fix regression where bio_integrity_process uses wrong bio_vec iteratorDarrick J. Wong1-6/+7
2014-10-13bio-integrity: remove the needless fail handle of bip_slab creatingGu Zheng1-2/+0
2014-09-27block: Integrity checksum flagMartin K. Petersen1-0/+3
2014-09-27block: Relocate bio integrity flagsMartin K. Petersen1-2/+2
2014-09-27block: Add prefix to block integrity profile flagsMartin K. Petersen1-2/+2
2014-09-27block: Clean up the code used to generate and verify integrity metadataMartin K. Petersen1-59/+21
2014-09-27block: Make protection interval calculation genericMartin K. Petersen1-5/+1
2014-09-27block: Deprecate the use of the term sector in the context of block integrityMartin K. Petersen1-21/+21
2014-09-27block: Remove bip_bufMartin K. Petersen1-4/+6
2014-09-27block: Remove integrity tagging functionsMartin K. Petersen1-93/+1
2014-09-27block: Replace bi_integrity with bi_specialMartin K. Petersen1-9/+10
2014-09-27block: Get rid of bdev_integrity_enabled()Martin K. Petersen1-22/+17
2014-08-21block: Fix BUG_ON when pi errors occurSagi Grimberg1-1/+1
2014-07-01bio-integrity: add "bip_max_vcnt" into struct bio_integrity_payloadGu Zheng1-9/+3
2014-05-19block: move bio.c and bio-integrity.c from fs/ to block/Jens Axboe1-0/+657