]> git.ipfire.org Git - thirdparty/systemd.git/blame - src/basic/missing_loop.h
loop: parse and store disk sequence number
[thirdparty/systemd.git] / src / basic / missing_loop.h
CommitLineData
db9ecf05 1/* SPDX-License-Identifier: LGPL-2.1-or-later */
86c1c1f3
LP
2#pragma once
3
bcef1743 4#include <linux/fs.h>
86c1c1f3
LP
5#include <linux/loop.h>
6
7#ifndef LOOP_CONFIGURE
8struct loop_config {
9 __u32 fd;
10 __u32 block_size;
11 struct loop_info64 info;
12 __u64 __reserved[8];
13};
14
15#define LOOP_CONFIGURE 0x4C0A
16#endif
bcef1743
LB
17
18#ifndef BLKGETDISKSEQ
19#define BLKGETDISKSEQ _IOR(0x12,128,__u64)
20#endif