/titanic_41/usr/src/uts/common/io/scsi/targets/ |
H A D | st.c | 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() [all …]
|
H A D | sd.c | 824 #define SD_IS_PARALLEL_SCSI(un) \ argument 826 #define SD_IS_SERIAL(un) \ argument 842 #define New_state(un, s) \ argument 844 #define Restore_state(un) \ argument 2392 #define SD_BEGIN_IOSTART(index, un, bp) \ argument 2395 #define SD_BEGIN_IODONE(index, un, bp) \ argument 2398 #define SD_NEXT_IOSTART(index, un, bp) \ argument 2401 #define SD_NEXT_IODONE(index, un, bp) \ argument 2570 sd_log_err(uint_t comp, struct sd_lun *un, const char *fmt, ...) in sd_log_err() 2619 sd_log_info(uint_t component, struct sd_lun *un, const char *fmt, ...) in sd_log_info() [all …]
|
/titanic_41/usr/src/uts/common/io/lvm/mirror/ |
H A D | mirror_ioctl.c | 82 mirror_resume_writes(mm_unit_t *un) in mirror_resume_writes() 108 mm_unit_t *un; in mirror_getun() local 166 mm_unit_t *un; in mirror_set() local 291 mm_unit_t *un; in mirror_get() local 320 mm_unit_t *un; in mirror_getdevs() local 365 mm_unit_t *un; in mirror_reset() local 428 mm_unit_t *un, in mirror_get_geom() 439 mm_unit_t *un, in mirror_get_vtoc() 450 mm_unit_t *un, in mirror_set_vtoc() 459 mm_unit_t *un, in mirror_get_extvtoc() [all …]
|
H A D | mirror_resync.c | 159 mirror_generate_rr_bitmap(mm_unit_t *un, md_mn_msg_rr_clean_t **msgp, in mirror_generate_rr_bitmap() 271 process_resync_regions_non_owner(mm_unit_t *un, callb_cpr_t *cprinfop) in process_resync_regions_non_owner() 400 process_resync_regions_owner(mm_unit_t *un) in process_resync_regions_owner() 512 process_resync_regions(mm_unit_t *un, callb_cpr_t *cprinfop) in process_resync_regions() 543 mirror_process_unit_resync(mm_unit_t *un) in mirror_process_unit_resync() 570 mm_unit_t *un; in check_resync_regions() local 659 offlined_to_attached(mm_unit_t *un) in offlined_to_attached() 687 get_unit_resync(mm_unit_t *un) in get_unit_resync() 710 create_unit_resync(mm_unit_t *un, int snarfing) in create_unit_resync() 774 unit_setup_resync(mm_unit_t *un, int snarfing) in unit_setup_resync() [all …]
|
H A D | mirror.c | 327 mirror_geterror(mm_unit_t *un, int *smi, int *cip, int clr_error, in mirror_geterror() 411 mm_unit_t *un, in check_comp_4_hotspares() 677 check_unit_4_hotspares(mm_unit_t *un, int flags) in check_unit_4_hotspares() 717 mm_unit_t *un; in check_4_hotspares() local 829 mirror_openfail_console_info(mm_unit_t *un, int smi, int ci) in mirror_openfail_console_info() 849 mirror_close_all_devs(mm_unit_t *un, int md_cflags) in mirror_close_all_devs() 951 mm_unit_t *un; in mirror_check_failfast() local 999 mp_unit_t *un; in mirror_check_failfast() local 1085 submirror_unavailable(mm_unit_t *un, int smi, int from_probe) in submirror_unavailable() 1119 mm_unit_t *un; in mirror_open_all_devs() local [all …]
|
/titanic_41/usr/src/uts/common/io/lvm/raid/ |
H A D | raid.c | 193 raid_set_state(mr_unit_t *un, int col, rcs_state_t newstate, int force) in raid_set_state() 367 erred_check_line(mr_unit_t *un, md_raidcs_t *cs, mr_column_t *column) in erred_check_line() 419 raid_state_cnt(mr_unit_t *un, rcs_state_t state) in raid_state_cnt() 574 raid_build_pw_reservation(mr_unit_t *un, int colindex) in raid_build_pw_reservation() 604 raid_free_pw_reservation(mr_unit_t *un, int colindex) in raid_free_pw_reservation() 620 mr_unit_t *un = cs->cs_un; in raid_cancel_pwslot() local 675 mr_unit_t *un = cs->cs_un; in raid_free_pwinvalidate() local 722 mr_unit_t *un = cs->cs_un; in raid_get_pwslot() local 792 mr_unit_t *un = cs->cs_un; in raid_check_pw() local 816 mr_unit_t *un = cs->cs_un; in raid_alloc_pwslot() local [all …]
|
H A D | raid_ioctl.c | 144 mr_unit_t *un; in raid_getun() local 206 raid_commit(mr_unit_t *un, mddb_recid_t *extras) in raid_commit() 250 raid_check_pw(mr_unit_t *un) in raid_check_pw() 340 mr_unit_t *un; in init_col_nextio() local 436 mr_unit_t *un; in raid_init_columns() local 652 mr_unit_t *un; in raid_init_unit() local 715 mr_unit_t *un = MD_UNIT(mnum); in regen_unit() local 797 mr_unit_t *un; in raid_regen_unit() local 831 mr_unit_t *un; in raid_regen() local 889 mr_unit_t *un; in raid_set() local [all …]
|
H A D | raid_resync.c | 108 mr_unit_t *un; in release_resync_request() local 153 mr_unit_t *un; in resync_request() local 265 mr_unit_t *un, in init_pw_area() 326 raid_open_alt(mr_unit_t *un, int index) in raid_open_alt() 380 raid_close_alt(mr_unit_t *un, int index) in raid_close_alt() 398 mr_unit_t *un = cs->cs_un; in raid_resync_fillin_cs() local 429 mr_unit_t *un = cs->cs_un; in raid_resync_region() local 598 mr_unit_t *un; in resync_comp() local 966 mr_unit_t *un; in resync_unit() local 1048 mr_unit_t *un; in raid_resync_unit() local
|
H A D | raid_replay.c | 77 raid_rply_dealloc(mr_unit_t *un, in raid_rply_dealloc() 116 raid_rply_alloc(mr_unit_t *un, in raid_rply_alloc() 312 raid_pwhdr_read(mr_unit_t *un, int pw_slot, int column, raid_rplybuf_t *bufp) in raid_pwhdr_read() 341 raid_pw_read(mr_unit_t *un, int column, uint_t slot, raid_rplybuf_t *bufp) in raid_pw_read() 381 raid_pw_write(mr_unit_t *un, int column, raid_pwhdr_t *pwhp, in raid_pw_write() 449 raid_rply_verify(mr_unit_t *un, int col1, int goodsum1, int *do_1, in raid_rply_verify() 485 mr_unit_t *un, in raid_rplyeach() 589 replay_line(mr_unit_t *un, raid_rplylst_t *eachp, raid_rplybuf_t *rplybuf) in replay_line() 687 raid_replay_error(mr_unit_t *un, int column) in raid_replay_error() 714 raid_replay(mr_unit_t *un) in raid_replay()
|
H A D | raid_hotspare.c | 85 mr_unit_t *un, in raid_hs_release() 127 mr_unit_t *un, in check_comp_4_hs() 327 mr_unit_t *un; in check_4_hs() local
|
/titanic_41/usr/src/uts/common/io/lvm/trans/ |
H A D | trans_ioctl.c | 71 mt_unit_t *un; in trans_getun() local 164 mt_unit_t *un; in trans_test_trygetblk() local 272 mt_unit_t *un; in trans_test_trypage() local 825 find_by_mtunit(mt_unit_t *un, mt_error_t **pred_errp) in find_by_mtunit() 919 mt_unit_t *un; in trans_error_injector() local 980 mt_unit_t *un; in trans_inject_errors() local 1041 mt_unit_t *un; in trans_stop_errors() local 1106 mt_unit_t *un; in trans_ufserror() local 1126 mt_unit_t *un; in trans_set_shadow() local 1159 mt_unit_t *un; in trans_get() local [all …]
|
H A D | mdtrans.c | 134 shadow_debug(mt_unit_t *un, /* trans unit info */ in shadow_debug() 213 trans_commit(mt_unit_t *un, int domstr) in trans_commit() 239 trans_close_all_devs(mt_unit_t *un) in trans_close_all_devs() 250 trans_open_all_devs(mt_unit_t *un) in trans_open_all_devs() 286 mt_unit_t *un = (mt_unit_t *)p; in trans_build_incore() local 389 trans_detach(mt_unit_t *un, int force) in trans_detach() 449 trans_attach(mt_unit_t *un, int attaching) in trans_attach() 496 trans_reset(mt_unit_t *un, minor_t mnum, int removing, int force) in trans_reset() 642 mt_unit_t *un; in md_trans_strategy() local 761 trans_cleanup(mt_unit_t *un) in trans_cleanup() [all …]
|
H A D | trans_log.c | 381 ldl_utadd(mt_unit_t *un) in ldl_utadd() 401 ldl_utdel(mt_unit_t *un) in ldl_utdel() 417 ldl_create(mdkey_t key, mt_unit_t *un) in ldl_create() 484 ldl_open_dev(mt_unit_t *un, ml_unit_t *ul) in ldl_open_dev() 585 ldl_open_underlying(mt_unit_t *un) in ldl_open_underlying() 670 ldl_reset(mt_unit_t *un, int removing, int force) in ldl_reset()
|
/titanic_41/usr/src/uts/sun/io/dada/targets/ |
H A D | dad.c | 256 #define DCD_DO_KSTATS(un, kstat_function, bp) \ argument 267 #define DCD_DO_ERRSTATS(un, x) \ argument 475 struct dcd_disk *un; in dcdattach() local 614 dcd_free_softstate(struct dcd_disk *un, dev_info_t *devi) in dcd_free_softstate() 671 struct dcd_disk *un; in dcddetach() local 739 struct dcd_disk *un; in dcdreset() local 757 struct dcd_disk *un; in dcd_dr_detach() local 813 struct dcd_disk *un; in dcdpower() local 896 struct dcd_disk *un = (struct dcd_disk *)0; in dcd_doattach() local 1077 dcd_set_multiple(struct dcd_disk *un) in dcd_set_multiple() [all …]
|
/titanic_41/usr/src/uts/common/io/lvm/stripe/ |
H A D | stripe_ioctl.c | 70 ms_unit_t *un; in stripe_replace() local 134 ms_unit_t *un; in stripe_set() local 303 ms_unit_t *un; in stripe_get() local 341 ms_unit_t *un; in stripe_reset() local 401 ms_unit_t *un, *new_un; in stripe_grow() local 682 ms_unit_t *un, in stripe_get_geom() 693 ms_unit_t *un, in stripe_get_vtoc() 704 ms_unit_t *un, in stripe_set_vtoc() 713 ms_unit_t *un, in stripe_get_extvtoc() 724 ms_unit_t *un, in stripe_set_extvtoc() [all …]
|
H A D | stripe.c | 132 stripe_close_all_devs(ms_unit_t *un, int md_cflags) in stripe_close_all_devs() 171 stripe_open_all_devs(ms_unit_t *un, int md_oflags) in stripe_open_all_devs() 286 ms_unit_t *un = (ms_unit_t *)p; in stripe_build_incore() local 355 reset_stripe(ms_unit_t *un, minor_t mnum, int removing) in reset_stripe() 596 ms_unit_t *un, in md_mapbuf() 692 ms_unit_t *un; in md_stripe_strategy() local 822 ms_unit_t *un; in stripe_snarf() local 968 ms_unit_t *un; in stripe_open() local 1016 ms_unit_t *un; in stripe_close() local 1049 ms_unit_t *un; in stripe_dump() local [all …]
|
/titanic_41/usr/src/uts/common/io/lvm/softpart/ |
H A D | sp.c | 215 mp_unit_t *un = (mp_unit_t *)p; in sp_build_incore() local 260 reset_sp(mp_unit_t *un, minor_t mnum, int removing) in reset_sp() 331 sp_send_stat_msg(mp_unit_t *un, sp_status_t status) in sp_send_stat_msg() 466 sp_send_stat_ok(mp_unit_t *un) in sp_send_stat_ok() 481 sp_send_stat_err(mp_unit_t *un) in sp_send_stat_err() 588 mp_unit_t *un, in sp_mapbuf() 679 sp_validate(mp_unit_t *un) in sp_validate() 939 mp_unit_t *un; in md_sp_strategy() local 1099 mp_unit_t *un; in sp_directed_read() local 1276 mp_unit_t *un; in sp_snarf() local [all …]
|
H A D | sp_ioctl.c | 108 mp_unit_t *un; in sp_getun() local 160 mp_unit_t *un; in sp_setstatus() local 226 mp_unit_t *un; in sp_update_watermarks() local 449 mp_unit_t *un; in sp_set() local 595 mp_unit_t *un; in sp_get() local 661 mp_unit_t *un; in sp_reset() local 744 mp_unit_t *un, *new_un; in sp_grow() local 919 mp_unit_t *un; in sp_getdevs() local 971 mp_unit_t *un; in sp_set_capability() local 1241 mp_unit_t *un; in md_sp_ioctl() local
|
/titanic_41/usr/src/uts/common/io/aac/ |
H A D | aac_ioctl.c | 161 union aac_revision_align un; in aac_check_revision() local 359 union aac_get_adapter_fib_align un; in aac_next_getadapter_fib() local 641 union aac_pci_info_align un; in aac_get_pci_info() local 670 union aac_query_disk_align un; in aac_query_disk() local 707 union aac_delete_disk_align un; in aac_delete_disk() local 743 union aac_features_align un; in aac_supported_features() local
|
/titanic_41/usr/src/uts/common/sys/lvm/ |
H A D | md_mirror.h | 47 #define SMS_BY_INDEX_IS(un, index, state) \ argument 50 #define SMS_BY_INDEX_IS_TARGET(un, index) \ argument 53 #define SUBMIRROR_IS_READABLE(un, isubmirror) \ argument 58 #define SUBMIRROR_IS_WRITEABLE(un, isubmirror) \ argument 71 #define IN_RESYNC_REGION(un, ps) \ argument 457 #define MD_MN_MIRROR_OWNER(un) (un->un_mirror_owner == md_mn_mynode_id) argument 458 #define MD_MN_NO_MIRROR_OWNER(un) \ argument 501 #define BLK_TO_RR(i, b, un) {\ argument 507 #define RR_TO_BLK(b, i, un) \ argument 510 #define IS_GOING_DIRTY(i, un) (isset((un)->un_goingdirty_bm, (i))) argument [all …]
|
/titanic_41/usr/src/lib/libast/common/disc/ |
H A D | sfdcunion.c | 71 reg Union_t* un; local 104 reg Union_t* un; local 172 reg Union_t* un; local
|
/titanic_41/usr/src/uts/common/fs/zfs/ |
H A D | unique.c | 82 unique_t *un = kmem_alloc(sizeof (unique_t), KM_SLEEP); in unique_insert() local 106 unique_t *un; in unique_remove() local
|
/titanic_41/usr/src/uts/sun/io/ |
H A D | sbusmem.c | 153 struct sbusmem_unit *un; in sbmem_attach() local 285 struct sbusmem_unit *un; in sbmem_info() local 335 struct sbusmem_unit *un; in sbmem_rw() local 388 struct sbusmem_unit *un; in sbmem_devmap() local
|
H A D | fd.c | 1438 struct fdunit *un; in fd_prop_op() local 1477 struct fdunit *un; in fd_open() local 1636 fd_part_is_open(struct fdunit *un, int part) in fd_part_is_open() 1652 register struct fdunit *un; in fd_close() local 1697 struct fdunit *un; in fd_strategy() local 1884 struct fdunit *un; in fd_ioctl() local 2950 struct fdunit *un; in fdformat() local 3086 struct fdunit *un; in fdstart() local 5127 struct fdunit *un; in fdeject() local 5239 struct fdunit *un; in fdgetlabel() local [all …]
|
/titanic_41/usr/src/uts/common/sys/scsi/targets/ |
H A D | sddef.h | 570 #define SD_IS_VALID_LABEL(un) (cmlb_is_valid(un->un_cmlbhandle)) argument 584 #define SD_BYTES2TGTBLOCKS(un, bytecount) \ argument 588 #define SD_BYTES2PHYBLOCKS(un, bytecount) \ argument 592 #define SD_TGTBLOCKS2BYTES(un, blockcount) \ argument 607 #define SD_REQBYTES2TGTBYTES(un, bytecount) \ argument 614 #define SD_TGTBYTEOFFSET(un, sysblk, tgtblk) \ argument 620 #define SD_SYS2TGTBLOCK(un, blockcnt) \ argument 626 #define SD_TGT2SYSBLOCK(un, blockcnt) \ argument 730 #define SD_SCSI_DEVP(un) ((un)->un_sd) argument 731 #define SD_DEVINFO(un) ((un)->un_sd->sd_dev) argument [all …]
|