diff options
| author | fellair <tesladead43@gmail.com> | 2025-06-12 20:39:14 +0300 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2025-06-16 16:52:54 +0000 |
| commit | cfebc8873b2f707ef8ed0bb2d8abb0280fede23a (patch) | |
| tree | 78e81303e6483d12f2aa1078462703710a1e49a8 /sys/linux/dev_block.txt.const | |
| parent | b07d761310f45ec82aafa352739e190d12ab58a0 (diff) | |
sys/linux: update descriptions in dev_block.txt
A few things done here:
- Add new block device ioctls (and structs) related to encryption,
added in 1ebd4a3c095c ("blk-crypto: add ioctls to create and
prepare hardware-wrapped keys"):
BLKCRYPTOIMPORTKEY
BLKCRYPTOGENERATEKEY
BLKCRYPTOPREPAREKEY
Deviate slightly from original keys-related structs to ensure that
ioctl syscalls have preallocated buffers to work with, not merely
pointers that go nowhere.
- Add and update new/missing syscalls related to zoned block devices:
BLKGETZONESZ
BLKGETNRZONES
BLKOPENZONE
BLKCLOSEZONE
BLKFINISHZONE
- Add a few other missing syscalls, such as BLKRASET.
- Fix some syscalls' directions (mostly, to 'inout').
Diffstat (limited to 'sys/linux/dev_block.txt.const')
| -rw-r--r-- | sys/linux/dev_block.txt.const | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/sys/linux/dev_block.txt.const b/sys/linux/dev_block.txt.const index 889c850b7..4938e318d 100644 --- a/sys/linux/dev_block.txt.const +++ b/sys/linux/dev_block.txt.const @@ -1,17 +1,27 @@ # Code generated by syz-sysgen. DO NOT EDIT. arches = 386, amd64, arm, arm64, mips64le, ppc64le, riscv64, s390x -AT_FDCWD = ??? +AT_FDCWD = 18446744073709551516 BLKALIGNOFF = 4730, mips64le:ppc64le:536875642 BLKBSZGET = 2148012656, 386:arm:2147750512, mips64le:ppc64le:1074270832 BLKBSZSET = 1074270833, 386:arm:1074008689, mips64le:ppc64le:2148012657 +BLKCLOSEZONE = 1074795143, mips64le:ppc64le:2148536967 +BLKCRYPTOGENERATEKEY = 3224375946 +BLKCRYPTOIMPORTKEY = 3225424521 +BLKCRYPTOPREPAREKEY = 3225424523 BLKDISCARD = 4727, mips64le:ppc64le:536875639 +BLKDISCARDZEROES = 4732, mips64le:ppc64le:536875644 +BLKFINISHZONE = 1074795144, mips64le:ppc64le:2148536968 BLKFLSBUF = 4705, mips64le:ppc64le:536875617 +BLKFRAGET = 4709, mips64le:ppc64le:536875621 BLKFRASET = 4708, mips64le:ppc64le:536875620 BLKGETDISKSEQ = 2148012672, mips64le:ppc64le:1074270848 +BLKGETNRZONES = 2147750533, mips64le:ppc64le:1074008709 BLKGETSIZE = 4704, mips64le:ppc64le:536875616 BLKGETSIZE64 = 2148012658, 386:arm:2147750514, mips64le:ppc64le:1074270834 +BLKGETZONESZ = 2147750532, mips64le:ppc64le:1074008708 BLKIOMIN = 4728, mips64le:ppc64le:536875640 BLKIOOPT = 4729, mips64le:ppc64le:536875641 +BLKOPENZONE = 1074795142, mips64le:ppc64le:2148536966 BLKPBSZGET = 4731, mips64le:ppc64le:536875643 BLKPG = 4713, mips64le:ppc64le:536875625 BLKPG_ADD_PARTITION = 1 @@ -20,6 +30,7 @@ BLKPG_DEVNAMELTH = 64 BLKPG_RESIZE_PARTITION = 3 BLKPG_VOLNAMELTH = 64 BLKRAGET = 4707, mips64le:ppc64le:536875619 +BLKRASET = 4706, mips64le:ppc64le:536875618 BLKREPORTZONE = 3222278786 BLKRESETZONE = 1074795139, mips64le:ppc64le:2148536963 BLKROGET = 4702, mips64le:ppc64le:536875614 @@ -28,12 +39,15 @@ BLKROTATIONAL = 4734, mips64le:ppc64le:536875646 BLKRRPART = 4703, mips64le:ppc64le:536875615 BLKSECDISCARD = 4733, mips64le:ppc64le:536875645 BLKSECTGET = 4711, mips64le:ppc64le:536875623 +BLKSSZGET = 4712, mips64le:ppc64le:536875624 BLKTRACESETUP = 3225948787, 386:3225424499 BLKTRACESTART = 4724, mips64le:ppc64le:536875636 BLKTRACESTOP = 4725, mips64le:ppc64le:536875637 BLKTRACETEARDOWN = 4726, mips64le:ppc64le:536875638 BLKTRACE_BDEV_SIZE = 32 BLKZEROOUT = 4735, mips64le:ppc64le:536875647 +BLK_CRYPTO_MAX_HW_WRAPPED_KEY_SIZE = 128 +BLK_CRYPTO_MAX_RAW_KEY_SIZE = 64 HDIO_GETGEO = 769 IOC_PR_CLEAR = 1074819277, mips64le:ppc64le:2148561101 IOC_PR_PREEMPT = 1075343563, mips64le:ppc64le:2149085387 |
