Linux sv3046.xserver.jp 5.15.0-157-generic #167-Ubuntu SMP Wed Sep 17 21:35:53 UTC 2025 x86_64
Apache
Server IP : 202.254.234.47 & Your IP : 216.73.216.41
Domains :
Cant Read [ /etc/named.conf ]
User : kinomori
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Lock Shell
Lock File++
Readme
/
usr /
include /
linux /
Delete
Unzip
Name
Size
Permission
Date
Action
android
[ DIR ]
drwxr-xr-x
2024-10-21 22:11
byteorder
[ DIR ]
drwxr-xr-x
2024-10-21 22:11
caif
[ DIR ]
drwxr-xr-x
2024-10-21 22:11
can
[ DIR ]
drwxr-xr-x
2024-10-21 22:11
cifs
[ DIR ]
drwxr-xr-x
2024-10-21 22:11
dvb
[ DIR ]
drwxr-xr-x
2024-10-21 22:11
genwqe
[ DIR ]
drwxr-xr-x
2024-10-21 22:11
hdlc
[ DIR ]
drwxr-xr-x
2024-10-21 22:11
hsi
[ DIR ]
drwxr-xr-x
2024-10-21 22:11
iio
[ DIR ]
drwxr-xr-x
2024-10-21 22:11
isdn
[ DIR ]
drwxr-xr-x
2024-10-21 22:11
mmc
[ DIR ]
drwxr-xr-x
2024-10-21 22:11
netfilter
[ DIR ]
drwxr-xr-x
2024-10-21 22:11
netfilter_arp
[ DIR ]
drwxr-xr-x
2024-10-21 22:11
netfilter_bridge
[ DIR ]
drwxr-xr-x
2024-10-21 22:11
netfilter_ipv4
[ DIR ]
drwxr-xr-x
2024-10-21 22:11
netfilter_ipv6
[ DIR ]
drwxr-xr-x
2024-10-21 22:11
nfsd
[ DIR ]
drwxr-xr-x
2024-10-21 22:11
raid
[ DIR ]
drwxr-xr-x
2024-10-21 22:11
sched
[ DIR ]
drwxr-xr-x
2024-10-21 22:11
spi
[ DIR ]
drwxr-xr-x
2024-10-21 22:11
sunrpc
[ DIR ]
drwxr-xr-x
2024-10-21 22:11
tc_act
[ DIR ]
drwxr-xr-x
2024-10-21 22:11
tc_ematch
[ DIR ]
drwxr-xr-x
2024-10-21 22:11
usb
[ DIR ]
drwxr-xr-x
2024-10-21 22:11
wimax
[ DIR ]
drwxr-xr-x
2024-10-21 22:11
a.out.h
6.73
KB
-rw-r--r--
2024-09-25 18:33
acct.h
3.65
KB
-rw-r--r--
2024-09-25 18:33
adb.h
1.11
KB
-rw-r--r--
2024-09-25 18:33
adfs_fs.h
936
B
-rw-r--r--
2024-09-25 18:33
affs_hardblocks.h
1.51
KB
-rw-r--r--
2024-09-25 18:33
agpgart.h
3.85
KB
-rw-r--r--
2024-09-25 18:33
aio_abi.h
3.34
KB
-rw-r--r--
2024-09-25 18:33
am437x-vpfe.h
3.59
KB
-rw-r--r--
2024-09-25 18:33
apm_bios.h
3.6
KB
-rw-r--r--
2024-09-25 18:33
arcfb.h
213
B
-rw-r--r--
2024-09-25 18:33
arm_sdei.h
2.69
KB
-rw-r--r--
2024-09-25 18:33
aspeed-lpc-ctrl.h
1.74
KB
-rw-r--r--
2024-09-25 18:33
atalk.h
1023
B
-rw-r--r--
2024-09-25 18:33
atm.h
7.7
KB
-rw-r--r--
2024-09-25 18:33
atm_eni.h
648
B
-rw-r--r--
2024-09-25 18:33
atm_he.h
406
B
-rw-r--r--
2024-09-25 18:33
atm_idt77105.h
955
B
-rw-r--r--
2024-09-25 18:33
atm_nicstar.h
1.25
KB
-rw-r--r--
2024-09-25 18:33
atm_tcp.h
1.58
KB
-rw-r--r--
2024-09-25 18:33
atm_zatm.h
1.5
KB
-rw-r--r--
2024-09-25 18:33
atmapi.h
952
B
-rw-r--r--
2024-09-25 18:33
atmarp.h
1.27
KB
-rw-r--r--
2024-09-25 18:33
atmbr2684.h
3.19
KB
-rw-r--r--
2024-09-25 18:33
atmclip.h
576
B
-rw-r--r--
2024-09-25 18:33
atmdev.h
7.5
KB
-rw-r--r--
2024-09-25 18:33
atmioc.h
1.61
KB
-rw-r--r--
2024-09-25 18:33
atmlec.h
2.33
KB
-rw-r--r--
2024-09-25 18:33
atmmpc.h
4.13
KB
-rw-r--r--
2024-09-25 18:33
atmppp.h
639
B
-rw-r--r--
2024-09-25 18:33
atmsap.h
4.85
KB
-rw-r--r--
2024-09-25 18:33
atmsvc.h
1.81
KB
-rw-r--r--
2024-09-25 18:33
audit.h
19.92
KB
-rw-r--r--
2024-09-25 18:33
auto_dev-ioctl.h
4.87
KB
-rw-r--r--
2024-09-25 18:33
auto_fs.h
6.28
KB
-rw-r--r--
2024-09-25 18:33
auto_fs4.h
451
B
-rw-r--r--
2024-09-25 18:33
auxvec.h
1.56
KB
-rw-r--r--
2024-09-25 18:33
ax25.h
2.76
KB
-rw-r--r--
2024-09-25 18:33
b1lli.h
1.68
KB
-rw-r--r--
2024-09-25 18:33
batadv_packet.h
20.01
KB
-rw-r--r--
2024-09-25 18:33
batman_adv.h
11.7
KB
-rw-r--r--
2024-09-25 18:33
baycom.h
883
B
-rw-r--r--
2024-09-25 18:33
bcache.h
8.17
KB
-rw-r--r--
2024-09-25 18:33
bcm933xx_hcs.h
419
B
-rw-r--r--
2024-09-25 18:33
bfs_fs.h
1.85
KB
-rw-r--r--
2024-09-25 18:33
binfmts.h
628
B
-rw-r--r--
2024-09-25 18:33
blkpg.h
904
B
-rw-r--r--
2024-09-25 18:33
blktrace_api.h
4.59
KB
-rw-r--r--
2024-09-25 18:33
blkzoned.h
6.45
KB
-rw-r--r--
2024-09-25 18:33
bpf.h
223.3
KB
-rw-r--r--
2024-09-25 18:33
bpf_common.h
1.33
KB
-rw-r--r--
2024-09-25 18:33
bpf_perf_event.h
529
B
-rw-r--r--
2024-09-25 18:33
bpfilter.h
465
B
-rw-r--r--
2024-09-25 18:33
bpqether.h
981
B
-rw-r--r--
2024-09-25 18:33
bsg.h
2.44
KB
-rw-r--r--
2024-09-25 18:33
bt-bmc.h
572
B
-rw-r--r--
2024-09-25 18:33
btf.h
4.68
KB
-rw-r--r--
2024-09-25 18:33
btrfs.h
28.24
KB
-rw-r--r--
2024-09-25 18:33
btrfs_tree.h
24.69
KB
-rw-r--r--
2024-09-25 18:33
can.h
7.7
KB
-rw-r--r--
2024-09-25 18:33
capability.h
13.2
KB
-rw-r--r--
2024-09-25 18:33
capi.h
3.05
KB
-rw-r--r--
2024-09-25 18:33
cciss_defs.h
3.2
KB
-rw-r--r--
2024-09-25 18:33
cciss_ioctl.h
2.7
KB
-rw-r--r--
2024-09-25 18:33
cdrom.h
28.18
KB
-rw-r--r--
2024-09-25 18:33
cec-funcs.h
52.64
KB
-rw-r--r--
2024-09-25 18:33
cec.h
36.81
KB
-rw-r--r--
2024-09-25 18:33
cfm_bridge.h
1.42
KB
-rw-r--r--
2024-09-25 18:33
cgroupstats.h
2.17
KB
-rw-r--r--
2024-09-25 18:33
chio.h
5.22
KB
-rw-r--r--
2024-09-25 18:33
close_range.h
377
B
-rw-r--r--
2024-09-25 18:33
cm4000_cs.h
1.76
KB
-rw-r--r--
2024-09-25 18:33
cn_proc.h
3.38
KB
-rw-r--r--
2024-09-25 18:33
coda.h
17.09
KB
-rw-r--r--
2024-09-25 18:33
coda_psdev.h
783
B
-rw-r--r--
2024-09-25 18:33
coff.h
12.18
KB
-rw-r--r--
2024-09-25 18:33
connector.h
2.2
KB
-rw-r--r--
2024-09-25 18:33
const.h
788
B
-rw-r--r--
2024-09-25 18:33
coresight-stm.h
674
B
-rw-r--r--
2024-09-25 18:33
cramfs_fs.h
3.47
KB
-rw-r--r--
2024-09-25 18:33
cryptouser.h
3.31
KB
-rw-r--r--
2024-09-25 18:33
cuda.h
905
B
-rw-r--r--
2024-09-25 18:33
cyclades.h
16.71
KB
-rw-r--r--
2024-09-25 18:33
cycx_cfm.h
2.92
KB
-rw-r--r--
2024-09-25 18:33
dcbnl.h
24.65
KB
-rw-r--r--
2024-09-25 18:33
dccp.h
6.29
KB
-rw-r--r--
2024-09-25 18:33
devlink.h
21.05
KB
-rw-r--r--
2024-09-25 18:33
dlm.h
2.49
KB
-rw-r--r--
2024-09-25 18:33
dlm_device.h
2.48
KB
-rw-r--r--
2024-09-25 18:33
dlm_netlink.h
1.13
KB
-rw-r--r--
2024-09-25 18:33
dlm_plock.h
894
B
-rw-r--r--
2024-09-25 18:33
dlmconstants.h
4.96
KB
-rw-r--r--
2024-09-25 18:33
dm-ioctl.h
11.13
KB
-rw-r--r--
2024-09-25 18:33
dm-log-userspace.h
14.83
KB
-rw-r--r--
2024-09-25 18:33
dma-buf.h
5.12
KB
-rw-r--r--
2024-09-25 18:33
dn.h
4.53
KB
-rw-r--r--
2024-09-25 18:33
dqblk_xfs.h
9.03
KB
-rw-r--r--
2024-09-25 18:33
edd.h
5.47
KB
-rw-r--r--
2024-09-25 18:33
efs_fs_sb.h
2.17
KB
-rw-r--r--
2024-09-25 18:33
elf-em.h
2.14
KB
-rw-r--r--
2024-09-25 18:33
elf-fdpic.h
1.1
KB
-rw-r--r--
2024-09-25 18:33
elf.h
13.16
KB
-rw-r--r--
2024-09-25 18:33
elfcore.h
2.92
KB
-rw-r--r--
2024-09-25 18:33
errno.h
23
B
-rw-r--r--
2024-09-25 18:33
errqueue.h
1.44
KB
-rw-r--r--
2024-09-25 18:33
erspan.h
1.03
KB
-rw-r--r--
2024-09-25 18:33
ethtool.h
81.89
KB
-rw-r--r--
2024-09-25 18:33
ethtool_netlink.h
22.29
KB
-rw-r--r--
2024-09-25 18:33
eventpoll.h
2.67
KB
-rw-r--r--
2024-09-25 18:33
fadvise.h
842
B
-rw-r--r--
2024-09-25 18:33
falloc.h
3.5
KB
-rw-r--r--
2024-09-25 18:33
fanotify.h
5.22
KB
-rw-r--r--
2024-09-25 18:33
fb.h
16.09
KB
-rw-r--r--
2024-09-25 18:33
fcntl.h
4.08
KB
-rw-r--r--
2024-09-25 18:33
fd.h
11.4
KB
-rw-r--r--
2024-09-25 18:33
fdreg.h
5.29
KB
-rw-r--r--
2024-09-25 18:33
fib_rules.h
1.99
KB
-rw-r--r--
2024-09-25 18:33
fiemap.h
2.71
KB
-rw-r--r--
2024-09-25 18:33
filter.h
2.16
KB
-rw-r--r--
2024-09-25 18:33
firewire-cdev.h
42.86
KB
-rw-r--r--
2024-09-25 18:33
firewire-constants.h
3.16
KB
-rw-r--r--
2024-09-25 18:33
flat.h
2.1
KB
-rw-r--r--
2024-09-25 18:33
fou.h
694
B
-rw-r--r--
2024-09-25 18:33
fpga-dfl.h
8.52
KB
-rw-r--r--
2024-09-25 18:33
fs.h
13.11
KB
-rw-r--r--
2024-09-25 18:33
fsl_hypervisor.h
7.13
KB
-rw-r--r--
2024-09-25 18:33
fsmap.h
4.29
KB
-rw-r--r--
2024-09-25 18:33
fuse.h
22.92
KB
-rw-r--r--
2024-09-25 18:33
futex.h
4.88
KB
-rw-r--r--
2024-09-25 18:33
gameport.h
897
B
-rw-r--r--
2024-09-25 18:33
gen_stats.h
1.49
KB
-rw-r--r--
2024-09-25 18:33
genetlink.h
2.12
KB
-rw-r--r--
2024-09-25 18:33
gfs2_ondisk.h
14.4
KB
-rw-r--r--
2024-09-25 18:33
gigaset_dev.h
1.41
KB
-rw-r--r--
2024-09-25 18:33
gpio.h
6.59
KB
-rw-r--r--
2024-09-25 18:33
gsmmux.h
1.02
KB
-rw-r--r--
2024-09-25 18:33
gtp.h
681
B
-rw-r--r--
2024-09-25 18:33
hash_info.h
921
B
-rw-r--r--
2024-09-25 18:33
hdlc.h
637
B
-rw-r--r--
2024-09-25 18:33
hdlcdrv.h
2.84
KB
-rw-r--r--
2024-09-25 18:33
hdreg.h
22.17
KB
-rw-r--r--
2024-09-25 18:33
hid.h
1.86
KB
-rw-r--r--
2024-09-25 18:33
hiddev.h
6.2
KB
-rw-r--r--
2024-09-25 18:33
hidraw.h
1.95
KB
-rw-r--r--
2024-09-25 18:33
hpet.h
743
B
-rw-r--r--
2024-09-25 18:33
hsr_netlink.h
1.06
KB
-rw-r--r--
2024-09-25 18:33
hw_breakpoint.h
742
B
-rw-r--r--
2024-09-25 18:33
hyperv.h
10.89
KB
-rw-r--r--
2024-09-25 18:33
hysdn_if.h
1.35
KB
-rw-r--r--
2024-09-25 18:33
i2c-dev.h
2.55
KB
-rw-r--r--
2024-09-25 18:33
i2c.h
6.96
KB
-rw-r--r--
2024-09-25 18:33
i2o-dev.h
11.28
KB
-rw-r--r--
2024-09-25 18:33
i8k.h
1.49
KB
-rw-r--r--
2024-09-25 18:33
icmp.h
2.91
KB
-rw-r--r--
2024-09-25 18:33
icmpv6.h
3.94
KB
-rw-r--r--
2024-09-25 18:33
idxd.h
8.22
KB
-rw-r--r--
2024-09-25 18:33
if.h
10.65
KB
-rw-r--r--
2024-09-25 18:33
if_addr.h
1.84
KB
-rw-r--r--
2024-09-25 18:33
if_addrlabel.h
721
B
-rw-r--r--
2024-09-25 18:33
if_alg.h
946
B
-rw-r--r--
2024-09-25 18:33
if_arcnet.h
3.63
KB
-rw-r--r--
2024-09-25 18:33
if_arp.h
6.42
KB
-rw-r--r--
2024-09-25 18:33
if_bonding.h
5.17
KB
-rw-r--r--
2024-09-25 18:33
if_bridge.h
19.06
KB
-rw-r--r--
2024-09-25 18:33
if_cablemodem.h
986
B
-rw-r--r--
2024-09-25 18:33
if_eql.h
1.32
KB
-rw-r--r--
2024-09-25 18:33
if_ether.h
8.05
KB
-rw-r--r--
2024-09-25 18:33
if_fc.h
1.7
KB
-rw-r--r--
2024-09-25 18:33
if_fddi.h
3.66
KB
-rw-r--r--
2024-09-25 18:33
if_frad.h
2.95
KB
-rw-r--r--
2024-09-25 18:33
if_hippi.h
4.14
KB
-rw-r--r--
2024-09-25 18:33
if_infiniband.h
1.22
KB
-rw-r--r--
2024-09-25 18:33
if_link.h
30.28
KB
-rw-r--r--
2024-09-25 18:33
if_ltalk.h
210
B
-rw-r--r--
2024-09-25 18:33
if_macsec.h
5.7
KB
-rw-r--r--
2024-09-25 18:33
if_packet.h
7.73
KB
-rw-r--r--
2024-09-25 18:33
if_phonet.h
424
B
-rw-r--r--
2024-09-25 18:33
if_plip.h
660
B
-rw-r--r--
2024-09-25 18:33
if_ppp.h
29
B
-rw-r--r--
2024-09-25 18:33
if_pppol2tp.h
3.21
KB
-rw-r--r--
2024-09-25 18:33
if_pppox.h
4.76
KB
-rw-r--r--
2024-09-25 18:33
if_slip.h
872
B
-rw-r--r--
2024-09-25 18:33
if_team.h
2.54
KB
-rw-r--r--
2024-09-25 18:33
if_tun.h
4
KB
-rw-r--r--
2024-09-25 18:33
if_tunnel.h
4.41
KB
-rw-r--r--
2024-09-25 18:33
if_vlan.h
1.79
KB
-rw-r--r--
2024-09-25 18:33
if_x25.h
881
B
-rw-r--r--
2024-09-25 18:33
if_xdp.h
2.94
KB
-rw-r--r--
2024-09-25 18:33
ife.h
351
B
-rw-r--r--
2024-09-25 18:33
igmp.h
2.99
KB
-rw-r--r--
2024-09-25 18:33
ila.h
1.22
KB
-rw-r--r--
2024-09-25 18:33
in.h
9.78
KB
-rw-r--r--
2024-09-25 18:33
in6.h
7.26
KB
-rw-r--r--
2024-09-25 18:33
in_route.h
936
B
-rw-r--r--
2024-09-25 18:33
inet_diag.h
4.56
KB
-rw-r--r--
2024-09-25 18:33
inotify.h
3.21
KB
-rw-r--r--
2024-09-25 18:33
input-event-codes.h
27.94
KB
-rw-r--r--
2024-09-25 18:33
input.h
15.61
KB
-rw-r--r--
2024-09-25 18:33
io_uring.h
6.06
KB
-rw-r--r--
2024-09-25 18:33
ioctl.h
163
B
-rw-r--r--
2024-09-25 18:33
iommu.h
4.79
KB
-rw-r--r--
2024-09-25 18:33
ip.h
4.62
KB
-rw-r--r--
2024-09-25 18:33
ip6_tunnel.h
1.91
KB
-rw-r--r--
2024-09-25 18:33
ip_vs.h
13.31
KB
-rw-r--r--
2024-09-25 18:33
ipc.h
2.05
KB
-rw-r--r--
2024-09-25 18:33
ipmi.h
15.08
KB
-rw-r--r--
2024-09-25 18:33
ipmi_bmc.h
464
B
-rw-r--r--
2024-09-25 18:33
ipmi_msgdefs.h
3.35
KB
-rw-r--r--
2024-09-25 18:33
ipmi_ssif_bmc.h
441
B
-rw-r--r--
2024-09-25 18:33
ipsec.h
947
B
-rw-r--r--
2024-09-25 18:33
ipv6.h
3.87
KB
-rw-r--r--
2024-09-25 18:33
ipv6_route.h
1.86
KB
-rw-r--r--
2024-09-25 18:33
ipx.h
2.29
KB
-rw-r--r--
2024-09-25 18:33
irqnr.h
104
B
-rw-r--r--
2024-09-25 18:33
isdn.h
5.64
KB
-rw-r--r--
2024-09-25 18:33
isdn_divertif.h
1.17
KB
-rw-r--r--
2024-09-25 18:33
isdn_ppp.h
1.88
KB
-rw-r--r--
2024-09-25 18:33
isdnif.h
2.31
KB
-rw-r--r--
2024-09-25 18:33
iso_fs.h
6.33
KB
-rw-r--r--
2024-09-25 18:33
isst_if.h
5.26
KB
-rw-r--r--
2024-09-25 18:33
ivtv.h
2.95
KB
-rw-r--r--
2024-09-25 18:33
ivtvfb.h
1.18
KB
-rw-r--r--
2024-09-25 18:33
jffs2.h
6.85
KB
-rw-r--r--
2024-09-25 18:33
joystick.h
3.35
KB
-rw-r--r--
2024-09-25 18:33
kcm.h
822
B
-rw-r--r--
2024-09-25 18:33
kcmp.h
522
B
-rw-r--r--
2024-09-25 18:33
kcov.h
1.07
KB
-rw-r--r--
2024-09-25 18:33
kd.h
6.11
KB
-rw-r--r--
2024-09-25 18:33
kdev_t.h
383
B
-rw-r--r--
2024-09-25 18:33
kernel-page-flags.h
900
B
-rw-r--r--
2024-09-25 18:33
kernel.h
438
B
-rw-r--r--
2024-09-25 18:33
kernelcapi.h
1019
B
-rw-r--r--
2024-09-25 18:33
kexec.h
1.79
KB
-rw-r--r--
2024-09-25 18:33
keyboard.h
12.48
KB
-rw-r--r--
2024-09-25 18:33
keyctl.h
3.42
KB
-rw-r--r--
2024-09-25 18:33
kfd_ioctl.h
28.14
KB
-rw-r--r--
2024-09-25 18:33
kfd_sysfs.h
4.25
KB
-rw-r--r--
2024-09-25 18:33
kvm.h
60.12
KB
-rw-r--r--
2024-09-25 18:33
kvm_para.h
1001
B
-rw-r--r--
2024-09-25 18:33
l2tp.h
5.46
KB
-rw-r--r--
2024-09-25 18:33
libc-compat.h
8.09
KB
-rw-r--r--
2024-09-25 18:33
lightnvm.h
4.92
KB
-rw-r--r--
2024-09-25 18:33
limits.h
937
B
-rw-r--r--
2024-09-25 18:33
lirc.h
7.63
KB
-rw-r--r--
2024-09-25 18:33
llc.h
3.09
KB
-rw-r--r--
2024-09-25 18:33
loop.h
3.42
KB
-rw-r--r--
2024-09-25 18:33
lp.h
4.09
KB
-rw-r--r--
2024-09-25 18:33
lwtunnel.h
2.13
KB
-rw-r--r--
2024-09-25 18:33
magic.h
3.45
KB
-rw-r--r--
2024-09-25 18:33
major.h
4.6
KB
-rw-r--r--
2024-09-25 18:33
map_to_7segment.h
7.08
KB
-rw-r--r--
2024-09-25 18:33
matroxfb.h
1.43
KB
-rw-r--r--
2024-09-25 18:33
max2175.h
1.01
KB
-rw-r--r--
2024-09-25 18:33
mdio.h
16.87
KB
-rw-r--r--
2024-09-25 18:33
media-bus-format.h
6.26
KB
-rw-r--r--
2024-09-25 18:33
media.h
11.12
KB
-rw-r--r--
2024-09-25 18:33
mei.h
3.39
KB
-rw-r--r--
2024-09-25 18:33
membarrier.h
7.71
KB
-rw-r--r--
2024-09-25 18:33
memfd.h
1.29
KB
-rw-r--r--
2024-09-25 18:33
mempolicy.h
2.18
KB
-rw-r--r--
2024-09-25 18:33
meye.h
2.47
KB
-rw-r--r--
2024-09-25 18:33
mic_common.h
6.37
KB
-rw-r--r--
2024-09-25 18:33
mic_ioctl.h
2.2
KB
-rw-r--r--
2024-09-25 18:33
mii.h
9.27
KB
-rw-r--r--
2024-09-25 18:33
minix_fs.h
2.07
KB
-rw-r--r--
2024-09-25 18:33
mman.h
1.35
KB
-rw-r--r--
2024-09-25 18:33
mmtimer.h
2.07
KB
-rw-r--r--
2024-09-25 18:33
module.h
255
B
-rw-r--r--
2024-09-25 18:33
mount.h
4.44
KB
-rw-r--r--
2024-09-25 18:33
mpls.h
2.25
KB
-rw-r--r--
2024-09-25 18:33
mpls_iptunnel.h
761
B
-rw-r--r--
2024-09-25 18:33
mptcp.h
5.48
KB
-rw-r--r--
2024-09-25 18:33
mqueue.h
2.15
KB
-rw-r--r--
2024-09-25 18:33
mroute.h
5.3
KB
-rw-r--r--
2024-09-25 18:33
mroute6.h
4.47
KB
-rw-r--r--
2024-09-25 18:33
mrp_bridge.h
1.67
KB
-rw-r--r--
2024-09-25 18:33
msdos_fs.h
6.8
KB
-rw-r--r--
2024-09-25 18:33
msg.h
3.29
KB
-rw-r--r--
2024-09-25 18:33
mtio.h
7.98
KB
-rw-r--r--
2024-09-25 18:33
n_r3964.h
2.35
KB
-rw-r--r--
2024-09-25 18:33
nbd-netlink.h
2.35
KB
-rw-r--r--
2024-09-25 18:33
nbd.h
2.95
KB
-rw-r--r--
2024-09-25 18:33
ncsi.h
3.79
KB
-rw-r--r--
2024-09-25 18:33
ndctl.h
6.71
KB
-rw-r--r--
2024-09-25 18:33
neighbour.h
5.02
KB
-rw-r--r--
2024-09-25 18:33
net.h
2.04
KB
-rw-r--r--
2024-09-25 18:33
net_dropmon.h
2.85
KB
-rw-r--r--
2024-09-25 18:33
net_namespace.h
715
B
-rw-r--r--
2024-09-25 18:33
net_tstamp.h
5.67
KB
-rw-r--r--
2024-09-25 18:33
netconf.h
614
B
-rw-r--r--
2024-09-25 18:33
netdevice.h
2.2
KB
-rw-r--r--
2024-09-25 18:33
netfilter.h
1.78
KB
-rw-r--r--
2024-09-25 18:33
netfilter_arp.h
445
B
-rw-r--r--
2024-09-25 18:33
netfilter_bridge.h
1.14
KB
-rw-r--r--
2024-09-25 18:33
netfilter_decnet.h
1.93
KB
-rw-r--r--
2024-09-25 18:33
netfilter_ipv4.h
2.12
KB
-rw-r--r--
2024-09-25 18:33
netfilter_ipv6.h
2.14
KB
-rw-r--r--
2024-09-25 18:33
netlink.h
11.23
KB
-rw-r--r--
2024-09-25 18:33
netlink_diag.h
1.49
KB
-rw-r--r--
2024-09-25 18:33
netrom.h
807
B
-rw-r--r--
2024-09-25 18:33
nexthop.h
1.5
KB
-rw-r--r--
2024-09-25 18:33
nfc.h
10.95
KB
-rw-r--r--
2024-09-25 18:33
nfs.h
4.39
KB
-rw-r--r--
2024-09-25 18:33
nfs2.h
1.43
KB
-rw-r--r--
2024-09-25 18:33
nfs3.h
2.4
KB
-rw-r--r--
2024-09-25 18:33
nfs4.h
6.44
KB
-rw-r--r--
2024-09-25 18:33
nfs4_mount.h
1.89
KB
-rw-r--r--
2024-09-25 18:33
nfs_fs.h
1.6
KB
-rw-r--r--
2024-09-25 18:33
nfs_idmap.h
2.19
KB
-rw-r--r--
2024-09-25 18:33
nfs_mount.h
2.09
KB
-rw-r--r--
2024-09-25 18:33
nfsacl.h
718
B
-rw-r--r--
2024-09-25 18:33
nilfs2_api.h
7.41
KB
-rw-r--r--
2024-09-25 18:33
nilfs2_ondisk.h
17.61
KB
-rw-r--r--
2024-09-25 18:33
nitro_enclaves.h
12.84
KB
-rw-r--r--
2024-09-25 18:33
nl80211.h
327.41
KB
-rw-r--r--
2024-09-25 18:33
nsfs.h
639
B
-rw-r--r--
2024-09-25 18:33
nubus.h
8
KB
-rw-r--r--
2024-09-25 18:33
nvme_ioctl.h
2.06
KB
-rw-r--r--
2024-09-25 18:33
nvram.h
532
B
-rw-r--r--
2024-09-25 18:33
omap3isp.h
20.36
KB
-rw-r--r--
2024-09-25 18:33
omapfb.h
5.78
KB
-rw-r--r--
2024-09-25 18:33
oom.h
511
B
-rw-r--r--
2024-09-25 18:33
openat2.h
1.26
KB
-rw-r--r--
2024-09-25 18:33
openvswitch.h
39.24
KB
-rw-r--r--
2024-09-25 18:33
packet_diag.h
1.63
KB
-rw-r--r--
2024-09-25 18:33
param.h
141
B
-rw-r--r--
2024-09-25 18:33
parport.h
3.56
KB
-rw-r--r--
2024-09-25 18:33
patchkey.h
892
B
-rw-r--r--
2024-09-25 18:33
pci.h
1.35
KB
-rw-r--r--
2024-09-25 18:33
pci_regs.h
56.47
KB
-rw-r--r--
2024-09-25 18:33
pcitest.h
711
B
-rw-r--r--
2024-09-25 18:33
perf_event.h
39.63
KB
-rw-r--r--
2024-09-25 18:33
personality.h
2.05
KB
-rw-r--r--
2024-09-25 18:33
pfkeyv2.h
10.32
KB
-rw-r--r--
2024-09-25 18:33
pfrut.h
7.8
KB
-rw-r--r--
2024-09-25 18:33
pg.h
2.34
KB
-rw-r--r--
2024-09-25 18:33
phantom.h
1.62
KB
-rw-r--r--
2024-09-25 18:33
phonet.h
4.57
KB
-rw-r--r--
2024-09-25 18:33
pkt_cls.h
18.08
KB
-rw-r--r--
2024-09-25 18:33
pkt_sched.h
29.59
KB
-rw-r--r--
2024-09-25 18:33
pktcdvd.h
2.62
KB
-rw-r--r--
2024-09-25 18:33
pmu.h
5.19
KB
-rw-r--r--
2024-09-25 18:33
poll.h
22
B
-rw-r--r--
2024-09-25 18:33
posix_acl.h
1.22
KB
-rw-r--r--
2024-09-25 18:33
posix_acl_xattr.h
1.09
KB
-rw-r--r--
2024-09-25 18:33
posix_types.h
1.07
KB
-rw-r--r--
2024-09-25 18:33
ppdev.h
3.14
KB
-rw-r--r--
2024-09-25 18:33
ppp-comp.h
2.47
KB
-rw-r--r--
2024-09-25 18:33
ppp-ioctl.h
5.35
KB
-rw-r--r--
2024-09-25 18:33
ppp_defs.h
4.99
KB
-rw-r--r--
2024-09-25 18:33
pps.h
4.62
KB
-rw-r--r--
2024-09-25 18:33
pr.h
1.05
KB
-rw-r--r--
2024-09-25 18:33
prctl.h
7.83
KB
-rw-r--r--
2024-09-25 18:33
psample.h
2.22
KB
-rw-r--r--
2024-09-25 18:33
psci.h
4.23
KB
-rw-r--r--
2024-09-25 18:33
psp-sev.h
4.48
KB
-rw-r--r--
2024-09-25 18:33
ptp_clock.h
7.28
KB
-rw-r--r--
2024-09-25 18:33
ptrace.h
3.59
KB
-rw-r--r--
2024-09-25 18:33
qemu_fw_cfg.h
2.41
KB
-rw-r--r--
2024-09-25 18:33
qnx4_fs.h
2.27
KB
-rw-r--r--
2024-09-25 18:33
qnxtypes.h
624
B
-rw-r--r--
2024-09-25 18:33
qrtr.h
893
B
-rw-r--r--
2024-09-25 18:33
quota.h
6.14
KB
-rw-r--r--
2024-09-25 18:33
radeonfb.h
360
B
-rw-r--r--
2024-09-25 18:33
random.h
1.34
KB
-rw-r--r--
2024-09-25 18:33
raw.h
365
B
-rw-r--r--
2024-09-25 18:33
rds.h
9.08
KB
-rw-r--r--
2024-09-25 18:33
reboot.h
1.31
KB
-rw-r--r--
2024-09-25 18:33
reiserfs_fs.h
775
B
-rw-r--r--
2024-09-25 18:33
reiserfs_xattr.h
533
B
-rw-r--r--
2024-09-25 18:33
resource.h
2.29
KB
-rw-r--r--
2024-09-25 18:33
rfkill.h
6.45
KB
-rw-r--r--
2024-09-25 18:33
rio_cm_cdev.h
3.17
KB
-rw-r--r--
2024-09-25 18:33
rio_mport_cdev.h
9.11
KB
-rw-r--r--
2024-09-25 18:33
romfs_fs.h
1.21
KB
-rw-r--r--
2024-09-25 18:33
rose.h
2.18
KB
-rw-r--r--
2024-09-25 18:33
route.h
2.28
KB
-rw-r--r--
2024-09-25 18:33
rpmsg.h
544
B
-rw-r--r--
2024-09-25 18:33
rseq.h
4.79
KB
-rw-r--r--
2024-09-25 18:33
rtc.h
3.92
KB
-rw-r--r--
2024-09-25 18:33
rtnetlink.h
19.73
KB
-rw-r--r--
2024-09-25 18:33
rxrpc.h
4.96
KB
-rw-r--r--
2024-09-25 18:33
scc.h
4.49
KB
-rw-r--r--
2024-09-25 18:33
sched.h
2.73
KB
-rw-r--r--
2024-09-25 18:33
scif_ioctl.h
6.23
KB
-rw-r--r--
2024-09-25 18:33
screen_info.h
2.42
KB
-rw-r--r--
2024-09-25 18:33
sctp.h
35.15
KB
-rw-r--r--
2024-09-25 18:33
sdla.h
2.77
KB
-rw-r--r--
2024-09-25 18:33
seccomp.h
2.2
KB
-rw-r--r--
2024-09-25 18:33
securebits.h
2.64
KB
-rw-r--r--
2024-09-25 18:33
sed-opal.h
3.2
KB
-rw-r--r--
2024-09-25 18:33
seg6.h
1.14
KB
-rw-r--r--
2024-09-25 18:33
seg6_genl.h
589
B
-rw-r--r--
2024-09-25 18:33
seg6_hmac.h
423
B
-rw-r--r--
2024-09-25 18:33
seg6_iptunnel.h
927
B
-rw-r--r--
2024-09-25 18:33
seg6_local.h
2.01
KB
-rw-r--r--
2024-09-25 18:33
selinux_netlink.h
1.17
KB
-rw-r--r--
2024-09-25 18:33
sem.h
2.97
KB
-rw-r--r--
2024-09-25 18:33
serial.h
3.78
KB
-rw-r--r--
2024-09-25 18:33
serial_core.h
6.1
KB
-rw-r--r--
2024-09-25 18:33
serial_reg.h
15.13
KB
-rw-r--r--
2024-09-25 18:33
serio.h
1.99
KB
-rw-r--r--
2024-09-25 18:33
sev-guest.h
2.25
KB
-rw-r--r--
2024-09-25 18:33
shm.h
3.7
KB
-rw-r--r--
2024-09-25 18:33
signal.h
388
B
-rw-r--r--
2024-09-25 18:33
signalfd.h
1.2
KB
-rw-r--r--
2024-09-25 18:33
smc.h
8.31
KB
-rw-r--r--
2024-09-25 18:33
smc_diag.h
2.66
KB
-rw-r--r--
2024-09-25 18:33
smiapp.h
1.03
KB
-rw-r--r--
2024-09-25 18:33
snmp.h
13.34
KB
-rw-r--r--
2024-09-25 18:33
sock_diag.h
1.27
KB
-rw-r--r--
2024-09-25 18:33
socket.h
901
B
-rw-r--r--
2024-09-25 18:33
sockios.h
5.96
KB
-rw-r--r--
2024-09-25 18:33
sonet.h
2.24
KB
-rw-r--r--
2024-09-25 18:33
sonypi.h
5.18
KB
-rw-r--r--
2024-09-25 18:33
sound.h
1.21
KB
-rw-r--r--
2024-09-25 18:33
soundcard.h
44.96
KB
-rw-r--r--
2024-09-25 18:33
stat.h
6.2
KB
-rw-r--r--
2024-09-25 18:33
stddef.h
1.5
KB
-rw-r--r--
2024-09-25 18:33
stm.h
1.25
KB
-rw-r--r--
2024-09-25 18:33
string.h
238
B
-rw-r--r--
2024-09-25 18:33
suspend_ioctls.h
1.4
KB
-rw-r--r--
2024-09-25 18:33
swab.h
6.76
KB
-rw-r--r--
2024-09-25 18:33
switchtec_ioctl.h
5.14
KB
-rw-r--r--
2024-09-25 18:33
sync_file.h
2.82
KB
-rw-r--r--
2024-09-25 18:33
synclink.h
8.77
KB
-rw-r--r--
2024-09-25 18:33
sysctl.h
25.24
KB
-rw-r--r--
2024-09-25 18:33
sysinfo.h
1.02
KB
-rw-r--r--
2024-09-25 18:33
target_core_user.h
4.52
KB
-rw-r--r--
2024-09-25 18:33
taskstats.h
7.01
KB
-rw-r--r--
2024-09-25 18:33
tcp.h
9.69
KB
-rw-r--r--
2024-09-25 18:33
tcp_metrics.h
1.51
KB
-rw-r--r--
2024-09-25 18:33
tdx-guest.h
1.27
KB
-rw-r--r--
2024-09-25 18:33
tee.h
12.86
KB
-rw-r--r--
2024-09-25 18:33
termios.h
506
B
-rw-r--r--
2024-09-25 18:33
thermal.h
3.23
KB
-rw-r--r--
2024-09-25 18:33
time.h
1.71
KB
-rw-r--r--
2024-09-25 18:33
time_types.h
1.15
KB
-rw-r--r--
2024-09-25 18:33
timerfd.h
936
B
-rw-r--r--
2024-09-25 18:33
times.h
278
B
-rw-r--r--
2024-09-25 18:33
timex.h
6.25
KB
-rw-r--r--
2024-09-25 18:33
tiocl.h
1.69
KB
-rw-r--r--
2024-09-25 18:33
tipc.h
8.62
KB
-rw-r--r--
2024-09-25 18:33
tipc_config.h
14.36
KB
-rw-r--r--
2024-09-25 18:33
tipc_netlink.h
9.17
KB
-rw-r--r--
2024-09-25 18:33
tipc_sockets_diag.h
468
B
-rw-r--r--
2024-09-25 18:33
tls.h
4.19
KB
-rw-r--r--
2024-09-25 18:33
toshiba.h
1.88
KB
-rw-r--r--
2024-09-25 18:33
tty.h
1.55
KB
-rw-r--r--
2024-09-25 18:33
tty_flags.h
4.42
KB
-rw-r--r--
2024-09-25 18:33
types.h
1.44
KB
-rw-r--r--
2024-09-25 18:33
udf_fs_i.h
697
B
-rw-r--r--
2024-09-25 18:33
udp.h
1.62
KB
-rw-r--r--
2024-09-25 18:33
uhid.h
4.54
KB
-rw-r--r--
2024-09-25 18:33
uinput.h
9.04
KB
-rw-r--r--
2024-09-25 18:33
uio.h
732
B
-rw-r--r--
2024-09-25 18:33
uleds.h
798
B
-rw-r--r--
2024-09-25 18:33
ultrasound.h
4.46
KB
-rw-r--r--
2024-09-25 18:33
un.h
384
B
-rw-r--r--
2024-09-25 18:33
unistd.h
220
B
-rw-r--r--
2024-09-25 18:33
unix_diag.h
1.22
KB
-rw-r--r--
2024-09-25 18:33
usbdevice_fs.h
8.12
KB
-rw-r--r--
2024-09-25 18:33
usbip.h
640
B
-rw-r--r--
2024-09-25 18:33
userfaultfd.h
7.59
KB
-rw-r--r--
2024-09-25 18:33
userio.h
1.48
KB
-rw-r--r--
2024-09-25 18:33
utime.h
215
B
-rw-r--r--
2024-09-25 18:33
utsname.h
669
B
-rw-r--r--
2024-09-25 18:33
uuid.h
1.32
KB
-rw-r--r--
2024-09-25 18:33
uvcvideo.h
2.57
KB
-rw-r--r--
2024-09-25 18:33
v4l2-common.h
4.08
KB
-rw-r--r--
2024-09-25 18:33
v4l2-controls.h
50.56
KB
-rw-r--r--
2024-09-25 18:33
v4l2-dv-timings.h
30.82
KB
-rw-r--r--
2024-09-25 18:33
v4l2-mediabus.h
4.98
KB
-rw-r--r--
2024-09-25 18:33
v4l2-subdev.h
5.95
KB
-rw-r--r--
2024-09-25 18:33
vbox_err.h
7.09
KB
-rw-r--r--
2024-09-25 18:33
vbox_vmmdev_types.h
8.16
KB
-rw-r--r--
2024-09-25 18:33
vboxguest.h
8.52
KB
-rw-r--r--
2024-09-25 18:33
vdpa.h
1.39
KB
-rw-r--r--
2024-09-25 18:33
version.h
430
B
-rw-r--r--
2024-09-25 18:34
veth.h
224
B
-rw-r--r--
2024-09-25 18:33
vfio.h
51
KB
-rw-r--r--
2024-09-25 18:33
vfio_ccw.h
1.29
KB
-rw-r--r--
2024-09-25 18:33
vfio_zdev.h
2.48
KB
-rw-r--r--
2024-09-25 18:33
vhost.h
6.27
KB
-rw-r--r--
2024-09-25 18:33
vhost_types.h
3.9
KB
-rw-r--r--
2024-09-25 18:33
videodev2.h
88.61
KB
-rw-r--r--
2024-09-25 18:33
virtio_9p.h
1.99
KB
-rw-r--r--
2024-09-25 18:33
virtio_balloon.h
5.15
KB
-rw-r--r--
2024-09-25 18:33
virtio_blk.h
6.64
KB
-rw-r--r--
2024-09-25 18:33
virtio_bt.h
772
B
-rw-r--r--
2024-09-25 18:33
virtio_config.h
3.91
KB
-rw-r--r--
2024-09-25 18:33
virtio_console.h
3.06
KB
-rw-r--r--
2024-09-25 18:33
virtio_crypto.h
13.55
KB
-rw-r--r--
2024-09-25 18:33
virtio_fs.h
572
B
-rw-r--r--
2024-09-25 18:33
virtio_gpu.h
11.19
KB
-rw-r--r--
2024-09-25 18:33
virtio_ids.h
3.19
KB
-rw-r--r--
2024-09-25 18:33
virtio_input.h
2.45
KB
-rw-r--r--
2024-09-25 18:33
virtio_iommu.h
3.69
KB
-rw-r--r--
2024-09-25 18:33
virtio_mem.h
6.99
KB
-rw-r--r--
2024-09-25 18:33
virtio_mmio.h
4.85
KB
-rw-r--r--
2024-09-25 18:33
virtio_net.h
10.3
KB
-rw-r--r--
2024-09-25 18:33
virtio_pci.h
7.23
KB
-rw-r--r--
2024-09-25 18:33
virtio_ring.h
7.32
KB
-rw-r--r--
2024-09-25 18:33
virtio_rng.h
265
B
-rw-r--r--
2024-09-25 18:33
virtio_scsi.h
5.89
KB
-rw-r--r--
2024-09-25 18:33
virtio_snd.h
9.09
KB
-rw-r--r--
2024-09-25 18:33
virtio_types.h
2.1
KB
-rw-r--r--
2024-09-25 18:33
virtio_vsock.h
3.01
KB
-rw-r--r--
2024-09-25 18:33
vm_sockets.h
6.34
KB
-rw-r--r--
2024-09-25 18:33
vm_sockets_diag.h
963
B
-rw-r--r--
2024-09-25 18:33
vmcore.h
431
B
-rw-r--r--
2024-09-25 18:33
vsockmon.h
1.84
KB
-rw-r--r--
2024-09-25 18:33
vt.h
2.99
KB
-rw-r--r--
2024-09-25 18:33
vtpm_proxy.h
1.68
KB
-rw-r--r--
2024-09-25 18:33
wait.h
682
B
-rw-r--r--
2024-09-25 18:33
wanrouter.h
453
B
-rw-r--r--
2024-09-25 18:33
watchdog.h
2.28
KB
-rw-r--r--
2024-09-25 18:33
wimax.h
8.17
KB
-rw-r--r--
2024-09-25 18:33
wireless.h
41.7
KB
-rw-r--r--
2024-09-25 18:33
wmi.h
1.84
KB
-rw-r--r--
2024-09-25 18:33
x25.h
3.48
KB
-rw-r--r--
2024-09-25 18:33
xattr.h
2.79
KB
-rw-r--r--
2024-09-25 18:33
xdp_diag.h
1.43
KB
-rw-r--r--
2024-09-25 18:33
xfrm.h
11.71
KB
-rw-r--r--
2024-09-25 18:33
xilinx-v4l2-controls.h
2.91
KB
-rw-r--r--
2024-09-25 18:33
zorro.h
3.22
KB
-rw-r--r--
2024-09-25 18:33
zorro_ids.h
29.26
KB
-rw-r--r--
2024-09-25 18:33
Save
Rename
#ifndef _LINUX_VIRTIO_RING_H #define _LINUX_VIRTIO_RING_H /* An interface for efficient virtio implementation, currently for use by KVM, * but hopefully others soon. Do NOT change this since it will * break existing servers and clients. * * This header is BSD licensed so anyone can use the definitions to implement * compatible drivers/servers. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. Neither the name of IBM nor the names of its contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL IBM OR CONTRIBUTORS BE LIABLE * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * Copyright Rusty Russell IBM Corporation 2007. */ #include <stdint.h> #include <linux/types.h> #include <linux/virtio_types.h> /* This marks a buffer as continuing via the next field. */ #define VRING_DESC_F_NEXT 1 /* This marks a buffer as write-only (otherwise read-only). */ #define VRING_DESC_F_WRITE 2 /* This means the buffer contains a list of buffer descriptors. */ #define VRING_DESC_F_INDIRECT 4 /* * Mark a descriptor as available or used in packed ring. * Notice: they are defined as shifts instead of shifted values. */ #define VRING_PACKED_DESC_F_AVAIL 7 #define VRING_PACKED_DESC_F_USED 15 /* The Host uses this in used->flags to advise the Guest: don't kick me when * you add a buffer. It's unreliable, so it's simply an optimization. Guest * will still kick if it's out of buffers. */ #define VRING_USED_F_NO_NOTIFY 1 /* The Guest uses this in avail->flags to advise the Host: don't interrupt me * when you consume a buffer. It's unreliable, so it's simply an * optimization. */ #define VRING_AVAIL_F_NO_INTERRUPT 1 /* Enable events in packed ring. */ #define VRING_PACKED_EVENT_FLAG_ENABLE 0x0 /* Disable events in packed ring. */ #define VRING_PACKED_EVENT_FLAG_DISABLE 0x1 /* * Enable events for a specific descriptor in packed ring. * (as specified by Descriptor Ring Change Event Offset/Wrap Counter). * Only valid if VIRTIO_RING_F_EVENT_IDX has been negotiated. */ #define VRING_PACKED_EVENT_FLAG_DESC 0x2 /* * Wrap counter bit shift in event suppression structure * of packed ring. */ #define VRING_PACKED_EVENT_F_WRAP_CTR 15 /* We support indirect buffer descriptors */ #define VIRTIO_RING_F_INDIRECT_DESC 28 /* The Guest publishes the used index for which it expects an interrupt * at the end of the avail ring. Host should ignore the avail->flags field. */ /* The Host publishes the avail index for which it expects a kick * at the end of the used ring. Guest should ignore the used->flags field. */ #define VIRTIO_RING_F_EVENT_IDX 29 /* Virtio ring descriptors: 16 bytes. These can chain together via "next". */ struct vring_desc { /* Address (guest-physical). */ __virtio64 addr; /* Length. */ __virtio32 len; /* The flags as indicated above. */ __virtio16 flags; /* We chain unused descriptors via this, too */ __virtio16 next; }; struct vring_avail { __virtio16 flags; __virtio16 idx; __virtio16 ring[]; }; /* u32 is used here for ids for padding reasons. */ struct vring_used_elem { /* Index of start of used descriptor chain. */ __virtio32 id; /* Total length of the descriptor chain which was used (written to) */ __virtio32 len; }; struct vring_used { __virtio16 flags; __virtio16 idx; struct vring_used_elem ring[]; }; struct vring { unsigned int num; struct vring_desc *desc; struct vring_avail *avail; struct vring_used *used; }; /* Alignment requirements for vring elements. * When using pre-virtio 1.0 layout, these fall out naturally. */ #define VRING_AVAIL_ALIGN_SIZE 2 #define VRING_USED_ALIGN_SIZE 4 #define VRING_DESC_ALIGN_SIZE 16 #ifndef VIRTIO_RING_NO_LEGACY /* The standard layout for the ring is a continuous chunk of memory which looks * like this. We assume num is a power of 2. * * struct vring * { * // The actual descriptors (16 bytes each) * struct vring_desc desc[num]; * * // A ring of available descriptor heads with free-running index. * __virtio16 avail_flags; * __virtio16 avail_idx; * __virtio16 available[num]; * __virtio16 used_event_idx; * * // Padding to the next align boundary. * char pad[]; * * // A ring of used descriptor heads with free-running index. * __virtio16 used_flags; * __virtio16 used_idx; * struct vring_used_elem used[num]; * __virtio16 avail_event_idx; * }; */ /* We publish the used event index at the end of the available ring, and vice * versa. They are at the end for backwards compatibility. */ #define vring_used_event(vr) ((vr)->avail->ring[(vr)->num]) #define vring_avail_event(vr) (*(__virtio16 *)&(vr)->used->ring[(vr)->num]) static __inline__ void vring_init(struct vring *vr, unsigned int num, void *p, unsigned long align) { vr->num = num; vr->desc = p; vr->avail = p + num*sizeof(struct vring_desc); vr->used = (void *)(((uintptr_t)&vr->avail->ring[num] + sizeof(__virtio16) + align-1) & ~(align - 1)); } static __inline__ unsigned vring_size(unsigned int num, unsigned long align) { return ((sizeof(struct vring_desc) * num + sizeof(__virtio16) * (3 + num) + align - 1) & ~(align - 1)) + sizeof(__virtio16) * 3 + sizeof(struct vring_used_elem) * num; } #endif /* VIRTIO_RING_NO_LEGACY */ /* The following is used with USED_EVENT_IDX and AVAIL_EVENT_IDX */ /* Assuming a given event_idx value from the other side, if * we have just incremented index from old to new_idx, * should we trigger an event? */ static __inline__ int vring_need_event(__u16 event_idx, __u16 new_idx, __u16 old) { /* Note: Xen has similar logic for notification hold-off * in include/xen/interface/io/ring.h with req_event and req_prod * corresponding to event_idx + 1 and new_idx respectively. * Note also that req_event and req_prod in Xen start at 1, * event indexes in virtio start at 0. */ return (__u16)(new_idx - event_idx - 1) < (__u16)(new_idx - old); } struct vring_packed_desc_event { /* Descriptor Ring Change Event Offset/Wrap Counter. */ __le16 off_wrap; /* Descriptor Ring Change Event Flags. */ __le16 flags; }; struct vring_packed_desc { /* Buffer Address. */ __le64 addr; /* Buffer Length. */ __le32 len; /* Buffer ID. */ __le16 id; /* The flags depending on descriptor type. */ __le16 flags; }; #endif /* _LINUX_VIRTIO_RING_H */