xorriso  1.5.4.pl02
About: GNU xorriso creates, loads, manipulates and writes ISO 9660 filesystem images with Rock Ridge extensions. It is suitable for incremental data backup and for production of bootable ISO 9660 images. GNU xorriso is a statical compilation of the libraries libburn, libisofs, libisoburn, and libjte.
  Fossies Dox: xorriso-1.5.4.pl02.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

burn_drive Struct Reference

#include <transport.h>

Collaboration diagram for burn_drive:
[legend]

Data Fields

int drive_role
 
int bus_no
 
int host
 
int id
 
int channel
 
int lun
 
char * devname
 
int phys_if_std
 
char phys_if_name [80]
 
int just_a_dummy
 
int global_index
 
pthread_mutex_t access_lock
 
enum burn_disc_status status
 
int erasable
 
int current_profile
 
char current_profile_text [80]
 
int current_is_cd_profile
 
int current_is_supported_profile
 
int current_is_guessed_profile
 
unsigned char all_profiles [256]
 
int num_profiles
 
struct burn_feature_descrfeatures
 
int current_has_feat21h
 
int was_feat21h_failure
 
int current_feat21h_link_size
 
int current_feat23h_byte4
 
int current_feat23h_byte8
 
int current_feat2fh_byte4
 
char * drive_serial_number
 
int drive_serial_number_len
 
char * media_serial_number
 
int media_serial_number_len
 
int next_track_damaged
 
int needs_close_session
 
int needs_sync_cache
 
int do_stream_recording
 
int stream_recording_start
 
int last_lead_in
 
int last_lead_out
 
int num_opc_tables
 
int bg_format_status
 
int disc_type
 
unsigned int disc_id
 
char disc_bar_code [9]
 
int disc_app_code
 
int disc_info_valid
 
int format_descr_type
 
off_t format_curr_max_size
 
unsigned int format_curr_blsas
 
int best_format_type
 
off_t best_format_size
 
int num_format_descr
 
struct burn_format_descr format_descriptors [32]
 
volatile int released
 
int silent_on_scsi_error
 
int had_particular_error
 
int stdio_fd
 
int nwa
 
int alba
 
int rlba
 
int start_lba
 
int end_lba
 
int do_simulate
 
int complete_sessions
 
int state_of_last_session
 
int incomplete_sessions
 
int last_track_no
 
int sent_default_page_05
 
off_t media_capacity_remaining
 
int media_lba_limit
 
int media_read_capacity
 
int mr_capacity_trusted
 
int role_5_nwa
 
int do_no_immed
 
int toc_temp
 
struct burn_discdisc
 
int block_types [4]
 
struct bufferbuffer
 
struct burn_progress progress
 
struct command casual_command
 
off_t pessimistic_buffer_free
 
int pbf_altered
 
int wait_for_buffer_free
 
int nominal_write_speed
 
unsigned int wfb_min_usec
 
unsigned int wfb_max_usec
 
unsigned int wfb_timeout_sec
 
unsigned int wfb_min_percent
 
unsigned int wfb_max_percent
 
unsigned int pessimistic_writes
 
unsigned int waited_writes
 
unsigned int waited_tries
 
unsigned int waited_usec
 
volatile int cancel
 
enum burn_drive_status busy
 
struct burn_write_optswrite_opts
 
pid_t thread_pid
 
int thread_pid_valid
 
pthread_t thread_tid
 
unsigned int write_retry_count
 
int medium_state_changed
 
int set_streaming_exact_bit
 
int set_streaming_err
 
int(* grab )(struct burn_drive *)
 
int(* release )(struct burn_drive *)
 
int(* drive_is_open )(struct burn_drive *)
 
int(* issue_command )(struct burn_drive *, struct command *)
 
void(* erase )(struct burn_drive *, int)
 
void(* getcaps )(struct burn_drive *)
 
void(* read_atip )(struct burn_drive *)
 
int(* write )(struct burn_drive *, int, struct buffer *)
 
void(* read_toc )(struct burn_drive *)
 
