Lines Matching defs:un

57 #define	ST_DO_ERRSTATS(un, x)  \  argument
84 #define ST_GET_CONTIG_MEM_HEAD(un, cp, len, big_enough) { \ argument
872 struct scsi_tape *un; in st_attach() local
1222 struct scsi_tape *un; in st_detach() local
1574 struct scsi_tape *un; in st_info() local
1603 struct scsi_tape *un = NULL; in st_doattach() local
1846 st_known_tape_type(struct scsi_tape *un) in st_known_tape_type()
1984 st_validate_conf_data(struct scsi_tape *un, int *list, int list_len, in st_validate_conf_data()
2073 st_get_conf_from_st_dot_conf(struct scsi_tape *un, char *vidpid, in st_get_conf_from_st_dot_conf()
2242 st_get_conf_from_st_conf_dot_c(struct scsi_tape *un, char *vidpid, in st_get_conf_from_st_conf_dot_c()
2271 st_get_conf_from_tape_drive(struct scsi_tape *un, char *vidpid, in st_get_conf_from_tape_drive()
2438 st_get_densities_from_tape_drive(struct scsi_tape *un, in st_get_densities_from_tape_drive()
2591 st_get_timeout_values_from_tape_drive(struct scsi_tape *un, in st_get_timeout_values_from_tape_drive()
2681 st_get_timeouts_value(struct scsi_tape *un, uchar_t option_code, in st_get_timeouts_value()
2747 st_get_default_conf(struct scsi_tape *un, char *vidpid, struct st_drivetype *dp) in st_get_default_conf()
2952 st_tape_init(struct scsi_tape *un) in st_tape_init()
3866 struct scsi_tape *un; in st_minphys() local
4103 struct scsi_tape *un; in st_queued_strategy() local
4459 struct scsi_tape *un; in st_strategy() local
4514 st_space_fmks(struct scsi_tape *un, int64_t count) in st_space_fmks()
4608 st_find_eod(struct scsi_tape *un) in st_find_eod()
4851 st_wait_for_io(struct scsi_tape *un) in st_wait_for_io()
5558 st_mtioctop(struct scsi_tape *un, intptr_t arg, int flag) in st_mtioctop()
5661 st_mtiocltop(struct scsi_tape *un, intptr_t arg, int flag) in st_mtiocltop()
5681 st_do_mtioctop(struct scsi_tape *un, struct mtlop *mtop) in st_do_mtioctop()
6193 st_uscsi_cmd(struct scsi_tape *un, struct uscsi_cmd *ucmd, int flag) in st_uscsi_cmd()
6403 st_start_dump(struct scsi_tape *un, struct buf *bp) in st_start_dump()
6444 st_start(struct scsi_tape *un) in st_start()
6660 st_handle_start_busy(struct scsi_tape *un, struct buf *bp, in st_handle_start_busy()
6727 struct scsi_tape *un = (struct scsi_tape *)arg; in st_runout() local
6816 st_done_and_mutex_exit(struct scsi_tape *un, struct buf *bp) in st_done_and_mutex_exit()
6945 st_flush(struct scsi_tape *un) in st_flush()
7011 st_determine_generic(struct scsi_tape *un) in st_determine_generic()
7216 st_determine_density(struct scsi_tape *un, int rw) in st_determine_density()
7287 st_get_density(struct scsi_tape *un) in st_get_density()
7380 st_set_density(struct scsi_tape *un) in st_set_density()
7427 st_loadtape(struct scsi_tape *un) in st_loadtape()
7475 struct scsi_tape *un; in st_test_append() local
7594 st_cmd(struct scsi_tape *un, int com, int64_t count, int wait) in st_cmd()
7674 st_setup_cmd(struct scsi_tape *un, buf_t *bp, int com, int64_t count) in st_setup_cmd()
7904 st_set_compression(struct scsi_tape *un) in st_set_compression()
8007 st_set_devconfig_page(struct scsi_tape *un, int compression_on) in st_set_devconfig_page()
8073 st_set_datacomp_page(struct scsi_tape *un, int compression_on) in st_set_datacomp_page()
8147 st_modesense(struct scsi_tape *un) in st_modesense()
8193 st_modeselect(struct scsi_tape *un) in st_modeselect()
8317 st_gen_mode_sense(struct scsi_tape *un, ubufunc_t ubf, int page, in st_gen_mode_sense()
8355 st_gen_mode_select(struct scsi_tape *un, ubufunc_t ubf, in st_gen_mode_select()
8405 st_read_block_limits(struct scsi_tape *un, struct read_blklim *read_blk) in st_read_block_limits()
8438 st_report_density_support(struct scsi_tape *un, uchar_t *density_data, in st_report_density_support()
8474 st_report_supported_operation(struct scsi_tape *un, uchar_t *oper_data, in st_report_supported_operation()
8529 st_change_block_size(struct scsi_tape *un, uint32_t nblksz) in st_change_block_size()
8602 st_init(struct scsi_tape *un) in st_init()
8628 st_make_cmd(struct scsi_tape *un, struct buf *bp, int (*func)(caddr_t)) in st_make_cmd()
9024 st_make_uscsi_cmd(struct scsi_tape *un, struct uscsi_cmd *ucmd, in st_make_uscsi_cmd()
9116 struct scsi_tape *un = arg; in st_intr_restart() local
9387 struct scsi_tape *un; in st_media_watch_cb() local
9554 struct scsi_tape *un = arg; in st_delayed_cv_broadcast() local
9572 struct scsi_tape *un = arg; in st_start_restart() local
9597 struct scsi_tape *un; in st_intr() local
9945 st_handle_incomplete(struct scsi_tape *un, struct buf *bp) in st_handle_incomplete()
10122 st_handle_intr_busy(struct scsi_tape *un, struct buf *bp, in st_handle_intr_busy()
10190 st_get_error_entry(struct scsi_tape *un, intptr_t arg, int flag) in st_get_error_entry()
10397 st_update_error_stack(struct scsi_tape *un, struct scsi_pkt *pkt, in st_update_error_stack()
10457 st_empty_error_stack(struct scsi_tape *un) in st_empty_error_stack()
10487 st_handle_sense(struct scsi_tape *un, struct buf *bp, tapepos_t *pos) in st_handle_sense()
10557 st_handle_autosense(struct scsi_tape *un, struct buf *bp, tapepos_t *pos) in st_handle_autosense()
10634 st_decode_sense(struct scsi_tape *un, struct buf *bp, int amt, in st_decode_sense()
11318 st_handle_intr_retry_lcmd(struct scsi_tape *un, struct buf *bp) in st_handle_intr_retry_lcmd()
11390 st_wrongtapetype(struct scsi_tape *un) in st_wrongtapetype()
11435 st_check_error(struct scsi_tape *un, struct scsi_pkt *pkt) in st_check_error()
11547 st_calc_bnum(struct scsi_tape *un, struct buf *bp, struct scsi_pkt *pkt) in st_calc_bnum()
11682 st_set_state(struct scsi_tape *un, struct buf *bp) in st_set_state()
12196 st_set_pe_errno(struct scsi_tape *un) in st_set_pe_errno()
12241 st_hba_unflush(struct scsi_tape *un) in st_hba_unflush()
12284 struct scsi_tape *un; in st_print_cdb() local
12349 st_debug_cmds(struct scsi_tape *un, int com, int count, int wait) in st_debug_cmds()
12369 struct scsi_tape *un; in st_dev_name() local
12748 st_turn_pe_on(struct scsi_tape *un) in st_turn_pe_on()
12791 st_turn_pe_off(struct scsi_tape *un) in st_turn_pe_off()
12819 st_clear_pe(struct scsi_tape *un) in st_clear_pe()
12836 st_set_pe_flag(struct scsi_tape *un) in st_set_pe_flag()
12850 st_do_reserve(struct scsi_tape *un) in st_do_reserve()
12892 st_check_cdb_for_need_to_reserve(struct scsi_tape *un, uchar_t *cdb) in st_check_cdb_for_need_to_reserve()
12944 st_check_cmd_for_need_to_reserve(struct scsi_tape *un, uchar_t cmd, int cnt) in st_check_cmd_for_need_to_reserve()
12995 st_reserve_release(struct scsi_tape *un, int cmd, ubufunc_t ubf) in st_reserve_release()
13054 st_take_ownership(struct scsi_tape *un, ubufunc_t ubf) in st_take_ownership()
13106 st_create_errstats(struct scsi_tape *un, int instance) in st_create_errstats()
13165 st_validate_tapemarks(struct scsi_tape *un, ubufunc_t ubf, tapepos_t *pos) in st_validate_tapemarks()
13293 st_check_asc_ascq(struct scsi_tape *un) in st_check_asc_ascq()
13320 st_logpage_supported(struct scsi_tape *un, uchar_t page) in st_logpage_supported()
13397 st_check_clean_bit(struct scsi_tape *un) in st_check_clean_bit()
13494 st_check_sequential_clean_bit(struct scsi_tape *un) in st_check_sequential_clean_bit()
13575 st_check_alert_flags(struct scsi_tape *un) in st_check_alert_flags()
13694 st_check_sense_clean_bit(struct scsi_tape *un) in st_check_sense_clean_bit()
13797 st_calculate_timeouts(struct scsi_tape *un) in st_calculate_timeouts()
13866 st_is_not_wormable(struct scsi_tape *un) in st_is_not_wormable()
13873 st_is_hp_dat_tape_worm(struct scsi_tape *un) in st_is_hp_dat_tape_worm()
13894 st_is_hp_dat_worm(struct scsi_tape *un) in st_is_hp_dat_worm()
13933 st_is_hp_lto_tape_worm(struct scsi_tape *un) in st_is_hp_lto_tape_worm()
13988 st_is_hp_lto_worm(struct scsi_tape *un) in st_is_hp_lto_worm()
14027 st_is_t10_worm_device(struct scsi_tape *un) in st_is_t10_worm_device()
14047 st_is_t10_worm(struct scsi_tape *un) in st_is_t10_worm()
14088 st_is_stk_worm(struct scsi_tape *un) in st_is_stk_worm()
14144 st_is_dlt_tape_worm(struct scsi_tape *un) in st_is_dlt_tape_worm()
14197 st_is_dlt_worm(struct scsi_tape *un) in st_is_dlt_worm()
14279 st_is_sony_worm(struct scsi_tape *un) in st_is_sony_worm()
14339 st_is_drive_worm(struct scsi_tape *un) in st_is_drive_worm()
14401 st_read_attributes(struct scsi_tape *un, uint16_t attribute, void *pnt, in st_read_attributes()
14483 st_get_special_inquiry(struct scsi_tape *un, uchar_t size, caddr_t dest, in st_get_special_inquiry()
14530 st_update_block_pos(struct scsi_tape *un, bufunc_t bf, int post_space) in st_update_block_pos()
14607 st_get_read_pos(struct scsi_tape *un, buf_t *bp) in st_get_read_pos()
14729 st_interpret_read_pos(struct scsi_tape const *un, tapepos_t *dest, in st_interpret_read_pos()
15107 st_logical_block_locate(struct scsi_tape *un, ubufunc_t ubf, tapepos_t *pos, in st_logical_block_locate()
15256 st_mtfsf_ioctl(struct scsi_tape *un, int64_t files) in st_mtfsf_ioctl()
15332 st_forward_space_files(struct scsi_tape *un, int64_t count) in st_forward_space_files()
15432 st_scenic_route_to_begining_of_file(struct scsi_tape *un, int32_t fileno) in st_scenic_route_to_begining_of_file()
15448 st_space_to_begining_of_file(struct scsi_tape *un) in st_space_to_begining_of_file()
15485 st_mtfsr_ioctl(struct scsi_tape *un, int64_t count) in st_mtfsr_ioctl()
15557 st_space_records(struct scsi_tape *un, int64_t count) in st_space_records()
15674 st_mtbsf_ioctl(struct scsi_tape *un, int64_t files) in st_mtbsf_ioctl()
15737 st_backward_space_files(struct scsi_tape *un, int64_t count, int infront) in st_backward_space_files()
15902 st_mtnbsf_ioctl(struct scsi_tape *un, int64_t count) in st_mtnbsf_ioctl()
15956 st_mtbsr_ioctl(struct scsi_tape *un, int64_t num) in st_mtbsr_ioctl()
16026 st_mtfsfm_ioctl(struct scsi_tape *un, int64_t cnt) in st_mtfsfm_ioctl()
16052 st_mtbsfm_ioctl(struct scsi_tape *un, int64_t cnt) in st_mtbsfm_ioctl()
16083 st_release_contig_mem(struct scsi_tape *un, struct contig_mem *cp) in st_release_contig_mem()
16105 st_get_contig_mem(struct scsi_tape *un, size_t len, int alloc_flags) in st_get_contig_mem()
16233 struct scsi_tape *un; in st_bigblk_xfer_done() local
16285 struct scsi_tape *un; in st_get_bigblk_bp() local
16391 st_check_if_media_changed(struct scsi_tape *un, caddr_t data, int size) in st_check_if_media_changed()
16487 st_handle_hex_media_id(struct scsi_tape *un, void *pnt, int size) in st_handle_hex_media_id()
16517 st_get_media_id_via_read_attribute(struct scsi_tape *un, ubufunc_t bufunc) in st_get_media_id_via_read_attribute()
16567 st_get_media_id_via_media_serial_cmd(struct scsi_tape *un, ubufunc_t bufunc) in st_get_media_id_via_media_serial_cmd()
16676 st_bogus_media_id(struct scsi_tape *un, ubufunc_t bufunc) in st_bogus_media_id()
16696 st_get_media_identification(struct scsi_tape *un, ubufunc_t bufunc) in st_get_media_identification()
16728 st_command_recovery(struct scsi_tape *un, struct scsi_pkt *pkt, in st_command_recovery()
16788 st_recov_ret(struct scsi_tape *un, st_err_info *errinfo, errstate err) in st_recov_ret()
16842 struct scsi_tape *un; in st_recover() local
17049 struct scsi_tape *un; in st_recov_cb() local
17188 st_rcmd(struct scsi_tape *un, int com, int64_t count, int wait) in st_rcmd()
17228 st_uscsi_rcmd(struct scsi_tape *un, struct uscsi_cmd *ucmd, int flag) in st_uscsi_rcmd()
17269 st_add_recovery_info_to_pkt(struct scsi_tape *un, buf_t *bp, in st_add_recovery_info_to_pkt()
17533 st_make_sure_mode_data_is_correct(struct scsi_tape *un, ubufunc_t ubf) in st_make_sure_mode_data_is_correct()
17554 st_check_mode_for_change(struct scsi_tape *un, ubufunc_t ubf) in st_check_mode_for_change()
17608 st_test_path_to_device(struct scsi_tape *un) in st_test_path_to_device()
17641 st_recovery_read_pos(struct scsi_tape *un, read_p_types type, in st_recovery_read_pos()
17692 st_recovery_get_position(struct scsi_tape *un, tapepos_t *read, in st_recovery_get_position()
17744 st_compare_expected_position(struct scsi_tape *un, st_err_info *ei, in st_compare_expected_position()
18005 st_recover_reissue_pkt(struct scsi_tape *un, struct scsi_pkt *oldpkt) in st_recover_reissue_pkt()
18118 st_transport(struct scsi_tape *un, struct scsi_pkt *pkt) in st_transport()
18474 st_reset(struct scsi_tape *un, int reset_type) in st_reset()
18514 st_set_target_TLR_mode(struct scsi_tape *un, ubufunc_t ubf) in st_set_target_TLR_mode()
18570 struct scsi_tape *un = (struct scsi_tape *)arg; in st_reset_notification() local