/*
* This file is auto - generated . Modifications will be lost .
*
* See https : //android.googlesource.com/platform/bionic/+/master/libc/kernel/
* for more information .
*/
#ifndef _UAPI_BLKZONED_H
#define _UAPI_BLKZONED_H
#include <linux/types.h>
#include <linux/ioctl.h>
enum blk_zone_type {
BLK_ZONE_TYPE_CONVENTIONAL = 0 x1,
BLK_ZONE_TYPE_SEQWRITE_REQ = 0 x2,
BLK_ZONE_TYPE_SEQWRITE_PREF = 0 x3,
};
enum blk_zone_cond {
BLK_ZONE_COND_NOT_WP = 0 x0,
BLK_ZONE_COND_EMPTY = 0 x1,
BLK_ZONE_COND_IMP_OPEN = 0 x2,
BLK_ZONE_COND_EXP_OPEN = 0 x3,
BLK_ZONE_COND_CLOSED = 0 x4,
BLK_ZONE_COND_READONLY = 0 xD,
BLK_ZONE_COND_FULL = 0 xE,
BLK_ZONE_COND_OFFLINE = 0 xF,
BLK_ZONE_COND_ACTIVE = 0 xFF,
#define BLK_ZONE_COND_ACTIVE BLK_ZONE_COND_ACTIVE
};
enum blk_zone_report_flags {
BLK_ZONE_REP_CAPACITY = (1 U << 0 ),
BLK_ZONE_REP_CACHED = (1 U << 31 ),
#define BLK_ZONE_REP_CACHED BLK_ZONE_REP_CACHED
};
struct blk_zone {
__u64 start;
__u64 len;
__u64 wp;
__u8 type;
__u8 cond;
__u8 non_seq;
__u8 reset;
__u8 resv[4 ];
__u64 capacity;
__u8 reserved[24 ];
};
struct blk_zone_report {
__u64 sector;
__u32 nr_zones;
__u32 flags;
struct blk_zone zones[];
};
struct blk_zone_range {
__u64 sector;
__u64 nr_sectors;
};
#define BLKREPORTZONE _IOWR(0 x12, 130 , struct blk_zone_report)
#define BLKRESETZONE _IOW(0 x12, 131 , struct blk_zone_range)
#define BLKGETZONESZ _IOR(0 x12, 132 , __u32)
#define BLKGETNRZONES _IOR(0 x12, 133 , __u32)
#define BLKOPENZONE _IOW(0 x12, 134 , struct blk_zone_range)
#define BLKCLOSEZONE _IOW(0 x12, 135 , struct blk_zone_range)
#define BLKFINISHZONE _IOW(0 x12, 136 , struct blk_zone_range)
#define BLKREPORTZONEV2 _IOWR(0 x12, 142 , struct blk_zone_report)
#endif
Messung V0.5 in Prozent C=93 H=92 G=92
¤ Dauer der Verarbeitung: 0.9 Sekunden
(vorverarbeitet am 2026-06-28)
¤
*© Formatika GbR, Deutschland