void(* lock )(struct burn_drive *)
 
void(* unlock )(struct burn_drive *)
 
void(* eject )(struct burn_drive *)
 
void(* load )(struct burn_drive *)
 
int(* start_unit )(struct burn_drive *)
 
int(* stop_unit )(struct burn_drive *)
 
int is_stopped
 
void(* read_disc_info )(struct burn_drive *)
 
int(* read_cd )(struct burn_drive *, int start, int len, int sec_type, int main_ch, const struct burn_read_opts *, struct buffer *, int flag)
 
void(* perform_opc )(struct burn_drive *)
 
void(* set_speed )(struct burn_drive *, int, int)
 
void(* send_parameters )(struct burn_drive *, const struct burn_read_opts *)
 
void(* send_write_parameters )(struct burn_drive *, struct burn_session *, int tno, const struct burn_write_opts *)
 
int(* send_cue_sheet )(struct burn_drive *, struct cue_sheet *)
 
int(* reserve_track )(struct burn_drive *d, off_t size)
 
void(* sync_cache )(struct burn_drive *)
 
int(* get_erase_progress )(struct burn_drive *)
 
int(* get_nwa )(struct burn_drive *, int trackno, int *lba, int *nwa)
 
int(* read_multi_session_c1 )(struct burn_drive *d, int *trackno, int *start)
 
void(* close_disc )(struct burn_write_opts *o)
 
void(* close_session )(struct burn_write_opts *o)
 
void(* close_track_session )(struct burn_drive *d, int session, int track)
 
int(* test_unit_ready )(struct burn_drive *d)
 
void(* probe_write_modes )(struct burn_drive *d)
 
struct params params
 
struct burn_scsi_inquiry_dataidata
 
struct scsi_mode_datamdata
 
int toc_entries
 
struct burn_toc_entrytoc_entry
 
int(* read_buffer_capacity )(struct burn_drive *d)
 
int(* format_unit )(struct burn_drive *d, off_t size, int flag)
 
int(* read_format_capacities )(struct burn_drive *d, int top_wanted)
 
int(* read_10 )(struct burn_drive *d, int start, int amount, struct buffer *buf)
 

Detailed Description

Gets initialized in enumerate_common() and burn_drive_register()

Definition at line 168 of file transport.h.

Field Documentation

◆ access_lock

pthread_mutex_t burn_drive::access_lock

Definition at line 202 of file transport.h.

Referenced by burn_drive_register().

◆ alba

◆ all_profiles

unsigned char burn_drive::all_profiles[256]

◆ best_format_size

off_t burn_drive::best_format_size

◆ best_format_type

int burn_drive::best_format_type

Definition at line 312 of file transport.h.

Referenced by mmc_format_unit(), and mmc_read_format_capacities_al().

◆ bg_format_status

int burn_drive::bg_format_status

◆ block_types

◆ buffer

◆ bus_no

int burn_drive::bus_no

◆ busy

◆ cancel

◆ casual_command

◆ channel

int burn_drive::channel

Definition at line 183 of file transport.h.

Referenced by burn_drive_obtain_scsi_adr(), burn_scsi_setup_drive(), and sg_grab().

◆ close_disc

void(* burn_drive::close_disc) (struct burn_write_opts *o)

Definition at line 512 of file transport.h.

Referenced by mmc_setup_drive().

◆ close_session

void(* burn_drive::close_session) (struct burn_write_opts *o)

Definition at line 513 of file transport.h.

Referenced by mmc_setup_drive().

◆ close_track_session

◆ complete_sessions

int burn_drive::complete_sessions

◆ current_feat21h_link_size

int burn_drive::current_feat21h_link_size

Definition at line 237 of file transport.h.

Referenced by mmc_compose_mode_page_5(), mmc_get_configuration_al(), and mmc_setup_drive().

◆ current_feat23h_byte4

int burn_drive::current_feat23h_byte4

◆ current_feat23h_byte8

int burn_drive::current_feat23h_byte8

Definition at line 249 of file transport.h.

