Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
Apache
: 172.26.7.228 | : 52.15.169.97
Cant Read [ /etc/named.conf ]
5.6.40-24+ubuntu18.04.1+deb.sury.org+1
www-data
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
include /
linux /
[ HOME SHELL ]
Name
Size
Permission
Action
android
[ DIR ]
drwxr-xr-x
byteorder
[ DIR ]
drwxr-xr-x
caif
[ DIR ]
drwxr-xr-x
can
[ DIR ]
drwxr-xr-x
cifs
[ DIR ]
drwxr-xr-x
dvb
[ DIR ]
drwxr-xr-x
genwqe
[ DIR ]
drwxr-xr-x
hdlc
[ DIR ]
drwxr-xr-x
hsi
[ DIR ]
drwxr-xr-x
iio
[ DIR ]
drwxr-xr-x
isdn
[ DIR ]
drwxr-xr-x
mmc
[ DIR ]
drwxr-xr-x
netfilter
[ DIR ]
drwxr-xr-x
netfilter_arp
[ DIR ]
drwxr-xr-x
netfilter_bridge
[ DIR ]
drwxr-xr-x
netfilter_ipv4
[ DIR ]
drwxr-xr-x
netfilter_ipv6
[ DIR ]
drwxr-xr-x
nfsd
[ DIR ]
drwxr-xr-x
raid
[ DIR ]
drwxr-xr-x
sched
[ DIR ]
drwxr-xr-x
spi
[ DIR ]
drwxr-xr-x
sunrpc
[ DIR ]
drwxr-xr-x
tc_act
[ DIR ]
drwxr-xr-x
tc_ematch
[ DIR ]
drwxr-xr-x
usb
[ DIR ]
drwxr-xr-x
wimax
[ DIR ]
drwxr-xr-x
a.out.h
6.73
KB
-rw-r--r--
acct.h
3.65
KB
-rw-r--r--
adb.h
1.11
KB
-rw-r--r--
adfs_fs.h
936
B
-rw-r--r--
affs_hardblocks.h
1.51
KB
-rw-r--r--
agpgart.h
3.85
KB
-rw-r--r--
aio_abi.h
3.2
KB
-rw-r--r--
am437x-vpfe.h
3.59
KB
-rw-r--r--
apm_bios.h
3.6
KB
-rw-r--r--
arcfb.h
213
B
-rw-r--r--
arm_sdei.h
2.69
KB
-rw-r--r--
aspeed-lpc-ctrl.h
1.74
KB
-rw-r--r--
atalk.h
1023
B
-rw-r--r--
atm.h
7.7
KB
-rw-r--r--
atm_eni.h
648
B
-rw-r--r--
atm_he.h
406
B
-rw-r--r--
atm_idt77105.h
955
B
-rw-r--r--
atm_nicstar.h
1.25
KB
-rw-r--r--
atm_tcp.h
1.58
KB
-rw-r--r--
atm_zatm.h
1.5
KB
-rw-r--r--
atmapi.h
952
B
-rw-r--r--
atmarp.h
1.27
KB
-rw-r--r--
atmbr2684.h
3.19
KB
-rw-r--r--
atmclip.h
576
B
-rw-r--r--
atmdev.h
7.5
KB
-rw-r--r--
atmioc.h
1.61
KB
-rw-r--r--
atmlec.h
2.33
KB
-rw-r--r--
atmmpc.h
4.13
KB
-rw-r--r--
atmppp.h
639
B
-rw-r--r--
atmsap.h
4.85
KB
-rw-r--r--
atmsvc.h
1.81
KB
-rw-r--r--
audit.h
19.09
KB
-rw-r--r--
aufs_type.h
11.1
KB
-rw-r--r--
auto_dev-ioctl.h
4.87
KB
-rw-r--r--
auto_fs.h
2.6
KB
-rw-r--r--
auto_fs4.h
4.17
KB
-rw-r--r--
auxvec.h
1.46
KB
-rw-r--r--
ax25.h
2.76
KB
-rw-r--r--
b1lli.h
1.68
KB
-rw-r--r--
batman_adv.h
9.23
KB
-rw-r--r--
baycom.h
883
B
-rw-r--r--
bcache.h
8.17
KB
-rw-r--r--
bcm933xx_hcs.h
419
B
-rw-r--r--
bfs_fs.h
1.85
KB
-rw-r--r--
binfmts.h
628
B
-rw-r--r--
blkpg.h
1.6
KB
-rw-r--r--
blktrace_api.h
4.59
KB
-rw-r--r--
blkzoned.h
5.05
KB
-rw-r--r--
bpf.h
30.32
KB
-rw-r--r--
bpf_common.h
1.26
KB
-rw-r--r--
bpf_perf_event.h
516
B
-rw-r--r--
bpqether.h
981
B
-rw-r--r--
bsg.h
2.44
KB
-rw-r--r--
bt-bmc.h
572
B
-rw-r--r--
btrfs.h
25.75
KB
-rw-r--r--
btrfs_tree.h
24.64
KB
-rw-r--r--
can.h
7.7
KB
-rw-r--r--
capability.h
11.5
KB
-rw-r--r--
capi.h
3.05
KB
-rw-r--r--
cciss_defs.h
3.2
KB
-rw-r--r--
cciss_ioctl.h
2.7
KB
-rw-r--r--
cdrom.h
28.18
KB
-rw-r--r--
cec-funcs.h
53.82
KB
-rw-r--r--
cec.h
36.77
KB
-rw-r--r--
cgroupstats.h
2.17
KB
-rw-r--r--
chio.h
5.22
KB
-rw-r--r--
cm4000_cs.h
1.76
KB
-rw-r--r--
cn_proc.h
3.26
KB
-rw-r--r--
coda.h
17.09
KB
-rw-r--r--
coda_psdev.h
360
B
-rw-r--r--
coff.h
12.18
KB
-rw-r--r--
connector.h
2.2
KB
-rw-r--r--
const.h
993
B
-rw-r--r--
coresight-stm.h
706
B
-rw-r--r--
cramfs_fs.h
3.47
KB
-rw-r--r--
cryptouser.h
3.31
KB
-rw-r--r--
cuda.h
905
B
-rw-r--r--
cyclades.h
16.71
KB
-rw-r--r--
cycx_cfm.h
2.92
KB
-rw-r--r--
dcbnl.h
24.37
KB
-rw-r--r--
dccp.h
6.29
KB
-rw-r--r--
devlink.h
7.15
KB
-rw-r--r--
dlm.h
2.49
KB
-rw-r--r--
dlm_device.h
2.48
KB
-rw-r--r--
dlm_netlink.h
1.13
KB
-rw-r--r--
dlm_plock.h
894
B
-rw-r--r--
dlmconstants.h
4.96
KB
-rw-r--r--
dm-ioctl.h
10.62
KB
-rw-r--r--
dm-log-userspace.h
14.83
KB
-rw-r--r--
dma-buf.h
1.33
KB
-rw-r--r--
dn.h
4.53
KB
-rw-r--r--
dqblk_xfs.h
8.79
KB
-rw-r--r--
edd.h
5.47
KB
-rw-r--r--
efs_fs_sb.h
2.17
KB
-rw-r--r--
elf-em.h
2.14
KB
-rw-r--r--
elf-fdpic.h
1.1
KB
-rw-r--r--
elf.h
12.99
KB
-rw-r--r--
elfcore.h
2.92
KB
-rw-r--r--
errno.h
23
B
-rw-r--r--
errqueue.h
1.34
KB
-rw-r--r--
ethtool.h
69.81
KB
-rw-r--r--
eventpoll.h
2.48
KB
-rw-r--r--
fadvise.h
842
B
-rw-r--r--
falloc.h
3.5
KB
-rw-r--r--
fanotify.h
3.59
KB
-rw-r--r--
fb.h
16.06
KB
-rw-r--r--
fcntl.h
3.22
KB
-rw-r--r--
fd.h
11.4
KB
-rw-r--r--
fdreg.h
5.29
KB
-rw-r--r--
fib_rules.h
1.79
KB
-rw-r--r--
fiemap.h
2.71
KB
-rw-r--r--
filter.h
2.16
KB
-rw-r--r--
firewire-cdev.h
42.86
KB
-rw-r--r--
firewire-constants.h
3.16
KB
-rw-r--r--
flat.h
2.1
KB
-rw-r--r--
fou.h
694
B
-rw-r--r--
fs.h
14.47
KB
-rw-r--r--
fsl_hypervisor.h
7.13
KB
-rw-r--r--
fsmap.h
4.29
KB
-rw-r--r--
fuse.h
17.06
KB
-rw-r--r--
futex.h
4.88
KB
-rw-r--r--
gameport.h
897
B
-rw-r--r--
gen_stats.h
1.54
KB
-rw-r--r--
genetlink.h
1.88
KB
-rw-r--r--
gfs2_ondisk.h
12.07
KB
-rw-r--r--
gigaset_dev.h
1.41
KB
-rw-r--r--
gpio.h
5.62
KB
-rw-r--r--
gsmmux.h
1.02
KB
-rw-r--r--
gtp.h
681
B
-rw-r--r--
hash_info.h
921
B
-rw-r--r--
hdlc.h
637
B
-rw-r--r--
hdlcdrv.h
2.84
KB
-rw-r--r--
hdreg.h
22.17
KB
-rw-r--r--
hid.h
1.86
KB
-rw-r--r--
hiddev.h
6.2
KB
-rw-r--r--
hidraw.h
1.48
KB
-rw-r--r--
hpet.h
743
B
-rw-r--r--
hsr_netlink.h
1.06
KB
-rw-r--r--
hw_breakpoint.h
742
B
-rw-r--r--
hyperv.h
10.32
KB
-rw-r--r--
hysdn_if.h
1.35
KB
-rw-r--r--
i2c-dev.h
2.55
KB
-rw-r--r--
i2c.h
6.96
KB
-rw-r--r--
i2o-dev.h
11.28
KB
-rw-r--r--
i8k.h
1.49
KB
-rw-r--r--
icmp.h
2.91
KB
-rw-r--r--
icmpv6.h
3.88
KB
-rw-r--r--
if.h
10.56
KB
-rw-r--r--
if_addr.h
1.76
KB
-rw-r--r--
if_addrlabel.h
721
B
-rw-r--r--
if_alg.h
1.5
KB
-rw-r--r--
if_arcnet.h
3.63
KB
-rw-r--r--
if_arp.h
6.42
KB
-rw-r--r--
if_bonding.h
4.17
KB
-rw-r--r--
if_bridge.h
6.55
KB
-rw-r--r--
if_cablemodem.h
986
B
-rw-r--r--
if_eql.h
1.32
KB
-rw-r--r--
if_ether.h
7.75
KB
-rw-r--r--
if_fc.h
1.7
KB
-rw-r--r--
if_fddi.h
3.66
KB
-rw-r--r--
if_frad.h
2.95
KB
-rw-r--r--
if_hippi.h
4.14
KB
-rw-r--r--
if_infiniband.h
1.22
KB
-rw-r--r--
if_link.h
21.44
KB
-rw-r--r--
if_ltalk.h
210
B
-rw-r--r--
if_macsec.h
5.48
KB
-rw-r--r--
if_packet.h
7.73
KB
-rw-r--r--
if_phonet.h
424
B
-rw-r--r--
if_plip.h
660
B
-rw-r--r--
if_ppp.h
29
B
-rw-r--r--
if_pppol2tp.h
3.21
KB
-rw-r--r--
if_pppox.h
4.76
KB
-rw-r--r--
if_slip.h
872
B
-rw-r--r--
if_team.h
2.54
KB
-rw-r--r--
if_tun.h
3.88
KB
-rw-r--r--
if_tunnel.h
3.91
KB
-rw-r--r--
if_vlan.h
1.75
KB
-rw-r--r--
if_x25.h
881
B
-rw-r--r--
ife.h
351
B
-rw-r--r--
igmp.h
2.94
KB
-rw-r--r--
ila.h
1.2
KB
-rw-r--r--
in.h
9.6
KB
-rw-r--r--
in6.h
7.26
KB
-rw-r--r--
in_route.h
936
B
-rw-r--r--
inet_diag.h
4.23
KB
-rw-r--r--
inotify.h
2.91
KB
-rw-r--r--
input-event-codes.h
24.11
KB
-rw-r--r--
input.h
15.09
KB
-rw-r--r--
ioctl.h
163
B
-rw-r--r--
ip.h
4.59
KB
-rw-r--r--
ip6_tunnel.h
1.91
KB
-rw-r--r--
ip_vs.h
13.31
KB
-rw-r--r--
ipc.h
2.05
KB
-rw-r--r--
ipmi.h
15.86
KB
-rw-r--r--
ipmi_msgdefs.h
4.43
KB
-rw-r--r--
ipsec.h
947
B
-rw-r--r--
ipv6.h
3.87
KB
-rw-r--r--
ipv6_route.h
1.86
KB
-rw-r--r--
ipx.h
2.29
KB
-rw-r--r--
irda.h
7.38
KB
-rw-r--r--
irqnr.h
104
B
-rw-r--r--
isdn.h
5.64
KB
-rw-r--r--
isdn_divertif.h
1.17
KB
-rw-r--r--
isdn_ppp.h
1.88
KB
-rw-r--r--
isdnif.h
2.31
KB
-rw-r--r--
iso_fs.h
6.33
KB
-rw-r--r--
ivtv.h
2.95
KB
-rw-r--r--
ivtvfb.h
1.18
KB
-rw-r--r--
ixjuser.h
24.59
KB
-rw-r--r--
jffs2.h
6.85
KB
-rw-r--r--
joystick.h
3.56
KB
-rw-r--r--
kcm.h
822
B
-rw-r--r--
kcmp.h
522
B
-rw-r--r--
kcov.h
1.07
KB
-rw-r--r--
kd.h
6.14
KB
-rw-r--r--
kdev_t.h
383
B
-rw-r--r--
kernel-page-flags.h
877
B
-rw-r--r--
kernel.h
194
B
-rw-r--r--
kernelcapi.h
1019
B
-rw-r--r--
kexec.h
1.79
KB
-rw-r--r--
keyboard.h
12.48
KB
-rw-r--r--
keyctl.h
3.47
KB
-rw-r--r--
kfd_ioctl.h
9.37
KB
-rw-r--r--
kvm.h
40.18
KB
-rw-r--r--
kvm_para.h
882
B
-rw-r--r--
l2tp.h
5.5
KB
-rw-r--r--
libc-compat.h
8.09
KB
-rw-r--r--
lightnvm.h
4.76
KB
-rw-r--r--
limits.h
937
B
-rw-r--r--
lirc.h
4.94
KB
-rw-r--r--
llc.h
3.09
KB
-rw-r--r--
loop.h
2.46
KB
-rw-r--r--
lp.h
3.78
KB
-rw-r--r--
lwtunnel.h
1.24
KB
-rw-r--r--
magic.h
3.32
KB
-rw-r--r--
major.h
4.6
KB
-rw-r--r--
map_to_7segment.h
7.08
KB
-rw-r--r--
matroxfb.h
1.43
KB
-rw-r--r--
max2175.h
1.01
KB
-rw-r--r--
mdio.h
13.8
KB
-rw-r--r--
media-bus-format.h
6.26
KB
-rw-r--r--
media.h
12.24
KB
-rw-r--r--
mei.h
4.7
KB
-rw-r--r--
membarrier.h
4.12
KB
-rw-r--r--
memfd.h
1.2
KB
-rw-r--r--
mempolicy.h
2.1
KB
-rw-r--r--
meye.h
2.47
KB
-rw-r--r--
mic_common.h
6.37
KB
-rw-r--r--
mic_ioctl.h
2.2
KB
-rw-r--r--
mii.h
7.89
KB
-rw-r--r--
minix_fs.h
2.07
KB
-rw-r--r--
mman.h
1.21
KB
-rw-r--r--
mmtimer.h
2.07
KB
-rw-r--r--
module.h
255
B
-rw-r--r--
mpls.h
2.25
KB
-rw-r--r--
mpls_iptunnel.h
761
B
-rw-r--r--
mqueue.h
2.15
KB
-rw-r--r--
mroute.h
5.3
KB
-rw-r--r--
mroute6.h
4.47
KB
-rw-r--r--
msdos_fs.h
6.8
KB
-rw-r--r--
msg.h
3.27
KB
-rw-r--r--
mtio.h
7.98
KB
-rw-r--r--
n_r3964.h
2.35
KB
-rw-r--r--
nbd-netlink.h
2.32
KB
-rw-r--r--
nbd.h
2.95
KB
-rw-r--r--
ncp.h
5
KB
-rw-r--r--
ncp_fs.h
3.34
KB
-rw-r--r--
ncp_mount.h
2.12
KB
-rw-r--r--
ncp_no.h
714
B
-rw-r--r--
ncsi.h
3.79
KB
-rw-r--r--
ndctl.h
7.98
KB
-rw-r--r--
neighbour.h
4.24
KB
-rw-r--r--
net.h
2.04
KB
-rw-r--r--
net_dropmon.h
1.13
KB
-rw-r--r--
net_namespace.h
672
B
-rw-r--r--
net_tstamp.h
4.33
KB
-rw-r--r--
netconf.h
589
B
-rw-r--r--
netdevice.h
2.2
KB
-rw-r--r--
netfilter.h
1.78
KB
-rw-r--r--
netfilter_arp.h
444
B
-rw-r--r--
netfilter_bridge.h
901
B
-rw-r--r--
netfilter_decnet.h
1.89
KB
-rw-r--r--
netfilter_ipv4.h
2.08
KB
-rw-r--r--
netfilter_ipv6.h
2.1
KB
-rw-r--r--
netlink.h
7.61
KB
-rw-r--r--
netlink_diag.h
1.49
KB
-rw-r--r--
netrom.h
807
B
-rw-r--r--
nfc.h
10.97
KB
-rw-r--r--
nfs.h
4.37
KB
-rw-r--r--
nfs2.h
1.43
KB
-rw-r--r--
nfs3.h
2.3
KB
-rw-r--r--
nfs4.h
6.28
KB
-rw-r--r--
nfs4_mount.h
1.89
KB
-rw-r--r--
nfs_fs.h
1.57
KB
-rw-r--r--
nfs_idmap.h
2.19
KB
-rw-r--r--
nfs_mount.h
2.38
KB
-rw-r--r--
nfsacl.h
668
B
-rw-r--r--
nilfs2_api.h
7.41
KB
-rw-r--r--
nilfs2_ondisk.h
17.66
KB
-rw-r--r--
nl80211.h
228.77
KB
-rw-r--r--
nsfs.h
639
B
-rw-r--r--
nubus.h
8.37
KB
-rw-r--r--
nvme_ioctl.h
1.61
KB
-rw-r--r--
nvram.h
532
B
-rw-r--r--
omap3isp.h
20.25
KB
-rw-r--r--
omapfb.h
5.78
KB
-rw-r--r--
oom.h
511
B
-rw-r--r--
openvswitch.h
34.48
KB
-rw-r--r--
packet_diag.h
1.63
KB
-rw-r--r--
param.h
141
B
-rw-r--r--
parport.h
3.56
KB
-rw-r--r--
patchkey.h
892
B
-rw-r--r--
pci.h
1.35
KB
-rw-r--r--
pci_regs.h
53.44
KB
-rw-r--r--
pcitest.h
579
B
-rw-r--r--
perf_event.h
30.78
KB
-rw-r--r--
personality.h
2.05
KB
-rw-r--r--
pfkeyv2.h
10.32
KB
-rw-r--r--
pg.h
2.29
KB
-rw-r--r--
phantom.h
1.62
KB
-rw-r--r--
phonet.h
4.57
KB
-rw-r--r--
pkt_cls.h
11.72
KB
-rw-r--r--
pkt_sched.h
20.86
KB
-rw-r--r--
pktcdvd.h
2.62
KB
-rw-r--r--
pmu.h
5.19
KB
-rw-r--r--
poll.h
22
B
-rw-r--r--
posix_acl.h
1.22
KB
-rw-r--r--
posix_acl_xattr.h
1.09
KB
-rw-r--r--
posix_types.h
1.07
KB
-rw-r--r--
ppdev.h
3.14
KB
-rw-r--r--
ppp-comp.h
2.47
KB
-rw-r--r--
ppp-ioctl.h
5.35
KB
-rw-r--r--
ppp_defs.h
4.99
KB
-rw-r--r--
pps.h
4.62
KB
-rw-r--r--
pr.h
1.05
KB
-rw-r--r--
prctl.h
7.73
KB
-rw-r--r--
psample.h
798
B
-rw-r--r--
psci.h
3.96
KB
-rw-r--r--
ptp_clock.h
4.75
KB
-rw-r--r--
ptrace.h
3.26
KB
-rw-r--r--
qnx4_fs.h
2.27
KB
-rw-r--r--
qnxtypes.h
624
B
-rw-r--r--
qrtr.h
893
B
-rw-r--r--
quota.h
6.14
KB
-rw-r--r--
radeonfb.h
360
B
-rw-r--r--
random.h
1.38
KB
-rw-r--r--
raw.h
365
B
-rw-r--r--
rds.h
8.91
KB
-rw-r--r--
reboot.h
1.31
KB
-rw-r--r--
reiserfs_fs.h
775
B
-rw-r--r--
reiserfs_xattr.h
533
B
-rw-r--r--
resource.h
2.29
KB
-rw-r--r--
rfkill.h
3.6
KB
-rw-r--r--
rio_cm_cdev.h
3.17
KB
-rw-r--r--
rio_mport_cdev.h
9.11
KB
-rw-r--r--
romfs_fs.h
1.21
KB
-rw-r--r--
rose.h
2.18
KB
-rw-r--r--
route.h
2.28
KB
-rw-r--r--
rpmsg.h
1002
B
-rw-r--r--
rtc.h
3.92
KB
-rw-r--r--
rtnetlink.h
17.57
KB
-rw-r--r--
rxrpc.h
4.96
KB
-rw-r--r--
scc.h
4.49
KB
-rw-r--r--
sched.h
2.29
KB
-rw-r--r--
scif_ioctl.h
6.23
KB
-rw-r--r--
screen_info.h
2.42
KB
-rw-r--r--
sctp.h
31.97
KB
-rw-r--r--
sdla.h
2.77
KB
-rw-r--r--
seccomp.h
2.2
KB
-rw-r--r--
securebits.h
2.64
KB
-rw-r--r--
sed-opal.h
3.2
KB
-rw-r--r--
seg6.h
1.14
KB
-rw-r--r--
seg6_genl.h
589
B
-rw-r--r--
seg6_hmac.h
423
B
-rw-r--r--
seg6_iptunnel.h
927
B
-rw-r--r--
seg6_local.h
1.76
KB
-rw-r--r--
selinux_netlink.h
1.17
KB
-rw-r--r--
sem.h
2.95
KB
-rw-r--r--
serial.h
3.34
KB
-rw-r--r--
serial_core.h
6.1
KB
-rw-r--r--
serial_reg.h
15.19
KB
-rw-r--r--
serio.h
2.02
KB
-rw-r--r--
shm.h
3.58
KB
-rw-r--r--
signal.h
388
B
-rw-r--r--
signalfd.h
1.13
KB
-rw-r--r--
smc.h
780
B
-rw-r--r--
smc_diag.h
2.21
KB
-rw-r--r--
smiapp.h
1.03
KB
-rw-r--r--
snmp.h
12.35
KB
-rw-r--r--
sock_diag.h
727
B
-rw-r--r--
socket.h
801
B
-rw-r--r--
sockios.h
5.96
KB
-rw-r--r--
sonet.h
2.24
KB
-rw-r--r--
sonypi.h
5.18
KB
-rw-r--r--
sound.h
1.21
KB
-rw-r--r--
soundcard.h
44.96
KB
-rw-r--r--
stat.h
5.96
KB
-rw-r--r--
stddef.h
131
B
-rw-r--r--
stm.h
1.58
KB
-rw-r--r--
string.h
238
B
-rw-r--r--
suspend_ioctls.h
1.4
KB
-rw-r--r--
swab.h
6.78
KB
-rw-r--r--
switchtec_ioctl.h
4.36
KB
-rw-r--r--
sync_file.h
2.82
KB
-rw-r--r--
synclink.h
8.77
KB
-rw-r--r--
sysctl.h
25.57
KB
-rw-r--r--
sysinfo.h
1.02
KB
-rw-r--r--
target_core_user.h
3.68
KB
-rw-r--r--
taskstats.h
6.89
KB
-rw-r--r--
tcp.h
8.1
KB
-rw-r--r--
tcp_metrics.h
1.51
KB
-rw-r--r--
tee.h
10.99
KB
-rw-r--r--
telephony.h
8.9
KB
-rw-r--r--
termios.h
506
B
-rw-r--r--
thermal.h
924
B
-rw-r--r--
time.h
1.68
KB
-rw-r--r--
timerfd.h
936
B
-rw-r--r--
times.h
278
B
-rw-r--r--
timex.h
6.25
KB
-rw-r--r--
tiocl.h
1.69
KB
-rw-r--r--
tipc.h
7.53
KB
-rw-r--r--
tipc_config.h
14.43
KB
-rw-r--r--
tipc_netlink.h
7.82
KB
-rw-r--r--
tls.h
2.66
KB
-rw-r--r--
toshiba.h
1.88
KB
-rw-r--r--
tty.h
1.55
KB
-rw-r--r--
tty_flags.h
4.42
KB
-rw-r--r--
types.h
1.4
KB
-rw-r--r--
udf_fs_i.h
697
B
-rw-r--r--
udp.h
1.43
KB
-rw-r--r--
uhid.h
4.54
KB
-rw-r--r--
uinput.h
9.04
KB
-rw-r--r--
uio.h
732
B
-rw-r--r--
uleds.h
798
B
-rw-r--r--
ultrasound.h
4.46
KB
-rw-r--r--
un.h
384
B
-rw-r--r--
unistd.h
220
B
-rw-r--r--
unix_diag.h
1.22
KB
-rw-r--r--
usbdevice_fs.h
6.77
KB
-rw-r--r--
usbip.h
640
B
-rw-r--r--
userfaultfd.h
6.65
KB
-rw-r--r--
userio.h
1.48
KB
-rw-r--r--
utime.h
215
B
-rw-r--r--
utsname.h
669
B
-rw-r--r--
uuid.h
1.35
KB
-rw-r--r--
uvcvideo.h
1.67
KB
-rw-r--r--
v4l2-common.h
4.08
KB
-rw-r--r--
v4l2-controls.h
43.93
KB
-rw-r--r--
v4l2-dv-timings.h
30.82
KB
-rw-r--r--
v4l2-mediabus.h
4.98
KB
-rw-r--r--
v4l2-subdev.h
5.95
KB
-rw-r--r--
version.h
97
B
-rw-r--r--
veth.h
224
B
-rw-r--r--
vfio.h
25.42
KB
-rw-r--r--
vfio_ccw.h
504
B
-rw-r--r--
vhost.h
7.13
KB
-rw-r--r--
videodev2.h
84
KB
-rw-r--r--
virtio_9p.h
1.99
KB
-rw-r--r--
virtio_balloon.h
3.71
KB
-rw-r--r--
virtio_blk.h
5.19
KB
-rw-r--r--
virtio_config.h
3.34
KB
-rw-r--r--
virtio_console.h
3.06
KB
-rw-r--r--
virtio_crypto.h
13.55
KB
-rw-r--r--
virtio_gpu.h
7.84
KB
-rw-r--r--
virtio_ids.h
2.37
KB
-rw-r--r--
virtio_input.h
2.45
KB
-rw-r--r--
virtio_mmio.h
4.48
KB
-rw-r--r--
virtio_net.h
9.89
KB
-rw-r--r--
virtio_pci.h
6.91
KB
-rw-r--r--
virtio_ring.h
6.19
KB
-rw-r--r--
virtio_rng.h
265
B
-rw-r--r--
virtio_scsi.h
5.89
KB
-rw-r--r--
virtio_types.h
2.1
KB
-rw-r--r--
virtio_vsock.h
3.01
KB
-rw-r--r--
vm_sockets.h
5.19
KB
-rw-r--r--
vm_sockets_diag.h
963
B
-rw-r--r--
vsockmon.h
1.84
KB
-rw-r--r--
vt.h
2.99
KB
-rw-r--r--
vtpm_proxy.h
1.68
KB
-rw-r--r--
wait.h
663
B
-rw-r--r--
wanrouter.h
453
B
-rw-r--r--
watchdog.h
2.28
KB
-rw-r--r--
wimax.h
8.17
KB
-rw-r--r--
wireless.h
41.71
KB
-rw-r--r--
wmi.h
1.84
KB
-rw-r--r--
x25.h
3.48
KB
-rw-r--r--
xattr.h
2.79
KB
-rw-r--r--
xfrm.h
11.6
KB
-rw-r--r--
xilinx-v4l2-controls.h
2.91
KB
-rw-r--r--
zorro.h
3.22
KB
-rw-r--r--
zorro_ids.h
29.26
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : btrfs.h
/* 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_DEVICE_SPEC_BY_ID (1ULL << 3) #define BTRFS_VOL_ARG_V2_FLAGS_SUPPORTED \ (BTRFS_SUBVOL_CREATE_ASYNC | \ BTRFS_SUBVOL_RDONLY | \ BTRFS_SUBVOL_QGROUP_INHERIT | \ BTRFS_DEVICE_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[0]; }; struct btrfs_ioctl_qgroup_limit_args { __u64 qgroupid; struct btrfs_qgroup_limit lim; }; /* * flags for subvolumes * * Used by: * struct btrfs_ioctl_vol_args_v2.flags * * BTRFS_SUBVOL_RDONLY is also provided/consumed by the following ioctls: * - BTRFS_IOC_SUBVOL_GETFLAGS * - BTRFS_IOC_SUBVOL_SETFLAGS */ #define BTRFS_SUBVOL_CREATE_ASYNC (1ULL << 0) #define BTRFS_SUBVOL_RDONLY (1ULL << 1) #define BTRFS_SUBVOL_QGROUP_INHERIT (1ULL << 2) #define BTRFS_SUBVOL_NAME_MAX 4039 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; }; }; /* * 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 occurences, 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 occurences 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 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 */ }; 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 */ __u32 reserved32; __u64 reserved[122]; /* 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_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) 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]; }; /* 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[0]; /* 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 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[0]; }; 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[0]; }; 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[0]; /* 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]; __u64 unused[128 - 2 - BTRFS_DEV_STAT_VALUES_MAX]; /* pad to 1k */ }; #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 #define BTRFS_SEND_FLAG_MASK \ (BTRFS_SEND_FLAG_NO_FILE_DATA | \ BTRFS_SEND_FLAG_OMIT_STREAM_HEADER | \ BTRFS_SEND_FLAG_OMIT_END_CMD) 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 */ __u64 reserved[4]; /* in */ }; /* 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 }; #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) /* 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 _IOR(BTRFS_IOCTL_MAGIC, 49, \ char[BTRFS_LABEL_SIZE]) #define BTRFS_IOC_SET_FSLABEL _IOW(BTRFS_IOCTL_MAGIC, 50, \ char[BTRFS_LABEL_SIZE]) #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) #endif /* _LINUX_BTRFS_H */
Close