Linux cesa-www-main 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
Apache/2.4.68 (Debian)
Server IP : 10.218.0.2 & Your IP : 216.73.216.28
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
include /
linux /
Delete
Unzip
Name
Size
Permission
Date
Action
android
[ DIR ]
drwxr-xr-x
2026-08-06 06:28
byteorder
[ DIR ]
drwxr-xr-x
2026-08-06 06:28
caif
[ DIR ]
drwxr-xr-x
2026-08-06 06:28
can
[ DIR ]
drwxr-xr-x
2026-08-06 06:28
cifs
[ DIR ]
drwxr-xr-x
2026-08-06 06:28
dvb
[ DIR ]
drwxr-xr-x
2026-08-06 06:28
genwqe
[ DIR ]
drwxr-xr-x
2026-08-06 06:28
hdlc
[ DIR ]
drwxr-xr-x
2026-08-06 06:28
hsi
[ DIR ]
drwxr-xr-x
2026-08-06 06:28
iio
[ DIR ]
drwxr-xr-x
2026-08-06 06:28
isdn
[ DIR ]
drwxr-xr-x
2026-08-06 06:28
misc
[ DIR ]
drwxr-xr-x
2026-08-06 06:28
mmc
[ DIR ]
drwxr-xr-x
2026-08-06 06:28
netfilter
[ DIR ]
drwxr-xr-x
2026-08-06 06:28
netfilter_arp
[ DIR ]
drwxr-xr-x
2026-08-06 06:28
netfilter_bridge
[ DIR ]
drwxr-xr-x
2026-08-06 06:28
netfilter_ipv4
[ DIR ]
drwxr-xr-x
2026-08-06 06:28
netfilter_ipv6
[ DIR ]
drwxr-xr-x
2026-08-06 06:28
nfsd
[ DIR ]
drwxr-xr-x
2026-08-06 06:28
raid
[ DIR ]
drwxr-xr-x
2026-08-06 06:28
sched
[ DIR ]
drwxr-xr-x
2026-08-06 06:28
spi
[ DIR ]
drwxr-xr-x
2026-08-06 06:28
sunrpc
[ DIR ]
drwxr-xr-x
2026-08-06 06:28
surface_aggregator
[ DIR ]
drwxr-xr-x
2026-08-06 06:28
tc_act
[ DIR ]
drwxr-xr-x
2026-08-06 06:28
tc_ematch
[ DIR ]
drwxr-xr-x
2026-08-06 06:28
usb
[ DIR ]
drwxr-xr-x
2026-08-06 06:28
a.out.h
6.73
KB
-rw-r--r--
2026-08-03 18:40
acct.h
3.82
KB
-rw-r--r--
2026-08-03 18:40
acrn.h
18.52
KB
-rw-r--r--
2026-08-03 18:40
adb.h
1.11
KB
-rw-r--r--
2026-08-03 18:40
adfs_fs.h
993
B
-rw-r--r--
2026-08-03 18:40
affs_hardblocks.h
1.54
KB
-rw-r--r--
2026-08-03 18:40
agpgart.h
3.86
KB
-rw-r--r--
2026-08-03 18:40
aio_abi.h
3.32
KB
-rw-r--r--
2026-08-03 18:40
am437x-vpfe.h
3.59
KB
-rw-r--r--
2026-08-03 18:40
amt.h
1.71
KB
-rw-r--r--
2026-08-03 18:40
apm_bios.h
3.6
KB
-rw-r--r--
2026-08-03 18:40
arcfb.h
213
B
-rw-r--r--
2026-08-03 18:40
arm_sdei.h
2.69
KB
-rw-r--r--
2026-08-03 18:40
aspeed-lpc-ctrl.h
1.74
KB
-rw-r--r--
2026-08-03 18:40
aspeed-p2a-ctrl.h
1.86
KB
-rw-r--r--
2026-08-03 18:40
atalk.h
1023
B
-rw-r--r--
2026-08-03 18:40
atm.h
7.7
KB
-rw-r--r--
2026-08-03 18:40
atm_eni.h
648
B
-rw-r--r--
2026-08-03 18:40
atm_he.h
406
B
-rw-r--r--
2026-08-03 18:40
atm_idt77105.h
955
B
-rw-r--r--
2026-08-03 18:40
atm_nicstar.h
1.25
KB
-rw-r--r--
2026-08-03 18:40
atm_tcp.h
1.58
KB
-rw-r--r--
2026-08-03 18:40
atm_zatm.h
1.5
KB
-rw-r--r--
2026-08-03 18:40
atmapi.h
952
B
-rw-r--r--
2026-08-03 18:40
atmarp.h
1.27
KB
-rw-r--r--
2026-08-03 18:40
atmbr2684.h
3.19
KB
-rw-r--r--
2026-08-03 18:40
atmclip.h
576
B
-rw-r--r--
2026-08-03 18:40
atmdev.h
7.5
KB
-rw-r--r--
2026-08-03 18:40
atmioc.h
1.61
KB
-rw-r--r--
2026-08-03 18:40
atmlec.h
2.33
KB
-rw-r--r--
2026-08-03 18:40
atmmpc.h
4.13
KB
-rw-r--r--
2026-08-03 18:40
atmppp.h
639
B
-rw-r--r--
2026-08-03 18:40
atmsap.h
4.85
KB
-rw-r--r--
2026-08-03 18:40
atmsvc.h
1.81
KB
-rw-r--r--
2026-08-03 18:40
audit.h
21.06
KB
-rw-r--r--
2026-08-03 18:40
auto_dev-ioctl.h
4.87
KB
-rw-r--r--
2026-08-03 18:40
auto_fs.h
6.28
KB
-rw-r--r--
2026-08-03 18:40
auto_fs4.h
451
B
-rw-r--r--
2026-08-03 18:40
auxvec.h
1.56
KB
-rw-r--r--
2026-08-03 18:40
ax25.h
2.76
KB
-rw-r--r--
2026-08-03 18:40
batadv_packet.h
19.87
KB
-rw-r--r--
2026-08-03 18:40
batman_adv.h
16.49
KB
-rw-r--r--
2026-08-03 18:40
baycom.h
883
B
-rw-r--r--
2026-08-03 18:40
bcm933xx_hcs.h
419
B
-rw-r--r--
2026-08-03 18:40
bfs_fs.h
1.86
KB
-rw-r--r--
2026-08-03 18:40
binfmts.h
776
B
-rw-r--r--
2026-08-03 18:40
blkpg.h
904
B
-rw-r--r--
2026-08-03 18:40
blktrace_api.h
4.59
KB
-rw-r--r--
2026-08-03 18:40
blkzoned.h
6.34
KB
-rw-r--r--
2026-08-03 18:40
bpf.h
255.94
KB
-rw-r--r--
2026-08-03 18:40
bpf_common.h
1.33
KB
-rw-r--r--
2026-08-03 18:40
bpf_perf_event.h
529
B
-rw-r--r--
2026-08-03 18:40
bpfilter.h
465
B
-rw-r--r--
2026-08-03 18:40
bpqether.h
981
B
-rw-r--r--
2026-08-03 18:40
bsg.h
2.44
KB
-rw-r--r--
2026-08-03 18:40
bt-bmc.h
572
B
-rw-r--r--
2026-08-03 18:40
btf.h
5.46
KB
-rw-r--r--
2026-08-03 18:40
btrfs.h
35.26
KB
-rw-r--r--
2026-08-03 18:40
btrfs_tree.h
26.75
KB
-rw-r--r--
2026-08-03 18:40
cachefiles.h
1.61
KB
-rw-r--r--
2026-08-03 18:40
can.h
11.03
KB
-rw-r--r--
2026-08-03 18:40
capability.h
13.18
KB
-rw-r--r--
2026-08-03 18:40
capi.h
3.05
KB
-rw-r--r--
2026-08-03 18:40
cciss_defs.h
3.2
KB
-rw-r--r--
2026-08-03 18:40
cciss_ioctl.h
2.7
KB
-rw-r--r--
2026-08-03 18:40
ccs.h
767
B
-rw-r--r--
2026-08-03 18:40
cdrom.h
28.87
KB
-rw-r--r--
2026-08-03 18:40
cec-funcs.h
53.14
KB
-rw-r--r--
2026-08-03 18:40
cec.h
41.17
KB
-rw-r--r--
2026-08-03 18:40
cfm_bridge.h
1.42
KB
-rw-r--r--
2026-08-03 18:40
cgroupstats.h
2.17
KB
-rw-r--r--
2026-08-03 18:40
chio.h
5.16
KB
-rw-r--r--
2026-08-03 18:40
close_range.h
377
B
-rw-r--r--
2026-08-03 18:40
cm4000_cs.h
1.76
KB
-rw-r--r--
2026-08-03 18:40
cn_proc.h
3.38
KB
-rw-r--r--
2026-08-03 18:40
coda.h
17.79
KB
-rw-r--r--
2026-08-03 18:40
coff.h
12.25
KB
-rw-r--r--
2026-08-03 18:40
comedi.h
54.18
KB
-rw-r--r--
2026-08-03 18:40
connector.h
2.2
KB
-rw-r--r--
2026-08-03 18:40
const.h
991
B
-rw-r--r--
2026-08-03 18:40
coresight-stm.h
747
B
-rw-r--r--
2026-08-03 18:40
counter.h
4.51
KB
-rw-r--r--
2026-08-03 18:40
cramfs_fs.h
3.47
KB
-rw-r--r--
2026-08-03 18:40
cryptouser.h
5.2
KB
-rw-r--r--
2026-08-03 18:40
cuda.h
905
B
-rw-r--r--
2026-08-03 18:40
cxl_mem.h
6.32
KB
-rw-r--r--
2026-08-03 18:40
cyclades.h
969
B
-rw-r--r--
2026-08-03 18:40
cycx_cfm.h
2.92
KB
-rw-r--r--
2026-08-03 18:40
dcbnl.h
24.7
KB
-rw-r--r--
2026-08-03 18:40
dccp.h
6.29
KB
-rw-r--r--
2026-08-03 18:40
devlink.h
21.31
KB
-rw-r--r--
2026-08-03 18:40
dlm.h
2.46
KB
-rw-r--r--
2026-08-03 18:40
dlm_device.h
2.48
KB
-rw-r--r--
2026-08-03 18:40
dlm_netlink.h
1.13
KB
-rw-r--r--
2026-08-03 18:40
dlm_plock.h
894
B
-rw-r--r--
2026-08-03 18:40
dlmconstants.h
4.96
KB
-rw-r--r--
2026-08-03 18:40
dm-ioctl.h
11.33
KB
-rw-r--r--
2026-08-03 18:40
dm-log-userspace.h
14.83
KB
-rw-r--r--
2026-08-03 18:40
dma-buf.h
7.17
KB
-rw-r--r--
2026-08-03 18:40
dma-heap.h
1.36
KB
-rw-r--r--
2026-08-03 18:40
dns_resolver.h
3.86
KB
-rw-r--r--
2026-08-03 18:40
dqblk_xfs.h
9.17
KB
-rw-r--r--
2026-08-03 18:40
dw100.h
357
B
-rw-r--r--
2026-08-03 18:40
edd.h
5.47
KB
-rw-r--r--
2026-08-03 18:40
efs_fs_sb.h
2.17
KB
-rw-r--r--
2026-08-03 18:40
elf-em.h
2.57
KB
-rw-r--r--
2026-08-03 18:40
elf-fdpic.h
1.1
KB
-rw-r--r--
2026-08-03 18:40
elf.h
14.54
KB
-rw-r--r--
2026-08-03 18:40
errno.h
23
B
-rw-r--r--
2026-08-03 18:40
errqueue.h
1.94
KB
-rw-r--r--
2026-08-03 18:40
erspan.h
1.03
KB
-rw-r--r--
2026-08-03 18:40
ethtool.h
84.25
KB
-rw-r--r--
2026-08-03 18:40
ethtool_netlink.h
23.68
KB
-rw-r--r--
2026-08-03 18:40
eventpoll.h
2.84
KB
-rw-r--r--
2026-08-03 18:40
f2fs.h
3.22
KB
-rw-r--r--
2026-08-03 18:40
fadvise.h
842
B
-rw-r--r--
2026-08-03 18:40
falloc.h
3.5
KB
-rw-r--r--
2026-08-03 18:40
fanotify.h
7.3
KB
-rw-r--r--
2026-08-03 18:40
fb.h
16.09
KB
-rw-r--r--
2026-08-03 18:40
fcntl.h
4.15
KB
-rw-r--r--
2026-08-03 18:40
fd.h
11.83
KB
-rw-r--r--
2026-08-03 18:40
fdreg.h
5.24
KB
-rw-r--r--
2026-08-03 18:40
fib_rules.h
1.99
KB
-rw-r--r--
2026-08-03 18:40
fiemap.h
2.71
KB
-rw-r--r--
2026-08-03 18:40
filter.h
2.16
KB
-rw-r--r--
2026-08-03 18:40
firewire-cdev.h
43.2
KB
-rw-r--r--
2026-08-03 18:40
firewire-constants.h
3.16
KB
-rw-r--r--
2026-08-03 18:40
fou.h
894
B
-rw-r--r--
2026-08-03 18:40
fpga-dfl.h
8.52
KB
-rw-r--r--
2026-08-03 18:40
fs.h
12.01
KB
-rw-r--r--
2026-08-03 18:40
fscrypt.h
6.46
KB
-rw-r--r--
2026-08-03 18:40
fsi.h
2.62
KB
-rw-r--r--
2026-08-03 18:40
fsl_hypervisor.h
7.13
KB
-rw-r--r--
2026-08-03 18:40
fsl_mc.h
734
B
-rw-r--r--
2026-08-03 18:40
fsmap.h
4.3
KB
-rw-r--r--
2026-08-03 18:40
fsverity.h
3.11
KB
-rw-r--r--
2026-08-03 18:40
fuse.h
25.23
KB
-rw-r--r--
2026-08-03 18:40
futex.h
5.5
KB
-rw-r--r--
2026-08-03 18:40
gameport.h
897
B
-rw-r--r--
2026-08-03 18:40
gen_stats.h
1.49
KB
-rw-r--r--
2026-08-03 18:40
genetlink.h
2.19
KB
-rw-r--r--
2026-08-03 18:40
gfs2_ondisk.h
14.43
KB
-rw-r--r--
2026-08-03 18:40
gpio.h
19.46
KB
-rw-r--r--
2026-08-03 18:40
gsmmux.h
1.12
KB
-rw-r--r--
2026-08-03 18:40
gtp.h
734
B
-rw-r--r--
2026-08-03 18:40
hash_info.h
971
B
-rw-r--r--
2026-08-03 18:40
hdlc.h
637
B
-rw-r--r--
2026-08-03 18:40
hdlcdrv.h
2.84
KB
-rw-r--r--
2026-08-03 18:40
hdreg.h
22.17
KB
-rw-r--r--
2026-08-03 18:40
hid.h
2.04
KB
-rw-r--r--
2026-08-03 18:40
hiddev.h
6.2
KB
-rw-r--r--
2026-08-03 18:40
hidraw.h
1.95
KB
-rw-r--r--
2026-08-03 18:40
hpet.h
743
B
-rw-r--r--
2026-08-03 18:40
hsr_netlink.h
1.08
KB
-rw-r--r--
2026-08-03 18:40
hw_breakpoint.h
742
B
-rw-r--r--
2026-08-03 18:40
hyperv.h
10.91
KB
-rw-r--r--
2026-08-03 18:40
i2c-dev.h
1.83
KB
-rw-r--r--
2026-08-03 18:40
i2c.h
6.73
KB
-rw-r--r--
2026-08-03 18:40
i2o-dev.h
11.28
KB
-rw-r--r--
2026-08-03 18:40
i8k.h
1.49
KB
-rw-r--r--
2026-08-03 18:40
icmp.h
4.67
KB
-rw-r--r--
2026-08-03 18:40
icmpv6.h
4.17
KB
-rw-r--r--
2026-08-03 18:40
idxd.h
8.22
KB
-rw-r--r--
2026-08-03 18:40
if.h
10.67
KB
-rw-r--r--
2026-08-03 18:40
if_addr.h
2.09
KB
-rw-r--r--
2026-08-03 18:40
if_addrlabel.h
721
B
-rw-r--r--
2026-08-03 18:40
if_alg.h
1.53
KB
-rw-r--r--
2026-08-03 18:40
if_arcnet.h
3.63
KB
-rw-r--r--
2026-08-03 18:40
if_arp.h
6.43
KB
-rw-r--r--
2026-08-03 18:40
if_bonding.h
5.02
KB
-rw-r--r--
2026-08-03 18:40
if_bridge.h
19.06
KB
-rw-r--r--
2026-08-03 18:40
if_cablemodem.h
986
B
-rw-r--r--
2026-08-03 18:40
if_eql.h
1.32
KB
-rw-r--r--
2026-08-03 18:40
if_ether.h
8.56
KB
-rw-r--r--
2026-08-03 18:40
if_fc.h
1.7
KB
-rw-r--r--
2026-08-03 18:40
if_fddi.h
4.27
KB
-rw-r--r--
2026-08-03 18:40
if_hippi.h
4.14
KB
-rw-r--r--
2026-08-03 18:40
if_infiniband.h
1.22
KB
-rw-r--r--
2026-08-03 18:40
if_link.h
33.8
KB
-rw-r--r--
2026-08-03 18:40
if_ltalk.h
210
B
-rw-r--r--
2026-08-03 18:40
if_macsec.h
6.35
KB
-rw-r--r--
2026-08-03 18:40
if_packet.h
7.96
KB
-rw-r--r--
2026-08-03 18:40
if_phonet.h
424
B
-rw-r--r--
2026-08-03 18:40
if_plip.h
660
B
-rw-r--r--
2026-08-03 18:40
if_ppp.h
29
B
-rw-r--r--
2026-08-03 18:40
if_pppol2tp.h
3.23
KB
-rw-r--r--
2026-08-03 18:40
if_pppox.h
4.76
KB
-rw-r--r--
2026-08-03 18:40
if_slip.h
872
B
-rw-r--r--
2026-08-03 18:40
if_team.h
2.54
KB
-rw-r--r--
2026-08-03 18:40
if_tun.h
4.09
KB
-rw-r--r--
2026-08-03 18:40
if_tunnel.h
4.47
KB
-rw-r--r--
2026-08-03 18:40
if_vlan.h
1.79
KB
-rw-r--r--
2026-08-03 18:40
if_x25.h
881
B
-rw-r--r--
2026-08-03 18:40
if_xdp.h
2.94
KB
-rw-r--r--
2026-08-03 18:40
ife.h
351
B
-rw-r--r--
2026-08-03 18:40
igmp.h
2.99
KB
-rw-r--r--
2026-08-03 18:40
ila.h
1.22
KB
-rw-r--r--
2026-08-03 18:40
in.h
10.61
KB
-rw-r--r--
2026-08-03 18:40
in6.h
7.4
KB
-rw-r--r--
2026-08-03 18:40
in_route.h
936
B
-rw-r--r--
2026-08-03 18:40
inet_diag.h
4.9
KB
-rw-r--r--
2026-08-03 18:40
inotify.h
3.21
KB
-rw-r--r--
2026-08-03 18:40
input-event-codes.h
29.05
KB
-rw-r--r--
2026-08-03 18:40
input.h
15.84
KB
-rw-r--r--
2026-08-03 18:40
io_uring.h
16.96
KB
-rw-r--r--
2026-08-03 18:40
ioam6.h
2.33
KB
-rw-r--r--
2026-08-03 18:40
ioam6_genl.h
945
B
-rw-r--r--
2026-08-03 18:40
ioam6_iptunnel.h
1.26
KB
-rw-r--r--
2026-08-03 18:40
ioctl.h
163
B
-rw-r--r--
2026-08-03 18:40
iommu.h
4.79
KB
-rw-r--r--
2026-08-03 18:40
ioprio.h
1.42
KB
-rw-r--r--
2026-08-03 18:40
ip.h
4.73
KB
-rw-r--r--
2026-08-03 18:40
ip6_tunnel.h
1.91
KB
-rw-r--r--
2026-08-03 18:40
ip_vs.h
13.8
KB
-rw-r--r--
2026-08-03 18:40
ipc.h
2.05
KB
-rw-r--r--
2026-08-03 18:40
ipmi.h
15.08
KB
-rw-r--r--
2026-08-03 18:40
ipmi_bmc.h
488
B
-rw-r--r--
2026-08-03 18:40
ipmi_msgdefs.h
3.35
KB
-rw-r--r--
2026-08-03 18:40
ipsec.h
947
B
-rw-r--r--
2026-08-03 18:40
ipv6.h
4.22
KB
-rw-r--r--
2026-08-03 18:40
ipv6_route.h
1.86
KB
-rw-r--r--
2026-08-03 18:40
irqnr.h
104
B
-rw-r--r--
2026-08-03 18:40
iso_fs.h
6.33
KB
-rw-r--r--
2026-08-03 18:40
isst_if.h
5.28
KB
-rw-r--r--
2026-08-03 18:40
ivtv.h
2.95
KB
-rw-r--r--
2026-08-03 18:40
ivtvfb.h
1.18
KB
-rw-r--r--
2026-08-03 18:40
jffs2.h
6.65
KB
-rw-r--r--
2026-08-03 18:40
joystick.h
3.35
KB
-rw-r--r--
2026-08-03 18:40
kcm.h
822
B
-rw-r--r--
2026-08-03 18:40
kcmp.h
522
B
-rw-r--r--
2026-08-03 18:40
kcov.h
1.92
KB
-rw-r--r--
2026-08-03 18:40
kd.h
6.1
KB
-rw-r--r--
2026-08-03 18:40
kdev_t.h
383
B
-rw-r--r--
2026-08-03 18:40
kernel-page-flags.h
900
B
-rw-r--r--
2026-08-03 18:40
kernel.h
194
B
-rw-r--r--
2026-08-03 18:40
kernelcapi.h
1019
B
-rw-r--r--
2026-08-03 18:40
kexec.h
1.92
KB
-rw-r--r--
2026-08-03 18:40
keyboard.h
13.14
KB
-rw-r--r--
2026-08-03 18:40
keyctl.h
5.86
KB
-rw-r--r--
2026-08-03 18:40
kfd_ioctl.h
28.18
KB
-rw-r--r--
2026-08-03 18:40
kfd_sysfs.h
4.25
KB
-rw-r--r--
2026-08-03 18:40
kvm.h
63.06
KB
-rw-r--r--
2026-08-03 18:40
kvm_para.h
1001
B
-rw-r--r--
2026-08-03 18:40
l2tp.h
5.61
KB
-rw-r--r--
2026-08-03 18:40
landlock.h
6.4
KB
-rw-r--r--
2026-08-03 18:40
libc-compat.h
8.09
KB
-rw-r--r--
2026-08-03 18:40
limits.h
937
B
-rw-r--r--
2026-08-03 18:40
lirc.h
8.13
KB
-rw-r--r--
2026-08-03 18:40
llc.h
3.09
KB
-rw-r--r--
2026-08-03 18:40
loadpin.h
834
B
-rw-r--r--
2026-08-03 18:40
loop.h
3.32
KB
-rw-r--r--
2026-08-03 18:40
lp.h
4.09
KB
-rw-r--r--
2026-08-03 18:40
lwtunnel.h
2.31
KB
-rw-r--r--
2026-08-03 18:40
magic.h
3.77
KB
-rw-r--r--
2026-08-03 18:40
major.h
4.55
KB
-rw-r--r--
2026-08-03 18:40
map_to_14segment.h
9.28
KB
-rw-r--r--
2026-08-03 18:40
map_to_7segment.h
6.45
KB
-rw-r--r--
2026-08-03 18:40
matroxfb.h
1.43
KB
-rw-r--r--
2026-08-03 18:40
max2175.h
1.01
KB
-rw-r--r--
2026-08-03 18:40
mctp.h
1.45
KB
-rw-r--r--
2026-08-03 18:40
mdio.h
21.41
KB
-rw-r--r--
2026-08-03 18:40
media-bus-format.h
6.93
KB
-rw-r--r--
2026-08-03 18:40
media.h
12.44
KB
-rw-r--r--
2026-08-03 18:40
mei.h
3.39
KB
-rw-r--r--
2026-08-03 18:40
membarrier.h
9.14
KB
-rw-r--r--
2026-08-03 18:40
memfd.h
1.29
KB
-rw-r--r--
2026-08-03 18:40
mempolicy.h
2.51
KB
-rw-r--r--
2026-08-03 18:40
meye.h
2.47
KB
-rw-r--r--
2026-08-03 18:40
mii.h
9.27
KB
-rw-r--r--
2026-08-03 18:40
minix_fs.h
2.07
KB
-rw-r--r--
2026-08-03 18:40
mman.h
1.55
KB
-rw-r--r--
2026-08-03 18:40
mmtimer.h
2.07
KB
-rw-r--r--
2026-08-03 18:40
module.h
293
B
-rw-r--r--
2026-08-03 18:40
mount.h
4.97
KB
-rw-r--r--
2026-08-03 18:40
mpls.h
2.25
KB
-rw-r--r--
2026-08-03 18:40
mpls_iptunnel.h
761
B
-rw-r--r--
2026-08-03 18:40
mptcp.h
7.03
KB
-rw-r--r--
2026-08-03 18:40
mqueue.h
2.15
KB
-rw-r--r--
2026-08-03 18:40
mroute.h
5.78
KB
-rw-r--r--
2026-08-03 18:40
mroute6.h
4.89
KB
-rw-r--r--
2026-08-03 18:40
mrp_bridge.h
1.67
KB
-rw-r--r--
2026-08-03 18:40
msdos_fs.h
6.57
KB
-rw-r--r--
2026-08-03 18:40
msg.h
3.31
KB
-rw-r--r--
2026-08-03 18:40
mtio.h
7.98
KB
-rw-r--r--
2026-08-03 18:40
nbd-netlink.h
2.35
KB
-rw-r--r--
2026-08-03 18:40
nbd.h
2.95
KB
-rw-r--r--
2026-08-03 18:40
ncsi.h
4.71
KB
-rw-r--r--
2026-08-03 18:40
ndctl.h
6.66
KB
-rw-r--r--
2026-08-03 18:40
neighbour.h
5.68
KB
-rw-r--r--
2026-08-03 18:40
net.h
2.04
KB
-rw-r--r--
2026-08-03 18:40
net_dropmon.h
2.85
KB
-rw-r--r--
2026-08-03 18:40
net_namespace.h
715
B
-rw-r--r--
2026-08-03 18:40
net_tstamp.h
5.93
KB
-rw-r--r--
2026-08-03 18:40
netconf.h
614
B
-rw-r--r--
2026-08-03 18:40
netdevice.h
2.2
KB
-rw-r--r--
2026-08-03 18:40
netfilter.h
1.69
KB
-rw-r--r--
2026-08-03 18:40
netfilter_arp.h
445
B
-rw-r--r--
2026-08-03 18:40
netfilter_bridge.h
1.21
KB
-rw-r--r--
2026-08-03 18:40
netfilter_ipv4.h
1.45
KB
-rw-r--r--
2026-08-03 18:40
netfilter_ipv6.h
1.35
KB
-rw-r--r--
2026-08-03 18:40
netlink.h
11.92
KB
-rw-r--r--
2026-08-03 18:40
netlink_diag.h
1.49
KB
-rw-r--r--
2026-08-03 18:40
netrom.h
807
B
-rw-r--r--
2026-08-03 18:40
nexthop.h
2.76
KB
-rw-r--r--
2026-08-03 18:40
nfc.h
10.97
KB
-rw-r--r--
2026-08-03 18:40
nfs.h
4.36
KB
-rw-r--r--
2026-08-03 18:40
nfs2.h
1.43
KB
-rw-r--r--
2026-08-03 18:40
nfs3.h
2.4
KB
-rw-r--r--
2026-08-03 18:40
nfs4.h
6.39
KB
-rw-r--r--
2026-08-03 18:40
nfs4_mount.h
1.89
KB
-rw-r--r--
2026-08-03 18:40
nfs_fs.h
1.62
KB
-rw-r--r--
2026-08-03 18:40
nfs_idmap.h
2.19
KB
-rw-r--r--
2026-08-03 18:40
nfs_mount.h
2.09
KB
-rw-r--r--
2026-08-03 18:40
nfsacl.h
718
B
-rw-r--r--
2026-08-03 18:40
nilfs2_api.h
7.41
KB
-rw-r--r--
2026-08-03 18:40
nilfs2_ondisk.h
17.66
KB
-rw-r--r--
2026-08-03 18:40
nitro_enclaves.h
12.85
KB
-rw-r--r--
2026-08-03 18:40
nl80211-vnd-intel.h
4.49
KB
-rw-r--r--
2026-08-03 18:40
nl80211.h
325.49
KB
-rw-r--r--
2026-08-03 18:40
nsfs.h
639
B
-rw-r--r--
2026-08-03 18:40
nubus.h
8
KB
-rw-r--r--
2026-08-03 18:40
nvme_ioctl.h
2.43
KB
-rw-r--r--
2026-08-03 18:40
nvram.h
532
B
-rw-r--r--
2026-08-03 18:40
omap3isp.h
20.45
KB
-rw-r--r--
2026-08-03 18:40
omapfb.h
5.78
KB
-rw-r--r--
2026-08-03 18:40
oom.h
511
B
-rw-r--r--
2026-08-03 18:40
openat2.h
1.42
KB
-rw-r--r--
2026-08-03 18:40
openvswitch.h
39.52
KB
-rw-r--r--
2026-08-03 18:40
packet_diag.h
1.63
KB
-rw-r--r--
2026-08-03 18:40
param.h
141
B
-rw-r--r--
2026-08-03 18:40
parport.h
3.56
KB
-rw-r--r--
2026-08-03 18:40
patchkey.h
892
B
-rw-r--r--
2026-08-03 18:40
pci.h
1.35
KB
-rw-r--r--
2026-08-03 18:40
pci_regs.h
59.16
KB
-rw-r--r--
2026-08-03 18:40
pcitest.h
878
B
-rw-r--r--
2026-08-03 18:40
perf_event.h
41.64
KB
-rw-r--r--
2026-08-03 18:40
personality.h
2.05
KB
-rw-r--r--
2026-08-03 18:40
pfkeyv2.h
10.39
KB
-rw-r--r--
2026-08-03 18:40
pfrut.h
7.82
KB
-rw-r--r--
2026-08-03 18:40
pg.h
2.34
KB
-rw-r--r--
2026-08-03 18:40
phantom.h
1.62
KB
-rw-r--r--
2026-08-03 18:40
phonet.h
4.57
KB
-rw-r--r--
2026-08-03 18:40
pidfd.h
256
B
-rw-r--r--
2026-08-03 18:40
pkt_cls.h
18.42
KB
-rw-r--r--
2026-08-03 18:40
pkt_sched.h
29.74
KB
-rw-r--r--
2026-08-03 18:40
pktcdvd.h
2.62
KB
-rw-r--r--
2026-08-03 18:40
pmu.h
5.32
KB
-rw-r--r--
2026-08-03 18:40
poll.h
22
B
-rw-r--r--
2026-08-03 18:40
posix_acl.h
1.22
KB
-rw-r--r--
2026-08-03 18:40
posix_acl_xattr.h
1.09
KB
-rw-r--r--
2026-08-03 18:40
posix_types.h
1.07
KB
-rw-r--r--
2026-08-03 18:40
ppdev.h
3.21
KB
-rw-r--r--
2026-08-03 18:40
ppp-comp.h
2.47
KB
-rw-r--r--
2026-08-03 18:40
ppp-ioctl.h
5.59
KB
-rw-r--r--
2026-08-03 18:40
ppp_defs.h
5.43
KB
-rw-r--r--
2026-08-03 18:40
pps.h
4.62
KB
-rw-r--r--
2026-08-03 18:40
pr.h
1.05
KB
-rw-r--r--
2026-08-03 18:40
prctl.h
9.79
KB
-rw-r--r--
2026-08-03 18:40
psample.h
2.22
KB
-rw-r--r--
2026-08-03 18:40
psci.h
5.02
KB
-rw-r--r--
2026-08-03 18:40
psp-sev.h
4.36
KB
-rw-r--r--
2026-08-03 18:40
ptp_clock.h
7.28
KB
-rw-r--r--
2026-08-03 18:40
ptrace.h
4.29
KB
-rw-r--r--
2026-08-03 18:40
qemu_fw_cfg.h
2.41
KB
-rw-r--r--
2026-08-03 18:40
qnx4_fs.h
2.27
KB
-rw-r--r--
2026-08-03 18:40
qnxtypes.h
624
B
-rw-r--r--
2026-08-03 18:40
qrtr.h
893
B
-rw-r--r--
2026-08-03 18:40
quota.h
6.14
KB
-rw-r--r--
2026-08-03 18:40
radeonfb.h
360
B
-rw-r--r--
2026-08-03 18:40
random.h
1.38
KB
-rw-r--r--
2026-08-03 18:40
rds.h
10.91
KB
-rw-r--r--
2026-08-03 18:40
reboot.h
1.31
KB
-rw-r--r--
2026-08-03 18:40
reiserfs_fs.h
775
B
-rw-r--r--
2026-08-03 18:40
reiserfs_xattr.h
542
B
-rw-r--r--
2026-08-03 18:40
remoteproc_cdev.h
1.08
KB
-rw-r--r--
2026-08-03 18:40
resource.h
2.53
KB
-rw-r--r--
2026-08-03 18:40
rfkill.h
6.45
KB
-rw-r--r--
2026-08-03 18:40
rio_cm_cdev.h
3.17
KB
-rw-r--r--
2026-08-03 18:40
rio_mport_cdev.h
9.11
KB
-rw-r--r--
2026-08-03 18:40
rkisp1-config.h
33.39
KB
-rw-r--r--
2026-08-03 18:40
romfs_fs.h
1.21
KB
-rw-r--r--
2026-08-03 18:40
rose.h
2.18
KB
-rw-r--r--
2026-08-03 18:40
route.h
2.28
KB
-rw-r--r--
2026-08-03 18:40
rpl.h
814
B
-rw-r--r--
2026-08-03 18:40
rpl_iptunnel.h
424
B
-rw-r--r--
2026-08-03 18:40
rpmsg.h
1.03
KB
-rw-r--r--
2026-08-03 18:40
rpmsg_types.h
288
B
-rw-r--r--
2026-08-03 18:40
rseq.h
4.6
KB
-rw-r--r--
2026-08-03 18:40
rtc.h
5.19
KB
-rw-r--r--
2026-08-03 18:40
rtnetlink.h
20.71
KB
-rw-r--r--
2026-08-03 18:40
rxrpc.h
4.81
KB
-rw-r--r--
2026-08-03 18:40
scc.h
4.52
KB
-rw-r--r--
2026-08-03 18:40
sched.h
6.12
KB
-rw-r--r--
2026-08-03 18:40
scif_ioctl.h
6.23
KB
-rw-r--r--
2026-08-03 18:40
screen_info.h
2.42
KB
-rw-r--r--
2026-08-03 18:40
sctp.h
35.15
KB
-rw-r--r--
2026-08-03 18:40
seccomp.h
5.74
KB
-rw-r--r--
2026-08-03 18:40
securebits.h
2.64
KB
-rw-r--r--
2026-08-03 18:40
sed-opal.h
4.03
KB
-rw-r--r--
2026-08-03 18:40
seg6.h
1.14
KB
-rw-r--r--
2026-08-03 18:40
seg6_genl.h
589
B
-rw-r--r--
2026-08-03 18:40
seg6_hmac.h
423
B
-rw-r--r--
2026-08-03 18:40
seg6_iptunnel.h
983
B
-rw-r--r--
2026-08-03 18:40
seg6_local.h
3.78
KB
-rw-r--r--
2026-08-03 18:40
selinux_netlink.h
1.17
KB
-rw-r--r--
2026-08-03 18:40
sem.h
2.98
KB
-rw-r--r--
2026-08-03 18:40
serial.h
4.08
KB
-rw-r--r--
2026-08-03 18:40
serial_core.h
5.93
KB
-rw-r--r--
2026-08-03 18:40
serial_reg.h
15.23
KB
-rw-r--r--
2026-08-03 18:40
serio.h
2.05
KB
-rw-r--r--
2026-08-03 18:40
sev-guest.h
2.25
KB
-rw-r--r--
2026-08-03 18:40
shm.h
3.71
KB
-rw-r--r--
2026-08-03 18:40
signal.h
388
B
-rw-r--r--
2026-08-03 18:40
signalfd.h
1.2
KB
-rw-r--r--
2026-08-03 18:40
smc.h
8.31
KB
-rw-r--r--
2026-08-03 18:40
smc_diag.h
2.77
KB
-rw-r--r--
2026-08-03 18:40
smiapp.h
1.03
KB
-rw-r--r--
2026-08-03 18:40
snmp.h
13.88
KB
-rw-r--r--
2026-08-03 18:40
sock_diag.h
1.27
KB
-rw-r--r--
2026-08-03 18:40
socket.h
1.02
KB
-rw-r--r--
2026-08-03 18:40
sockios.h
6.69
KB
-rw-r--r--
2026-08-03 18:40
sonet.h
2.24
KB
-rw-r--r--
2026-08-03 18:40
sonypi.h
5.18
KB
-rw-r--r--
2026-08-03 18:40
sound.h
1.21
KB
-rw-r--r--
2026-08-03 18:40
soundcard.h
44.97
KB
-rw-r--r--
2026-08-03 18:40
stat.h
6.77
KB
-rw-r--r--
2026-08-03 18:40
stddef.h
1.71
KB
-rw-r--r--
2026-08-03 18:40
stm.h
1.24
KB
-rw-r--r--
2026-08-03 18:40
string.h
238
B
-rw-r--r--
2026-08-03 18:40
suspend_ioctls.h
1.4
KB
-rw-r--r--
2026-08-03 18:40
swab.h
6.78
KB
-rw-r--r--
2026-08-03 18:40
switchtec_ioctl.h
5.14
KB
-rw-r--r--
2026-08-03 18:40
sync_file.h
2.82
KB
-rw-r--r--
2026-08-03 18:40
synclink.h
8.77
KB
-rw-r--r--
2026-08-03 18:40
sysctl.h
25.42
KB
-rw-r--r--
2026-08-03 18:40
sysinfo.h
1.02
KB
-rw-r--r--
2026-08-03 18:40
target_core_user.h
4.52
KB
-rw-r--r--
2026-08-03 18:40
taskstats.h
8.04
KB
-rw-r--r--
2026-08-03 18:40
tcp.h
11.65
KB
-rw-r--r--
2026-08-03 18:40
tcp_metrics.h
1.51
KB
-rw-r--r--
2026-08-03 18:40
tee.h
13.09
KB
-rw-r--r--
2026-08-03 18:40
termios.h
172
B
-rw-r--r--
2026-08-03 18:40
thermal.h
3.23
KB
-rw-r--r--
2026-08-03 18:40
time.h
1.71
KB
-rw-r--r--
2026-08-03 18:40
time_types.h
1.24
KB
-rw-r--r--
2026-08-03 18:40
timerfd.h
936
B
-rw-r--r--
2026-08-03 18:40
times.h
278
B
-rw-r--r--
2026-08-03 18:40
timex.h
7.63
KB
-rw-r--r--
2026-08-03 18:40
tiocl.h
1.69
KB
-rw-r--r--
2026-08-03 18:40
tipc.h
8.62
KB
-rw-r--r--
2026-08-03 18:40
tipc_config.h
14.57
KB
-rw-r--r--
2026-08-03 18:40
tipc_netlink.h
9.17
KB
-rw-r--r--
2026-08-03 18:40
tipc_sockets_diag.h
468
B
-rw-r--r--
2026-08-03 18:40
tls.h
7.06
KB
-rw-r--r--
2026-08-03 18:40
toshiba.h
1.88
KB
-rw-r--r--
2026-08-03 18:40
tty.h
1.74
KB
-rw-r--r--
2026-08-03 18:40
tty_flags.h
4.4
KB
-rw-r--r--
2026-08-03 18:40
types.h
1.63
KB
-rw-r--r--
2026-08-03 18:40
ublk_cmd.h
5.83
KB
-rw-r--r--
2026-08-03 18:40
udf_fs_i.h
697
B
-rw-r--r--
2026-08-03 18:40
udmabuf.h
643
B
-rw-r--r--
2026-08-03 18:40
udp.h
1.65
KB
-rw-r--r--
2026-08-03 18:40
uhid.h
4.54
KB
-rw-r--r--
2026-08-03 18:40
uinput.h
9.04
KB
-rw-r--r--
2026-08-03 18:40
uio.h
732
B
-rw-r--r--
2026-08-03 18:40
uleds.h
798
B
-rw-r--r--
2026-08-03 18:40
ultrasound.h
4.46
KB
-rw-r--r--
2026-08-03 18:40
um_timetravel.h
3.87
KB
-rw-r--r--
2026-08-03 18:40
un.h
384
B
-rw-r--r--
2026-08-03 18:40
unistd.h
220
B
-rw-r--r--
2026-08-03 18:40
unix_diag.h
1.3
KB
-rw-r--r--
2026-08-03 18:40
usbdevice_fs.h
8.12
KB
-rw-r--r--
2026-08-03 18:40
usbip.h
1.47
KB
-rw-r--r--
2026-08-03 18:40
userfaultfd.h
9.5
KB
-rw-r--r--
2026-08-03 18:40
userio.h
1.48
KB
-rw-r--r--
2026-08-03 18:40
utime.h
223
B
-rw-r--r--
2026-08-03 18:40
utsname.h
669
B
-rw-r--r--
2026-08-03 18:40
uuid.h
992
B
-rw-r--r--
2026-08-03 18:40
uvcvideo.h
2.52
KB
-rw-r--r--
2026-08-03 18:40
v4l2-common.h
4.08
KB
-rw-r--r--
2026-08-03 18:40
v4l2-controls.h
117.88
KB
-rw-r--r--
2026-08-03 18:40
v4l2-dv-timings.h
30.82
KB
-rw-r--r--
2026-08-03 18:40
v4l2-mediabus.h
5.29
KB
-rw-r--r--
2026-08-03 18:40
v4l2-subdev.h
7.6
KB
-rw-r--r--
2026-08-03 18:40
vbox_err.h
7.09
KB
-rw-r--r--
2026-08-03 18:40
vbox_vmmdev_types.h
11.42
KB
-rw-r--r--
2026-08-03 18:40
vboxguest.h
9.15
KB
-rw-r--r--
2026-08-03 18:40
vdpa.h
1.79
KB
-rw-r--r--
2026-08-03 18:40
vduse.h
9.58
KB
-rw-r--r--
2026-08-03 18:40
version.h
217
B
-rw-r--r--
2026-08-03 18:40
veth.h
224
B
-rw-r--r--
2026-08-03 18:40
vfio.h
56.72
KB
-rw-r--r--
2026-08-03 18:40
vfio_ccw.h
1.29
KB
-rw-r--r--
2026-08-03 18:40
vfio_zdev.h
2.48
KB
-rw-r--r--
2026-08-03 18:40
vhost.h
7.53
KB
-rw-r--r--
2026-08-03 18:40
vhost_types.h
4.23
KB
-rw-r--r--
2026-08-03 18:40
videodev2.h
95.44
KB
-rw-r--r--
2026-08-03 18:40
virtio_9p.h
2
KB
-rw-r--r--
2026-08-03 18:40
virtio_balloon.h
5.16
KB
-rw-r--r--
2026-08-03 18:40
virtio_blk.h
7.25
KB
-rw-r--r--
2026-08-03 18:40
virtio_bt.h
772
B
-rw-r--r--
2026-08-03 18:40
virtio_config.h
4.19
KB
-rw-r--r--
2026-08-03 18:40
virtio_console.h
3.08
KB
-rw-r--r--
2026-08-03 18:40
virtio_crypto.h
16.09
KB
-rw-r--r--
2026-08-03 18:40
virtio_fs.h
573
B
-rw-r--r--
2026-08-03 18:40
virtio_gpio.h
1.67
KB
-rw-r--r--
2026-08-03 18:40
virtio_gpu.h
11.19
KB
-rw-r--r--
2026-08-03 18:40
virtio_i2c.h
1.16
KB
-rw-r--r--
2026-08-03 18:40
virtio_ids.h
4.2
KB
-rw-r--r--
2026-08-03 18:40
virtio_input.h
2.46
KB
-rw-r--r--
2026-08-03 18:40
virtio_iommu.h
3.84
KB
-rw-r--r--
2026-08-03 18:40
virtio_mem.h
6.99
KB
-rw-r--r--
2026-08-03 18:40
virtio_mmio.h
4.85
KB
-rw-r--r--
2026-08-03 18:40
virtio_net.h
14.38
KB
-rw-r--r--
2026-08-03 18:40
virtio_pci.h
7.3
KB
-rw-r--r--
2026-08-03 18:40
virtio_pcidev.h
2.39
KB
-rw-r--r--
2026-08-03 18:40
virtio_pmem.h
641
B
-rw-r--r--
2026-08-03 18:40
virtio_ring.h
8.52
KB
-rw-r--r--
2026-08-03 18:40
virtio_rng.h
265
B
-rw-r--r--
2026-08-03 18:40
virtio_scmi.h
637
B
-rw-r--r--
2026-08-03 18:40
virtio_scsi.h
5.94
KB
-rw-r--r--
2026-08-03 18:40
virtio_snd.h
9.09
KB
-rw-r--r--
2026-08-03 18:40
virtio_types.h
2.1
KB
-rw-r--r--
2026-08-03 18:40
virtio_vsock.h
3.27
KB
-rw-r--r--
2026-08-03 18:40
vm_sockets.h
7.25
KB
-rw-r--r--
2026-08-03 18:40
vm_sockets_diag.h
963
B
-rw-r--r--
2026-08-03 18:40
vmcore.h
455
B
-rw-r--r--
2026-08-03 18:40
vsockmon.h
1.84
KB
-rw-r--r--
2026-08-03 18:40
vt.h
2.99
KB
-rw-r--r--
2026-08-03 18:40
vtpm_proxy.h
1.68
KB
-rw-r--r--
2026-08-03 18:40
wait.h
682
B
-rw-r--r--
2026-08-03 18:40
watch_queue.h
3.41
KB
-rw-r--r--
2026-08-03 18:40
watchdog.h
2.28
KB
-rw-r--r--
2026-08-03 18:40
wireguard.h
7.57
KB
-rw-r--r--
2026-08-03 18:40
wireless.h
41.7
KB
-rw-r--r--
2026-08-03 18:40
wmi.h
1.72
KB
-rw-r--r--
2026-08-03 18:40
wwan.h
295
B
-rw-r--r--
2026-08-03 18:40
x25.h
3.48
KB
-rw-r--r--
2026-08-03 18:40
xattr.h
2.95
KB
-rw-r--r--
2026-08-03 18:40
xdp_diag.h
1.43
KB
-rw-r--r--
2026-08-03 18:40
xfrm.h
12.31
KB
-rw-r--r--
2026-08-03 18:40
xilinx-v4l2-controls.h
2.91
KB
-rw-r--r--
2026-08-03 18:40
zorro.h
3.22
KB
-rw-r--r--
2026-08-03 18:40
zorro_ids.h
29.36
KB
-rw-r--r--
2026-08-03 18:40
Save
Rename
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * Copyright (C) 2007 Oracle. All rights reserved. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public * License v2 as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. * * You should have received a copy of the GNU General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 021110-1307, USA. */ #ifndef _LINUX_BTRFS_H #define _LINUX_BTRFS_H #include <linux/types.h> #include <linux/ioctl.h> #define BTRFS_IOCTL_MAGIC 0x94 #define BTRFS_VOL_NAME_MAX 255 #define BTRFS_LABEL_SIZE 256 /* this should be 4k */ #define BTRFS_PATH_NAME_MAX 4087 struct btrfs_ioctl_vol_args { __s64 fd; char name[BTRFS_PATH_NAME_MAX + 1]; }; #define BTRFS_DEVICE_PATH_NAME_MAX 1024 #define BTRFS_SUBVOL_NAME_MAX 4039 /* Deprecated since 5.7 */ # define BTRFS_SUBVOL_CREATE_ASYNC (1ULL << 0) #define BTRFS_SUBVOL_RDONLY (1ULL << 1) #define BTRFS_SUBVOL_QGROUP_INHERIT (1ULL << 2) #define BTRFS_DEVICE_SPEC_BY_ID (1ULL << 3) #define BTRFS_SUBVOL_SPEC_BY_ID (1ULL << 4) #define BTRFS_VOL_ARG_V2_FLAGS_SUPPORTED \ (BTRFS_SUBVOL_RDONLY | \ BTRFS_SUBVOL_QGROUP_INHERIT | \ BTRFS_DEVICE_SPEC_BY_ID | \ BTRFS_SUBVOL_SPEC_BY_ID) #define BTRFS_FSID_SIZE 16 #define BTRFS_UUID_SIZE 16 #define BTRFS_UUID_UNPARSED_SIZE 37 /* * flags definition for qgroup limits * * Used by: * struct btrfs_qgroup_limit.flags * struct btrfs_qgroup_limit_item.flags */ #define BTRFS_QGROUP_LIMIT_MAX_RFER (1ULL << 0) #define BTRFS_QGROUP_LIMIT_MAX_EXCL (1ULL << 1) #define BTRFS_QGROUP_LIMIT_RSV_RFER (1ULL << 2) #define BTRFS_QGROUP_LIMIT_RSV_EXCL (1ULL << 3) #define BTRFS_QGROUP_LIMIT_RFER_CMPR (1ULL << 4) #define BTRFS_QGROUP_LIMIT_EXCL_CMPR (1ULL << 5) struct btrfs_qgroup_limit { __u64 flags; __u64 max_rfer; __u64 max_excl; __u64 rsv_rfer; __u64 rsv_excl; }; /* * flags definition for qgroup inheritance * * Used by: * struct btrfs_qgroup_inherit.flags */ #define BTRFS_QGROUP_INHERIT_SET_LIMITS (1ULL << 0) struct btrfs_qgroup_inherit { __u64 flags; __u64 num_qgroups; __u64 num_ref_copies; __u64 num_excl_copies; struct btrfs_qgroup_limit lim; __u64 qgroups[]; }; struct btrfs_ioctl_qgroup_limit_args { __u64 qgroupid; struct btrfs_qgroup_limit lim; }; /* * Arguments for specification of subvolumes or devices, supporting by-name or * by-id and flags * * The set of supported flags depends on the ioctl * * BTRFS_SUBVOL_RDONLY is also provided/consumed by the following ioctls: * - BTRFS_IOC_SUBVOL_GETFLAGS * - BTRFS_IOC_SUBVOL_SETFLAGS */ /* Supported flags for BTRFS_IOC_RM_DEV_V2 */ #define BTRFS_DEVICE_REMOVE_ARGS_MASK \ (BTRFS_DEVICE_SPEC_BY_ID) /* Supported flags for BTRFS_IOC_SNAP_CREATE_V2 and BTRFS_IOC_SUBVOL_CREATE_V2 */ #define BTRFS_SUBVOL_CREATE_ARGS_MASK \ (BTRFS_SUBVOL_RDONLY | \ BTRFS_SUBVOL_QGROUP_INHERIT) /* Supported flags for BTRFS_IOC_SNAP_DESTROY_V2 */ #define BTRFS_SUBVOL_DELETE_ARGS_MASK \ (BTRFS_SUBVOL_SPEC_BY_ID) struct btrfs_ioctl_vol_args_v2 { __s64 fd; __u64 transid; __u64 flags; union { struct { __u64 size; struct btrfs_qgroup_inherit *qgroup_inherit; }; __u64 unused[4]; }; union { char name[BTRFS_SUBVOL_NAME_MAX + 1]; __u64 devid; __u64 subvolid; }; }; /* * structure to report errors and progress to userspace, either as a * result of a finished scrub, a canceled scrub or a progress inquiry */ struct btrfs_scrub_progress { __u64 data_extents_scrubbed; /* # of data extents scrubbed */ __u64 tree_extents_scrubbed; /* # of tree extents scrubbed */ __u64 data_bytes_scrubbed; /* # of data bytes scrubbed */ __u64 tree_bytes_scrubbed; /* # of tree bytes scrubbed */ __u64 read_errors; /* # of read errors encountered (EIO) */ __u64 csum_errors; /* # of failed csum checks */ __u64 verify_errors; /* # of occurrences, where the metadata * of a tree block did not match the * expected values, like generation or * logical */ __u64 no_csum; /* # of 4k data block for which no csum * is present, probably the result of * data written with nodatasum */ __u64 csum_discards; /* # of csum for which no data was found * in the extent tree. */ __u64 super_errors; /* # of bad super blocks encountered */ __u64 malloc_errors; /* # of internal kmalloc errors. These * will likely cause an incomplete * scrub */ __u64 uncorrectable_errors; /* # of errors where either no intact * copy was found or the writeback * failed */ __u64 corrected_errors; /* # of errors corrected */ __u64 last_physical; /* last physical address scrubbed. In * case a scrub was aborted, this can * be used to restart the scrub */ __u64 unverified_errors; /* # of occurrences where a read for a * full (64k) bio failed, but the re- * check succeeded for each 4k piece. * Intermittent error. */ }; #define BTRFS_SCRUB_READONLY 1 #define BTRFS_SCRUB_SUPPORTED_FLAGS (BTRFS_SCRUB_READONLY) struct btrfs_ioctl_scrub_args { __u64 devid; /* in */ __u64 start; /* in */ __u64 end; /* in */ __u64 flags; /* in */ struct btrfs_scrub_progress progress; /* out */ /* pad to 1k */ __u64 unused[(1024-32-sizeof(struct btrfs_scrub_progress))/8]; }; #define BTRFS_IOCTL_DEV_REPLACE_CONT_READING_FROM_SRCDEV_MODE_ALWAYS 0 #define BTRFS_IOCTL_DEV_REPLACE_CONT_READING_FROM_SRCDEV_MODE_AVOID 1 struct btrfs_ioctl_dev_replace_start_params { __u64 srcdevid; /* in, if 0, use srcdev_name instead */ __u64 cont_reading_from_srcdev_mode; /* in, see #define * above */ __u8 srcdev_name[BTRFS_DEVICE_PATH_NAME_MAX + 1]; /* in */ __u8 tgtdev_name[BTRFS_DEVICE_PATH_NAME_MAX + 1]; /* in */ }; #define BTRFS_IOCTL_DEV_REPLACE_STATE_NEVER_STARTED 0 #define BTRFS_IOCTL_DEV_REPLACE_STATE_STARTED 1 #define BTRFS_IOCTL_DEV_REPLACE_STATE_FINISHED 2 #define BTRFS_IOCTL_DEV_REPLACE_STATE_CANCELED 3 #define BTRFS_IOCTL_DEV_REPLACE_STATE_SUSPENDED 4 struct btrfs_ioctl_dev_replace_status_params { __u64 replace_state; /* out, see #define above */ __u64 progress_1000; /* out, 0 <= x <= 1000 */ __u64 time_started; /* out, seconds since 1-Jan-1970 */ __u64 time_stopped; /* out, seconds since 1-Jan-1970 */ __u64 num_write_errors; /* out */ __u64 num_uncorrectable_read_errors; /* out */ }; #define BTRFS_IOCTL_DEV_REPLACE_CMD_START 0 #define BTRFS_IOCTL_DEV_REPLACE_CMD_STATUS 1 #define BTRFS_IOCTL_DEV_REPLACE_CMD_CANCEL 2 #define BTRFS_IOCTL_DEV_REPLACE_RESULT_NO_ERROR 0 #define BTRFS_IOCTL_DEV_REPLACE_RESULT_NOT_STARTED 1 #define BTRFS_IOCTL_DEV_REPLACE_RESULT_ALREADY_STARTED 2 #define BTRFS_IOCTL_DEV_REPLACE_RESULT_SCRUB_INPROGRESS 3 struct btrfs_ioctl_dev_replace_args { __u64 cmd; /* in */ __u64 result; /* out */ union { struct btrfs_ioctl_dev_replace_start_params start; struct btrfs_ioctl_dev_replace_status_params status; }; /* in/out */ __u64 spare[64]; }; struct btrfs_ioctl_dev_info_args { __u64 devid; /* in/out */ __u8 uuid[BTRFS_UUID_SIZE]; /* in/out */ __u64 bytes_used; /* out */ __u64 total_bytes; /* out */ __u64 unused[379]; /* pad to 4k */ __u8 path[BTRFS_DEVICE_PATH_NAME_MAX]; /* out */ }; /* * Retrieve information about the filesystem */ /* Request information about checksum type and size */ #define BTRFS_FS_INFO_FLAG_CSUM_INFO (1 << 0) /* Request information about filesystem generation */ #define BTRFS_FS_INFO_FLAG_GENERATION (1 << 1) /* Request information about filesystem metadata UUID */ #define BTRFS_FS_INFO_FLAG_METADATA_UUID (1 << 2) struct btrfs_ioctl_fs_info_args { __u64 max_id; /* out */ __u64 num_devices; /* out */ __u8 fsid[BTRFS_FSID_SIZE]; /* out */ __u32 nodesize; /* out */ __u32 sectorsize; /* out */ __u32 clone_alignment; /* out */ /* See BTRFS_FS_INFO_FLAG_* */ __u16 csum_type; /* out */ __u16 csum_size; /* out */ __u64 flags; /* in/out */ __u64 generation; /* out */ __u8 metadata_uuid[BTRFS_FSID_SIZE]; /* out */ __u8 reserved[944]; /* pad to 1k */ }; /* * feature flags * * Used by: * struct btrfs_ioctl_feature_flags */ #define BTRFS_FEATURE_COMPAT_RO_FREE_SPACE_TREE (1ULL << 0) /* * Older kernels (< 4.9) on big-endian systems produced broken free space tree * bitmaps, and btrfs-progs also used to corrupt the free space tree (versions * < 4.7.3). If this bit is clear, then the free space tree cannot be trusted. * btrfs-progs can also intentionally clear this bit to ask the kernel to * rebuild the free space tree, however this might not work on older kernels * that do not know about this bit. If not sure, clear the cache manually on * first mount when booting older kernel versions. */ #define BTRFS_FEATURE_COMPAT_RO_FREE_SPACE_TREE_VALID (1ULL << 1) #define BTRFS_FEATURE_COMPAT_RO_VERITY (1ULL << 2) /* * Put all block group items into a dedicated block group tree, greatly * reducing mount time for large filesystem due to better locality. */ #define BTRFS_FEATURE_COMPAT_RO_BLOCK_GROUP_TREE (1ULL << 3) #define BTRFS_FEATURE_INCOMPAT_MIXED_BACKREF (1ULL << 0) #define BTRFS_FEATURE_INCOMPAT_DEFAULT_SUBVOL (1ULL << 1) #define BTRFS_FEATURE_INCOMPAT_MIXED_GROUPS (1ULL << 2) #define BTRFS_FEATURE_INCOMPAT_COMPRESS_LZO (1ULL << 3) #define BTRFS_FEATURE_INCOMPAT_COMPRESS_ZSTD (1ULL << 4) /* * older kernels tried to do bigger metadata blocks, but the * code was pretty buggy. Lets not let them try anymore. */ #define BTRFS_FEATURE_INCOMPAT_BIG_METADATA (1ULL << 5) #define BTRFS_FEATURE_INCOMPAT_EXTENDED_IREF (1ULL << 6) #define BTRFS_FEATURE_INCOMPAT_RAID56 (1ULL << 7) #define BTRFS_FEATURE_INCOMPAT_SKINNY_METADATA (1ULL << 8) #define BTRFS_FEATURE_INCOMPAT_NO_HOLES (1ULL << 9) #define BTRFS_FEATURE_INCOMPAT_METADATA_UUID (1ULL << 10) #define BTRFS_FEATURE_INCOMPAT_RAID1C34 (1ULL << 11) #define BTRFS_FEATURE_INCOMPAT_ZONED (1ULL << 12) #define BTRFS_FEATURE_INCOMPAT_EXTENT_TREE_V2 (1ULL << 13) struct btrfs_ioctl_feature_flags { __u64 compat_flags; __u64 compat_ro_flags; __u64 incompat_flags; }; /* balance control ioctl modes */ #define BTRFS_BALANCE_CTL_PAUSE 1 #define BTRFS_BALANCE_CTL_CANCEL 2 /* * this is packed, because it should be exactly the same as its disk * byte order counterpart (struct btrfs_disk_balance_args) */ struct btrfs_balance_args { __u64 profiles; union { __u64 usage; struct { __u32 usage_min; __u32 usage_max; }; }; __u64 devid; __u64 pstart; __u64 pend; __u64 vstart; __u64 vend; __u64 target; __u64 flags; /* * BTRFS_BALANCE_ARGS_LIMIT with value 'limit' * BTRFS_BALANCE_ARGS_LIMIT_RANGE - the extend version can use minimum * and maximum */ union { __u64 limit; /* limit number of processed chunks */ struct { __u32 limit_min; __u32 limit_max; }; }; /* * Process chunks that cross stripes_min..stripes_max devices, * BTRFS_BALANCE_ARGS_STRIPES_RANGE */ __u32 stripes_min; __u32 stripes_max; __u64 unused[6]; } __attribute__ ((__packed__)); /* report balance progress to userspace */ struct btrfs_balance_progress { __u64 expected; /* estimated # of chunks that will be * relocated to fulfill the request */ __u64 considered; /* # of chunks we have considered so far */ __u64 completed; /* # of chunks relocated so far */ }; /* * flags definition for balance * * Restriper's general type filter * * Used by: * btrfs_ioctl_balance_args.flags * btrfs_balance_control.flags (internal) */ #define BTRFS_BALANCE_DATA (1ULL << 0) #define BTRFS_BALANCE_SYSTEM (1ULL << 1) #define BTRFS_BALANCE_METADATA (1ULL << 2) #define BTRFS_BALANCE_TYPE_MASK (BTRFS_BALANCE_DATA | \ BTRFS_BALANCE_SYSTEM | \ BTRFS_BALANCE_METADATA) #define BTRFS_BALANCE_FORCE (1ULL << 3) #define BTRFS_BALANCE_RESUME (1ULL << 4) /* * flags definitions for per-type balance args * * Balance filters * * Used by: * struct btrfs_balance_args */ #define BTRFS_BALANCE_ARGS_PROFILES (1ULL << 0) #define BTRFS_BALANCE_ARGS_USAGE (1ULL << 1) #define BTRFS_BALANCE_ARGS_DEVID (1ULL << 2) #define BTRFS_BALANCE_ARGS_DRANGE (1ULL << 3) #define BTRFS_BALANCE_ARGS_VRANGE (1ULL << 4) #define BTRFS_BALANCE_ARGS_LIMIT (1ULL << 5) #define BTRFS_BALANCE_ARGS_LIMIT_RANGE (1ULL << 6) #define BTRFS_BALANCE_ARGS_STRIPES_RANGE (1ULL << 7) #define BTRFS_BALANCE_ARGS_USAGE_RANGE (1ULL << 10) #define BTRFS_BALANCE_ARGS_MASK \ (BTRFS_BALANCE_ARGS_PROFILES | \ BTRFS_BALANCE_ARGS_USAGE | \ BTRFS_BALANCE_ARGS_DEVID | \ BTRFS_BALANCE_ARGS_DRANGE | \ BTRFS_BALANCE_ARGS_VRANGE | \ BTRFS_BALANCE_ARGS_LIMIT | \ BTRFS_BALANCE_ARGS_LIMIT_RANGE | \ BTRFS_BALANCE_ARGS_STRIPES_RANGE | \ BTRFS_BALANCE_ARGS_USAGE_RANGE) /* * Profile changing flags. When SOFT is set we won't relocate chunk if * it already has the target profile (even though it may be * half-filled). */ #define BTRFS_BALANCE_ARGS_CONVERT (1ULL << 8) #define BTRFS_BALANCE_ARGS_SOFT (1ULL << 9) /* * flags definition for balance state * * Used by: * struct btrfs_ioctl_balance_args.state */ #define BTRFS_BALANCE_STATE_RUNNING (1ULL << 0) #define BTRFS_BALANCE_STATE_PAUSE_REQ (1ULL << 1) #define BTRFS_BALANCE_STATE_CANCEL_REQ (1ULL << 2) struct btrfs_ioctl_balance_args { __u64 flags; /* in/out */ __u64 state; /* out */ struct btrfs_balance_args data; /* in/out */ struct btrfs_balance_args meta; /* in/out */ struct btrfs_balance_args sys; /* in/out */ struct btrfs_balance_progress stat; /* out */ __u64 unused[72]; /* pad to 1k */ }; #define BTRFS_INO_LOOKUP_PATH_MAX 4080 struct btrfs_ioctl_ino_lookup_args { __u64 treeid; __u64 objectid; char name[BTRFS_INO_LOOKUP_PATH_MAX]; }; #define BTRFS_INO_LOOKUP_USER_PATH_MAX (4080 - BTRFS_VOL_NAME_MAX - 1) struct btrfs_ioctl_ino_lookup_user_args { /* in, inode number containing the subvolume of 'subvolid' */ __u64 dirid; /* in */ __u64 treeid; /* out, name of the subvolume of 'treeid' */ char name[BTRFS_VOL_NAME_MAX + 1]; /* * out, constructed path from the directory with which the ioctl is * called to dirid */ char path[BTRFS_INO_LOOKUP_USER_PATH_MAX]; }; /* Search criteria for the btrfs SEARCH ioctl family. */ struct btrfs_ioctl_search_key { /* * The tree we're searching in. 1 is the tree of tree roots, 2 is the * extent tree, etc... * * A special tree_id value of 0 will cause a search in the subvolume * tree that the inode which is passed to the ioctl is part of. */ __u64 tree_id; /* in */ /* * When doing a tree search, we're actually taking a slice from a * linear search space of 136-bit keys. * * A full 136-bit tree key is composed as: * (objectid << 72) + (type << 64) + offset * * The individual min and max values for objectid, type and offset * define the min_key and max_key values for the search range. All * metadata items with a key in the interval [min_key, max_key] will be * returned. * * Additionally, we can filter the items returned on transaction id of * the metadata block they're stored in by specifying a transid range. * Be aware that this transaction id only denotes when the metadata * page that currently contains the item got written the last time as * result of a COW operation. The number does not have any meaning * related to the transaction in which an individual item that is being * returned was created or changed. */ __u64 min_objectid; /* in */ __u64 max_objectid; /* in */ __u64 min_offset; /* in */ __u64 max_offset; /* in */ __u64 min_transid; /* in */ __u64 max_transid; /* in */ __u32 min_type; /* in */ __u32 max_type; /* in */ /* * input: The maximum amount of results desired. * output: The actual amount of items returned, restricted by any of: * - reaching the upper bound of the search range * - reaching the input nr_items amount of items * - completely filling the supplied memory buffer */ __u32 nr_items; /* in/out */ /* align to 64 bits */ __u32 unused; /* some extra for later */ __u64 unused1; __u64 unused2; __u64 unused3; __u64 unused4; }; struct btrfs_ioctl_search_header { __u64 transid; __u64 objectid; __u64 offset; __u32 type; __u32 len; }; #define BTRFS_SEARCH_ARGS_BUFSIZE (4096 - sizeof(struct btrfs_ioctl_search_key)) /* * the buf is an array of search headers where * each header is followed by the actual item * the type field is expanded to 32 bits for alignment */ struct btrfs_ioctl_search_args { struct btrfs_ioctl_search_key key; char buf[BTRFS_SEARCH_ARGS_BUFSIZE]; }; struct btrfs_ioctl_search_args_v2 { struct btrfs_ioctl_search_key key; /* in/out - search parameters */ __u64 buf_size; /* in - size of buffer * out - on EOVERFLOW: needed size * to store item */ __u64 buf[]; /* out - found items */ }; struct btrfs_ioctl_clone_range_args { __s64 src_fd; __u64 src_offset, src_length; __u64 dest_offset; }; /* * flags definition for the defrag range ioctl * * Used by: * struct btrfs_ioctl_defrag_range_args.flags */ #define BTRFS_DEFRAG_RANGE_COMPRESS 1 #define BTRFS_DEFRAG_RANGE_START_IO 2 #define BTRFS_DEFRAG_RANGE_FLAGS_SUPP (BTRFS_DEFRAG_RANGE_COMPRESS | \ BTRFS_DEFRAG_RANGE_START_IO) struct btrfs_ioctl_defrag_range_args { /* start of the defrag operation */ __u64 start; /* number of bytes to defrag, use (u64)-1 to say all */ __u64 len; /* * flags for the operation, which can include turning * on compression for this one defrag */ __u64 flags; /* * any extent bigger than this will be considered * already defragged. Use 0 to take the kernel default * Use 1 to say every single extent must be rewritten */ __u32 extent_thresh; /* * which compression method to use if turning on compression * for this defrag operation. If unspecified, zlib will * be used */ __u32 compress_type; /* spare for later */ __u32 unused[4]; }; #define BTRFS_SAME_DATA_DIFFERS 1 /* For extent-same ioctl */ struct btrfs_ioctl_same_extent_info { __s64 fd; /* in - destination file */ __u64 logical_offset; /* in - start of extent in destination */ __u64 bytes_deduped; /* out - total # of bytes we were able * to dedupe from this file */ /* status of this dedupe operation: * 0 if dedup succeeds * < 0 for error * == BTRFS_SAME_DATA_DIFFERS if data differs */ __s32 status; /* out - see above description */ __u32 reserved; }; struct btrfs_ioctl_same_args { __u64 logical_offset; /* in - start of extent in source */ __u64 length; /* in - length of extent */ __u16 dest_count; /* in - total elements in info array */ __u16 reserved1; __u32 reserved2; struct btrfs_ioctl_same_extent_info info[]; }; struct btrfs_ioctl_space_info { __u64 flags; __u64 total_bytes; __u64 used_bytes; }; struct btrfs_ioctl_space_args { __u64 space_slots; __u64 total_spaces; struct btrfs_ioctl_space_info spaces[]; }; struct btrfs_data_container { __u32 bytes_left; /* out -- bytes not needed to deliver output */ __u32 bytes_missing; /* out -- additional bytes needed for result */ __u32 elem_cnt; /* out */ __u32 elem_missed; /* out */ __u64 val[]; /* out */ }; struct btrfs_ioctl_ino_path_args { __u64 inum; /* in */ __u64 size; /* in */ __u64 reserved[4]; /* struct btrfs_data_container *fspath; out */ __u64 fspath; /* out */ }; struct btrfs_ioctl_logical_ino_args { __u64 logical; /* in */ __u64 size; /* in */ __u64 reserved[3]; /* must be 0 for now */ __u64 flags; /* in, v2 only */ /* struct btrfs_data_container *inodes; out */ __u64 inodes; }; /* Return every ref to the extent, not just those containing logical block. * Requires logical == extent bytenr. */ #define BTRFS_LOGICAL_INO_ARGS_IGNORE_OFFSET (1ULL << 0) enum btrfs_dev_stat_values { /* disk I/O failure stats */ BTRFS_DEV_STAT_WRITE_ERRS, /* EIO or EREMOTEIO from lower layers */ BTRFS_DEV_STAT_READ_ERRS, /* EIO or EREMOTEIO from lower layers */ BTRFS_DEV_STAT_FLUSH_ERRS, /* EIO or EREMOTEIO from lower layers */ /* stats for indirect indications for I/O failures */ BTRFS_DEV_STAT_CORRUPTION_ERRS, /* checksum error, bytenr error or * contents is illegal: this is an * indication that the block was damaged * during read or write, or written to * wrong location or read from wrong * location */ BTRFS_DEV_STAT_GENERATION_ERRS, /* an indication that blocks have not * been written */ BTRFS_DEV_STAT_VALUES_MAX }; /* Reset statistics after reading; needs SYS_ADMIN capability */ #define BTRFS_DEV_STATS_RESET (1ULL << 0) struct btrfs_ioctl_get_dev_stats { __u64 devid; /* in */ __u64 nr_items; /* in/out */ __u64 flags; /* in/out */ /* out values: */ __u64 values[BTRFS_DEV_STAT_VALUES_MAX]; /* * This pads the struct to 1032 bytes. It was originally meant to pad to * 1024 bytes, but when adding the flags field, the padding calculation * was not adjusted. */ __u64 unused[128 - 2 - BTRFS_DEV_STAT_VALUES_MAX]; }; #define BTRFS_QUOTA_CTL_ENABLE 1 #define BTRFS_QUOTA_CTL_DISABLE 2 #define BTRFS_QUOTA_CTL_RESCAN__NOTUSED 3 struct btrfs_ioctl_quota_ctl_args { __u64 cmd; __u64 status; }; struct btrfs_ioctl_quota_rescan_args { __u64 flags; __u64 progress; __u64 reserved[6]; }; struct btrfs_ioctl_qgroup_assign_args { __u64 assign; __u64 src; __u64 dst; }; struct btrfs_ioctl_qgroup_create_args { __u64 create; __u64 qgroupid; }; struct btrfs_ioctl_timespec { __u64 sec; __u32 nsec; }; struct btrfs_ioctl_received_subvol_args { char uuid[BTRFS_UUID_SIZE]; /* in */ __u64 stransid; /* in */ __u64 rtransid; /* out */ struct btrfs_ioctl_timespec stime; /* in */ struct btrfs_ioctl_timespec rtime; /* out */ __u64 flags; /* in */ __u64 reserved[16]; /* in */ }; /* * Caller doesn't want file data in the send stream, even if the * search of clone sources doesn't find an extent. UPDATE_EXTENT * commands will be sent instead of WRITE commands. */ #define BTRFS_SEND_FLAG_NO_FILE_DATA 0x1 /* * Do not add the leading stream header. Used when multiple snapshots * are sent back to back. */ #define BTRFS_SEND_FLAG_OMIT_STREAM_HEADER 0x2 /* * Omit the command at the end of the stream that indicated the end * of the stream. This option is used when multiple snapshots are * sent back to back. */ #define BTRFS_SEND_FLAG_OMIT_END_CMD 0x4 /* * Read the protocol version in the structure */ #define BTRFS_SEND_FLAG_VERSION 0x8 /* * Send compressed data using the ENCODED_WRITE command instead of decompressing * the data and sending it with the WRITE command. This requires protocol * version >= 2. */ #define BTRFS_SEND_FLAG_COMPRESSED 0x10 #define BTRFS_SEND_FLAG_MASK \ (BTRFS_SEND_FLAG_NO_FILE_DATA | \ BTRFS_SEND_FLAG_OMIT_STREAM_HEADER | \ BTRFS_SEND_FLAG_OMIT_END_CMD | \ BTRFS_SEND_FLAG_VERSION | \ BTRFS_SEND_FLAG_COMPRESSED) struct btrfs_ioctl_send_args { __s64 send_fd; /* in */ __u64 clone_sources_count; /* in */ __u64 *clone_sources; /* in */ __u64 parent_root; /* in */ __u64 flags; /* in */ __u32 version; /* in */ __u8 reserved[28]; /* in */ }; /* * Information about a fs tree root. * * All items are filled by the ioctl */ struct btrfs_ioctl_get_subvol_info_args { /* Id of this subvolume */ __u64 treeid; /* Name of this subvolume, used to get the real name at mount point */ char name[BTRFS_VOL_NAME_MAX + 1]; /* * Id of the subvolume which contains this subvolume. * Zero for top-level subvolume or a deleted subvolume. */ __u64 parent_id; /* * Inode number of the directory which contains this subvolume. * Zero for top-level subvolume or a deleted subvolume */ __u64 dirid; /* Latest transaction id of this subvolume */ __u64 generation; /* Flags of this subvolume */ __u64 flags; /* UUID of this subvolume */ __u8 uuid[BTRFS_UUID_SIZE]; /* * UUID of the subvolume of which this subvolume is a snapshot. * All zero for a non-snapshot subvolume. */ __u8 parent_uuid[BTRFS_UUID_SIZE]; /* * UUID of the subvolume from which this subvolume was received. * All zero for non-received subvolume. */ __u8 received_uuid[BTRFS_UUID_SIZE]; /* Transaction id indicating when change/create/send/receive happened */ __u64 ctransid; __u64 otransid; __u64 stransid; __u64 rtransid; /* Time corresponding to c/o/s/rtransid */ struct btrfs_ioctl_timespec ctime; struct btrfs_ioctl_timespec otime; struct btrfs_ioctl_timespec stime; struct btrfs_ioctl_timespec rtime; /* Must be zero */ __u64 reserved[8]; }; #define BTRFS_MAX_ROOTREF_BUFFER_NUM 255 struct btrfs_ioctl_get_subvol_rootref_args { /* in/out, minimum id of rootref's treeid to be searched */ __u64 min_treeid; /* out */ struct { __u64 treeid; __u64 dirid; } rootref[BTRFS_MAX_ROOTREF_BUFFER_NUM]; /* out, number of found items */ __u8 num_items; __u8 align[7]; }; /* * Data and metadata for an encoded read or write. * * Encoded I/O bypasses any encoding automatically done by the filesystem (e.g., * compression). This can be used to read the compressed contents of a file or * write pre-compressed data directly to a file. * * BTRFS_IOC_ENCODED_READ and BTRFS_IOC_ENCODED_WRITE are essentially * preadv/pwritev with additional metadata about how the data is encoded and the * size of the unencoded data. * * BTRFS_IOC_ENCODED_READ fills the given iovecs with the encoded data, fills * the metadata fields, and returns the size of the encoded data. It reads one * extent per call. It can also read data which is not encoded. * * BTRFS_IOC_ENCODED_WRITE uses the metadata fields, writes the encoded data * from the iovecs, and returns the size of the encoded data. Note that the * encoded data is not validated when it is written; if it is not valid (e.g., * it cannot be decompressed), then a subsequent read may return an error. * * Since the filesystem page cache contains decoded data, encoded I/O bypasses * the page cache. Encoded I/O requires CAP_SYS_ADMIN. */ struct btrfs_ioctl_encoded_io_args { /* Input parameters for both reads and writes. */ /* * iovecs containing encoded data. * * For reads, if the size of the encoded data is larger than the sum of * iov[n].iov_len for 0 <= n < iovcnt, then the ioctl fails with * ENOBUFS. * * For writes, the size of the encoded data is the sum of iov[n].iov_len * for 0 <= n < iovcnt. This must be less than 128 KiB (this limit may * increase in the future). This must also be less than or equal to * unencoded_len. */ const struct iovec *iov; /* Number of iovecs. */ unsigned long iovcnt; /* * Offset in file. * * For writes, must be aligned to the sector size of the filesystem. */ __s64 offset; /* Currently must be zero. */ __u64 flags; /* * For reads, the following members are output parameters that will * contain the returned metadata for the encoded data. * For writes, the following members must be set to the metadata for the * encoded data. */ /* * Length of the data in the file. * * Must be less than or equal to unencoded_len - unencoded_offset. For * writes, must be aligned to the sector size of the filesystem unless * the data ends at or beyond the current end of the file. */ __u64 len; /* * Length of the unencoded (i.e., decrypted and decompressed) data. * * For writes, must be no more than 128 KiB (this limit may increase in * the future). If the unencoded data is actually longer than * unencoded_len, then it is truncated; if it is shorter, then it is * extended with zeroes. */ __u64 unencoded_len; /* * Offset from the first byte of the unencoded data to the first byte of * logical data in the file. * * Must be less than unencoded_len. */ __u64 unencoded_offset; /* * BTRFS_ENCODED_IO_COMPRESSION_* type. * * For writes, must not be BTRFS_ENCODED_IO_COMPRESSION_NONE. */ __u32 compression; /* Currently always BTRFS_ENCODED_IO_ENCRYPTION_NONE. */ __u32 encryption; /* * Reserved for future expansion. * * For reads, always returned as zero. Users should check for non-zero * bytes. If there are any, then the kernel has a newer version of this * structure with additional information that the user definition is * missing. * * For writes, must be zeroed. */ __u8 reserved[64]; }; /* Data is not compressed. */ #define BTRFS_ENCODED_IO_COMPRESSION_NONE 0 /* Data is compressed as a single zlib stream. */ #define BTRFS_ENCODED_IO_COMPRESSION_ZLIB 1 /* * Data is compressed as a single zstd frame with the windowLog compression * parameter set to no more than 17. */ #define BTRFS_ENCODED_IO_COMPRESSION_ZSTD 2 /* * Data is compressed sector by sector (using the sector size indicated by the * name of the constant) with LZO1X and wrapped in the format documented in * fs/btrfs/lzo.c. For writes, the compression sector size must match the * filesystem sector size. */ #define BTRFS_ENCODED_IO_COMPRESSION_LZO_4K 3 #define BTRFS_ENCODED_IO_COMPRESSION_LZO_8K 4 #define BTRFS_ENCODED_IO_COMPRESSION_LZO_16K 5 #define BTRFS_ENCODED_IO_COMPRESSION_LZO_32K 6 #define BTRFS_ENCODED_IO_COMPRESSION_LZO_64K 7 #define BTRFS_ENCODED_IO_COMPRESSION_TYPES 8 /* Data is not encrypted. */ #define BTRFS_ENCODED_IO_ENCRYPTION_NONE 0 #define BTRFS_ENCODED_IO_ENCRYPTION_TYPES 1 /* Error codes as returned by the kernel */ enum btrfs_err_code { BTRFS_ERROR_DEV_RAID1_MIN_NOT_MET = 1, BTRFS_ERROR_DEV_RAID10_MIN_NOT_MET, BTRFS_ERROR_DEV_RAID5_MIN_NOT_MET, BTRFS_ERROR_DEV_RAID6_MIN_NOT_MET, BTRFS_ERROR_DEV_TGT_REPLACE, BTRFS_ERROR_DEV_MISSING_NOT_FOUND, BTRFS_ERROR_DEV_ONLY_WRITABLE, BTRFS_ERROR_DEV_EXCL_RUN_IN_PROGRESS, BTRFS_ERROR_DEV_RAID1C3_MIN_NOT_MET, BTRFS_ERROR_DEV_RAID1C4_MIN_NOT_MET, }; #define BTRFS_IOC_SNAP_CREATE _IOW(BTRFS_IOCTL_MAGIC, 1, \ struct btrfs_ioctl_vol_args) #define BTRFS_IOC_DEFRAG _IOW(BTRFS_IOCTL_MAGIC, 2, \ struct btrfs_ioctl_vol_args) #define BTRFS_IOC_RESIZE _IOW(BTRFS_IOCTL_MAGIC, 3, \ struct btrfs_ioctl_vol_args) #define BTRFS_IOC_SCAN_DEV _IOW(BTRFS_IOCTL_MAGIC, 4, \ struct btrfs_ioctl_vol_args) #define BTRFS_IOC_FORGET_DEV _IOW(BTRFS_IOCTL_MAGIC, 5, \ struct btrfs_ioctl_vol_args) /* trans start and trans end are dangerous, and only for * use by applications that know how to avoid the * resulting deadlocks */ #define BTRFS_IOC_TRANS_START _IO(BTRFS_IOCTL_MAGIC, 6) #define BTRFS_IOC_TRANS_END _IO(BTRFS_IOCTL_MAGIC, 7) #define BTRFS_IOC_SYNC _IO(BTRFS_IOCTL_MAGIC, 8) #define BTRFS_IOC_CLONE _IOW(BTRFS_IOCTL_MAGIC, 9, int) #define BTRFS_IOC_ADD_DEV _IOW(BTRFS_IOCTL_MAGIC, 10, \ struct btrfs_ioctl_vol_args) #define BTRFS_IOC_RM_DEV _IOW(BTRFS_IOCTL_MAGIC, 11, \ struct btrfs_ioctl_vol_args) #define BTRFS_IOC_BALANCE _IOW(BTRFS_IOCTL_MAGIC, 12, \ struct btrfs_ioctl_vol_args) #define BTRFS_IOC_CLONE_RANGE _IOW(BTRFS_IOCTL_MAGIC, 13, \ struct btrfs_ioctl_clone_range_args) #define BTRFS_IOC_SUBVOL_CREATE _IOW(BTRFS_IOCTL_MAGIC, 14, \ struct btrfs_ioctl_vol_args) #define BTRFS_IOC_SNAP_DESTROY _IOW(BTRFS_IOCTL_MAGIC, 15, \ struct btrfs_ioctl_vol_args) #define BTRFS_IOC_DEFRAG_RANGE _IOW(BTRFS_IOCTL_MAGIC, 16, \ struct btrfs_ioctl_defrag_range_args) #define BTRFS_IOC_TREE_SEARCH _IOWR(BTRFS_IOCTL_MAGIC, 17, \ struct btrfs_ioctl_search_args) #define BTRFS_IOC_TREE_SEARCH_V2 _IOWR(BTRFS_IOCTL_MAGIC, 17, \ struct btrfs_ioctl_search_args_v2) #define BTRFS_IOC_INO_LOOKUP _IOWR(BTRFS_IOCTL_MAGIC, 18, \ struct btrfs_ioctl_ino_lookup_args) #define BTRFS_IOC_DEFAULT_SUBVOL _IOW(BTRFS_IOCTL_MAGIC, 19, __u64) #define BTRFS_IOC_SPACE_INFO _IOWR(BTRFS_IOCTL_MAGIC, 20, \ struct btrfs_ioctl_space_args) #define BTRFS_IOC_START_SYNC _IOR(BTRFS_IOCTL_MAGIC, 24, __u64) #define BTRFS_IOC_WAIT_SYNC _IOW(BTRFS_IOCTL_MAGIC, 22, __u64) #define BTRFS_IOC_SNAP_CREATE_V2 _IOW(BTRFS_IOCTL_MAGIC, 23, \ struct btrfs_ioctl_vol_args_v2) #define BTRFS_IOC_SUBVOL_CREATE_V2 _IOW(BTRFS_IOCTL_MAGIC, 24, \ struct btrfs_ioctl_vol_args_v2) #define BTRFS_IOC_SUBVOL_GETFLAGS _IOR(BTRFS_IOCTL_MAGIC, 25, __u64) #define BTRFS_IOC_SUBVOL_SETFLAGS _IOW(BTRFS_IOCTL_MAGIC, 26, __u64) #define BTRFS_IOC_SCRUB _IOWR(BTRFS_IOCTL_MAGIC, 27, \ struct btrfs_ioctl_scrub_args) #define BTRFS_IOC_SCRUB_CANCEL _IO(BTRFS_IOCTL_MAGIC, 28) #define BTRFS_IOC_SCRUB_PROGRESS _IOWR(BTRFS_IOCTL_MAGIC, 29, \ struct btrfs_ioctl_scrub_args) #define BTRFS_IOC_DEV_INFO _IOWR(BTRFS_IOCTL_MAGIC, 30, \ struct btrfs_ioctl_dev_info_args) #define BTRFS_IOC_FS_INFO _IOR(BTRFS_IOCTL_MAGIC, 31, \ struct btrfs_ioctl_fs_info_args) #define BTRFS_IOC_BALANCE_V2 _IOWR(BTRFS_IOCTL_MAGIC, 32, \ struct btrfs_ioctl_balance_args) #define BTRFS_IOC_BALANCE_CTL _IOW(BTRFS_IOCTL_MAGIC, 33, int) #define BTRFS_IOC_BALANCE_PROGRESS _IOR(BTRFS_IOCTL_MAGIC, 34, \ struct btrfs_ioctl_balance_args) #define BTRFS_IOC_INO_PATHS _IOWR(BTRFS_IOCTL_MAGIC, 35, \ struct btrfs_ioctl_ino_path_args) #define BTRFS_IOC_LOGICAL_INO _IOWR(BTRFS_IOCTL_MAGIC, 36, \ struct btrfs_ioctl_logical_ino_args) #define BTRFS_IOC_SET_RECEIVED_SUBVOL _IOWR(BTRFS_IOCTL_MAGIC, 37, \ struct btrfs_ioctl_received_subvol_args) #define BTRFS_IOC_SEND _IOW(BTRFS_IOCTL_MAGIC, 38, struct btrfs_ioctl_send_args) #define BTRFS_IOC_DEVICES_READY _IOR(BTRFS_IOCTL_MAGIC, 39, \ struct btrfs_ioctl_vol_args) #define BTRFS_IOC_QUOTA_CTL _IOWR(BTRFS_IOCTL_MAGIC, 40, \ struct btrfs_ioctl_quota_ctl_args) #define BTRFS_IOC_QGROUP_ASSIGN _IOW(BTRFS_IOCTL_MAGIC, 41, \ struct btrfs_ioctl_qgroup_assign_args) #define BTRFS_IOC_QGROUP_CREATE _IOW(BTRFS_IOCTL_MAGIC, 42, \ struct btrfs_ioctl_qgroup_create_args) #define BTRFS_IOC_QGROUP_LIMIT _IOR(BTRFS_IOCTL_MAGIC, 43, \ struct btrfs_ioctl_qgroup_limit_args) #define BTRFS_IOC_QUOTA_RESCAN _IOW(BTRFS_IOCTL_MAGIC, 44, \ struct btrfs_ioctl_quota_rescan_args) #define BTRFS_IOC_QUOTA_RESCAN_STATUS _IOR(BTRFS_IOCTL_MAGIC, 45, \ struct btrfs_ioctl_quota_rescan_args) #define BTRFS_IOC_QUOTA_RESCAN_WAIT _IO(BTRFS_IOCTL_MAGIC, 46) #define BTRFS_IOC_GET_FSLABEL FS_IOC_GETFSLABEL #define BTRFS_IOC_SET_FSLABEL FS_IOC_SETFSLABEL #define BTRFS_IOC_GET_DEV_STATS _IOWR(BTRFS_IOCTL_MAGIC, 52, \ struct btrfs_ioctl_get_dev_stats) #define BTRFS_IOC_DEV_REPLACE _IOWR(BTRFS_IOCTL_MAGIC, 53, \ struct btrfs_ioctl_dev_replace_args) #define BTRFS_IOC_FILE_EXTENT_SAME _IOWR(BTRFS_IOCTL_MAGIC, 54, \ struct btrfs_ioctl_same_args) #define BTRFS_IOC_GET_FEATURES _IOR(BTRFS_IOCTL_MAGIC, 57, \ struct btrfs_ioctl_feature_flags) #define BTRFS_IOC_SET_FEATURES _IOW(BTRFS_IOCTL_MAGIC, 57, \ struct btrfs_ioctl_feature_flags[2]) #define BTRFS_IOC_GET_SUPPORTED_FEATURES _IOR(BTRFS_IOCTL_MAGIC, 57, \ struct btrfs_ioctl_feature_flags[3]) #define BTRFS_IOC_RM_DEV_V2 _IOW(BTRFS_IOCTL_MAGIC, 58, \ struct btrfs_ioctl_vol_args_v2) #define BTRFS_IOC_LOGICAL_INO_V2 _IOWR(BTRFS_IOCTL_MAGIC, 59, \ struct btrfs_ioctl_logical_ino_args) #define BTRFS_IOC_GET_SUBVOL_INFO _IOR(BTRFS_IOCTL_MAGIC, 60, \ struct btrfs_ioctl_get_subvol_info_args) #define BTRFS_IOC_GET_SUBVOL_ROOTREF _IOWR(BTRFS_IOCTL_MAGIC, 61, \ struct btrfs_ioctl_get_subvol_rootref_args) #define BTRFS_IOC_INO_LOOKUP_USER _IOWR(BTRFS_IOCTL_MAGIC, 62, \ struct btrfs_ioctl_ino_lookup_user_args) #define BTRFS_IOC_SNAP_DESTROY_V2 _IOW(BTRFS_IOCTL_MAGIC, 63, \ struct btrfs_ioctl_vol_args_v2) #define BTRFS_IOC_ENCODED_READ _IOR(BTRFS_IOCTL_MAGIC, 64, \ struct btrfs_ioctl_encoded_io_args) #define BTRFS_IOC_ENCODED_WRITE _IOW(BTRFS_IOCTL_MAGIC, 64, \ struct btrfs_ioctl_encoded_io_args) #endif /* _LINUX_BTRFS_H */