Referenced by mmc_get_configuration_al(), and mmc_setup_drive().

◆ current_feat2fh_byte4

int burn_drive::current_feat2fh_byte4

Definition at line 259 of file transport.h.

Referenced by burn_drive_mark_unready(), mmc_get_configuration_al(), and mmc_setup_drive().

◆ current_has_feat21h

int burn_drive::current_has_feat21h

◆ current_is_cd_profile

◆ current_is_guessed_profile

int burn_drive::current_is_guessed_profile

◆ current_is_supported_profile

int burn_drive::current_is_supported_profile

◆ current_profile

◆ current_profile_text

◆ devname

◆ disc

◆ disc_app_code

int burn_drive::disc_app_code

Definition at line 301 of file transport.h.

Referenced by burn_disc_get_cd_info(), mmc_read_disc_info_al(), and mmc_setup_drive().

◆ disc_bar_code

char burn_drive::disc_bar_code[9]

Definition at line 300 of file transport.h.

Referenced by burn_disc_get_cd_info(), mmc_read_disc_info_al(), and mmc_setup_drive().

◆ disc_id

unsigned int burn_drive::disc_id

Definition at line 299 of file transport.h.

Referenced by burn_disc_get_cd_info(), mmc_read_disc_info_al(), and mmc_setup_drive().

◆ disc_info_valid

int burn_drive::disc_info_valid

Definition at line 302 of file transport.h.

Referenced by burn_disc_get_cd_info(), mmc_read_disc_info_al(), and mmc_setup_drive().

◆ disc_type

int burn_drive::disc_type

Definition at line 298 of file transport.h.

Referenced by burn_disc_get_cd_info(), mmc_read_disc_info_al(), and mmc_setup_drive().

◆ do_no_immed

◆ do_simulate

int burn_drive::do_simulate

◆ do_stream_recording

int burn_drive::do_stream_recording

◆ drive_is_open

int(* burn_drive::drive_is_open) (struct burn_drive *)

Definition at line 457 of file transport.h.

Referenced by burn_drive_is_open(), and enumerate_common().

◆ drive_role

◆ drive_serial_number

char* burn_drive::drive_serial_number

◆ drive_serial_number_len

int burn_drive::drive_serial_number_len

◆ eject

void(* burn_drive::eject) (struct burn_drive *)

Definition at line 472 of file transport.h.

Referenced by burn_drive_release_fl(), and sbc_setup_drive().

◆ end_lba

◆ erasable

◆ erase

void(* burn_drive::erase) (struct burn_drive *, int)

Definition at line 462 of file transport.h.

Referenced by burn_disc_erase_sync(), and mmc_setup_drive().

◆ features

◆ format_curr_blsas

unsigned int burn_drive::format_curr_blsas

Definition at line 311 of file transport.h.

Referenced by burn_disc_get_formats(), and mmc_read_format_capacities_al().

◆ format_curr_max_size

off_t burn_drive::format_curr_max_size

◆ format_descr_type

int burn_drive::format_descr_type

◆ format_descriptors

struct burn_format_descr burn_drive::format_descriptors[32]

◆ format_unit

int(* burn_drive::format_unit) (struct burn_drive *d, off_t size, int flag)

◆ get_erase_progress

int(* burn_drive::get_erase_progress) (struct burn_drive *)

Definition at line 498 of file transport.h.

Referenced by burn_disc_erase_sync(), burn_disc_format_sync(), and spc_setup_drive().

◆ get_nwa

◆ getcaps

void(* burn_drive::getcaps) (struct burn_drive *)

Definition at line 463 of file transport.h.

Referenced by burn_drive_finish_enum(), burn_drive_inquire_media(), and spc_setup_drive().

◆ global_index

int burn_drive::global_index

Tells the index in scanned burn_drive_info array. -1 if fallen victim to burn_drive_info_forget()

Definition at line 200 of file transport.h.

