blk_crypto_profile_init(9)
π blk_crypto_profile_init(9) β Kernel API Manual, bestie π
π NAME π
blk_crypto_profile_init β initialize a blk_crypto_profile. That's the whole vibe: it's the setup moment for your profile, periodt. β¨
β¨ SYNOPSIS β¨
int blk_crypto_profile_init (struct blk_crypto_profile *profile ,
unsigned int num_slots );
π ARGUMENTS π
profileβ theblk_crypto_profileto initialize πnum_slotsβ the number of keyslots π
πΈ DESCRIPTION πΈ
Okay so storage drivers, this one is a must: call this when starting to set up a blk_crypto_profile, before filling in additional fields. That's the order, fr fr β init first, extra fields later. π«Ά
π₯ RETURN π₯
0 on success, or else a negative error code. Big zero = slay; negative = not the vibe π
π¦ SEE ALSO π¦
- Kernel file:
./block/blk-crypto-profile.c blk-crypto profiles(9)devm_blk_crypto_profile_init(9)blk_crypto_keyslot_index(9)blk_crypto_get_keyslot(9)blk_crypto_put_keyslot(9)blk_crypto_reprogram_all_keys(9)blk_crypto_derive_sw_secret(9)blk_crypto_intersect_capabilities(9)blk_crypto_has_capabilities(9)blk_crypto_update_capabilities(9)
source/version: ./block; date: October 2026; page: blk_crypto_profile_init(9) β mwah, bestie π
β¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms