bounce.c (c39f2d9db0fd81ea20bb5cce9b3f082ca63753e2) | bounce.c (a892c8d52c02284076fbbacae6692aa5c5807d11) |
---|---|
1// SPDX-License-Identifier: GPL-2.0 2/* bounce buffer handling for block devices 3 * 4 * - Split from highmem.c 5 */ 6 7#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt 8 --- 253 unchanged lines hidden (view full) --- 262 bio->bi_io_vec[bio->bi_vcnt++] = bio_src->bi_io_vec[0]; 263 break; 264 default: 265 bio_for_each_segment(bv, bio_src, iter) 266 bio->bi_io_vec[bio->bi_vcnt++] = bv; 267 break; 268 } 269 | 1// SPDX-License-Identifier: GPL-2.0 2/* bounce buffer handling for block devices 3 * 4 * - Split from highmem.c 5 */ 6 7#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt 8 --- 253 unchanged lines hidden (view full) --- 262 bio->bi_io_vec[bio->bi_vcnt++] = bio_src->bi_io_vec[0]; 263 break; 264 default: 265 bio_for_each_segment(bv, bio_src, iter) 266 bio->bi_io_vec[bio->bi_vcnt++] = bv; 267 break; 268 } 269 |
270 bio_crypt_clone(bio, bio_src, gfp_mask); 271 |
|
270 if (bio_integrity(bio_src)) { 271 int ret; 272 273 ret = bio_integrity_clone(bio, bio_src, gfp_mask); 274 if (ret < 0) { 275 bio_put(bio); 276 return NULL; 277 } --- 111 unchanged lines hidden --- | 272 if (bio_integrity(bio_src)) { 273 int ret; 274 275 ret = bio_integrity_clone(bio, bio_src, gfp_mask); 276 if (ret < 0) { 277 bio_put(bio); 278 return NULL; 279 } --- 111 unchanged lines hidden --- |