Referenced by burn_abort_5(), burn_disc_close_damaged(), burn_disc_close_session_dvd_minus_r(), burn_disc_close_track_dvd_minus_r(), burn_disc_close_track_dvd_plus_r(), burn_disc_erase(), burn_disc_finalize_dvd_plus_r(), burn_disc_format(), burn_disc_format_sync(), burn_disc_get_msc1(), burn_disc_open_track_dvd_minus_r(), burn_disc_open_track_dvd_plus_r(), burn_disc_read_atip(), burn_disc_setup_dvd_minus_rw(), burn_disc_track_lba_nwa(), burn_disc_write(), burn_disc_write_sync(), burn_drive_d_get_adr(), burn_drive_finish_enum(), burn_drive_free(), burn_drive_grab(), burn_drive_info_free(), burn_drive_is_listed(), burn_drive_is_occupied(), burn_drive_re_assess(), burn_drive_register(), burn_drive_release_fl(), burn_drive_reset_simulate(), burn_drive_scan_and_grab(), burn_drive_scan_sync(), burn_drive_set_stream_recording(), burn_drive_unregister(), burn_drives_are_clear(), burn_dvd_write_session(), burn_dvd_write_sync(), burn_msgs_submit(), burn_precheck_write(), burn_random_access_write(), burn_read_audio(), burn_read_data(), burn_stdio_mmc_write(), burn_stdio_open_write(), burn_stdio_read(), burn_stdio_seek(), burn_stdio_sync_cache(), burn_stdio_write(), burn_write_close_session(), burn_write_close_track(), burn_write_opts_set_leadin_text(), burn_write_track(), burn_write_track_minsize(), evaluate_transport_success(), mmc_close(), mmc_eval_read_error(), mmc_fake_toc(), mmc_format_unit(), mmc_function_spy(), mmc_get_configuration_al(), mmc_get_nwa(), mmc_read_10(), mmc_read_disc_info_al(), mmc_read_toc_al(), mmc_read_toc_fmt0_al(), mmc_set_streaming(), mmc_sync_cache(), mmc_wait_for_buffer_free(), mmc_write(), react_on_drive_loss(), scsi_eval_cmd_outcome(), scsi_notify_error(), sector_headers(), sg_close_drive(), sg_grab(), sg_issue_command(), sg_lock(), sg_os_revalidate_disc(), spc_report_async_error(), spc_sense_caps_al(), spc_wait_unit_attention(), and write_disc_worker_func().

◆ grab

int(* burn_drive::grab) (struct burn_drive *)

Definition at line 453 of file transport.h.

Referenced by burn_drive_finish_enum(), burn_drive_grab(), and enumerate_common().

◆ had_particular_error

int burn_drive::had_particular_error

◆ host

int burn_drive::host

Definition at line 181 of file transport.h.

Referenced by burn_drive_obtain_scsi_adr(), burn_scsi_setup_drive(), and sg_grab().

◆ id

int burn_drive::id

Definition at line 182 of file transport.h.

Referenced by burn_drive_obtain_scsi_adr(), burn_scsi_setup_drive(), and sg_grab().

◆ idata

◆ incomplete_sessions

int burn_drive::incomplete_sessions

◆ is_stopped

int burn_drive::is_stopped

Definition at line 478 of file transport.h.

Referenced by mmc_start_if_needed(), sbc_setup_drive(), sbc_start_unit(), and sbc_stop_unit().

◆ issue_command

◆ just_a_dummy

int burn_drive::just_a_dummy

Definition at line 192 of file transport.h.

◆ last_lead_in

int burn_drive::last_lead_in

Definition at line 294 of file transport.h.

Referenced by mmc_read_disc_info_al(), and mmc_setup_drive().

◆ last_lead_out

int burn_drive::last_lead_out

Definition at line 295 of file transport.h.

Referenced by mmc_read_disc_info_al(), and mmc_setup_drive().

◆ last_track_no

◆ load

void(* burn_drive::load) (struct burn_drive *)

Definition at line 473 of file transport.h.

Referenced by burn_drive_grab(), burn_drive_scan_and_grab(), and sbc_setup_drive().

◆ lock

void(* burn_drive::lock) (struct burn_drive *)

