STRUCT RPMB_DESCR(9)
π struct rpmb_descr(9) π
okay so bestie, we're deep in the Kernel API Manual today and this one is a struct, not a command β it's literally the glow-up breakdown of an RPMB description handed to you by the underlying block device. no cap, she's giving "here's everything you need to know about me" energy π
β¨ NAME β¨
struct rpmb_descr β the RPMB description that the underlying block device provides π«Ά
πΈ SYNOPSIS πΈ
struct rpmb_descr {
enum rpmb_type type;
int (*route_frames)(struct device *dev, u8 *req, unsigned int
req_len, u8 *resp, unsigned int resp_len);
u8 *dev_id;
size_t dev_id_len;
u16 reliable_wr_count;
u16 capacity;
};
like, that's the whole vibe of the struct right there β
π¦ Members π¦
typeβ the block device type, iconic little enum telling you what kind of device we're dealing with πroute_framesβ a function pointer that routes frames to and from the RPMB device. she's the main character of the transport layer fr fr π₯dev_idβ the unique device identifier, read straight off the hardware. very "fingerprint but make it silicon" πdev_id_lenβ the length of that unique device identifier, because we gotta know how much of it there is πreliable_wr_countβ the number of sectors that can be written in one access. write smart, not hard β¨capacityβ the capacity of the device, measured in units of128K. yes, that's the unit. no, I didn't make it up π
π Description π
so here's the tea: dev_id is intended to be used as input when deriving the authenticaion key. that's it, that's the little lore drop π
π SEE ALSO π
- Kernel file
./include/linux/rpmb.h enum rpmb_type(9)struct rpmb_dev(9)struct rpmb_frame(9)
go read those next bestie, iykyk ππ«
lowkey a whole struct in one tiny manpage and every single member ate. no notes π
and that's a wrap, babe π§π this page lives in ./include/linux, brought to you by the October 2026 edition of struct rpmb_descr(9) β go forth and derive those keys, queen πβ¨
π¦ 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