Linux webserver 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 17:42:15 UTC 2 x86_64
Apache/2.4.52 (Ubuntu)
Server IP : 192.168.1.1 & Your IP : 18.218.131.147
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
snap /
certbot /
4482 /
usr /
include /
linux /
Delete
Unzip
Name
Size
Permission
Date
Action
android
[ DIR ]
drwxr-xr-x
2025-03-11 15:15
byteorder
[ DIR ]
drwxr-xr-x
2025-03-11 15:15
caif
[ DIR ]
drwxr-xr-x
2025-03-11 15:15
can
[ DIR ]
drwxr-xr-x
2025-03-11 15:15
cifs
[ DIR ]
drwxr-xr-x
2025-03-11 15:15
dvb
[ DIR ]
drwxr-xr-x
2025-03-11 15:15
genwqe
[ DIR ]
drwxr-xr-x
2025-03-11 15:15
hdlc
[ DIR ]
drwxr-xr-x
2025-03-11 15:15
hsi
[ DIR ]
drwxr-xr-x
2025-03-11 15:15
iio
[ DIR ]
drwxr-xr-x
2025-03-11 15:15
isdn
[ DIR ]
drwxr-xr-x
2025-03-11 15:15
misc
[ DIR ]
drwxr-xr-x
2025-03-11 15:15
mmc
[ DIR ]
drwxr-xr-x
2025-03-11 15:15
netfilter
[ DIR ]
drwxr-xr-x
2025-03-11 15:15
netfilter_arp
[ DIR ]
drwxr-xr-x
2025-03-11 15:15
netfilter_bridge
[ DIR ]
drwxr-xr-x
2025-03-11 15:15
netfilter_ipv4
[ DIR ]
drwxr-xr-x
2025-03-11 15:15
netfilter_ipv6
[ DIR ]
drwxr-xr-x
2025-03-11 15:15
nfsd
[ DIR ]
drwxr-xr-x
2025-03-11 15:15
raid
[ DIR ]
drwxr-xr-x
2025-03-11 15:15
sched
[ DIR ]
drwxr-xr-x
2025-03-11 15:15
spi
[ DIR ]
drwxr-xr-x
2025-03-11 15:15
sunrpc
[ DIR ]
drwxr-xr-x
2025-03-11 15:15
surface_aggregator
[ DIR ]
drwxr-xr-x
2025-03-11 15:15
tc_act
[ DIR ]
drwxr-xr-x
2025-03-11 15:15
tc_ematch
[ DIR ]
drwxr-xr-x
2025-03-11 15:15
usb
[ DIR ]
drwxr-xr-x
2025-03-11 15:15
a.out.h
6.73
KB
-rw-r--r--
2025-02-12 19:54
acct.h
3.82
KB
-rw-r--r--
2025-02-12 19:54
acrn.h
18.51
KB
-rw-r--r--
2025-02-12 19:54
adb.h
1.11
KB
-rw-r--r--
2025-02-12 19:54
adfs_fs.h
993
B
-rw-r--r--
2025-02-12 19:54
affs_hardblocks.h
1.54
KB
-rw-r--r--
2025-02-12 19:54
agpgart.h
3.86
KB
-rw-r--r--
2025-02-12 19:54
aio_abi.h
3.32
KB
-rw-r--r--
2025-02-12 19:54
am437x-vpfe.h
3.59
KB
-rw-r--r--
2025-02-12 19:54
amt.h
1.71
KB
-rw-r--r--
2025-02-12 19:54
apm_bios.h
3.6
KB
-rw-r--r--
2025-02-12 19:54
apparmor.h
3.4
KB
-rw-r--r--
2025-02-12 19:54
arcfb.h
213
B
-rw-r--r--
2025-02-12 19:54
arm_sdei.h
2.69
KB
-rw-r--r--
2025-02-12 19:54
aspeed-lpc-ctrl.h
1.74
KB
-rw-r--r--
2025-02-12 19:54
aspeed-p2a-ctrl.h
1.86
KB
-rw-r--r--
2025-02-12 19:54
aspeed-video.h
389
B
-rw-r--r--
2025-02-12 19:54
atalk.h
1023
B
-rw-r--r--
2025-02-12 19:54
atm.h
7.7
KB
-rw-r--r--
2025-02-12 19:54
atm_eni.h
648
B
-rw-r--r--
2025-02-12 19:54
atm_he.h
406
B
-rw-r--r--
2025-02-12 19:54
atm_idt77105.h
955
B
-rw-r--r--
2025-02-12 19:54
atm_nicstar.h
1.25
KB
-rw-r--r--
2025-02-12 19:54
atm_tcp.h
1.58
KB
-rw-r--r--
2025-02-12 19:54
atm_zatm.h
1.5
KB
-rw-r--r--
2025-02-12 19:54
atmapi.h
952
B
-rw-r--r--
2025-02-12 19:54
atmarp.h
1.27
KB
-rw-r--r--
2025-02-12 19:54
atmbr2684.h
3.2
KB
-rw-r--r--
2025-02-12 19:54
atmclip.h
576
B
-rw-r--r--
2025-02-12 19:54
atmdev.h
7.32
KB
-rw-r--r--
2025-02-12 19:54
atmioc.h
1.61
KB
-rw-r--r--
2025-02-12 19:54
atmlec.h
2.33
KB
-rw-r--r--
2025-02-12 19:54
atmmpc.h
4.13
KB
-rw-r--r--
2025-02-12 19:54
atmppp.h
639
B
-rw-r--r--
2025-02-12 19:54
atmsap.h
4.85
KB
-rw-r--r--
2025-02-12 19:54
atmsvc.h
1.81
KB
-rw-r--r--
2025-02-12 19:54
audit.h
21.2
KB
-rw-r--r--
2025-02-12 19:54
auto_dev-ioctl.h
4.87
KB
-rw-r--r--
2025-02-12 19:54
auto_fs.h
6.28
KB
-rw-r--r--
2025-02-12 19:54
auto_fs4.h
451
B
-rw-r--r--
2025-02-12 19:54
auxvec.h
1.68
KB
-rw-r--r--
2025-02-12 19:54
ax25.h
2.76
KB
-rw-r--r--
2025-02-12 19:54
batadv_packet.h
21.13
KB
-rw-r--r--
2025-02-12 19:54
batman_adv.h
16.49
KB
-rw-r--r--
2025-02-12 19:54
baycom.h
883
B
-rw-r--r--
2025-02-12 19:54
bcm933xx_hcs.h
419
B
-rw-r--r--
2025-02-12 19:54
bfs_fs.h
1.86
KB
-rw-r--r--
2025-02-12 19:54
binfmts.h
776
B
-rw-r--r--
2025-02-12 19:54
blkpg.h
904
B
-rw-r--r--
2025-02-12 19:54
blktrace_api.h
4.59
KB
-rw-r--r--
2025-02-12 19:54
blkzoned.h
6.34
KB
-rw-r--r--
2025-02-12 19:54
bpf.h
268.83
KB
-rw-r--r--
2025-02-12 19:54
bpf_common.h
1.33
KB
-rw-r--r--
2025-02-12 19:54
bpf_perf_event.h
529
B
-rw-r--r--
2025-02-12 19:54
bpqether.h
981
B
-rw-r--r--
2025-02-12 19:54
bsg.h
2.44
KB
-rw-r--r--
2025-02-12 19:54
bt-bmc.h
572
B
-rw-r--r--
2025-02-12 19:54
btf.h
5.46
KB
-rw-r--r--
2025-02-12 19:54
btrfs.h
36.28
KB
-rw-r--r--
2025-02-12 19:54
btrfs_tree.h
34.77
KB
-rw-r--r--
2025-02-12 19:54
cachefiles.h
1.61
KB
-rw-r--r--
2025-02-12 19:54
can.h
10.95
KB
-rw-r--r--
2025-02-12 19:54
capability.h
13.21
KB
-rw-r--r--
2025-02-12 19:54
capi.h
3.05
KB
-rw-r--r--
2025-02-12 19:54
cciss_defs.h
3.2
KB
-rw-r--r--
2025-02-12 19:54
cciss_ioctl.h
2.7
KB
-rw-r--r--
2025-02-12 19:54
ccs.h
767
B
-rw-r--r--
2025-02-12 19:54
cdrom.h
28.87
KB
-rw-r--r--
2025-02-12 19:54
cec-funcs.h
53.14
KB
-rw-r--r--
2025-02-12 19:54
cec.h
41.17
KB
-rw-r--r--
2025-02-12 19:54
cfm_bridge.h
1.42
KB
-rw-r--r--
2025-02-12 19:54
cgroupstats.h
2.06
KB
-rw-r--r--
2025-02-12 19:54
chio.h
5.16
KB
-rw-r--r--
2025-02-12 19:54
close_range.h
377
B
-rw-r--r--
2025-02-12 19:54
cn_proc.h
4.06
KB
-rw-r--r--
2025-02-12 19:54
coda.h
17.79
KB
-rw-r--r--
2025-02-12 19:54
coff.h
12.25
KB
-rw-r--r--
2025-02-12 19:54
comedi.h
54.18
KB
-rw-r--r--
2025-02-12 19:54
connector.h
2.2
KB
-rw-r--r--
2025-02-12 19:54
const.h
991
B
-rw-r--r--
2025-02-12 19:54
coresight-stm.h
747
B
-rw-r--r--
2025-02-12 19:54
counter.h
4.77
KB
-rw-r--r--
2025-02-12 19:54
cramfs_fs.h
3.47
KB
-rw-r--r--
2025-02-12 19:54
cryptouser.h
5.2
KB
-rw-r--r--
2025-02-12 19:54
cuda.h
905
B
-rw-r--r--
2025-02-12 19:54
cxl_mem.h
7.8
KB
-rw-r--r--
2025-02-12 19:54
cyclades.h
969
B
-rw-r--r--
2025-02-12 19:54
cycx_cfm.h
2.92
KB
-rw-r--r--
2025-02-12 19:54
dcbnl.h
24.97
KB
-rw-r--r--
2025-02-12 19:54
dccp.h
6.29
KB
-rw-r--r--
2025-02-12 19:54
devlink.h
22.17
KB
-rw-r--r--
2025-02-12 19:54
dlm.h
2.52
KB
-rw-r--r--
2025-02-12 19:54
dlm_device.h
2.48
KB
-rw-r--r--
2025-02-12 19:54
dlm_plock.h
916
B
-rw-r--r--
2025-02-12 19:54
dlmconstants.h
4.97
KB
-rw-r--r--
2025-02-12 19:54
dm-ioctl.h
11.33
KB
-rw-r--r--
2025-02-12 19:54
dm-log-userspace.h
14.83
KB
-rw-r--r--
2025-02-12 19:54
dma-buf.h
7.15
KB
-rw-r--r--
2025-02-12 19:54
dma-heap.h
1.36
KB
-rw-r--r--
2025-02-12 19:54
dns_resolver.h
3.86
KB
-rw-r--r--
2025-02-12 19:54
dpll.h
5.75
KB
-rw-r--r--
2025-02-12 19:54
dqblk_xfs.h
9.17
KB
-rw-r--r--
2025-02-12 19:54
dw100.h
357
B
-rw-r--r--
2025-02-12 19:54
edd.h
5.47
KB
-rw-r--r--
2025-02-12 19:54
efs_fs_sb.h
2.17
KB
-rw-r--r--
2025-02-12 19:54
elf-em.h
2.57
KB
-rw-r--r--
2025-02-12 19:54
elf-fdpic.h
1.58
KB
-rw-r--r--
2025-02-12 19:54
elf.h
15.13
KB
-rw-r--r--
2025-02-12 19:54
errno.h
23
B
-rw-r--r--
2025-02-12 19:54
errqueue.h
1.94
KB
-rw-r--r--
2025-02-12 19:54
erspan.h
1.03
KB
-rw-r--r--
2025-02-12 19:54
ethtool.h
86.73
KB
-rw-r--r--
2025-02-12 19:54
ethtool_netlink.h
26.38
KB
-rw-r--r--
2025-02-12 19:54
eventfd.h
264
B
-rw-r--r--
2025-02-12 19:54
eventpoll.h
2.53
KB
-rw-r--r--
2025-02-12 19:54
ext4.h
4.03
KB
-rw-r--r--
2025-02-12 19:54
f2fs.h
3.28
KB
-rw-r--r--
2025-02-12 19:54
fadvise.h
842
B
-rw-r--r--
2025-02-12 19:54
falloc.h
3.5
KB
-rw-r--r--
2025-02-12 19:54
fanotify.h
8.1
KB
-rw-r--r--
2025-02-12 19:54
fb.h
16.09
KB
-rw-r--r--
2025-02-12 19:54
fcntl.h
4.44
KB
-rw-r--r--
2025-02-12 19:54
fd.h
11.83
KB
-rw-r--r--
2025-02-12 19:54
fdreg.h
5.24
KB
-rw-r--r--
2025-02-12 19:54
fib_rules.h
1.99
KB
-rw-r--r--
2025-02-12 19:54
fiemap.h
2.71
KB
-rw-r--r--
2025-02-12 19:54
filter.h
2.16
KB
-rw-r--r--
2025-02-12 19:54
firewire-cdev.h
49.53
KB
-rw-r--r--
2025-02-12 19:54
firewire-constants.h
3.16
KB
-rw-r--r--
2025-02-12 19:54
fou.h
819
B
-rw-r--r--
2025-02-12 19:54
fpga-dfl.h
8.52
KB
-rw-r--r--
2025-02-12 19:54
fs.h
13.94
KB
-rw-r--r--
2025-02-12 19:54
fscrypt.h
6.44
KB
-rw-r--r--
2025-02-12 19:54
fsi.h
3.02
KB
-rw-r--r--
2025-02-12 19:54
fsl_hypervisor.h
7.13
KB
-rw-r--r--
2025-02-12 19:54
fsl_mc.h
734
B
-rw-r--r--
2025-02-12 19:54
fsmap.h
4.3
KB
-rw-r--r--
2025-02-12 19:54
fsverity.h
3.11
KB
-rw-r--r--
2025-02-12 19:54
fuse.h
27.04
KB
-rw-r--r--
2025-02-12 19:54
futex.h
5.98
KB
-rw-r--r--
2025-02-12 19:54
gameport.h
897
B
-rw-r--r--
2025-02-12 19:54
gen_stats.h
1.49
KB
-rw-r--r--
2025-02-12 19:54
genetlink.h
2.19
KB
-rw-r--r--
2025-02-12 19:54
gfs2_ondisk.h
14.43
KB
-rw-r--r--
2025-02-12 19:54
gpio.h
19.46
KB
-rw-r--r--
2025-02-12 19:54
gsmmux.h
4.4
KB
-rw-r--r--
2025-02-12 19:54
gtp.h
734
B
-rw-r--r--
2025-02-12 19:54
handshake.h
1.61
KB
-rw-r--r--
2025-02-12 19:54
hash_info.h
1.01
KB
-rw-r--r--
2025-02-12 19:54
hdlc.h
637
B
-rw-r--r--
2025-02-12 19:54
hdlcdrv.h
2.84
KB
-rw-r--r--
2025-02-12 19:54
hdreg.h
22.17
KB
-rw-r--r--
2025-02-12 19:54
hid.h
2.04
KB
-rw-r--r--
2025-02-12 19:54
hiddev.h
6.2
KB
-rw-r--r--
2025-02-12 19:54
hidraw.h
1.95
KB
-rw-r--r--
2025-02-12 19:54
hpet.h
743
B
-rw-r--r--
2025-02-12 19:54
hsr_netlink.h
1.08
KB
-rw-r--r--
2025-02-12 19:54
hw_breakpoint.h
605
B
-rw-r--r--
2025-02-12 19:54
hyperv.h
10.89
KB
-rw-r--r--
2025-02-12 19:54
i2c-dev.h
1.83
KB
-rw-r--r--
2025-02-12 19:54
i2c.h
6.73
KB
-rw-r--r--
2025-02-12 19:54
i2o-dev.h
11.28
KB
-rw-r--r--
2025-02-12 19:54
i8k.h
1.49
KB
-rw-r--r--
2025-02-12 19:54
icmp.h
4.67
KB
-rw-r--r--
2025-02-12 19:54
icmpv6.h
4.17
KB
-rw-r--r--
2025-02-12 19:54
idxd.h
9.11
KB
-rw-r--r--
2025-02-12 19:54
if.h
10.67
KB
-rw-r--r--
2025-02-12 19:54
if_addr.h
2.09
KB
-rw-r--r--
2025-02-12 19:54
if_addrlabel.h
721
B
-rw-r--r--
2025-02-12 19:54
if_alg.h
1.56
KB
-rw-r--r--
2025-02-12 19:54
if_arcnet.h
3.63
KB
-rw-r--r--
2025-02-12 19:54
if_arp.h
6.43
KB
-rw-r--r--
2025-02-12 19:54
if_bonding.h
5.02
KB
-rw-r--r--
2025-02-12 19:54
if_bridge.h
20.18
KB
-rw-r--r--
2025-02-12 19:54
if_cablemodem.h
986
B
-rw-r--r--
2025-02-12 19:54
if_eql.h
1.32
KB
-rw-r--r--
2025-02-12 19:54
if_ether.h
8.56
KB
-rw-r--r--
2025-02-12 19:54
if_fc.h
1.7
KB
-rw-r--r--
2025-02-12 19:54
if_fddi.h
4.27
KB
-rw-r--r--
2025-02-12 19:54
if_hippi.h
4.14
KB
-rw-r--r--
2025-02-12 19:54
if_infiniband.h
1.22
KB
-rw-r--r--
2025-02-12 19:54
if_link.h
54.49
KB
-rw-r--r--
2025-02-12 19:54
if_ltalk.h
210
B
-rw-r--r--
2025-02-12 19:54
if_macsec.h
6.35
KB
-rw-r--r--
2025-02-12 19:54
if_packet.h
8.07
KB
-rw-r--r--
2025-02-12 19:54
if_phonet.h
424
B
-rw-r--r--
2025-02-12 19:54
if_plip.h
660
B
-rw-r--r--
2025-02-12 19:54
if_ppp.h
29
B
-rw-r--r--
2025-02-12 19:54
if_pppol2tp.h
3.23
KB
-rw-r--r--
2025-02-12 19:54
if_pppox.h
4.76
KB
-rw-r--r--
2025-02-12 19:54
if_slip.h
872
B
-rw-r--r--
2025-02-12 19:54
if_team.h
2.54
KB
-rw-r--r--
2025-02-12 19:54
if_tun.h
4.21
KB
-rw-r--r--
2025-02-12 19:54
if_tunnel.h
4.79
KB
-rw-r--r--
2025-02-12 19:54
if_vlan.h
1.79
KB
-rw-r--r--
2025-02-12 19:54
if_x25.h
881
B
-rw-r--r--
2025-02-12 19:54
if_xdp.h
4.89
KB
-rw-r--r--
2025-02-12 19:54
ife.h
351
B
-rw-r--r--
2025-02-12 19:54
igmp.h
2.99
KB
-rw-r--r--
2025-02-12 19:54
ila.h
1.22
KB
-rw-r--r--
2025-02-12 19:54
in.h
10.61
KB
-rw-r--r--
2025-02-12 19:54
in6.h
7.4
KB
-rw-r--r--
2025-02-12 19:54
in_route.h
936
B
-rw-r--r--
2025-02-12 19:54
inet_diag.h
4.9
KB
-rw-r--r--
2025-02-12 19:54
inotify.h
3.21
KB
-rw-r--r--
2025-02-12 19:54
input-event-codes.h
29.5
KB
-rw-r--r--
2025-02-12 19:54
input.h
15.84
KB
-rw-r--r--
2025-02-12 19:54
io_uring.h
19.26
KB
-rw-r--r--
2025-02-12 19:54
ioam6.h
2.33
KB
-rw-r--r--
2025-02-12 19:54
ioam6_genl.h
945
B
-rw-r--r--
2025-02-12 19:54
ioam6_iptunnel.h
1.26
KB
-rw-r--r--
2025-02-12 19:54
ioctl.h
163
B
-rw-r--r--
2025-02-12 19:54
iommu.h
4.79
KB
-rw-r--r--
2025-02-12 19:54
iommufd.h
24.52
KB
-rw-r--r--
2025-02-12 19:54
ioprio.h
4.08
KB
-rw-r--r--
2025-02-12 19:54
ip.h
4.73
KB
-rw-r--r--
2025-02-12 19:54
ip6_tunnel.h
1.91
KB
-rw-r--r--
2025-02-12 19:54
ip_vs.h
13.8
KB
-rw-r--r--
2025-02-12 19:54
ipc.h
2.05
KB
-rw-r--r--
2025-02-12 19:54
ipmi.h
15.08
KB
-rw-r--r--
2025-02-12 19:54
ipmi_bmc.h
488
B
-rw-r--r--
2025-02-12 19:54
ipmi_msgdefs.h
3.35
KB
-rw-r--r--
2025-02-12 19:54
ipmi_ssif_bmc.h
441
B
-rw-r--r--
2025-02-12 19:54
ipsec.h
947
B
-rw-r--r--
2025-02-12 19:54
ipv6.h
4.22
KB
-rw-r--r--
2025-02-12 19:54
ipv6_route.h
1.86
KB
-rw-r--r--
2025-02-12 19:54
irqnr.h
104
B
-rw-r--r--
2025-02-12 19:54
iso_fs.h
6.33
KB
-rw-r--r--
2025-02-12 19:54
isst_if.h
14.92
KB
-rw-r--r--
2025-02-12 19:54
ivtv.h
2.95
KB
-rw-r--r--
2025-02-12 19:54
ivtvfb.h
1.18
KB
-rw-r--r--
2025-02-12 19:54
jffs2.h
6.65
KB
-rw-r--r--
2025-02-12 19:54
joystick.h
3.35
KB
-rw-r--r--
2025-02-12 19:54
kcm.h
822
B
-rw-r--r--
2025-02-12 19:54
kcmp.h
522
B
-rw-r--r--
2025-02-12 19:54
kcov.h
1.92
KB
-rw-r--r--
2025-02-12 19:54
kd.h
6.3
KB
-rw-r--r--
2025-02-12 19:54
kdev_t.h
383
B
-rw-r--r--
2025-02-12 19:54
kernel-page-flags.h
900
B
-rw-r--r--
2025-02-12 19:54
kernel.h
194
B
-rw-r--r--
2025-02-12 19:54
kernelcapi.h
1019
B
-rw-r--r--
2025-02-12 19:54
kexec.h
2
KB
-rw-r--r--
2025-02-12 19:54
keyboard.h
13.14
KB
-rw-r--r--
2025-02-12 19:54
keyctl.h
5.86
KB
-rw-r--r--
2025-02-12 19:54
kfd_ioctl.h
52.69
KB
-rw-r--r--
2025-02-12 19:54
kfd_sysfs.h
5.01
KB
-rw-r--r--
2025-02-12 19:54
kvm.h
62.15
KB
-rw-r--r--
2025-02-12 19:54
kvm_para.h
1001
B
-rw-r--r--
2025-02-12 19:54
l2tp.h
5.61
KB
-rw-r--r--
2025-02-12 19:54
landlock.h
9.08
KB
-rw-r--r--
2025-02-12 19:54
libc-compat.h
8.09
KB
-rw-r--r--
2025-02-12 19:54
limits.h
937
B
-rw-r--r--
2025-02-12 19:54
lirc.h
8.13
KB
-rw-r--r--
2025-02-12 19:54
llc.h
3.09
KB
-rw-r--r--
2025-02-12 19:54
loadpin.h
834
B
-rw-r--r--
2025-02-12 19:54
loop.h
3.32
KB
-rw-r--r--
2025-02-12 19:54
lp.h
4.09
KB
-rw-r--r--
2025-02-12 19:54
lsm.h
2.5
KB
-rw-r--r--
2025-02-12 19:54
lwtunnel.h
2.31
KB
-rw-r--r--
2025-02-12 19:54
magic.h
3.77
KB
-rw-r--r--
2025-02-12 19:54
major.h
4.55
KB
-rw-r--r--
2025-02-12 19:54
map_to_14segment.h
9.28
KB
-rw-r--r--
2025-02-12 19:54
map_to_7segment.h
6.45
KB
-rw-r--r--
2025-02-12 19:54
matroxfb.h
1.43
KB
-rw-r--r--
2025-02-12 19:54
max2175.h
1.01
KB
-rw-r--r--
2025-02-12 19:54
mctp.h
1.45
KB
-rw-r--r--
2025-02-12 19:54
mdio.h
23.54
KB
-rw-r--r--
2025-02-12 19:54
media-bus-format.h
7.15
KB
-rw-r--r--
2025-02-12 19:54
media.h
12.46
KB
-rw-r--r--
2025-02-12 19:54
mei.h
3.39
KB
-rw-r--r--
2025-02-12 19:54
mei_uuid.h
738
B
-rw-r--r--
2025-02-12 19:54
membarrier.h
9.34
KB
-rw-r--r--
2025-02-12 19:54
memfd.h
1.43
KB
-rw-r--r--
2025-02-12 19:54
mempolicy.h
2.51
KB
-rw-r--r--
2025-02-12 19:54
mii.h
9.27
KB
-rw-r--r--
2025-02-12 19:54
minix_fs.h
2.07
KB
-rw-r--r--
2025-02-12 19:54
mman.h
1.75
KB
-rw-r--r--
2025-02-12 19:54
mmtimer.h
2.07
KB
-rw-r--r--
2025-02-12 19:54
module.h
293
B
-rw-r--r--
2025-02-12 19:54
mount.h
7.75
KB
-rw-r--r--
2025-02-12 19:54
mpls.h
2.25
KB
-rw-r--r--
2025-02-12 19:54
mpls_iptunnel.h
761
B
-rw-r--r--
2025-02-12 19:54
mptcp.h
3.67
KB
-rw-r--r--
2025-02-12 19:54
mptcp_pm.h
4.3
KB
-rw-r--r--
2025-02-12 19:54
mqueue.h
2.15
KB
-rw-r--r--
2025-02-12 19:54
mroute.h
5.78
KB
-rw-r--r--
2025-02-12 19:54
mroute6.h
4.89
KB
-rw-r--r--
2025-02-12 19:54
mrp_bridge.h
1.67
KB
-rw-r--r--
2025-02-12 19:54
msdos_fs.h
6.57
KB
-rw-r--r--
2025-02-12 19:54
msg.h
3.31
KB
-rw-r--r--
2025-02-12 19:54
mtio.h
7.98
KB
-rw-r--r--
2025-02-12 19:54
nbd-netlink.h
2.35
KB
-rw-r--r--
2025-02-12 19:54
nbd.h
3.53
KB
-rw-r--r--
2025-02-12 19:54
ncsi.h
4.71
KB
-rw-r--r--
2025-02-12 19:54
ndctl.h
6.66
KB
-rw-r--r--
2025-02-12 19:54
neighbour.h
5.96
KB
-rw-r--r--
2025-02-12 19:54
net.h
2.04
KB
-rw-r--r--
2025-02-12 19:54
net_dropmon.h
2.85
KB
-rw-r--r--
2025-02-12 19:54
net_namespace.h
715
B
-rw-r--r--
2025-02-12 19:54
net_tstamp.h
5.97
KB
-rw-r--r--
2025-02-12 19:54
netconf.h
614
B
-rw-r--r--
2025-02-12 19:54
netdev.h
4.23
KB
-rw-r--r--
2025-02-12 19:54
netdevice.h
2.2
KB
-rw-r--r--
2025-02-12 19:54
netfilter.h
1.69
KB
-rw-r--r--
2025-02-12 19:54
netfilter_arp.h
445
B
-rw-r--r--
2025-02-12 19:54
netfilter_bridge.h
1.14
KB
-rw-r--r--
2025-02-12 19:54
netfilter_ipv4.h
1.45
KB
-rw-r--r--
2025-02-12 19:54
netfilter_ipv6.h
1.35
KB
-rw-r--r--
2025-02-12 19:54
netlink.h
12.1
KB
-rw-r--r--
2025-02-12 19:54
netlink_diag.h
1.49
KB
-rw-r--r--
2025-02-12 19:54
netrom.h
807
B
-rw-r--r--
2025-02-12 19:54
nexthop.h
2.76
KB
-rw-r--r--
2025-02-12 19:54
nfc.h
10.97
KB
-rw-r--r--
2025-02-12 19:54
nfs.h
4.39
KB
-rw-r--r--
2025-02-12 19:54
nfs2.h
1.43
KB
-rw-r--r--
2025-02-12 19:54
nfs3.h
2.4
KB
-rw-r--r--
2025-02-12 19:54
nfs4.h
6.39
KB
-rw-r--r--
2025-02-12 19:54
nfs4_mount.h
1.89
KB
-rw-r--r--
2025-02-12 19:54
nfs_fs.h
1.62
KB
-rw-r--r--
2025-02-12 19:54
nfs_idmap.h
2.19
KB
-rw-r--r--
2025-02-12 19:54
nfs_mount.h
2.09
KB
-rw-r--r--
2025-02-12 19:54
nfsacl.h
718
B
-rw-r--r--
2025-02-12 19:54
nfsd_netlink.h
933
B
-rw-r--r--
2025-02-12 19:54
nilfs2_api.h
7.41
KB
-rw-r--r--
2025-02-12 19:54
nilfs2_ondisk.h
17.66
KB
-rw-r--r--
2025-02-12 19:54
nitro_enclaves.h
12.85
KB
-rw-r--r--
2025-02-12 19:54
nl80211-vnd-intel.h
4.49
KB
-rw-r--r--
2025-02-12 19:54
nl80211.h
334.96
KB
-rw-r--r--
2025-02-12 19:54
npcm-video.h
1.19
KB
-rw-r--r--
2025-02-12 19:54
nsfs.h
639
B
-rw-r--r--
2025-02-12 19:54
nsm.h
740
B
-rw-r--r--
2025-02-12 19:54
nubus.h
8
KB
-rw-r--r--
2025-02-12 19:54
nvme_ioctl.h
2.43
KB
-rw-r--r--
2025-02-12 19:54
nvram.h
532
B
-rw-r--r--
2025-02-12 19:54
omap3isp.h
20.45
KB
-rw-r--r--
2025-02-12 19:54
omapfb.h
5.78
KB
-rw-r--r--
2025-02-12 19:54
oom.h
511
B
-rw-r--r--
2025-02-12 19:54
openat2.h
1.42
KB
-rw-r--r--
2025-02-12 19:54
openvswitch.h
40.05
KB
-rw-r--r--
2025-02-12 19:54
packet_diag.h
1.63
KB
-rw-r--r--
2025-02-12 19:54
param.h
141
B
-rw-r--r--
2025-02-12 19:54
parport.h
3.75
KB
-rw-r--r--
2025-02-12 19:54
patchkey.h
892
B
-rw-r--r--
2025-02-12 19:54
pci.h
1.35
KB
-rw-r--r--
2025-02-12 19:54
pci_regs.h
60.36
KB
-rw-r--r--
2025-02-12 19:54
pcitest.h
920
B
-rw-r--r--
2025-02-12 19:54
perf_event.h
42.28
KB
-rw-r--r--
2025-02-12 19:54
personality.h
2.05
KB
-rw-r--r--
2025-02-12 19:54
pfkeyv2.h
10.39
KB
-rw-r--r--
2025-02-12 19:54
pfrut.h
7.8
KB
-rw-r--r--
2025-02-12 19:54
pg.h
2.34
KB
-rw-r--r--
2025-02-12 19:54
phantom.h
1.62
KB
-rw-r--r--
2025-02-12 19:54
phonet.h
4.57
KB
-rw-r--r--
2025-02-12 19:54
pidfd.h
256
B
-rw-r--r--
2025-02-12 19:54
pkt_cls.h
18.15
KB
-rw-r--r--
2025-02-12 19:54
pkt_sched.h
28.66
KB
-rw-r--r--
2025-02-12 19:54
pktcdvd.h
2.35
KB
-rw-r--r--
2025-02-12 19:54
pmu.h
5.32
KB
-rw-r--r--
2025-02-12 19:54
poll.h
22
B
-rw-r--r--
2025-02-12 19:54
posix_acl.h
1.22
KB
-rw-r--r--
2025-02-12 19:54
posix_acl_xattr.h
1.09
KB
-rw-r--r--
2025-02-12 19:54
posix_types.h
1.07
KB
-rw-r--r--
2025-02-12 19:54
ppdev.h
3.21
KB
-rw-r--r--
2025-02-12 19:54
ppp-comp.h
2.47
KB
-rw-r--r--
2025-02-12 19:54
ppp-ioctl.h
5.59
KB
-rw-r--r--
2025-02-12 19:54
ppp_defs.h
5.43
KB
-rw-r--r--
2025-02-12 19:54
pps.h
4.62
KB
-rw-r--r--
2025-02-12 19:54
pr.h
1.59
KB
-rw-r--r--
2025-02-12 19:54
prctl.h
10.42
KB
-rw-r--r--
2025-02-12 19:54
psample.h
2.22
KB
-rw-r--r--
2025-02-12 19:54
psci.h
5.02
KB
-rw-r--r--
2025-02-12 19:54
psp-dbc.h
5.16
KB
-rw-r--r--
2025-02-12 19:54
psp-sev.h
4.39
KB
-rw-r--r--
2025-02-12 19:54
ptp_clock.h
7.46
KB
-rw-r--r--
2025-02-12 19:54
ptrace.h
5.37
KB
-rw-r--r--
2025-02-12 19:54
qemu_fw_cfg.h
2.41
KB
-rw-r--r--
2025-02-12 19:54
qnx4_fs.h
2.27
KB
-rw-r--r--
2025-02-12 19:54
qnxtypes.h
624
B
-rw-r--r--
2025-02-12 19:54
qrtr.h
893
B
-rw-r--r--
2025-02-12 19:54
quota.h
6.16
KB
-rw-r--r--
2025-02-12 19:54
radeonfb.h
360
B
-rw-r--r--
2025-02-12 19:54
random.h
1.38
KB
-rw-r--r--
2025-02-12 19:54
rds.h
10.91
KB
-rw-r--r--
2025-02-12 19:54
reboot.h
1.31
KB
-rw-r--r--
2025-02-12 19:54
reiserfs_fs.h
775
B
-rw-r--r--
2025-02-12 19:54
reiserfs_xattr.h
542
B
-rw-r--r--
2025-02-12 19:54
remoteproc_cdev.h
1.08
KB
-rw-r--r--
2025-02-12 19:54
resource.h
2.53
KB
-rw-r--r--
2025-02-12 19:54
rfkill.h
5.96
KB
-rw-r--r--
2025-02-12 19:54
rio_cm_cdev.h
3.17
KB
-rw-r--r--
2025-02-12 19:54
rio_mport_cdev.h
9.11
KB
-rw-r--r--
2025-02-12 19:54
rkisp1-config.h
33.39
KB
-rw-r--r--
2025-02-12 19:54
romfs_fs.h
1.21
KB
-rw-r--r--
2025-02-12 19:54
rose.h
2.18
KB
-rw-r--r--
2025-02-12 19:54
route.h
2.28
KB
-rw-r--r--
2025-02-12 19:54
rpl.h
854
B
-rw-r--r--
2025-02-12 19:54
rpl_iptunnel.h
424
B
-rw-r--r--
2025-02-12 19:54
rpmsg.h
1.29
KB
-rw-r--r--
2025-02-12 19:54
rpmsg_types.h
288
B
-rw-r--r--
2025-02-12 19:54
rseq.h
5.32
KB
-rw-r--r--
2025-02-12 19:54
rtc.h
5.19
KB
-rw-r--r--
2025-02-12 19:54
rtnetlink.h
20.85
KB
-rw-r--r--
2025-02-12 19:54
rxrpc.h
4.81
KB
-rw-r--r--
2025-02-12 19:54
scc.h
4.52
KB
-rw-r--r--
2025-02-12 19:54
sched.h
6.12
KB
-rw-r--r--
2025-02-12 19:54
scif_ioctl.h
6.23
KB
-rw-r--r--
2025-02-12 19:54
screen_info.h
2.42
KB
-rw-r--r--
2025-02-12 19:54
sctp.h
35.17
KB
-rw-r--r--
2025-02-12 19:54
seccomp.h
5.85
KB
-rw-r--r--
2025-02-12 19:54
securebits.h
2.64
KB
-rw-r--r--
2025-02-12 19:54
sed-opal.h
5.22
KB
-rw-r--r--
2025-02-12 19:54
seg6.h
1.14
KB
-rw-r--r--
2025-02-12 19:54
seg6_genl.h
589
B
-rw-r--r--
2025-02-12 19:54
seg6_hmac.h
423
B
-rw-r--r--
2025-02-12 19:54
seg6_iptunnel.h
983
B
-rw-r--r--
2025-02-12 19:54
seg6_local.h
3.78
KB
-rw-r--r--
2025-02-12 19:54
selinux_netlink.h
1.17
KB
-rw-r--r--
2025-02-12 19:54
sem.h
2.98
KB
-rw-r--r--
2025-02-12 19:54
serial.h
5.12
KB
-rw-r--r--
2025-02-12 19:54
serial_core.h
4.93
KB
-rw-r--r--
2025-02-12 19:54
serial_reg.h
15.65
KB
-rw-r--r--
2025-02-12 19:54
serio.h
2.05
KB
-rw-r--r--
2025-02-12 19:54
sev-guest.h
2.31
KB
-rw-r--r--
2025-02-12 19:54
shm.h
3.71
KB
-rw-r--r--
2025-02-12 19:54
signal.h
388
B
-rw-r--r--
2025-02-12 19:54
signalfd.h
1.2
KB
-rw-r--r--
2025-02-12 19:54
smc.h
8.46
KB
-rw-r--r--
2025-02-12 19:54
smc_diag.h
2.88
KB
-rw-r--r--
2025-02-12 19:54
smiapp.h
1.03
KB
-rw-r--r--
2025-02-12 19:54
snmp.h
14.19
KB
-rw-r--r--
2025-02-12 19:54
sock_diag.h
1.27
KB
-rw-r--r--
2025-02-12 19:54
socket.h
1.02
KB
-rw-r--r--
2025-02-12 19:54
sockios.h
6.69
KB
-rw-r--r--
2025-02-12 19:54
sonet.h
2.24
KB
-rw-r--r--
2025-02-12 19:54
sonypi.h
5.18
KB
-rw-r--r--
2025-02-12 19:54
sound.h
1.21
KB
-rw-r--r--
2025-02-12 19:54
soundcard.h
44.97
KB
-rw-r--r--
2025-02-12 19:54
stat.h
6.84
KB
-rw-r--r--
2025-02-12 19:54
stddef.h
1.74
KB
-rw-r--r--
2025-02-12 19:54
stm.h
1.24
KB
-rw-r--r--
2025-02-12 19:54
string.h
238
B
-rw-r--r--
2025-02-12 19:54
suspend_ioctls.h
1.4
KB
-rw-r--r--
2025-02-12 19:54
swab.h
6.78
KB
-rw-r--r--
2025-02-12 19:54
switchtec_ioctl.h
5.14
KB
-rw-r--r--
2025-02-12 19:54
sync_file.h
3.37
KB
-rw-r--r--
2025-02-12 19:54
synclink.h
8.77
KB
-rw-r--r--
2025-02-12 19:54
sysctl.h
25.42
KB
-rw-r--r--
2025-02-12 19:54
sysinfo.h
1.02
KB
-rw-r--r--
2025-02-12 19:54
target_core_user.h
4.54
KB
-rw-r--r--
2025-02-12 19:54
taskstats.h
8.13
KB
-rw-r--r--
2025-02-12 19:54
tcp.h
16.62
KB
-rw-r--r--
2025-02-12 19:54
tcp_metrics.h
1.51
KB
-rw-r--r--
2025-02-12 19:54
tdx-guest.h
1.27
KB
-rw-r--r--
2025-02-12 19:54
tee.h
13.09
KB
-rw-r--r--
2025-02-12 19:54
termios.h
172
B
-rw-r--r--
2025-02-12 19:54
thermal.h
3.23
KB
-rw-r--r--
2025-02-12 19:54
thp7312.h
659
B
-rw-r--r--
2025-02-12 19:54
time.h
1.71
KB
-rw-r--r--
2025-02-12 19:54
time_types.h
1.24
KB
-rw-r--r--
2025-02-12 19:54
timerfd.h
936
B
-rw-r--r--
2025-02-12 19:54
times.h
278
B
-rw-r--r--
2025-02-12 19:54
timex.h
7.63
KB
-rw-r--r--
2025-02-12 19:54
tiocl.h
1.69
KB
-rw-r--r--
2025-02-12 19:54
tipc.h
8.62
KB
-rw-r--r--
2025-02-12 19:54
tipc_config.h
14.57
KB
-rw-r--r--
2025-02-12 19:54
tipc_netlink.h
9.17
KB
-rw-r--r--
2025-02-12 19:54
tipc_sockets_diag.h
468
B
-rw-r--r--
2025-02-12 19:54
tls.h
7.06
KB
-rw-r--r--
2025-02-12 19:54
toshiba.h
1.88
KB
-rw-r--r--
2025-02-12 19:54
tps6594_pfsm.h
1.13
KB
-rw-r--r--
2025-02-12 19:54
tty.h
1.74
KB
-rw-r--r--
2025-02-12 19:54
tty_flags.h
4.4
KB
-rw-r--r--
2025-02-12 19:54
types.h
1.73
KB
-rw-r--r--
2025-02-12 19:54
ublk_cmd.h
11.52
KB
-rw-r--r--
2025-02-12 19:54
udf_fs_i.h
697
B
-rw-r--r--
2025-02-12 19:54
udmabuf.h
643
B
-rw-r--r--
2025-02-12 19:54
udp.h
1.65
KB
-rw-r--r--
2025-02-12 19:54
uhid.h
4.54
KB
-rw-r--r--
2025-02-12 19:54
uinput.h
9.04
KB
-rw-r--r--
2025-02-12 19:54
uio.h
732
B
-rw-r--r--
2025-02-12 19:54
uleds.h
798
B
-rw-r--r--
2025-02-12 19:54
ultrasound.h
4.46
KB
-rw-r--r--
2025-02-12 19:54
um_timetravel.h
3.87
KB
-rw-r--r--
2025-02-12 19:54
un.h
384
B
-rw-r--r--
2025-02-12 19:54
unistd.h
220
B
-rw-r--r--
2025-02-12 19:54
unix_diag.h
1.3
KB
-rw-r--r--
2025-02-12 19:54
usbdevice_fs.h
8.12
KB
-rw-r--r--
2025-02-12 19:54
usbip.h
1.47
KB
-rw-r--r--
2025-02-12 19:54
user_events.h
2.29
KB
-rw-r--r--
2025-02-12 19:54
userfaultfd.h
11.74
KB
-rw-r--r--
2025-02-12 19:54
userio.h
1.48
KB
-rw-r--r--
2025-02-12 19:54
utime.h
223
B
-rw-r--r--
2025-02-12 19:54
utsname.h
669
B
-rw-r--r--
2025-02-12 19:54
uuid.h
28
B
-rw-r--r--
2025-02-12 19:54
uvcvideo.h
2.57
KB
-rw-r--r--
2025-02-12 19:54
v4l2-common.h
2.01
KB
-rw-r--r--
2025-02-12 19:54
v4l2-controls.h
145.84
KB
-rw-r--r--
2025-02-12 19:54
v4l2-dv-timings.h
30.39
KB
-rw-r--r--
2025-02-12 19:54
v4l2-mediabus.h
5.11
KB
-rw-r--r--
2025-02-12 19:54
v4l2-subdev.h
9.77
KB
-rw-r--r--
2025-02-12 19:54
vbox_err.h
7.09
KB
-rw-r--r--
2025-02-12 19:54
vbox_vmmdev_types.h
11.38
KB
-rw-r--r--
2025-02-12 19:54
vboxguest.h
9.15
KB
-rw-r--r--
2025-02-12 19:54
vdpa.h
1.74
KB
-rw-r--r--
2025-02-12 19:54
vduse.h
9.58
KB
-rw-r--r--
2025-02-12 19:54
version.h
216
B
-rw-r--r--
2025-02-12 19:54
veth.h
224
B
-rw-r--r--
2025-02-12 19:54
vfio.h
70.18
KB
-rw-r--r--
2025-02-12 19:54
vfio_ccw.h
1.29
KB
-rw-r--r--
2025-02-12 19:54
vfio_zdev.h
2.48
KB
-rw-r--r--
2025-02-12 19:54
vhost.h
9.74
KB
-rw-r--r--
2025-02-12 19:54
vhost_types.h
5.14
KB
-rw-r--r--
2025-02-12 19:54
videodev2.h
98.5
KB
-rw-r--r--
2025-02-12 19:54
virtio_9p.h
2
KB
-rw-r--r--
2025-02-12 19:54
virtio_balloon.h
5.16
KB
-rw-r--r--
2025-02-12 19:54
virtio_blk.h
9.75
KB
-rw-r--r--
2025-02-12 19:54
virtio_bt.h
910
B
-rw-r--r--
2025-02-12 19:54
virtio_config.h
4.65
KB
-rw-r--r--
2025-02-12 19:54
virtio_console.h
3.08
KB
-rw-r--r--
2025-02-12 19:54
virtio_crypto.h
16.09
KB
-rw-r--r--
2025-02-12 19:54
virtio_fs.h
573
B
-rw-r--r--
2025-02-12 19:54
virtio_gpio.h
1.67
KB
-rw-r--r--
2025-02-12 19:54
virtio_gpu.h
11.19
KB
-rw-r--r--
2025-02-12 19:54
virtio_i2c.h
1.16
KB
-rw-r--r--
2025-02-12 19:54
virtio_ids.h
4.2
KB
-rw-r--r--
2025-02-12 19:54
virtio_input.h
2.46
KB
-rw-r--r--
2025-02-12 19:54
virtio_iommu.h
3.84
KB
-rw-r--r--
2025-02-12 19:54
virtio_mem.h
6.99
KB
-rw-r--r--
2025-02-12 19:54
virtio_mmio.h
4.85
KB
-rw-r--r--
2025-02-12 19:54
virtio_net.h
15.08
KB
-rw-r--r--
2025-02-12 19:54
virtio_pci.h
9.41
KB
-rw-r--r--
2025-02-12 19:54
virtio_pcidev.h
2.39
KB
-rw-r--r--
2025-02-12 19:54
virtio_pmem.h
882
B
-rw-r--r--
2025-02-12 19:54
virtio_ring.h
8.52
KB
-rw-r--r--
2025-02-12 19:54
virtio_rng.h
265
B
-rw-r--r--
2025-02-12 19:54
virtio_scmi.h
637
B
-rw-r--r--
2025-02-12 19:54
virtio_scsi.h
5.94
KB
-rw-r--r--
2025-02-12 19:54
virtio_snd.h
9.09
KB
-rw-r--r--
2025-02-12 19:54
virtio_types.h
2.1
KB
-rw-r--r--
2025-02-12 19:54
virtio_vsock.h
3.27
KB
-rw-r--r--
2025-02-12 19:54
vm_sockets.h
7.18
KB
-rw-r--r--
2025-02-12 19:54
vm_sockets_diag.h
963
B
-rw-r--r--
2025-02-12 19:54
vmcore.h
455
B
-rw-r--r--
2025-02-12 19:54
vsockmon.h
1.84
KB
-rw-r--r--
2025-02-12 19:54
vt.h
2.99
KB
-rw-r--r--
2025-02-12 19:54
vtpm_proxy.h
1.68
KB
-rw-r--r--
2025-02-12 19:54
wait.h
682
B
-rw-r--r--
2025-02-12 19:54
watch_queue.h
3.41
KB
-rw-r--r--
2025-02-12 19:54
watchdog.h
2.28
KB
-rw-r--r--
2025-02-12 19:54
wireguard.h
7.57
KB
-rw-r--r--
2025-02-12 19:54
wireless.h
41.7
KB
-rw-r--r--
2025-02-12 19:54
wmi.h
1.72
KB
-rw-r--r--
2025-02-12 19:54
wwan.h
295
B
-rw-r--r--
2025-02-12 19:54
x25.h
3.48
KB
-rw-r--r--
2025-02-12 19:54
xattr.h
2.95
KB
-rw-r--r--
2025-02-12 19:54
xdp_diag.h
1.43
KB
-rw-r--r--
2025-02-12 19:54
xfrm.h
12.35
KB
-rw-r--r--
2025-02-12 19:54
xilinx-v4l2-controls.h
2.91
KB
-rw-r--r--
2025-02-12 19:54
zorro.h
3.22
KB
-rw-r--r--
2025-02-12 19:54
zorro_ids.h
29.36
KB
-rw-r--r--
2025-02-12 19:54
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 #ifdef __cplusplus extern "C" { #endif #include <linux/types.h> #include <linux/ioctl.h> #include <linux/fs.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) #define BTRFS_QGROUP_INHERIT_FLAGS_SUPP (BTRFS_QGROUP_INHERIT_SET_LIMITS) 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 */ /* * Optional, out. * * Showing the fsid of the device, allowing user space to check if this * device is a seeding one. * * Introduced in v6.3, thus user space still needs to check if kernel * changed this value. Older kernel will not touch the values here. */ __u8 fsid[BTRFS_UUID_SIZE]; __u64 unused[377]; /* 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) #define BTRFS_FEATURE_INCOMPAT_RAID_STRIPE_TREE (1ULL << 14) #define BTRFS_FEATURE_INCOMPAT_SIMPLE_QUOTA (1ULL << 16) 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; /* * usage filter * BTRFS_BALANCE_ARGS_USAGE with a single value means '0..N' * BTRFS_BALANCE_ARGS_USAGE_RANGE - range syntax, min..max */ 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; } __attribute__ ((__may_alias__)); #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]; }; /* * Extended version of TREE_SEARCH ioctl that can return more than 4k of bytes. * The allocated size of the buffer is set in buf_size. */ 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 */ }; /* With a @src_length of zero, the range from @src_offset->EOF is cloned! */ 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 #define BTRFS_QUOTA_CTL_ENABLE_SIMPLE_QUOTA 4 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) #ifdef __cplusplus } #endif #endif /* _LINUX_BTRFS_H */