Definition at line 470 of file transport.h.

Referenced by burn_drive_grab(), and spc_setup_drive().

◆ lun

int burn_drive::lun

Definition at line 184 of file transport.h.

Referenced by burn_drive_obtain_scsi_adr(), burn_scsi_setup_drive(), and sg_grab().

◆ mdata

◆ media_capacity_remaining

◆ media_lba_limit

int burn_drive::media_lba_limit

◆ media_read_capacity

◆ media_serial_number

char* burn_drive::media_serial_number

◆ media_serial_number_len

int burn_drive::media_serial_number_len

◆ medium_state_changed

int burn_drive::medium_state_changed

◆ mr_capacity_trusted

int burn_drive::mr_capacity_trusted

◆ needs_close_session

int burn_drive::needs_close_session

◆ needs_sync_cache

int burn_drive::needs_sync_cache

◆ next_track_damaged

int burn_drive::next_track_damaged

◆ nominal_write_speed

◆ num_format_descr

int burn_drive::num_format_descr

◆ num_opc_tables

int burn_drive::num_opc_tables

◆ num_profiles

◆ nwa

◆ params

struct params burn_drive::params

◆ pbf_altered

◆ perform_opc

void(* burn_drive::perform_opc) (struct burn_drive *)

Definition at line 485 of file transport.h.

Referenced by burn_disc_open_track_dvd_minus_r(), and mmc_setup_drive().

◆ pessimistic_buffer_free

off_t burn_drive::pessimistic_buffer_free

◆ pessimistic_writes

unsigned int burn_drive::pessimistic_writes

◆ phys_if_name

char burn_drive::phys_if_name[80]

Definition at line 189 of file transport.h.

Referenced by mmc_get_configuration_al(), and mmc_setup_drive().

◆ phys_if_std

int burn_drive::phys_if_std

Definition at line 188 of file transport.h.

Referenced by mmc_get_configuration_al(), and mmc_setup_drive().

◆ probe_write_modes

void(* burn_drive::probe_write_modes) (struct burn_drive *d)

Definition at line 520 of file transport.h.

Referenced by burn_drive_probe_cd_write_modes(), drive_getcaps(), and spc_setup_drive().

◆ progress

◆ read_10

int(* burn_drive::read_10) (struct burn_drive *d, int start, int amount, struct buffer *buf)

Definition at line 539 of file transport.h.

Referenced by burn_read_data(), mmc_setup_drive(), and retry_mmc_read().

◆ read_atip

void(* burn_drive::read_atip) (struct burn_drive *)

Definition at line 466 of file transport.h.

Referenced by burn_disc_read_atip(), and mmc_setup_drive().

◆ read_buffer_capacity

int(* burn_drive::read_buffer_capacity) (struct burn_drive *d)

Definition at line 528 of file transport.h.

Referenced by burn_dvd_write_track(), burn_write_track(), and mmc_setup_drive().

◆ read_cd

int(* burn_drive::read_cd) (struct burn_drive *, int start, int len, int sec_type, int main_ch, const struct burn_read_opts *, struct buffer *, int flag)

Definition at line 481 of file transport.h.

Referenced by burn_read_audio(), and mmc_setup_drive().

◆ read_disc_info

void(* burn_drive::read_disc_info) (struct burn_drive *)

Definition at line 480 of file transport.h.

Referenced by burn_drive_inquire_media(), and spc_setup_drive().

◆ read_format_capacities

int(* burn_drive::read_format_capacities) (struct burn_drive *d, int top_wanted)

◆ read_multi_session_c1

int(* burn_drive::read_multi_session_c1) (struct burn_drive *d, int *trackno, int *start)

Definition at line 503 of file transport.h.

Referenced by burn_disc_get_msc1(), and mmc_setup_drive().

◆ read_toc

void(* burn_drive::read_toc) (struct burn_drive *)

Definition at line 469 of file transport.h.

Referenced by burn_drive_inquire_media(), and mmc_setup_drive().

◆ release

int(* burn_drive::release) (struct burn_drive *)

◆ released

