[ SYSTEM ]: Linux srv.persadacompanies.com 4.18.0-553.56.1.el8_10.x86_64 #1 SMP Tue Jun 10 05:00:59 EDT 2025 x86_64
[ SERVER ]: Apache | PHP: 8.4.19
[ USER ]: persadamedika | IP: 45.64.1.108
GEFORCE FILE MANAGER
/
usr
/
src
/
kernels
/
4.18.0-553.64.1.el8_10.x86_64
/
include
/
uapi
/
linux
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
π android
SET
[ DEL ]
π byteorder
SET
[ DEL ]
π caif
SET
[ DEL ]
π can
SET
[ DEL ]
π cifs
SET
[ DEL ]
π dvb
SET
[ DEL ]
π genwqe
SET
[ DEL ]
π hdlc
SET
[ DEL ]
π hsi
SET
[ DEL ]
π iio
SET
[ DEL ]
π isdn
SET
[ DEL ]
π mmc
SET
[ DEL ]
π netfilter
SET
[ DEL ]
π netfilter_arp
SET
[ DEL ]
π netfilter_bridge
SET
[ DEL ]
π netfilter_ipv4
SET
[ DEL ]
π netfilter_ipv6
SET
[ DEL ]
π nfsd
SET
[ DEL ]
π raid
SET
[ DEL ]
π sched
SET
[ DEL ]
π spi
SET
[ DEL ]
π sunrpc
SET
[ DEL ]
π tc_act
SET
[ DEL ]
π tc_ematch
SET
[ DEL ]
π usb
SET
[ DEL ]
π wimax
SET
[ DEL ]
π Kbuild
352 B
SET
[ EDIT ]
|
[ DEL ]
π a.out.h
6,959 B
SET
[ EDIT ]
|
[ DEL ]
π acct.h
3,915 B
SET
[ EDIT ]
|
[ DEL ]
π adb.h
1,155 B
SET
[ EDIT ]
|
[ DEL ]
π adfs_fs.h
951 B
SET
[ EDIT ]
|
[ DEL ]
π affs_hardblocks.h
1,544 B
SET
[ EDIT ]
|
[ DEL ]
π agpgart.h
4,001 B
SET
[ EDIT ]
|
[ DEL ]
π aio_abi.h
3,417 B
SET
[ EDIT ]
|
[ DEL ]
π am437x-vpfe.h
3,681 B
SET
[ EDIT ]
|
[ DEL ]
π apm_bios.h
3,698 B
SET
[ EDIT ]
|
[ DEL ]
π arcfb.h
213 B
SET
[ EDIT ]
|
[ DEL ]
π arm_sdei.h
2,766 B
SET
[ EDIT ]
|
[ DEL ]
π aspeed-lpc-ctrl.h
1,795 B
SET
[ EDIT ]
|
[ DEL ]
π atalk.h
1,038 B
SET
[ EDIT ]
|
[ DEL ]
π atm.h
7,937 B
SET
[ EDIT ]
|
[ DEL ]
π atm_eni.h
648 B
SET
[ EDIT ]
|
[ DEL ]
π atm_he.h
406 B
SET
[ EDIT ]
|
[ DEL ]
π atm_idt77105.h
955 B
SET
[ EDIT ]
|
[ DEL ]
π atm_nicstar.h
1,278 B
SET
[ EDIT ]
|
[ DEL ]
π atm_tcp.h
1,637 B
SET
[ EDIT ]
|
[ DEL ]
π atm_zatm.h
1,540 B
SET
[ EDIT ]
|
[ DEL ]
π atmapi.h
952 B
SET
[ EDIT ]
|
[ DEL ]
π atmarp.h
1,296 B
SET
[ EDIT ]
|
[ DEL ]
π atmbr2684.h
3,271 B
SET
[ EDIT ]
|
[ DEL ]
π atmclip.h
576 B
SET
[ EDIT ]
|
[ DEL ]
π atmdev.h
7,699 B
SET
[ EDIT ]
|
[ DEL ]
π atmioc.h
1,646 B
SET
[ EDIT ]
|
[ DEL ]
π atmlec.h
2,381 B
SET
[ EDIT ]
|
[ DEL ]
π atmmpc.h
4,226 B
SET
[ EDIT ]
|
[ DEL ]
π atmppp.h
639 B
SET
[ EDIT ]
|
[ DEL ]
π atmsap.h
4,970 B
SET
[ EDIT ]
|
[ DEL ]
π atmsvc.h
1,853 B
SET
[ EDIT ]
|
[ DEL ]
π audit.h
20,409 B
SET
[ EDIT ]
|
[ DEL ]
π auto_dev-ioctl.h
4,997 B
SET
[ EDIT ]
|
[ DEL ]
π auto_fs.h
6,450 B
SET
[ EDIT ]
|
[ DEL ]
π auto_fs4.h
466 B
SET
[ EDIT ]
|
[ DEL ]
π auxvec.h
1,612 B
SET
[ EDIT ]
|
[ DEL ]
π ax25.h
2,824 B
SET
[ EDIT ]
|
[ DEL ]
π b1lli.h
1,717 B
SET
[ EDIT ]
|
[ DEL ]
π batadv_packet.h
20,510 B
SET
[ EDIT ]
|
[ DEL ]
π batman_adv.h
11,992 B
SET
[ EDIT ]
|
[ DEL ]
π baycom.h
883 B
SET
[ EDIT ]
|
[ DEL ]
π bcache.h
8,306 B
SET
[ EDIT ]
|
[ DEL ]
π bcm933xx_hcs.h
419 B
SET
[ EDIT ]
|
[ DEL ]
π bfs_fs.h
1,893 B
SET
[ EDIT ]
|
[ DEL ]
π binfmts.h
643 B
SET
[ EDIT ]
|
[ DEL ]
π blkpg.h
953 B
SET
[ EDIT ]
|
[ DEL ]
π blktrace_api.h
4,716 B
SET
[ EDIT ]
|
[ DEL ]
π blkzoned.h
6,623 B
SET
[ EDIT ]
|
[ DEL ]
π bpf.h
228,675 B
SET
[ EDIT ]
|
[ DEL ]
π bpf_common.h
1,382 B
SET
[ EDIT ]
|
[ DEL ]
π bpf_perf_event.h
544 B
SET
[ EDIT ]
|
[ DEL ]
π bpfilter.h
480 B
SET
[ EDIT ]
|
[ DEL ]
π bpqether.h
981 B
SET
[ EDIT ]
|
[ DEL ]
π bsg.h
2,509 B
SET
[ EDIT ]
|
[ DEL ]
π bt-bmc.h
587 B
SET
[ EDIT ]
|
[ DEL ]
π btf.h
4,811 B
SET
[ EDIT ]
|
[ DEL ]
π btrfs.h
28,942 B
SET
[ EDIT ]
|
[ DEL ]
π btrfs_tree.h
25,265 B
SET
[ EDIT ]
|
[ DEL ]
π can.h
7,891 B
SET
[ EDIT ]
|
[ DEL ]
π capability.h
13,576 B
SET
[ EDIT ]
|
[ DEL ]
π capi.h
3,157 B
SET
[ EDIT ]
|
[ DEL ]
π cciss_defs.h
3,281 B
SET
[ EDIT ]
|
[ DEL ]
π cciss_ioctl.h
2,790 B
SET
[ EDIT ]
|
[ DEL ]
π cdrom.h
28,902 B
SET
[ EDIT ]
|
[ DEL ]
π cec-funcs.h
53,293 B
SET
[ EDIT ]
|
[ DEL ]
π cec.h
37,611 B
SET
[ EDIT ]
|
[ DEL ]
π cfm_bridge.h
1,466 B
SET
[ EDIT ]
|
[ DEL ]
π cgroupstats.h
2,219 B
SET
[ EDIT ]
|
[ DEL ]
π chio.h
5,351 B
SET
[ EDIT ]
|
[ DEL ]
π close_range.h
392 B
SET
[ EDIT ]
|
[ DEL ]
π cm4000_cs.h
1,821 B
SET
[ EDIT ]
|
[ DEL ]
π cn_proc.h
3,471 B
SET
[ EDIT ]
|
[ DEL ]
π coda.h
17,682 B
SET
[ EDIT ]
|
[ DEL ]
π coda_psdev.h
798 B
SET
[ EDIT ]
|
[ DEL ]
π coff.h
12,476 B
SET
[ EDIT ]
|
[ DEL ]
π connector.h
2,268 B
SET
[ EDIT ]
|
[ DEL ]
π const.h
803 B
SET
[ EDIT ]
|
[ DEL ]
π coresight-stm.h
674 B
SET
[ EDIT ]
|
[ DEL ]
π cramfs_fs.h
3,570 B
SET
[ EDIT ]
|
[ DEL ]
π cryptouser.h
3,392 B
SET
[ EDIT ]
|
[ DEL ]
π cuda.h
920 B
SET
[ EDIT ]
|
[ DEL ]
π cyclades.h
17,123 B
SET
[ EDIT ]
|
[ DEL ]
π cycx_cfm.h
2,990 B
SET
[ EDIT ]
|
[ DEL ]
π dcbnl.h
25,238 B
SET
[ EDIT ]
|
[ DEL ]
π dccp.h
6,447 B
SET
[ EDIT ]
|
[ DEL ]
π devlink.h
21,571 B
SET
[ EDIT ]
|
[ DEL ]
π dlm.h
2,568 B
SET
[ EDIT ]
|
[ DEL ]
π dlm_device.h
2,599 B
SET
[ EDIT ]
|
[ DEL ]
π dlm_netlink.h
1,159 B
SET
[ EDIT ]
|
[ DEL ]
π dlm_plock.h
909 B
SET
[ EDIT ]
|
[ DEL ]
π dlmconstants.h
5,080 B
SET
[ EDIT ]
|
[ DEL ]
π dm-ioctl.h
11,400 B
SET
[ EDIT ]
|
[ DEL ]
π dm-log-userspace.h
15,191 B
SET
[ EDIT ]
|
[ DEL ]
π dma-buf.h
5,247 B
SET
[ EDIT ]
|
[ DEL ]
π dn.h
4,642 B
SET
[ EDIT ]
|
[ DEL ]
π dqblk_xfs.h
9,245 B
SET
[ EDIT ]
|
[ DEL ]
π edd.h
5,619 B
SET
[ EDIT ]
|
[ DEL ]
π efs_fs_sb.h
2,227 B
SET
[ EDIT ]
|
[ DEL ]
π elf-em.h
2,187 B
SET
[ EDIT ]
|
[ DEL ]
π elf-fdpic.h
1,139 B
SET
[ EDIT ]
|
[ DEL ]
π elf.h
13,486 B
SET
[ EDIT ]
|
[ DEL ]
π elfcore.h
3,062 B
SET
[ EDIT ]
|
[ DEL ]
π errno.h
23 B
SET
[ EDIT ]
|
[ DEL ]
π errqueue.h
1,492 B
SET
[ EDIT ]
|
[ DEL ]
π erspan.h
1,074 B
SET
[ EDIT ]
|
[ DEL ]
π ethtool.h
83,872 B
SET
[ EDIT ]
|
[ DEL ]
π ethtool_netlink.h
22,841 B
SET
[ EDIT ]
|
[ DEL ]
π eventpoll.h
2,869 B
SET
[ EDIT ]
|
[ DEL ]
π fadvise.h
842 B
SET
[ EDIT ]
|
[ DEL ]
π falloc.h
3,599 B
SET
[ EDIT ]
|
[ DEL ]
π fanotify.h
5,356 B
SET
[ EDIT ]
|
[ DEL ]
π fb.h
16,518 B
SET
[ EDIT ]
|
[ DEL ]
π fcntl.h
4,189 B
SET
[ EDIT ]
|
[ DEL ]
π fd.h
11,721 B
SET
[ EDIT ]
|
[ DEL ]
π fdreg.h
5,420 B
SET
[ EDIT ]
|
[ DEL ]
π fib_rules.h
2,036 B
SET
[ EDIT ]
|
[ DEL ]
π fiemap.h
2,775 B
SET
[ EDIT ]
|
[ DEL ]
π filter.h
2,265 B
SET
[ EDIT ]
|
[ DEL ]
π firewire-cdev.h
43,886 B
SET
[ EDIT ]
|
[ DEL ]
π firewire-constants.h
3,231 B
SET
[ EDIT ]
|
[ DEL ]
π flat.h
2,163 B
SET
[ EDIT ]
|
[ DEL ]
π fou.h
709 B
SET
[ EDIT ]
|
[ DEL ]
π fpga-dfl.h
8,743 B
SET
[ EDIT ]
|
[ DEL ]
π fs.h
13,511 B
SET
[ EDIT ]
|
[ DEL ]
π fsl_hypervisor.h
7,316 B
SET
[ EDIT ]
|
[ DEL ]
π fsmap.h
4,385 B
SET
[ EDIT ]
|
[ DEL ]
π fuse.h
23,529 B
SET
[ EDIT ]
|
[ DEL ]
π futex.h
5,049 B
SET
[ EDIT ]
|
[ DEL ]
π gameport.h
912 B
SET
[ EDIT ]
|
[ DEL ]
π gen_stats.h
1,526 B
SET
[ EDIT ]
|
[ DEL ]
π genetlink.h
2,190 B
SET
[ EDIT ]
|
[ DEL ]
π gfs2_ondisk.h
14,739 B
SET
[ EDIT ]
|
[ DEL ]
π gigaset_dev.h
1,442 B
SET
[ EDIT ]
|
[ DEL ]
π gpio.h
6,766 B
SET
[ EDIT ]
|
[ DEL ]
π gsmmux.h
1,041 B
SET
[ EDIT ]
|
[ DEL ]
π gtp.h
696 B
SET
[ EDIT ]
|
[ DEL ]
π hash_info.h
936 B
SET
[ EDIT ]
|
[ DEL ]
π hdlc.h
652 B
SET
[ EDIT ]
|
[ DEL ]
π hdlcdrv.h
2,923 B
SET
[ EDIT ]
|
[ DEL ]
π hdreg.h
22,945 B
SET
[ EDIT ]
|
[ DEL ]
π hid.h
1,916 B
SET
[ EDIT ]
|
[ DEL ]
π hiddev.h
6,360 B
SET
[ EDIT ]
|
[ DEL ]
π hidraw.h
2,008 B
SET
[ EDIT ]
|
[ DEL ]
π hpet.h
785 B
SET
[ EDIT ]
|
[ DEL ]
π hsr_netlink.h
1,081 B
SET
[ EDIT ]
|
[ DEL ]
π hw_breakpoint.h
757 B
SET
[ EDIT ]
|
[ DEL ]
π hyperv.h
11,167 B
SET
[ EDIT ]
|
[ DEL ]
π hysdn_if.h
1,382 B
SET
[ EDIT ]
|
[ DEL ]
π i2c-dev.h
2,668 B
SET
[ EDIT ]
|
[ DEL ]
π i2c.h
7,147 B
SET
[ EDIT ]
|
[ DEL ]
π i2o-dev.h
11,646 B
SET
[ EDIT ]
|
[ DEL ]
π i8k.h
1,528 B
SET
[ EDIT ]
|
[ DEL ]
π icmp.h
2,990 B
SET
[ EDIT ]
|
[ DEL ]
π icmpv6.h
4,053 B
SET
[ EDIT ]
|
[ DEL ]
π idxd.h
8,461 B
SET
[ EDIT ]
|
[ DEL ]
π if.h
10,984 B
SET
[ EDIT ]
|
[ DEL ]
π if_addr.h
1,912 B
SET
[ EDIT ]
|
[ DEL ]
π if_addrlabel.h
721 B
SET
[ EDIT ]
|
[ DEL ]
π if_alg.h
946 B
SET
[ EDIT ]
|
[ DEL ]
π if_arcnet.h
3,717 B
SET
[ EDIT ]
|
[ DEL ]
π if_arp.h
6,592 B
SET
[ EDIT ]
|
[ DEL ]
π if_bonding.h
5,291 B
SET
[ EDIT ]
|
[ DEL ]
π if_bridge.h
19,529 B
SET
[ EDIT ]
|
[ DEL ]
π if_cablemodem.h
986 B
SET
[ EDIT ]
|
[ DEL ]
π if_eql.h
1,364 B
SET
[ EDIT ]
|
[ DEL ]
π if_ether.h
8,263 B
SET
[ EDIT ]
|
[ DEL ]
π if_fc.h
1,738 B
SET
[ EDIT ]
|
[ DEL ]
π if_fddi.h
3,763 B
SET
[ EDIT ]
|
[ DEL ]
π if_frad.h
3,034 B
SET
[ EDIT ]
|
[ DEL ]
π if_hippi.h
4,235 B
SET
[ EDIT ]
|
[ DEL ]
π if_infiniband.h
1,245 B
SET
[ EDIT ]
|
[ DEL ]
π if_link.h
31,698 B
SET
[ EDIT ]
|
[ DEL ]
π if_ltalk.h
225 B
SET
[ EDIT ]
|
[ DEL ]
π if_macsec.h
5,847 B
SET
[ EDIT ]
|
[ DEL ]
π if_packet.h
7,919 B
SET
[ EDIT ]
|
[ DEL ]
π if_phonet.h
439 B
SET
[ EDIT ]
|
[ DEL ]
π if_plip.h
660 B
SET
[ EDIT ]
|
[ DEL ]
π if_ppp.h
29 B
SET
[ EDIT ]
|
[ DEL ]
π if_pppol2tp.h
3,307 B
SET
[ EDIT ]
|
[ DEL ]
π if_pppox.h
4,804 B
SET
[ EDIT ]
|
[ DEL ]
π if_slip.h
872 B
SET
[ EDIT ]
|
[ DEL ]
π if_team.h
2,615 B
SET
[ EDIT ]
|
[ DEL ]
π if_tun.h
4,113 B
SET
[ EDIT ]
|
[ DEL ]
π if_tunnel.h
4,535 B
SET
[ EDIT ]
|
[ DEL ]
π if_vlan.h
1,846 B
SET
[ EDIT ]
|
[ DEL ]
π if_x25.h
881 B
SET
[ EDIT ]
|
[ DEL ]
π if_xdp.h
3,011 B
SET
[ EDIT ]
|
[ DEL ]
π ife.h
351 B
SET
[ EDIT ]
|
[ DEL ]
π igmp.h
3,079 B
SET
[ EDIT ]
|
[ DEL ]
π ila.h
1,261 B
SET
[ EDIT ]
|
[ DEL ]
π in.h
10,137 B
SET
[ EDIT ]
|
[ DEL ]
π in6.h
7,453 B
SET
[ EDIT ]
|
[ DEL ]
π in_route.h
936 B
SET
[ EDIT ]
|
[ DEL ]
π inet_diag.h
4,687 B
SET
[ EDIT ]
|
[ DEL ]
π inotify.h
3,307 B
SET
[ EDIT ]
|
[ DEL ]
π input-event-codes.h
28,616 B
SET
[ EDIT ]
|
[ DEL ]
π input.h
16,033 B
SET
[ EDIT ]
|
[ DEL ]
π io_uring.h
6,207 B
SET
[ EDIT ]
|
[ DEL ]
π ioctl.h
163 B
SET
[ EDIT ]
|
[ DEL ]
π iommu.h
4,919 B
SET
[ EDIT ]
|
[ DEL ]
π ip.h
4,826 B
SET
[ EDIT ]
|
[ DEL ]
π ip6_tunnel.h
1,953 B
SET
[ EDIT ]
|
[ DEL ]
π ip_vs.h
13,631 B
SET
[ EDIT ]
|
[ DEL ]
π ipc.h
2,123 B
SET
[ EDIT ]
|
[ DEL ]
π ipmi.h
15,505 B
SET
[ EDIT ]
|
[ DEL ]
π ipmi_bmc.h
479 B
SET
[ EDIT ]
|
[ DEL ]
π ipmi_msgdefs.h
3,430 B
SET
[ EDIT ]
|
[ DEL ]
π ipmi_ssif_bmc.h
456 B
SET
[ EDIT ]
|
[ DEL ]
π ipsec.h
947 B
SET
[ EDIT ]
|
[ DEL ]
π ipv6.h
3,982 B
SET
[ EDIT ]
|
[ DEL ]
π ipv6_route.h
1,923 B
SET
[ EDIT ]
|
[ DEL ]
π ipx.h
2,347 B
SET
[ EDIT ]
|
[ DEL ]
π irqnr.h
104 B
SET
[ EDIT ]
|
[ DEL ]
π isdn.h
5,789 B
SET
[ EDIT ]
|
[ DEL ]
π isdn_divertif.h
1,215 B
SET
[ EDIT ]
|
[ DEL ]
π isdn_ppp.h
1,938 B
SET
[ EDIT ]
|
[ DEL ]
π isdnif.h
2,385 B
SET
[ EDIT ]
|
[ DEL ]
π iso_fs.h
6,485 B
SET
[ EDIT ]
|
[ DEL ]
π isst_if.h
5,384 B
SET
[ EDIT ]
|
[ DEL ]
π ivtv.h
3,063 B
SET
[ EDIT ]
|
[ DEL ]
π ivtvfb.h
1,241 B
SET
[ EDIT ]
|
[ DEL ]
π jffs2.h
7,018 B
SET
[ EDIT ]
|
[ DEL ]
π joystick.h
3,449 B
SET
[ EDIT ]
|
[ DEL ]
π kcm.h
822 B
SET
[ EDIT ]
|
[ DEL ]
π kcmp.h
537 B
SET
[ EDIT ]
|
[ DEL ]
π kcov.h
1,099 B
SET
[ EDIT ]
|
[ DEL ]
π kd.h
6,316 B
SET
[ EDIT ]
|
[ DEL ]
π kdev_t.h
441 B
SET
[ EDIT ]
|
[ DEL ]
π kernel-page-flags.h
915 B
SET
[ EDIT ]
|
[ DEL ]
π kernel.h
453 B
SET
[ EDIT ]
|
[ DEL ]
π kernelcapi.h
1,034 B
SET
[ EDIT ]
|
[ DEL ]
π kexec.h
1,893 B
SET
[ EDIT ]
|
[ DEL ]
π keyboard.h
12,798 B
SET
[ EDIT ]
|
[ DEL ]
π keyctl.h
3,514 B
SET
[ EDIT ]
|
[ DEL ]
π kfd_ioctl.h
28,814 B
SET
[ EDIT ]
|
[ DEL ]
π kfd_sysfs.h
4,350 B
SET
[ EDIT ]
|
[ DEL ]
π kvm.h
61,602 B
SET
[ EDIT ]
|
[ DEL ]
π kvm_para.h
1,016 B
SET
[ EDIT ]
|
[ DEL ]
π l2tp.h
5,606 B
SET
[ EDIT ]
|
[ DEL ]
π libc-compat.h
8,304 B
SET
[ EDIT ]
|
[ DEL ]
π lightnvm.h
5,168 B
SET
[ EDIT ]
|
[ DEL ]
π limits.h
947 B
SET
[ EDIT ]
|
[ DEL ]
π lirc.h
7,813 B
SET
[ EDIT ]
|
[ DEL ]
π llc.h
3,179 B
SET
[ EDIT ]
|
[ DEL ]
π loop.h
3,512 B
SET
[ EDIT ]
|
[ DEL ]
π lp.h
4,205 B
SET
[ EDIT ]
|
[ DEL ]
π lwtunnel.h
2,194 B
SET
[ EDIT ]
|
[ DEL ]
π magic.h
3,531 B
SET
[ EDIT ]
|
[ DEL ]
π major.h
4,713 B
SET
[ EDIT ]
|
[ DEL ]
π map_to_7segment.h
7,251 B
SET
[ EDIT ]
|
[ DEL ]
π matroxfb.h
1,464 B
SET
[ EDIT ]
|
[ DEL ]
π max2175.h
1,035 B
SET
[ EDIT ]
|
[ DEL ]
π mdio.h
17,283 B
SET
[ EDIT ]
|
[ DEL ]
π media-bus-format.h
6,411 B
SET
[ EDIT ]
|
[ DEL ]
π media.h
11,942 B
SET
[ EDIT ]
|
[ DEL ]
π mei.h
3,475 B
SET
[ EDIT ]
|
[ DEL ]
π membarrier.h
7,914 B
SET
[ EDIT ]
|
[ DEL ]
π memfd.h
1,339 B
SET
[ EDIT ]
|
[ DEL ]
π mempolicy.h
2,246 B
SET
[ EDIT ]
|
[ DEL ]
π meye.h
2,529 B
SET
[ EDIT ]
|
[ DEL ]
π mic_common.h
6,499 B
SET
[ EDIT ]
|
[ DEL ]
π mic_ioctl.h
2,310 B
SET
[ EDIT ]
|
[ DEL ]
π mii.h
9,511 B
SET
[ EDIT ]
|
[ DEL ]
π minix_fs.h
2,122 B
SET
[ EDIT ]
|
[ DEL ]
π mman.h
1,400 B
SET
[ EDIT ]
|
[ DEL ]
π mmtimer.h
2,117 B
SET
[ EDIT ]
|
[ DEL ]
π module.h
270 B
SET
[ EDIT ]
|
[ DEL ]
π mount.h
4,561 B
SET
[ EDIT ]
|
[ DEL ]
π mpls.h
2,317 B
SET
[ EDIT ]
|
[ DEL ]
π mpls_iptunnel.h
776 B
SET
[ EDIT ]
|
[ DEL ]
π mptcp.h
5,623 B
SET
[ EDIT ]
|
[ DEL ]
π mqueue.h
2,201 B
SET
[ EDIT ]
|
[ DEL ]
π mroute.h
5,442 B
SET
[ EDIT ]
|
[ DEL ]
π mroute6.h
4,592 B
SET
[ EDIT ]
|
[ DEL ]
π mrp_bridge.h
1,718 B
SET
[ EDIT ]
|
[ DEL ]
π msdos_fs.h
6,978 B
SET
[ EDIT ]
|
[ DEL ]
π msg.h
3,389 B
SET
[ EDIT ]
|
[ DEL ]
π mtio.h
8,175 B
SET
[ EDIT ]
|
[ DEL ]
π n_r3964.h
2,425 B
SET
[ EDIT ]
|
[ DEL ]
π nbd-netlink.h
2,423 B
SET
[ EDIT ]
|
[ DEL ]
π nbd.h
3,039 B
SET
[ EDIT ]
|
[ DEL ]
π ncsi.h
3,880 B
SET
[ EDIT ]
|
[ DEL ]
π ndctl.h
6,693 B
SET
[ EDIT ]
|
[ DEL ]
π neighbour.h
5,138 B
SET
[ EDIT ]
|
[ DEL ]
π net.h
2,100 B
SET
[ EDIT ]
|
[ DEL ]
π net_dropmon.h
2,922 B
SET
[ EDIT ]
|
[ DEL ]
π net_namespace.h
730 B
SET
[ EDIT ]
|
[ DEL ]
π net_tstamp.h
5,806 B
SET
[ EDIT ]
|
[ DEL ]
π netconf.h
629 B
SET
[ EDIT ]
|
[ DEL ]
π netdevice.h
2,268 B
SET
[ EDIT ]
|
[ DEL ]
π netfilter.h
1,888 B
SET
[ EDIT ]
|
[ DEL ]
π netfilter_arp.h
471 B
SET
[ EDIT ]
|
[ DEL ]
π netfilter_bridge.h
1,209 B
SET
[ EDIT ]
|
[ DEL ]
π netfilter_decnet.h
2,050 B
SET
[ EDIT ]
|
[ DEL ]
π netfilter_ipv4.h
2,229 B
SET
[ EDIT ]
|
[ DEL ]
π netfilter_ipv6.h
2,249 B
SET
[ EDIT ]
|
[ DEL ]
π netlink.h
11,562 B
SET
[ EDIT ]
|
[ DEL ]
π netlink_diag.h
1,550 B
SET
[ EDIT ]
|
[ DEL ]
π netrom.h
807 B
SET
[ EDIT ]
|
[ DEL ]
π nexthop.h
1,544 B
SET
[ EDIT ]
|
[ DEL ]
π nfc.h
11,209 B
SET
[ EDIT ]
|
[ DEL ]
π nfs.h
4,515 B
SET
[ EDIT ]
|
[ DEL ]
π nfs2.h
1,468 B
SET
[ EDIT ]
|
[ DEL ]
π nfs3.h
2,468 B
SET
[ EDIT ]
|
[ DEL ]
π nfs4.h
6,614 B
SET
[ EDIT ]
|
[ DEL ]
π nfs4_mount.h
1,953 B
SET
[ EDIT ]
|
[ DEL ]
π nfs_fs.h
1,656 B
SET
[ EDIT ]
|
[ DEL ]
π nfs_idmap.h
2,258 B
SET
[ EDIT ]
|
[ DEL ]
π nfs_mount.h
2,142 B
SET
[ EDIT ]
|
[ DEL ]
π nfsacl.h
733 B
SET
[ EDIT ]
|
[ DEL ]
π nilfs2_api.h
7,565 B
SET
[ EDIT ]
|
[ DEL ]
π nilfs2_ondisk.h
18,001 B
SET
[ EDIT ]
|
[ DEL ]
π nitro_enclaves.h
13,167 B
SET
[ EDIT ]
|
[ DEL ]
π nl80211.h
335,264 B
SET
[ EDIT ]
|
[ DEL ]
π nsfs.h
639 B
SET
[ EDIT ]
|
[ DEL ]
π nubus.h
8,206 B
SET
[ EDIT ]
|
[ DEL ]
π nvme_ioctl.h
2,127 B
SET
[ EDIT ]
|
[ DEL ]
π nvram.h
547 B
SET
[ EDIT ]
|
[ DEL ]
π omap3isp.h
21,271 B
SET
[ EDIT ]
|
[ DEL ]
π omapfb.h
5,940 B
SET
[ EDIT ]
|
[ DEL ]
π oom.h
526 B
SET
[ EDIT ]
|
[ DEL ]
π openat2.h
1,304 B
SET
[ EDIT ]
|
[ DEL ]
π openvswitch.h
41,272 B
SET
[ EDIT ]
|
[ DEL ]
π packet_diag.h
1,672 B
SET
[ EDIT ]
|
[ DEL ]
π param.h
141 B
SET
[ EDIT ]
|
[ DEL ]
π parport.h
3,659 B
SET
[ EDIT ]
|
[ DEL ]
π patchkey.h
965 B
SET
[ EDIT ]
|
[ DEL ]
π pci.h
1,395 B
SET
[ EDIT ]
|
[ DEL ]
π pci_regs.h
57,827 B
SET
[ EDIT ]
|
[ DEL ]
π pcitest.h
711 B
SET
[ EDIT ]
|
[ DEL ]
π perf_event.h
40,595 B
SET
[ EDIT ]
|
[ DEL ]
π personality.h
2,112 B
SET
[ EDIT ]
|
[ DEL ]
π pfkeyv2.h
10,569 B
SET
[ EDIT ]
|
[ DEL ]
π pfrut.h
7,987 B
SET
[ EDIT ]
|
[ DEL ]
π pg.h
2,409 B
SET
[ EDIT ]
|
[ DEL ]
π phantom.h
1,654 B
SET
[ EDIT ]
|
[ DEL ]
π phonet.h
4,640 B
SET
[ EDIT ]
|
[ DEL ]
π pkt_cls.h
18,511 B
SET
[ EDIT ]
|
[ DEL ]
π pkt_sched.h
30,296 B
SET
[ EDIT ]
|
[ DEL ]
π pktcdvd.h
2,702 B
SET
[ EDIT ]
|
[ DEL ]
π pmu.h
5,334 B
SET
[ EDIT ]
|
[ DEL ]
π poll.h
22 B
SET
[ EDIT ]
|
[ DEL ]
π posix_acl.h
1,254 B
SET
[ EDIT ]
|
[ DEL ]
π posix_acl_xattr.h
1,115 B
SET
[ EDIT ]
|
[ DEL ]
π posix_types.h
1,098 B
SET
[ EDIT ]
|
[ DEL ]
π ppdev.h
3,211 B
SET
[ EDIT ]
|
[ DEL ]
π ppp-comp.h
2,542 B
SET
[ EDIT ]
|
[ DEL ]
π ppp-ioctl.h
5,509 B
SET
[ EDIT ]
|
[ DEL ]
π ppp_defs.h
5,122 B
SET
[ EDIT ]
|
[ DEL ]
π pps.h
4,734 B
SET
[ EDIT ]
|
[ DEL ]
π pr.h
1,088 B
SET
[ EDIT ]
|
[ DEL ]
π prctl.h
8,023 B
SET
[ EDIT ]
|
[ DEL ]
π psample.h
2,271 B
SET
[ EDIT ]
|
[ DEL ]
π psci.h
4,343 B
SET
[ EDIT ]
|
[ DEL ]
π psp-sev.h
4,481 B
SET
[ EDIT ]
|
[ DEL ]
π ptp_clock.h
7,456 B
SET
[ EDIT ]
|
[ DEL ]
π ptrace.h
3,689 B
SET
[ EDIT ]
|
[ DEL ]
π qemu_fw_cfg.h
2,469 B
SET
[ EDIT ]
|
[ DEL ]
π qnx4_fs.h
2,328 B
SET
[ EDIT ]
|
[ DEL ]
π qnxtypes.h
624 B
SET
[ EDIT ]
|
[ DEL ]
π qrtr.h
878 B
SET
[ EDIT ]
|
[ DEL ]
π quota.h
6,306 B
SET
[ EDIT ]
|
[ DEL ]
π radeonfb.h
360 B
SET
[ EDIT ]
|
[ DEL ]
π random.h
1,385 B
SET
[ EDIT ]
|
[ DEL ]
π raw.h
365 B
SET
[ EDIT ]
|
[ DEL ]
π rds.h
9,301 B
SET
[ EDIT ]
|
[ DEL ]
π reboot.h
1,358 B
SET
[ EDIT ]
|
[ DEL ]
π reiserfs_fs.h
775 B
SET
[ EDIT ]
|
[ DEL ]
π reiserfs_xattr.h
533 B
SET
[ EDIT ]
|
[ DEL ]
π resource.h
2,362 B
SET
[ EDIT ]
|
[ DEL ]
π rfkill.h
6,623 B
SET
[ EDIT ]
|
[ DEL ]
π rio_cm_cdev.h
3,248 B
SET
[ EDIT ]
|
[ DEL ]
π rio_mport_cdev.h
9,330 B
SET
[ EDIT ]
|
[ DEL ]
π romfs_fs.h
1,238 B
SET
[ EDIT ]
|
[ DEL ]
π rose.h
2,232 B
SET
[ EDIT ]
|
[ DEL ]
π route.h
2,392 B
SET
[ EDIT ]
|
[ DEL ]
π rpmsg.h
554 B
SET
[ EDIT ]
|
[ DEL ]
π rseq.h
4,919 B
SET
[ EDIT ]
|
[ DEL ]
π rtc.h
4,024 B
SET
[ EDIT ]
|
[ DEL ]
π rtnetlink.h
20,242 B
SET
[ EDIT ]
|
[ DEL ]
π rxrpc.h
5,095 B
SET
[ EDIT ]
|
[ DEL ]
π scc.h
4,612 B
SET
[ EDIT ]
|
[ DEL ]
π sched.h
2,812 B
SET
[ EDIT ]
|
[ DEL ]
π scif_ioctl.h
6,382 B
SET
[ EDIT ]
|
[ DEL ]
π screen_info.h
2,494 B
SET
[ EDIT ]
|
[ DEL ]
π sctp.h
36,099 B
SET
[ EDIT ]
|
[ DEL ]
π sdla.h
2,861 B
SET
[ EDIT ]
|
[ DEL ]
π seccomp.h
2,299 B
SET
[ EDIT ]
|
[ DEL ]
π securebits.h
2,719 B
SET
[ EDIT ]
|
[ DEL ]
π sed-opal.h
3,290 B
SET
[ EDIT ]
|
[ DEL ]
π seg6.h
1,180 B
SET
[ EDIT ]
|
[ DEL ]
π seg6_genl.h
599 B
SET
[ EDIT ]
|
[ DEL ]
π seg6_hmac.h
433 B
SET
[ EDIT ]
|
[ DEL ]
π seg6_iptunnel.h
1,293 B
SET
[ EDIT ]
|
[ DEL ]
π seg6_local.h
2,070 B
SET
[ EDIT ]
|
[ DEL ]
π selinux_netlink.h
1,221 B
SET
[ EDIT ]
|
[ DEL ]
π sem.h
3,086 B
SET
[ EDIT ]
|
[ DEL ]
π serial.h
3,881 B
SET
[ EDIT ]
|
[ DEL ]
π serial_core.h
6,260 B
SET
[ EDIT ]
|
[ DEL ]
π serial_reg.h
15,496 B
SET
[ EDIT ]
|
[ DEL ]
π serio.h
2,052 B
SET
[ EDIT ]
|
[ DEL ]
π sev-guest.h
2,303 B
SET
[ EDIT ]
|
[ DEL ]
π shm.h
3,826 B
SET
[ EDIT ]
|
[ DEL ]
π signal.h
403 B
SET
[ EDIT ]
|
[ DEL ]
π signalfd.h
1,248 B
SET
[ EDIT ]
|
[ DEL ]
π smc.h
8,528 B
SET
[ EDIT ]
|
[ DEL ]
π smc_diag.h
2,743 B
SET
[ EDIT ]
|
[ DEL ]
π smiapp.h
1,058 B
SET
[ EDIT ]
|
[ DEL ]
π snmp.h
13,663 B
SET
[ EDIT ]
|
[ DEL ]
π sock_diag.h
1,316 B
SET
[ EDIT ]
|
[ DEL ]
π socket.h
916 B
SET
[ EDIT ]
|
[ DEL ]
π sockios.h
6,106 B
SET
[ EDIT ]
|
[ DEL ]
π sonet.h
2,305 B
SET
[ EDIT ]
|
[ DEL ]
π sonypi.h
5,324 B
SET
[ EDIT ]
|
[ DEL ]
π sound.h
1,252 B
SET
[ EDIT ]
|
[ DEL ]
π soundcard.h
46,170 B
SET
[ EDIT ]
|
[ DEL ]
π stat.h
6,367 B
SET
[ EDIT ]
|
[ DEL ]
π stddef.h
1,571 B
SET
[ EDIT ]
|
[ DEL ]
π stm.h
1,290 B
SET
[ EDIT ]
|
[ DEL ]
π string.h
296 B
SET
[ EDIT ]
|
[ DEL ]
π suspend_ioctls.h
1,431 B
SET
[ EDIT ]
|
[ DEL ]
π swab.h
7,018 B
SET
[ EDIT ]
|
[ DEL ]
π switchtec_ioctl.h
5,272 B
SET
[ EDIT ]
|
[ DEL ]
π sync_file.h
2,898 B
SET
[ EDIT ]
|
[ DEL ]
π synclink.h
9,000 B
SET
[ EDIT ]
|
[ DEL ]
π sysctl.h
25,912 B
SET
[ EDIT ]
|
[ DEL ]
π sysinfo.h
1,049 B
SET
[ EDIT ]
|
[ DEL ]
π target_core_user.h
4,557 B
SET
[ EDIT ]
|
[ DEL ]
π taskstats.h
7,180 B
SET
[ EDIT ]
|
[ DEL ]
π tcp.h
9,935 B
SET
[ EDIT ]
|
[ DEL ]
π tcp_metrics.h
1,549 B
SET
[ EDIT ]
|
[ DEL ]
π tdx-guest.h
1,320 B
SET
[ EDIT ]
|
[ DEL ]
π tee.h
13,172 B
SET
[ EDIT ]
|
[ DEL ]
π termios.h
506 B
SET
[ EDIT ]
|
[ DEL ]
π thermal.h
3,324 B
SET
[ EDIT ]
|
[ DEL ]
π time.h
1,763 B
SET
[ EDIT ]
|
[ DEL ]
π time_types.h
1,190 B
SET
[ EDIT ]
|
[ DEL ]
π timerfd.h
951 B
SET
[ EDIT ]
|
[ DEL ]
π times.h
278 B
SET
[ EDIT ]
|
[ DEL ]
π timex.h
6,444 B
SET
[ EDIT ]
|
[ DEL ]
π tiocl.h
1,729 B
SET
[ EDIT ]
|
[ DEL ]
π tipc.h
8,805 B
SET
[ EDIT ]
|
[ DEL ]
π tipc_config.h
14,682 B
SET
[ EDIT ]
|
[ DEL ]
π tipc_netlink.h
9,395 B
SET
[ EDIT ]
|
[ DEL ]
π tipc_sockets_diag.h
483 B
SET
[ EDIT ]
|
[ DEL ]
π tls.h
4,303 B
SET
[ EDIT ]
|
[ DEL ]
π toshiba.h
1,945 B
SET
[ EDIT ]
|
[ DEL ]
π tty.h
1,600 B
SET
[ EDIT ]
|
[ DEL ]
π tty_flags.h
4,527 B
SET
[ EDIT ]
|
[ DEL ]
π types.h
1,681 B
SET
[ EDIT ]
|
[ DEL ]
π udf_fs_i.h
697 B
SET
[ EDIT ]
|
[ DEL ]
π udp.h
1,676 B
SET
[ EDIT ]
|
[ DEL ]
π uhid.h
4,655 B
SET
[ EDIT ]
|
[ DEL ]
π uinput.h
9,276 B
SET
[ EDIT ]
|
[ DEL ]
π uio.h
781 B
SET
[ EDIT ]
|
[ DEL ]
π uleds.h
813 B
SET
[ EDIT ]
|
[ DEL ]
π ultrasound.h
4,562 B
SET
[ EDIT ]
|
[ DEL ]
π un.h
384 B
SET
[ EDIT ]
|
[ DEL ]
π unistd.h
220 B
SET
[ EDIT ]
|
[ DEL ]
π unix_diag.h
1,253 B
SET
[ EDIT ]
|
[ DEL ]
π usbdevice_fs.h
8,374 B
SET
[ EDIT ]
|
[ DEL ]
π usbip.h
655 B
SET
[ EDIT ]
|
[ DEL ]
π userfaultfd.h
7,759 B
SET
[ EDIT ]
|
[ DEL ]
π userio.h
1,516 B
SET
[ EDIT ]
|
[ DEL ]
π utime.h
215 B
SET
[ EDIT ]
|
[ DEL ]
π utsname.h
684 B
SET
[ EDIT ]
|
[ DEL ]
π uuid.h
1,371 B
SET
[ EDIT ]
|
[ DEL ]
π uvcvideo.h
2,634 B
SET
[ EDIT ]
|
[ DEL ]
π v4l2-common.h
4,177 B
SET
[ EDIT ]
|
[ DEL ]
π v4l2-controls.h
51,777 B
SET
[ EDIT ]
|
[ DEL ]
π v4l2-dv-timings.h
31,562 B
SET
[ EDIT ]
|
[ DEL ]
π v4l2-mediabus.h
5,144 B
SET
[ EDIT ]
|
[ DEL ]
π v4l2-subdev.h
6,096 B
SET
[ EDIT ]
|
[ DEL ]
π vbox_err.h
7,257 B
SET
[ EDIT ]
|
[ DEL ]
π vbox_vmmdev_types.h
8,296 B
SET
[ EDIT ]
|
[ DEL ]
π vboxguest.h
8,729 B
SET
[ EDIT ]
|
[ DEL ]
π vdpa.h
1,431 B
SET
[ EDIT ]
|
[ DEL ]
π veth.h
224 B
SET
[ EDIT ]
|
[ DEL ]
π vfio.h
52,245 B
SET
[ EDIT ]
|
[ DEL ]
π vfio_ccw.h
1,257 B
SET
[ EDIT ]
|
[ DEL ]
π vfio_zdev.h
2,542 B
SET
[ EDIT ]
|
[ DEL ]
π vhost.h
6,418 B
SET
[ EDIT ]
|
[ DEL ]
π vhost_types.h
4,024 B
SET
[ EDIT ]
|
[ DEL ]
π videodev2.h
90,983 B
SET
[ EDIT ]
|
[ DEL ]
π virtio_9p.h
2,041 B
SET
[ EDIT ]
|
[ DEL ]
π virtio_balloon.h
5,274 B
SET
[ EDIT ]
|
[ DEL ]
π virtio_blk.h
6,823 B
SET
[ EDIT ]
|
[ DEL ]
π virtio_bt.h
787 B
SET
[ EDIT ]
|
[ DEL ]
π virtio_config.h
4,063 B
SET
[ EDIT ]
|
[ DEL ]
π virtio_console.h
3,151 B
SET
[ EDIT ]
|
[ DEL ]
π virtio_crypto.h
13,874 B
SET
[ EDIT ]
|
[ DEL ]
π virtio_fs.h
587 B
SET
[ EDIT ]
|
[ DEL ]
π virtio_gpu.h
11,454 B
SET
[ EDIT ]
|
[ DEL ]
π virtio_ids.h
3,269 B
SET
[ EDIT ]
|
[ DEL ]
π virtio_input.h
2,506 B
SET
[ EDIT ]
|
[ DEL ]
π virtio_iommu.h
3,793 B
SET
[ EDIT ]
|
[ DEL ]
π virtio_mem.h
7,157 B
SET
[ EDIT ]
|
[ DEL ]
π virtio_mmio.h
4,969 B
SET
[ EDIT ]
|
[ DEL ]
π virtio_net.h
10,564 B
SET
[ EDIT ]
|
[ DEL ]
π virtio_pci.h
7,406 B
SET
[ EDIT ]
|
[ DEL ]
π virtio_ring.h
7,526 B
SET
[ EDIT ]
|
[ DEL ]
π virtio_rng.h
265 B
SET
[ EDIT ]
|
[ DEL ]
π virtio_scsi.h
6,035 B
SET
[ EDIT ]
|
[ DEL ]
π virtio_snd.h
9,304 B
SET
[ EDIT ]
|
[ DEL ]
π virtio_types.h
2,168 B
SET
[ EDIT ]
|
[ DEL ]
π virtio_vsock.h
3,101 B
SET
[ EDIT ]
|
[ DEL ]
π vm_sockets.h
6,509 B
SET
[ EDIT ]
|
[ DEL ]
π vm_sockets_diag.h
978 B
SET
[ EDIT ]
|
[ DEL ]
π vmcore.h
446 B
SET
[ EDIT ]
|
[ DEL ]
π vsockmon.h
1,895 B
SET
[ EDIT ]
|
[ DEL ]
π vt.h
3,074 B
SET
[ EDIT ]
|
[ DEL ]
π vtpm_proxy.h
1,734 B
SET
[ EDIT ]
|
[ DEL ]
π wait.h
697 B
SET
[ EDIT ]
|
[ DEL ]
π wanrouter.h
468 B
SET
[ EDIT ]
|
[ DEL ]
π watchdog.h
2,350 B
SET
[ EDIT ]
|
[ DEL ]
π wimax.h
8,371 B
SET
[ EDIT ]
|
[ DEL ]
π wireless.h
42,725 B
SET
[ EDIT ]
|
[ DEL ]
π wmi.h
1,843 B
SET
[ EDIT ]
|
[ DEL ]
π x25.h
3,562 B
SET
[ EDIT ]
|
[ DEL ]
π xattr.h
2,875 B
SET
[ EDIT ]
|
[ DEL ]
π xdp_diag.h
1,468 B
SET
[ EDIT ]
|
[ DEL ]
π xfrm.h
12,020 B
SET
[ EDIT ]
|
[ DEL ]
π xilinx-v4l2-controls.h
2,976 B
SET
[ EDIT ]
|
[ DEL ]
π zorro.h
3,266 B
SET
[ EDIT ]
|
[ DEL ]
π zorro_ids.h
29,963 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: cdrom.h
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * -- <linux/cdrom.h> * General header file for linux CD-ROM drivers * Copyright (C) 1992 David Giller, rafetmad@oxy.edu * 1994, 1995 Eberhard MΓΆnkeberg, emoenke@gwdg.de * 1996 David van Leeuwen, david@tm.tno.nl * 1997, 1998 Erik Andersen, andersee@debian.org * 1998-2002 Jens Axboe, axboe@suse.de */ #ifndef _UAPI_LINUX_CDROM_H #define _UAPI_LINUX_CDROM_H #include <linux/types.h> #include <asm/byteorder.h> /******************************************************* * As of Linux 2.1.x, all Linux CD-ROM application programs will use this * (and only this) include file. It is my hope to provide Linux with * a uniform interface between software accessing CD-ROMs and the various * device drivers that actually talk to the drives. There may still be * 23 different kinds of strange CD-ROM drives, but at least there will * now be one, and only one, Linux CD-ROM interface. * * Additionally, as of Linux 2.1.x, all Linux application programs * should use the O_NONBLOCK option when opening a CD-ROM device * for subsequent ioctl commands. This allows for neat system errors * like "No medium found" or "Wrong medium type" upon attempting to * mount or play an empty slot, mount an audio disc, or play a data disc. * Generally, changing an application program to support O_NONBLOCK * is as easy as the following: * - drive = open("/dev/cdrom", O_RDONLY); * + drive = open("/dev/cdrom", O_RDONLY | O_NONBLOCK); * It is worth the small change. * * Patches for many common CD programs (provided by David A. van Leeuwen) * can be found at: ftp://ftp.gwdg.de/pub/linux/cdrom/drivers/cm206/ * *******************************************************/ /* When a driver supports a certain function, but the cdrom drive we are * using doesn't, we will return the error EDRIVE_CANT_DO_THIS. We will * borrow the "Operation not supported" error from the network folks to * accomplish this. Maybe someday we will get a more targeted error code, * but this will do for now... */ #define EDRIVE_CANT_DO_THIS EOPNOTSUPP /******************************************************* * The CD-ROM IOCTL commands -- these should be supported by * all the various cdrom drivers. For the CD-ROM ioctls, we * will commandeer byte 0x53, or 'S'. *******************************************************/ #define CDROMPAUSE 0x5301 /* Pause Audio Operation */ #define CDROMRESUME 0x5302 /* Resume paused Audio Operation */ #define CDROMPLAYMSF 0x5303 /* Play Audio MSF (struct cdrom_msf) */ #define CDROMPLAYTRKIND 0x5304 /* Play Audio Track/index (struct cdrom_ti) */ #define CDROMREADTOCHDR 0x5305 /* Read TOC header (struct cdrom_tochdr) */ #define CDROMREADTOCENTRY 0x5306 /* Read TOC entry (struct cdrom_tocentry) */ #define CDROMSTOP 0x5307 /* Stop the cdrom drive */ #define CDROMSTART 0x5308 /* Start the cdrom drive */ #define CDROMEJECT 0x5309 /* Ejects the cdrom media */ #define CDROMVOLCTRL 0x530a /* Control output volume (struct cdrom_volctrl) */ #define CDROMSUBCHNL 0x530b /* Read subchannel data (struct cdrom_subchnl) */ #define CDROMREADMODE2 0x530c /* Read CDROM mode 2 data (2336 Bytes) (struct cdrom_read) */ #define CDROMREADMODE1 0x530d /* Read CDROM mode 1 data (2048 Bytes) (struct cdrom_read) */ #define CDROMREADAUDIO 0x530e /* (struct cdrom_read_audio) */ #define CDROMEJECT_SW 0x530f /* enable(1)/disable(0) auto-ejecting */ #define CDROMMULTISESSION 0x5310 /* Obtain the start-of-last-session address of multi session disks (struct cdrom_multisession) */ #define CDROM_GET_MCN 0x5311 /* Obtain the "Universal Product Code" if available (struct cdrom_mcn) */ #define CDROM_GET_UPC CDROM_GET_MCN /* This one is deprecated, but here anyway for compatibility */ #define CDROMRESET 0x5312 /* hard-reset the drive */ #define CDROMVOLREAD 0x5313 /* Get the drive's volume setting (struct cdrom_volctrl) */ #define CDROMREADRAW 0x5314 /* read data in raw mode (2352 Bytes) (struct cdrom_read) */ /* * These ioctls are used only used in aztcd.c and optcd.c */ #define CDROMREADCOOKED 0x5315 /* read data in cooked mode */ #define CDROMSEEK 0x5316 /* seek msf address */ /* * This ioctl is only used by the scsi-cd driver. It is for playing audio in logical block addressing mode. */ #define CDROMPLAYBLK 0x5317 /* (struct cdrom_blk) */ /* * These ioctls are only used in optcd.c */ #define CDROMREADALL 0x5318 /* read all 2646 bytes */ /* * These ioctls are (now) only in ide-cd.c for controlling * drive spindown time. They should be implemented in the * Uniform driver, via generic packet commands, GPCMD_MODE_SELECT_10, * GPCMD_MODE_SENSE_10 and the GPMODE_POWER_PAGE... * -Erik */ #define CDROMGETSPINDOWN 0x531d #define CDROMSETSPINDOWN 0x531e /* * These ioctls are implemented through the uniform CD-ROM driver * They _will_ be adopted by all CD-ROM drivers, when all the CD-ROM * drivers are eventually ported to the uniform CD-ROM driver interface. */ #define CDROMCLOSETRAY 0x5319 /* pendant of CDROMEJECT */ #define CDROM_SET_OPTIONS 0x5320 /* Set behavior options */ #define CDROM_CLEAR_OPTIONS 0x5321 /* Clear behavior options */ #define CDROM_SELECT_SPEED 0x5322 /* Set the CD-ROM speed */ #define CDROM_SELECT_DISC 0x5323 /* Select disc (for juke-boxes) */ #define CDROM_MEDIA_CHANGED 0x5325 /* Check is media changed */ #define CDROM_DRIVE_STATUS 0x5326 /* Get tray position, etc. */ #define CDROM_DISC_STATUS 0x5327 /* Get disc type, etc. */ #define CDROM_CHANGER_NSLOTS 0x5328 /* Get number of slots */ #define CDROM_LOCKDOOR 0x5329 /* lock or unlock door */ #define CDROM_DEBUG 0x5330 /* Turn debug messages on/off */ #define CDROM_GET_CAPABILITY 0x5331 /* get capabilities */ /* Note that scsi/scsi_ioctl.h also uses 0x5382 - 0x5386. * Future CDROM ioctls should be kept below 0x537F */ /* This ioctl is only used by sbpcd at the moment */ #define CDROMAUDIOBUFSIZ 0x5382 /* set the audio buffer size */ /* conflict with SCSI_IOCTL_GET_IDLUN */ /* DVD-ROM Specific ioctls */ #define DVD_READ_STRUCT 0x5390 /* Read structure */ #define DVD_WRITE_STRUCT 0x5391 /* Write structure */ #define DVD_AUTH 0x5392 /* Authentication */ #define CDROM_SEND_PACKET 0x5393 /* send a packet to the drive */ #define CDROM_NEXT_WRITABLE 0x5394 /* get next writable block */ #define CDROM_LAST_WRITTEN 0x5395 /* get last block written on disc */ /******************************************************* * CDROM IOCTL structures *******************************************************/ /* Address in MSF format */ struct cdrom_msf0 { __u8 minute; __u8 second; __u8 frame; }; /* Address in either MSF or logical format */ union cdrom_addr { struct cdrom_msf0 msf; int lba; }; /* This struct is used by the CDROMPLAYMSF ioctl */ struct cdrom_msf { __u8 cdmsf_min0; /* start minute */ __u8 cdmsf_sec0; /* start second */ __u8 cdmsf_frame0; /* start frame */ __u8 cdmsf_min1; /* end minute */ __u8 cdmsf_sec1; /* end second */ __u8 cdmsf_frame1; /* end frame */ }; /* This struct is used by the CDROMPLAYTRKIND ioctl */ struct cdrom_ti { __u8 cdti_trk0; /* start track */ __u8 cdti_ind0; /* start index */ __u8 cdti_trk1; /* end track */ __u8 cdti_ind1; /* end index */ }; /* This struct is used by the CDROMREADTOCHDR ioctl */ struct cdrom_tochdr { __u8 cdth_trk0; /* start track */ __u8 cdth_trk1; /* end track */ }; /* This struct is used by the CDROMVOLCTRL and CDROMVOLREAD ioctls */ struct cdrom_volctrl { __u8 channel0; __u8 channel1; __u8 channel2; __u8 channel3; }; /* This struct is used by the CDROMSUBCHNL ioctl */ struct cdrom_subchnl { __u8 cdsc_format; __u8 cdsc_audiostatus; __u8 cdsc_adr: 4; __u8 cdsc_ctrl: 4; __u8 cdsc_trk; __u8 cdsc_ind; union cdrom_addr cdsc_absaddr; union cdrom_addr cdsc_reladdr; }; /* This struct is used by the CDROMREADTOCENTRY ioctl */ struct cdrom_tocentry { __u8 cdte_track; __u8 cdte_adr :4; __u8 cdte_ctrl :4; __u8 cdte_format; union cdrom_addr cdte_addr; __u8 cdte_datamode; }; /* This struct is used by the CDROMREADMODE1, and CDROMREADMODE2 ioctls */ struct cdrom_read { int cdread_lba; char *cdread_bufaddr; int cdread_buflen; }; /* This struct is used by the CDROMREADAUDIO ioctl */ struct cdrom_read_audio { union cdrom_addr addr; /* frame address */ __u8 addr_format; /* CDROM_LBA or CDROM_MSF */ int nframes; /* number of 2352-byte-frames to read at once */ __u8 __user *buf; /* frame buffer (size: nframes*2352 bytes) */ }; /* This struct is used with the CDROMMULTISESSION ioctl */ struct cdrom_multisession { union cdrom_addr addr; /* frame address: start-of-last-session (not the new "frame 16"!). Only valid if the "xa_flag" is true. */ __u8 xa_flag; /* 1: "is XA disk" */ __u8 addr_format; /* CDROM_LBA or CDROM_MSF */ }; /* This struct is used with the CDROM_GET_MCN ioctl. * Very few audio discs actually have Universal Product Code information, * which should just be the Medium Catalog Number on the box. Also note * that the way the codeis written on CD is _not_ uniform across all discs! */ struct cdrom_mcn { __u8 medium_catalog_number[14]; /* 13 ASCII digits, null-terminated */ }; /* This is used by the CDROMPLAYBLK ioctl */ struct cdrom_blk { unsigned from; unsigned short len; }; #define CDROM_PACKET_SIZE 12 #define CGC_DATA_UNKNOWN 0 #define CGC_DATA_WRITE 1 #define CGC_DATA_READ 2 #define CGC_DATA_NONE 3 /* for CDROM_PACKET_COMMAND ioctl */ struct cdrom_generic_command { unsigned char cmd[CDROM_PACKET_SIZE]; unsigned char __user *buffer; unsigned int buflen; int stat; struct request_sense __user *sense; unsigned char data_direction; int quiet; int timeout; void __user *reserved[1]; /* unused, actually */ }; /* * A CD-ROM physical sector size is 2048, 2052, 2056, 2324, 2332, 2336, * 2340, or 2352 bytes long. * Sector types of the standard CD-ROM data formats: * * format sector type user data size (bytes) * ----------------------------------------------------------------------------- * 1 (Red Book) CD-DA 2352 (CD_FRAMESIZE_RAW) * 2 (Yellow Book) Mode1 Form1 2048 (CD_FRAMESIZE) * 3 (Yellow Book) Mode1 Form2 2336 (CD_FRAMESIZE_RAW0) * 4 (Green Book) Mode2 Form1 2048 (CD_FRAMESIZE) * 5 (Green Book) Mode2 Form2 2328 (2324+4 spare bytes) * * * The layout of the standard CD-ROM data formats: * ----------------------------------------------------------------------------- * - audio (red): | audio_sample_bytes | * | 2352 | * * - data (yellow, mode1): | sync - head - data - EDC - zero - ECC | * | 12 - 4 - 2048 - 4 - 8 - 276 | * * - data (yellow, mode2): | sync - head - data | * | 12 - 4 - 2336 | * * - XA data (green, mode2 form1): | sync - head - sub - data - EDC - ECC | * | 12 - 4 - 8 - 2048 - 4 - 276 | * * - XA data (green, mode2 form2): | sync - head - sub - data - Spare | * | 12 - 4 - 8 - 2324 - 4 | * */ /* Some generally useful CD-ROM information -- mostly based on the above */ #define CD_MINS 74 /* max. minutes per CD, not really a limit */ #define CD_SECS 60 /* seconds per minute */ #define CD_FRAMES 75 /* frames per second */ #define CD_SYNC_SIZE 12 /* 12 sync bytes per raw data frame */ #define CD_MSF_OFFSET 150 /* MSF numbering offset of first frame */ #define CD_CHUNK_SIZE 24 /* lowest-level "data bytes piece" */ #define CD_NUM_OF_CHUNKS 98 /* chunks per frame */ #define CD_FRAMESIZE_SUB 96 /* subchannel data "frame" size */ #define CD_HEAD_SIZE 4 /* header (address) bytes per raw data frame */ #define CD_SUBHEAD_SIZE 8 /* subheader bytes per raw XA data frame */ #define CD_EDC_SIZE 4 /* bytes EDC per most raw data frame types */ #define CD_ZERO_SIZE 8 /* bytes zero per yellow book mode 1 frame */ #define CD_ECC_SIZE 276 /* bytes ECC per most raw data frame types */ #define CD_FRAMESIZE 2048 /* bytes per frame, "cooked" mode */ #define CD_FRAMESIZE_RAW 2352 /* bytes per frame, "raw" mode */ #define CD_FRAMESIZE_RAWER 2646 /* The maximum possible returned bytes */ /* most drives don't deliver everything: */ #define CD_FRAMESIZE_RAW1 (CD_FRAMESIZE_RAW-CD_SYNC_SIZE) /*2340*/ #define CD_FRAMESIZE_RAW0 (CD_FRAMESIZE_RAW-CD_SYNC_SIZE-CD_HEAD_SIZE) /*2336*/ #define CD_XA_HEAD (CD_HEAD_SIZE+CD_SUBHEAD_SIZE) /* "before data" part of raw XA frame */ #define CD_XA_TAIL (CD_EDC_SIZE+CD_ECC_SIZE) /* "after data" part of raw XA frame */ #define CD_XA_SYNC_HEAD (CD_SYNC_SIZE+CD_XA_HEAD) /* sync bytes + header of XA frame */ /* CD-ROM address types (cdrom_tocentry.cdte_format) */ #define CDROM_LBA 0x01 /* "logical block": first frame is #0 */ #define CDROM_MSF 0x02 /* "minute-second-frame": binary, not bcd here! */ /* bit to tell whether track is data or audio (cdrom_tocentry.cdte_ctrl) */ #define CDROM_DATA_TRACK 0x04 /* The leadout track is always 0xAA, regardless of # of tracks on disc */ #define CDROM_LEADOUT 0xAA /* audio states (from SCSI-2, but seen with other drives, too) */ #define CDROM_AUDIO_INVALID 0x00 /* audio status not supported */ #define CDROM_AUDIO_PLAY 0x11 /* audio play operation in progress */ #define CDROM_AUDIO_PAUSED 0x12 /* audio play operation paused */ #define CDROM_AUDIO_COMPLETED 0x13 /* audio play successfully completed */ #define CDROM_AUDIO_ERROR 0x14 /* audio play stopped due to error */ #define CDROM_AUDIO_NO_STATUS 0x15 /* no current audio status to return */ /* capability flags used with the uniform CD-ROM driver */ #define CDC_CLOSE_TRAY 0x1 /* caddy systems _can't_ close */ #define CDC_OPEN_TRAY 0x2 /* but _can_ eject. */ #define CDC_LOCK 0x4 /* disable manual eject */ #define CDC_SELECT_SPEED 0x8 /* programmable speed */ #define CDC_SELECT_DISC 0x10 /* select disc from juke-box */ #define CDC_MULTI_SESSION 0x20 /* read sessions>1 */ #define CDC_MCN 0x40 /* Medium Catalog Number */ #define CDC_MEDIA_CHANGED 0x80 /* media changed */ #define CDC_PLAY_AUDIO 0x100 /* audio functions */ #define CDC_RESET 0x200 /* hard reset device */ #define CDC_DRIVE_STATUS 0x800 /* driver implements drive status */ #define CDC_GENERIC_PACKET 0x1000 /* driver implements generic packets */ #define CDC_CD_R 0x2000 /* drive is a CD-R */ #define CDC_CD_RW 0x4000 /* drive is a CD-RW */ #define CDC_DVD 0x8000 /* drive is a DVD */ #define CDC_DVD_R 0x10000 /* drive can write DVD-R */ #define CDC_DVD_RAM 0x20000 /* drive can write DVD-RAM */ #define CDC_MO_DRIVE 0x40000 /* drive is an MO device */ #define CDC_MRW 0x80000 /* drive can read MRW */ #define CDC_MRW_W 0x100000 /* drive can write MRW */ #define CDC_RAM 0x200000 /* ok to open for WRITE */ /* drive status possibilities returned by CDROM_DRIVE_STATUS ioctl */ #define CDS_NO_INFO 0 /* if not implemented */ #define CDS_NO_DISC 1 #define CDS_TRAY_OPEN 2 #define CDS_DRIVE_NOT_READY 3 #define CDS_DISC_OK 4 /* return values for the CDROM_DISC_STATUS ioctl */ /* can also return CDS_NO_[INFO|DISC], from above */ #define CDS_AUDIO 100 #define CDS_DATA_1 101 #define CDS_DATA_2 102 #define CDS_XA_2_1 103 #define CDS_XA_2_2 104 #define CDS_MIXED 105 /* User-configurable behavior options for the uniform CD-ROM driver */ #define CDO_AUTO_CLOSE 0x1 /* close tray on first open() */ #define CDO_AUTO_EJECT 0x2 /* open tray on last release() */ #define CDO_USE_FFLAGS 0x4 /* use O_NONBLOCK information on open */ #define CDO_LOCK 0x8 /* lock tray on open files */ #define CDO_CHECK_TYPE 0x10 /* check type on open for data */ /* Special codes used when specifying changer slots. */ #define CDSL_NONE (INT_MAX-1) #define CDSL_CURRENT INT_MAX /* For partition based multisession access. IDE can handle 64 partitions * per drive - SCSI CD-ROM's use minors to differentiate between the * various drives, so we can't do multisessions the same way there. * Use the -o session=x option to mount on them. */ #define CD_PART_MAX 64 #define CD_PART_MASK (CD_PART_MAX - 1) /********************************************************************* * Generic Packet commands, MMC commands, and such *********************************************************************/ /* The generic packet command opcodes for CD/DVD Logical Units, * From Table 57 of the SFF8090 Ver. 3 (Mt. Fuji) draft standard. */ #define GPCMD_BLANK 0xa1 #define GPCMD_CLOSE_TRACK 0x5b #define GPCMD_FLUSH_CACHE 0x35 #define GPCMD_FORMAT_UNIT 0x04 #define GPCMD_GET_CONFIGURATION 0x46 #define GPCMD_GET_EVENT_STATUS_NOTIFICATION 0x4a #define GPCMD_GET_PERFORMANCE 0xac #define GPCMD_INQUIRY 0x12 #define GPCMD_LOAD_UNLOAD 0xa6 #define GPCMD_MECHANISM_STATUS 0xbd #define GPCMD_MODE_SELECT_10 0x55 #define GPCMD_MODE_SENSE_10 0x5a #define GPCMD_PAUSE_RESUME 0x4b #define GPCMD_PLAY_AUDIO_10 0x45 #define GPCMD_PLAY_AUDIO_MSF 0x47 #define GPCMD_PLAY_AUDIO_TI 0x48 #define GPCMD_PLAY_CD 0xbc #define GPCMD_PREVENT_ALLOW_MEDIUM_REMOVAL 0x1e #define GPCMD_READ_10 0x28 #define GPCMD_READ_12 0xa8 #define GPCMD_READ_BUFFER 0x3c #define GPCMD_READ_BUFFER_CAPACITY 0x5c #define GPCMD_READ_CDVD_CAPACITY 0x25 #define GPCMD_READ_CD 0xbe #define GPCMD_READ_CD_MSF 0xb9 #define GPCMD_READ_DISC_INFO 0x51 #define GPCMD_READ_DVD_STRUCTURE 0xad #define GPCMD_READ_FORMAT_CAPACITIES 0x23 #define GPCMD_READ_HEADER 0x44 #define GPCMD_READ_TRACK_RZONE_INFO 0x52 #define GPCMD_READ_SUBCHANNEL 0x42 #define GPCMD_READ_TOC_PMA_ATIP 0x43 #define GPCMD_REPAIR_RZONE_TRACK 0x58 #define GPCMD_REPORT_KEY 0xa4 #define GPCMD_REQUEST_SENSE 0x03 #define GPCMD_RESERVE_RZONE_TRACK 0x53 #define GPCMD_SEND_CUE_SHEET 0x5d #define GPCMD_SCAN 0xba #define GPCMD_SEEK 0x2b #define GPCMD_SEND_DVD_STRUCTURE 0xbf #define GPCMD_SEND_EVENT 0xa2 #define GPCMD_SEND_KEY 0xa3 #define GPCMD_SEND_OPC 0x54 #define GPCMD_SET_READ_AHEAD 0xa7 #define GPCMD_SET_STREAMING 0xb6 #define GPCMD_START_STOP_UNIT 0x1b #define GPCMD_STOP_PLAY_SCAN 0x4e #define GPCMD_TEST_UNIT_READY 0x00 #define GPCMD_VERIFY_10 0x2f #define GPCMD_WRITE_10 0x2a #define GPCMD_WRITE_12 0xaa #define GPCMD_WRITE_AND_VERIFY_10 0x2e #define GPCMD_WRITE_BUFFER 0x3b /* This is listed as optional in ATAPI 2.6, but is (curiously) * missing from Mt. Fuji, Table 57. It _is_ mentioned in Mt. Fuji * Table 377 as an MMC command for SCSi devices though... Most ATAPI * drives support it. */ #define GPCMD_SET_SPEED 0xbb /* This seems to be a SCSI specific CD-ROM opcode * to play data at track/index */ #define GPCMD_PLAYAUDIO_TI 0x48 /* * From MS Media Status Notification Support Specification. For * older drives only. */ #define GPCMD_GET_MEDIA_STATUS 0xda /* Mode page codes for mode sense/set */ #define GPMODE_VENDOR_PAGE 0x00 #define GPMODE_R_W_ERROR_PAGE 0x01 #define GPMODE_WRITE_PARMS_PAGE 0x05 #define GPMODE_WCACHING_PAGE 0x08 #define GPMODE_AUDIO_CTL_PAGE 0x0e #define GPMODE_POWER_PAGE 0x1a #define GPMODE_FAULT_FAIL_PAGE 0x1c #define GPMODE_TO_PROTECT_PAGE 0x1d #define GPMODE_CAPABILITIES_PAGE 0x2a #define GPMODE_ALL_PAGES 0x3f /* Not in Mt. Fuji, but in ATAPI 2.6 -- deprecated now in favor * of MODE_SENSE_POWER_PAGE */ #define GPMODE_CDROM_PAGE 0x0d /* DVD struct types */ #define DVD_STRUCT_PHYSICAL 0x00 #define DVD_STRUCT_COPYRIGHT 0x01 #define DVD_STRUCT_DISCKEY 0x02 #define DVD_STRUCT_BCA 0x03 #define DVD_STRUCT_MANUFACT 0x04 struct dvd_layer { __u8 book_version : 4; __u8 book_type : 4; __u8 min_rate : 4; __u8 disc_size : 4; __u8 layer_type : 4; __u8 track_path : 1; __u8 nlayers : 2; __u8 track_density : 4; __u8 linear_density : 4; __u8 bca : 1; __u32 start_sector; __u32 end_sector; __u32 end_sector_l0; }; #define DVD_LAYERS 4 struct dvd_physical { __u8 type; __u8 layer_num; struct dvd_layer layer[DVD_LAYERS]; }; struct dvd_copyright { __u8 type; __u8 layer_num; __u8 cpst; __u8 rmi; }; struct dvd_disckey { __u8 type; unsigned agid : 2; __u8 value[2048]; }; struct dvd_bca { __u8 type; int len; __u8 value[188]; }; struct dvd_manufact { __u8 type; __u8 layer_num; int len; __u8 value[2048]; }; typedef union { __u8 type; struct dvd_physical physical; struct dvd_copyright copyright; struct dvd_disckey disckey; struct dvd_bca bca; struct dvd_manufact manufact; } dvd_struct; /* * DVD authentication ioctl */ /* Authentication states */ #define DVD_LU_SEND_AGID 0 #define DVD_HOST_SEND_CHALLENGE 1 #define DVD_LU_SEND_KEY1 2 #define DVD_LU_SEND_CHALLENGE 3 #define DVD_HOST_SEND_KEY2 4 /* Termination states */ #define DVD_AUTH_ESTABLISHED 5 #define DVD_AUTH_FAILURE 6 /* Other functions */ #define DVD_LU_SEND_TITLE_KEY 7 #define DVD_LU_SEND_ASF 8 #define DVD_INVALIDATE_AGID 9 #define DVD_LU_SEND_RPC_STATE 10 #define DVD_HOST_SEND_RPC_STATE 11 /* State data */ typedef __u8 dvd_key[5]; /* 40-bit value, MSB is first elem. */ typedef __u8 dvd_challenge[10]; /* 80-bit value, MSB is first elem. */ struct dvd_lu_send_agid { __u8 type; unsigned agid : 2; }; struct dvd_host_send_challenge { __u8 type; unsigned agid : 2; dvd_challenge chal; }; struct dvd_send_key { __u8 type; unsigned agid : 2; dvd_key key; }; struct dvd_lu_send_challenge { __u8 type; unsigned agid : 2; dvd_challenge chal; }; #define DVD_CPM_NO_COPYRIGHT 0 #define DVD_CPM_COPYRIGHTED 1 #define DVD_CP_SEC_NONE 0 #define DVD_CP_SEC_EXIST 1 #define DVD_CGMS_UNRESTRICTED 0 #define DVD_CGMS_SINGLE 2 #define DVD_CGMS_RESTRICTED 3 struct dvd_lu_send_title_key { __u8 type; unsigned agid : 2; dvd_key title_key; int lba; unsigned cpm : 1; unsigned cp_sec : 1; unsigned cgms : 2; }; struct dvd_lu_send_asf { __u8 type; unsigned agid : 2; unsigned asf : 1; }; struct dvd_host_send_rpcstate { __u8 type; __u8 pdrc; }; struct dvd_lu_send_rpcstate { __u8 type : 2; __u8 vra : 3; __u8 ucca : 3; __u8 region_mask; __u8 rpc_scheme; }; typedef union { __u8 type; struct dvd_lu_send_agid lsa; struct dvd_host_send_challenge hsc; struct dvd_send_key lsk; struct dvd_lu_send_challenge lsc; struct dvd_send_key hsk; struct dvd_lu_send_title_key lstk; struct dvd_lu_send_asf lsasf; struct dvd_host_send_rpcstate hrpcs; struct dvd_lu_send_rpcstate lrpcs; } dvd_authinfo; struct request_sense { #if defined(__BIG_ENDIAN_BITFIELD) __u8 valid : 1; __u8 error_code : 7; #elif defined(__LITTLE_ENDIAN_BITFIELD) __u8 error_code : 7; __u8 valid : 1; #endif __u8 segment_number; #if defined(__BIG_ENDIAN_BITFIELD) __u8 reserved1 : 2; __u8 ili : 1; __u8 reserved2 : 1; __u8 sense_key : 4; #elif defined(__LITTLE_ENDIAN_BITFIELD) __u8 sense_key : 4; __u8 reserved2 : 1; __u8 ili : 1; __u8 reserved1 : 2; #endif __u8 information[4]; __u8 add_sense_len; __u8 command_info[4]; __u8 asc; __u8 ascq; __u8 fruc; __u8 sks[3]; __u8 asb[46]; }; /* * feature profile */ #define CDF_RWRT 0x0020 /* "Random Writable" */ #define CDF_HWDM 0x0024 /* "Hardware Defect Management" */ #define CDF_MRW 0x0028 /* * media status bits */ #define CDM_MRW_NOTMRW 0 #define CDM_MRW_BGFORMAT_INACTIVE 1 #define CDM_MRW_BGFORMAT_ACTIVE 2 #define CDM_MRW_BGFORMAT_COMPLETE 3 /* * mrw address spaces */ #define MRW_LBA_DMA 0 #define MRW_LBA_GAA 1 /* * mrw mode pages (first is deprecated) -- probed at init time and * cdi->mrw_mode_page is set */ #define MRW_MODE_PC_PRE1 0x2c #define MRW_MODE_PC 0x03 struct mrw_feature_desc { __be16 feature_code; #if defined(__BIG_ENDIAN_BITFIELD) __u8 reserved1 : 2; __u8 feature_version : 4; __u8 persistent : 1; __u8 curr : 1; #elif defined(__LITTLE_ENDIAN_BITFIELD) __u8 curr : 1; __u8 persistent : 1; __u8 feature_version : 4; __u8 reserved1 : 2; #endif __u8 add_len; #if defined(__BIG_ENDIAN_BITFIELD) __u8 reserved2 : 7; __u8 write : 1; #elif defined(__LITTLE_ENDIAN_BITFIELD) __u8 write : 1; __u8 reserved2 : 7; #endif __u8 reserved3; __u8 reserved4; __u8 reserved5; }; /* cf. mmc4r02g.pdf 5.3.10 Random Writable Feature (0020h) pg 197 of 635 */ struct rwrt_feature_desc { __be16 feature_code; #if defined(__BIG_ENDIAN_BITFIELD) __u8 reserved1 : 2; __u8 feature_version : 4; __u8 persistent : 1; __u8 curr : 1; #elif defined(__LITTLE_ENDIAN_BITFIELD) __u8 curr : 1; __u8 persistent : 1; __u8 feature_version : 4; __u8 reserved1 : 2; #endif __u8 add_len; __u32 last_lba; __u32 block_size; __u16 blocking; #if defined(__BIG_ENDIAN_BITFIELD) __u8 reserved2 : 7; __u8 page_present : 1; #elif defined(__LITTLE_ENDIAN_BITFIELD) __u8 page_present : 1; __u8 reserved2 : 7; #endif __u8 reserved3; }; typedef struct { __be16 disc_information_length; #if defined(__BIG_ENDIAN_BITFIELD) __u8 reserved1 : 3; __u8 erasable : 1; __u8 border_status : 2; __u8 disc_status : 2; #elif defined(__LITTLE_ENDIAN_BITFIELD) __u8 disc_status : 2; __u8 border_status : 2; __u8 erasable : 1; __u8 reserved1 : 3; #else #error "Please fix <asm/byteorder.h>" #endif __u8 n_first_track; __u8 n_sessions_lsb; __u8 first_track_lsb; __u8 last_track_lsb; #if defined(__BIG_ENDIAN_BITFIELD) __u8 did_v : 1; __u8 dbc_v : 1; __u8 uru : 1; __u8 reserved2 : 2; __u8 dbit : 1; __u8 mrw_status : 2; #elif defined(__LITTLE_ENDIAN_BITFIELD) __u8 mrw_status : 2; __u8 dbit : 1; __u8 reserved2 : 2; __u8 uru : 1; __u8 dbc_v : 1; __u8 did_v : 1; #endif __u8 disc_type; __u8 n_sessions_msb; __u8 first_track_msb; __u8 last_track_msb; __u32 disc_id; __u32 lead_in; __u32 lead_out; __u8 disc_bar_code[8]; __u8 reserved3; __u8 n_opc; } disc_information; typedef struct { __be16 track_information_length; __u8 track_lsb; __u8 session_lsb; __u8 reserved1; #if defined(__BIG_ENDIAN_BITFIELD) __u8 reserved2 : 2; __u8 damage : 1; __u8 copy : 1; __u8 track_mode : 4; __u8 rt : 1; __u8 blank : 1; __u8 packet : 1; __u8 fp : 1; __u8 data_mode : 4; __u8 reserved3 : 6; __u8 lra_v : 1; __u8 nwa_v : 1; #elif defined(__LITTLE_ENDIAN_BITFIELD) __u8 track_mode : 4; __u8 copy : 1; __u8 damage : 1; __u8 reserved2 : 2; __u8 data_mode : 4; __u8 fp : 1; __u8 packet : 1; __u8 blank : 1; __u8 rt : 1; __u8 nwa_v : 1; __u8 lra_v : 1; __u8 reserved3 : 6; #endif __be32 track_start; __be32 next_writable; __be32 free_blocks; __be32 fixed_packet_size; __be32 track_size; __be32 last_rec_address; } track_information; struct feature_header { __u32 data_len; __u8 reserved1; __u8 reserved2; __u16 curr_profile; }; struct mode_page_header { __be16 mode_data_length; __u8 medium_type; __u8 reserved1; __u8 reserved2; __u8 reserved3; __be16 desc_length; }; /* removable medium feature descriptor */ struct rm_feature_desc { __be16 feature_code; #if defined(__BIG_ENDIAN_BITFIELD) __u8 reserved1:2; __u8 feature_version:4; __u8 persistent:1; __u8 curr:1; #elif defined(__LITTLE_ENDIAN_BITFIELD) __u8 curr:1; __u8 persistent:1; __u8 feature_version:4; __u8 reserved1:2; #endif __u8 add_len; #if defined(__BIG_ENDIAN_BITFIELD) __u8 mech_type:3; __u8 load:1; __u8 eject:1; __u8 pvnt_jmpr:1; __u8 dbml:1; __u8 lock:1; #elif defined(__LITTLE_ENDIAN_BITFIELD) __u8 lock:1; __u8 dbml:1; __u8 pvnt_jmpr:1; __u8 eject:1; __u8 load:1; __u8 mech_type:3; #endif __u8 reserved2; __u8 reserved3; __u8 reserved4; }; #endif /* _UAPI_LINUX_CDROM_H */