linux/include/linux/pktcdvd.h

/*
 * Copyright (C) 2000 Jens Axboe <[email protected]>
 * Copyright (C) 2001-2004 Peter Osterlund <[email protected]>
 *
 * May be copied or modified under the terms of the GNU General Public
 * License.  See linux/COPYING for more information.
 *
 * Packet writing layer for ATAPI and SCSI CD-R, CD-RW, DVD-R, and
 * DVD-RW devices.
 *
 */
#ifndef __PKTCDVD_H
#define __PKTCDVD_H

#include <linux/blkdev.h>
#include <linux/completion.h>
#include <linux/cdrom.h>
#include <linux/kobject.h>
#include <linux/sysfs.h>
#include <linux/mempool.h>
#include <uapi/linux/pktcdvd.h>

/* default bio write queue congestion marks */
#define PKT_WRITE_CONGESTION_ON
#define PKT_WRITE_CONGESTION_OFF


struct packet_settings
{};

/*
 * Very crude stats for now
 */
struct packet_stats
{};

struct packet_cdrw
{};

/*
 * Switch to high speed reading after reading this many kilobytes
 * with no interspersed writes.
 */
#define HI_SPEED_SWITCH

struct packet_iosched
{};

/*
 * 32 buffers of 2048 bytes
 */
#if (PAGE_SIZE % CD_FRAMESIZE) != 0
#error "PAGE_SIZE must be a multiple of CD_FRAMESIZE"
#endif
#define PACKET_MAX_SIZE
#define FRAMES_PER_PAGE
#define PACKET_MAX_SECTORS

enum packet_data_state {};

/*
 * Information needed for writing a single packet
 */
struct pktcdvd_device;

struct packet_data
{};

struct pkt_rb_node {};

struct packet_stacked_data
{};
#define PSD_POOL_SIZE

struct pktcdvd_device
{};

#endif /* __PKTCDVD_H */