Lines Matching +full:2 +full:- +full:layered
1 /* SPDX-License-Identifier: GPL-2.0 */
10 #include <linux/blk-crypto.h>
15 * struct blk_crypto_ll_ops - functions to control inline encryption hardware
17 * Low-level operations for controlling inline encryption hardware. This
19 * encryption. All functions may sleep, are serialized by profile->lock, and
20 * are never called while profile->dev (if set) is runtime-suspended.
29 * The keyslot is guaranteed to not be in-use by any I/O.
32 * device is a layered device, or if the device is real hardware that
35 * Must return 0 on success, or -errno on failure.
47 * The keyslot is guaranteed to not be in-use by any I/O.
55 * Must return 0 on success, or -errno on failure.
63 * struct blk_crypto_profile - inline encryption profile for a device
66 * the supported crypto algorithms), driver-provided functions to control the
68 * device-independent keyslot management data.
75 * @ll_ops: Driver-provided functions to control the inline encryption
83 * supported DUNs is 0 through (1 << (8 * max_dun_bytes_supported)) - 1.
92 * only data unit sizes that are powers of 2 can be supported.
98 * provides this device, it will be runtime-resumed before any function
128 /* Per-keyslot data */