◆ reserve_track

int(* burn_drive::reserve_track) (struct burn_drive *d, off_t size)

◆ rlba

◆ role_5_nwa

◆ send_cue_sheet

int(* burn_drive::send_cue_sheet) (struct burn_drive *, struct cue_sheet *)

Definition at line 492 of file transport.h.

Referenced by burn_disc_write_sync(), and mmc_setup_drive().

◆ send_parameters

void(* burn_drive::send_parameters) (struct burn_drive *, const struct burn_read_opts *)

Definition at line 487 of file transport.h.

Referenced by burn_disc_read(), and spc_setup_drive().

◆ send_write_parameters

◆ sent_default_page_05

int burn_drive::sent_default_page_05

◆ set_speed

void(* burn_drive::set_speed) (struct burn_drive *, int, int)

◆ set_streaming_err

int burn_drive::set_streaming_err

Definition at line 450 of file transport.h.

Referenced by burn_drive_register(), burn_drive_set_speed_exact(), and mmc_set_streaming().

◆ set_streaming_exact_bit

int burn_drive::set_streaming_exact_bit

◆ silent_on_scsi_error

◆ start_lba

◆ start_unit

int(* burn_drive::start_unit) (struct burn_drive *)

◆ state_of_last_session

int burn_drive::state_of_last_session

Definition at line 350 of file transport.h.

Referenced by burn_dvd_write_session(), mmc_read_disc_info_al(), and mmc_setup_drive().

◆ status

◆ stdio_fd

◆ stop_unit

int(* burn_drive::stop_unit) (struct burn_drive *)

Definition at line 477 of file transport.h.

Referenced by burn_drive_snooze(), and sbc_setup_drive().

◆ stream_recording_start

int burn_drive::stream_recording_start

Definition at line 291 of file transport.h.

Referenced by burn_drive_set_stream_recording(), burn_setup_drive(), and mmc_write().

◆ sync_cache

◆ test_unit_ready

int(* burn_drive::test_unit_ready) (struct burn_drive *d)

Definition at line 519 of file transport.h.

Referenced by burn_disc_erase_sync(), burn_disc_format_sync(), and spc_setup_drive().

◆ thread_pid

pid_t burn_drive::thread_pid

Definition at line 433 of file transport.h.

Referenced by burn_drive_register(), and write_disc_worker_func().

◆ thread_pid_valid

int burn_drive::thread_pid_valid

Definition at line 434 of file transport.h.

Referenced by burn_drive_register(), and write_disc_worker_func().

◆ thread_tid

pthread_t burn_drive::thread_tid

Definition at line 436 of file transport.h.

Referenced by burn_drive_register(), and write_disc_worker_func().

◆ toc_entries

◆ toc_entry

◆ toc_temp

int burn_drive::toc_temp

Definition at line 391 of file transport.h.

Referenced by burn_disc_write_sync(), burn_drive_register(), and subcode_toc().

◆ unlock

void(* burn_drive::unlock) (struct burn_drive *)

◆ wait_for_buffer_free

int burn_drive::wait_for_buffer_free

◆ waited_tries

unsigned int burn_drive::waited_tries

◆ waited_usec

unsigned int burn_drive::waited_usec

◆ waited_writes

unsigned int burn_drive::waited_writes

◆ was_feat21h_failure

int burn_drive::was_feat21h_failure

◆ wfb_max_percent

unsigned int burn_drive::wfb_max_percent

◆ wfb_max_usec

unsigned int burn_drive::wfb_max_usec

◆ wfb_min_percent

unsigned int burn_drive::wfb_min_percent

◆ wfb_min_usec

unsigned int burn_drive::wfb_min_usec

◆ wfb_timeout_sec

unsigned int burn_drive::wfb_timeout_sec

◆ write

◆ write_opts

◆ write_retry_count

unsigned int burn_drive::write_retry_count

Definition at line 439 of file transport.h.

Referenced by burn_disc_init_write_status(), burn_disc_write_sync(), and mmc_write().


The documentation for this struct was generated from the following file: