pub(super) constfn compose_opcode(
dir: Direction,
group: Opcode,
num: Opcode,
size: Opcode,
) -> Opcode { let dir = match dir {
Direction::None => NONE,
Direction::Read => READ,
Direction::Write => WRITE,
Direction::ReadWrite => READ | WRITE,
};
dir | num | (group << 8) | ((size & IOCPARAM_MASK) << 16)
}
// `IOC_VOID` pubconst NONE: Opcode = 0x2000_0000; // `IOC_OUT` (“out” is from the perspective of the kernel) pubconst READ: Opcode = 0x4000_0000; // `IOC_IN` (“in” is from the perspective of the kernel) pubconst WRITE: Opcode = 0x8000_0000; pubconst IOCPARAM_MASK: Opcode = 0x1FFF;
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.11 Sekunden
(vorverarbeitet am 2026-08-26)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.