target            470 arch/i386/i386/lapic.c i386_ipi_init(target)
target            471 arch/i386/i386/lapic.c 	int target;
target            475 arch/i386/i386/lapic.c 	if ((target & LAPIC_DEST_MASK) == 0)
target            476 arch/i386/i386/lapic.c 		i82489_writereg(LAPIC_ICRHI, target << LAPIC_ID_SHIFT);
target            478 arch/i386/i386/lapic.c 	i82489_writereg(LAPIC_ICRLO, (target & LAPIC_DEST_MASK) |
target            489 arch/i386/i386/lapic.c 	i82489_writereg(LAPIC_ICRLO, (target & LAPIC_DEST_MASK) |
target            502 arch/i386/i386/lapic.c i386_ipi(vec,target,dl)
target            503 arch/i386/i386/lapic.c 	int vec,target,dl;
target            507 arch/i386/i386/lapic.c 	if ((target & LAPIC_DEST_MASK) == 0)
target            508 arch/i386/i386/lapic.c 		i82489_writereg(LAPIC_ICRHI, target << LAPIC_ID_SHIFT);
target            511 arch/i386/i386/lapic.c 	    (target & LAPIC_DEST_MASK) | vec | dl | LAPIC_LVL_ASSERT);
target            268 dev/ata/atascsi.c 	struct ata_port		*ap = as->as_ports[link->target];
target            290 dev/ata/atascsi.c 	struct ata_port		*ap = as->as_ports[link->target];
target            432 dev/ata/atascsi.c 	struct ata_port		*ap = as->as_ports[link->target];
target            454 dev/ata/atascsi.c 	struct ata_port		*ap = as->as_ports[link->target];
target            536 dev/ata/atascsi.c 	struct ata_port		*ap = as->as_ports[link->target];
target            596 dev/ata/atascsi.c 	struct ata_port		*ap = as->as_ports[link->target];
target            690 dev/ata/atascsi.c 	struct ata_port		*ap = as->as_ports[link->target];
target            336 dev/atapiscsi/atapiscsi.c 	if (sc_xfer->sc_link->target != 0) {
target            455 dev/atapiscsi/atapiscsi.c 	if (sc_link->target != 0)
target            361 dev/eisa/aha1742.c 	bus_space_write_1(iot, ioh, ATTN, opcode | ecb->xs->sc_link->target);
target            395 dev/eisa/aha1742.c ahb_send_immed(sc, target, cmd)
target            397 dev/eisa/aha1742.c 	int target;
target            418 dev/eisa/aha1742.c 	bus_space_write_1(iot, ioh, ATTN, OP_IMMED | target);
target            988 dev/eisa/aha1742.c 		ahb_send_immed(sc, sc_link->target, AHB_TARG_RESET);
target            719 dev/i2o/ioprbs.c 	u_int8_t target = link->target;
target            728 dev/i2o/ioprbs.c 	if (target > 0 || link->lun != 0) {
target            739 dev/i2o/ioprbs.c 		DPRINTF(("opc %d tgt %d ", xs->cmd->opcode, target));
target            743 dev/i2o/ioprbs.c 		DPRINTF(("REQUEST SENSE tgt %d ", target));
target            754 dev/i2o/ioprbs.c 		DPRINTF(("INQUIRY tgt %d", target));
target            764 dev/i2o/ioprbs.c 		    target);
target            770 dev/i2o/ioprbs.c 		DPRINTF(("READ CAPACITY tgt %d ", target));
target            779 dev/i2o/ioprbs.c 		    xs->cmd->opcode, target));
target            910 dev/i2o/ioprbs.c 	u_int8_t target = link->target;
target            928 dev/i2o/ioprbs.c 			DPRINTF(("SYNCHRONIZE CACHE tgt %d ", target));
target            435 dev/i2o/iopsp.c 	tid = IOPSP_TIDMAP(sc->sc_tidmap, link->target, link->lun);
target           1021 dev/ic/aac.c   			br->ContainerId = xs->sc_link->target;
target           1031 dev/ic/aac.c   			bw->ContainerId = xs->sc_link->target;
target           1045 dev/ic/aac.c   			br->ContainerId = xs->sc_link->target;
target           1057 dev/ic/aac.c   			bw->ContainerId = xs->sc_link->target;
target           2421 dev/ic/aac.c   	u_int8_t target = link->target;
target           2433 dev/ic/aac.c   		    target));
target           2437 dev/ic/aac.c   		AAC_DPRINTF(AAC_D_CMD, ("REQUEST SENSE tgt %d ", target));
target           2448 dev/ic/aac.c   		AAC_DPRINTF(AAC_D_CMD, ("INQUIRY tgt %d devtype %x ", target,
target           2449 dev/ic/aac.c   		    sc->aac_hdr[target].hd_devtype));
target           2459 dev/ic/aac.c   		    target);
target           2465 dev/ic/aac.c   		AAC_DPRINTF(AAC_D_CMD, ("READ CAPACITY tgt %d ", target));
target           2467 dev/ic/aac.c   		_lto4b(sc->aac_hdr[target].hd_size - 1, rcd.addr);
target           2529 dev/ic/aac.c   	u_int8_t target = link->target;
target           2539 dev/ic/aac.c   	if (target >= AAC_MAX_CONTAINERS || !sc->aac_hdr[target].hd_present ||
target           2557 dev/ic/aac.c   	target = link->target;
target           2618 dev/ic/aac.c   		if (blockno >= sc->aac_hdr[target].hd_size ||
target           2619 dev/ic/aac.c   		    blockno + blockcnt > sc->aac_hdr[target].hd_size) {
target           2623 dev/ic/aac.c   			       blockcnt, sc->aac_hdr[target].hd_size);
target           1209 dev/ic/aacreg.h 	u_int32_t		target;
target            725 dev/ic/adv.c   	ccb->scsiq.q1.target_id = ASC_TID_TO_TARGET_ID(sc_link->target);
target            727 dev/ic/adv.c   	ccb->scsiq.q2.target_ix = ASC_TIDLUN_TO_IX(sc_link->target,
target            740 dev/ic/adv.c   	sc->reqcnt[sc_link->target]++;
target            741 dev/ic/adv.c   	if ((sc->reqcnt[sc_link->target] > 0) &&
target            742 dev/ic/adv.c   	    (sc->reqcnt[sc_link->target] % 255) == 0) {
target            814 dev/ic/adv.c   			sc_link->scsipi_scsi.target,
target            983 dev/ic/adv.c   			xs->sc_link->scsipi_scsi.target,
target           1032 dev/ic/adv.c   				      xs->sc_link->target & 0x7,
target            671 dev/ic/adw.c    		if(sc->sc_freeze_dev[xs->sc_link->target]) {
target            679 dev/ic/adw.c    		if(sc->sc_freeze_dev[xs->sc_link->target]) {
target            811 dev/ic/adw.c   	scsiqp->target_id = sc_link->target;
target            980 dev/ic/adw.c   				adw_print_info(sc, xs->sc_link->target);
target            517 dev/ic/aic6360.c 	    sc_link->target));
target            644 dev/ic/aic6360.c 	int target = sc_link->target;
target            645 dev/ic/aic6360.c 	struct aic_tinfo *ti = &sc->sc_tinfo[target];
target            648 dev/ic/aic6360.c 	    sc->sc_initiator << OID_S | target);
target            663 dev/ic/aic6360.c 	u_char selid, target, lun;
target            687 dev/ic/aic6360.c 	target = ffs(selid) - 1;
target            691 dev/ic/aic6360.c 		if (sc_link->target == target && sc_link->lun == lun)
target            696 dev/ic/aic6360.c 		    sc->sc_dev.dv_xname, target, lun);
target            706 dev/ic/aic6360.c 	ti = &sc->sc_tinfo[target];
target            755 dev/ic/aic6360.c 		ti = &sc->sc_tinfo[sc_link->target];
target            758 dev/ic/aic6360.c 			    sc_link->target, sc_link->lun));
target            765 dev/ic/aic6360.c 			    sc_link->target, sc_link->lun));
target            779 dev/ic/aic6360.c 	struct aic_tinfo *ti = &sc->sc_tinfo[sc_link->target];
target            813 dev/ic/aic6360.c 	struct aic_tinfo *ti = &sc->sc_tinfo[sc_link->target];
target            997 dev/ic/aic6360.c 		ti = &sc->sc_tinfo[acb->xs->sc_link->target];
target           1005 dev/ic/aic6360.c 				    sc_link->target, sc_link->lun);
target           1241 dev/ic/aic6360.c 		ti = &sc->sc_tinfo[sc->sc_nexus->xs->sc_link->target];
target           1254 dev/ic/aic6360.c 		ti = &sc->sc_tinfo[sc->sc_nexus->xs->sc_link->target];
target           1736 dev/ic/aic6360.c 			ti = &sc->sc_tinfo[sc_link->target];
target           1842 dev/ic/aic6360.c 				ti = &sc->sc_tinfo[sc_link->target];
target            228 dev/ic/aic79xx.c int		ahd_search_scb_list(struct ahd_softc *ahd, int target,
target           1115 dev/ic/aic79xx.c 							devinfo.target,
target           1416 dev/ic/aic79xx.c 		       ahd_name(ahd), devinfo.channel, devinfo.target,
target           2191 dev/ic/aic79xx.c 	u_int	target;
target           2205 dev/ic/aic79xx.c 	target = SCSIID_TARGET(ahd, saved_scsiid);
target           2208 dev/ic/aic79xx.c 			    target, saved_lun, 'A', ROLE_INITIATOR);
target           2259 dev/ic/aic79xx.c 			found = ahd_abort_scbs(ahd, target, 'A', saved_lun,
target           2274 dev/ic/aic79xx.c 			 && ahd_match_scb(ahd, scb, target, 'A',
target           2304 dev/ic/aic79xx.c 						    devinfo.target, &tstate);
target           2437 dev/ic/aic79xx.c 			aborted = ahd_abort_scbs(ahd, target, 'A',
target           2575 dev/ic/aic79xx.c 					devinfo->target,
target           3091 dev/ic/aic79xx.c 				    devinfo->target, &tstate);
target           3120 dev/ic/aic79xx.c 		ahd_send_async(ahd, devinfo->channel, devinfo->target,
target           3129 dev/ic/aic79xx.c 				       ahd_name(ahd), devinfo->target,
target           3159 dev/ic/aic79xx.c 				       ahd_name(ahd), devinfo->target,
target           3229 dev/ic/aic79xx.c 				    devinfo->target, &tstate);
target           3244 dev/ic/aic79xx.c 		ahd_send_async(ahd, devinfo->channel, devinfo->target,
target           3249 dev/ic/aic79xx.c 			       ahd_name(ahd), devinfo->target,
target           3278 dev/ic/aic79xx.c 	ahd_send_async(ahd, devinfo->channel, devinfo->target,
target           3299 dev/ic/aic79xx.c 	ahd_outb(ahd, NEGOADDR, devinfo->target);
target           3422 dev/ic/aic79xx.c 					    devinfo.target, &tstate);
target           3516 dev/ic/aic79xx.c 	       devinfo->target, devinfo->lun);
target           3538 dev/ic/aic79xx.c ahd_compile_devinfo(struct ahd_devinfo *devinfo, u_int our_id, u_int target,
target           3542 dev/ic/aic79xx.c 	devinfo->target = target;
target           3544 dev/ic/aic79xx.c 	devinfo->target_offset = target;
target           3714 dev/ic/aic79xx.c 				    devinfo->target, &tstate);
target           3806 dev/ic/aic79xx.c 		       ahd_name(ahd), devinfo->channel, devinfo->target,
target           3826 dev/ic/aic79xx.c 		       ahd_name(ahd), devinfo->channel, devinfo->target,
target           3861 dev/ic/aic79xx.c 		       devinfo->channel, devinfo->target, devinfo->lun,
target           4299 dev/ic/aic79xx.c 				    devinfo->target, &tstate);
target           4370 dev/ic/aic79xx.c 				       devinfo->target, devinfo->lun,
target           4399 dev/ic/aic79xx.c 					       devinfo->target, devinfo->lun);
target           4441 dev/ic/aic79xx.c 				       devinfo->target, devinfo->lun,
target           4457 dev/ic/aic79xx.c 					       devinfo->target, devinfo->lun,
target           4470 dev/ic/aic79xx.c 					       devinfo->target, devinfo->lun);
target           4582 dev/ic/aic79xx.c 					       devinfo->target, devinfo->lun);
target           4587 dev/ic/aic79xx.c 					       devinfo->target, devinfo->lun);
target           4601 dev/ic/aic79xx.c 				       devinfo->target, devinfo->lun,
target           4647 dev/ic/aic79xx.c 		ahd_abort_scbs(ahd, devinfo->target, devinfo->channel,
target           4724 dev/ic/aic79xx.c 				    devinfo->target, &tstate);
target           4740 dev/ic/aic79xx.c 				       devinfo->target, devinfo->lun);
target           4755 dev/ic/aic79xx.c 				       devinfo->target, devinfo->lun);
target           4771 dev/ic/aic79xx.c 		       devinfo->channel, devinfo->target, devinfo->lun);
target           4800 dev/ic/aic79xx.c 		       devinfo->target, devinfo->lun);
target           4810 dev/ic/aic79xx.c 			       devinfo->channel, devinfo->target, devinfo->lun);
target           4816 dev/ic/aic79xx.c 			       ahd_name(ahd), devinfo->channel, devinfo->target,
target           4866 dev/ic/aic79xx.c 		       ahd_name(ahd), devinfo->channel, devinfo->target,
target           5117 dev/ic/aic79xx.c 	found = ahd_abort_scbs(ahd, devinfo->target, devinfo->channel,
target           5163 dev/ic/aic79xx.c 		ahd_send_async(ahd, devinfo->channel, devinfo->target,
target           5170 dev/ic/aic79xx.c 		       message, devinfo->channel, devinfo->target, found);
target           6378 dev/ic/aic79xx.c 	u_int	 target;
target           6541 dev/ic/aic79xx.c 		for (target = 0; target < AHD_NUM_TARGETS; target++) {
target           6542 dev/ic/aic79xx.c 			ahd_outb(ahd, NEGOADDR, target);
target           6548 dev/ic/aic79xx.c 	for (target = 0; target < AHD_NUM_TARGETS; target++) {
target           6554 dev/ic/aic79xx.c 					    target, &tstate);
target           6556 dev/ic/aic79xx.c 				    target, CAM_LUN_WILDCARD,
target           6643 dev/ic/aic79xx.c 	for (target = 0; target < AHD_NUM_TARGETS; target++) {
target           6647 dev/ic/aic79xx.c 			ahd_unbusy_tcl(ahd, BUILD_TCL_RAW(target, 'A', lun));
target           7112 dev/ic/aic79xx.c ahd_match_scb(struct ahd_softc *ahd, struct scb *scb, int target,
target           7122 dev/ic/aic79xx.c 		match = ((targ == target) || (target == CAM_TARGET_WILDCARD));
target           7150 dev/ic/aic79xx.c 	int	target;
target           7154 dev/ic/aic79xx.c 	target = SCB_GET_TARGET(ahd, scb);
target           7158 dev/ic/aic79xx.c 	ahd_search_qinfifo(ahd, target, channel, lun,
target           7266 dev/ic/aic79xx.c ahd_search_qinfifo(struct ahd_softc *ahd, int target, char channel,
target           7329 dev/ic/aic79xx.c 		if (ahd_match_scb(ahd, scb, target, channel, lun, tag, role)) {
target           7402 dev/ic/aic79xx.c 		if (ahd_match_scb(ahd, scb, target, channel, CAM_LUN_WILDCARD,
target           7414 dev/ic/aic79xx.c 		found += ahd_search_scb_list(ahd, target, channel,
target           7423 dev/ic/aic79xx.c 		 && ahd_match_scb(ahd, mk_msg_scb, target, channel,
target           7467 dev/ic/aic79xx.c 		 && ahd_match_scb(ahd, scb, target, channel, CAM_LUN_WILDCARD,
target           7496 dev/ic/aic79xx.c ahd_search_scb_list(struct ahd_softc *ahd, int target, char channel,
target           7529 dev/ic/aic79xx.c 		if (ahd_match_scb(ahd, scb, target, channel,
target           7652 dev/ic/aic79xx.c ahd_abort_scbs(struct ahd_softc *ahd, int target, char channel,
target           7668 dev/ic/aic79xx.c 	found = ahd_search_qinfifo(ahd, target, channel, lun, SCB_LIST_NULL,
target           7676 dev/ic/aic79xx.c 	if (target != CAM_TARGET_WILDCARD) {
target           7677 dev/ic/aic79xx.c 		i = target;
target           7703 dev/ic/aic79xx.c 				 || ahd_match_scb(ahd, scbp, target, channel,
target           7727 dev/ic/aic79xx.c 		if (ahd_match_scb(ahd, scbp, target, channel, lun, tag, role)) {
target           7742 dev/ic/aic79xx.c 	ahd_platform_abort_scbs(ahd, target, channel, lun, tag, role, status);
target           7782 dev/ic/aic79xx.c 	u_int	target;
target           7867 dev/ic/aic79xx.c 	for (target = 0; target <= max_scsiid; target++) {
target           7869 dev/ic/aic79xx.c 		if (ahd->enabled_targets[target] == NULL)
target           7874 dev/ic/aic79xx.c 			ahd_compile_devinfo(&devinfo, target, initiator,
target           7892 dev/ic/aic79xx.c 	for (target = 0; target <= max_scsiid; target++) {
target           7896 dev/ic/aic79xx.c 		tstate = ahd->enabled_targets[target];
target           8166 dev/ic/aic79xx.c 						devinfo.target,
target           9497 dev/ic/aic79xx.c 	u_int	   target;
target           9569 dev/ic/aic79xx.c 	target = ccb->ccb_h.target_id;
target           9572 dev/ic/aic79xx.c 	target_mask = 0x01 << target;
target           9602 dev/ic/aic79xx.c 		if (target != CAM_TARGET_WILDCARD && tstate == NULL) {
target           9603 dev/ic/aic79xx.c 			tstate = ahd_alloc_tstate(ahd, target, channel);
target           9634 dev/ic/aic79xx.c 		if (target != CAM_TARGET_WILDCARD) {
target           9656 dev/ic/aic79xx.c 				if (target != our_id) {
target           9667 dev/ic/aic79xx.c 					ahd->our_id = target;
target           9673 dev/ic/aic79xx.c 					ahd_outb(ahd, SCSIID, target);
target           9742 dev/ic/aic79xx.c 		if (target != CAM_TARGET_WILDCARD) {
target           9752 dev/ic/aic79xx.c 				ahd_free_tstate(ahd, target, channel,
target           9889 dev/ic/aic79xx.c 	int	  target;
target           9893 dev/ic/aic79xx.c 	target = SCSIID_OUR_ID(cmd->scsiid);
target           9897 dev/ic/aic79xx.c 	tstate = ahd->enabled_targets[target];
target           9920 dev/ic/aic79xx.c 		       initiator, target, lun,
target           9927 dev/ic/aic79xx.c 		atio->ccb_h.target_id = target;
target           9984 dev/ic/aic79xx.c 			       initiator, target, lun, ahd->pending_device);
target            149 dev/ic/aic79xx.h #define BUILD_TCL_RAW(target, channel, lun) \
target            150 dev/ic/aic79xx.h 	((lun) | ((target) << 8))
target            160 dev/ic/aic79xx.h #define AHD_BUILD_COL_IDX(target, lun)				\
target            161 dev/ic/aic79xx.h 	(((lun) << 4) | target)
target           1355 dev/ic/aic79xx.h 	u_int	 target;
target           1398 dev/ic/aic79xx.h 			      int target, char channel, int lun,
target           1461 dev/ic/aic79xx.h int			ahd_search_qinfifo(struct ahd_softc *ahd, int target,
target           1465 dev/ic/aic79xx.h int			ahd_search_disc_list(struct ahd_softc *ahd, int target,
target           1472 dev/ic/aic79xx.h int			ahd_abort_scbs(struct ahd_softc *ahd, int target,
target           1488 dev/ic/aic79xx.h 					    u_int our_id, u_int target,
target            324 dev/ic/aic79xx_openbsd.c 	target_id = xs->sc_link->target;
target            483 dev/ic/aic79xx_openbsd.c 		int target = xs->sc_link->target;
target            486 dev/ic/aic79xx_openbsd.c 		if (ahd->inited_target[target] == 0) {
target            490 dev/ic/aic79xx_openbsd.c 			ahd_compile_devinfo(&devinfo, ahd->our_id, target, lun,
target            495 dev/ic/aic79xx_openbsd.c 			ahd->inited_target[target] = 1;
target            599 dev/ic/aic79xx_openbsd.c 	    devinfo->target, &tstate);
target            664 dev/ic/aic79xx_openbsd.c 	target_id = scb->xs->sc_link->target;
target            237 dev/ic/aic79xx_openbsd.h #define ahd_platform_abort_scbs(ahd, target, channel, lun, tag, role, status)
target            555 dev/ic/aic7xxx.c 							devinfo.target,
target            661 dev/ic/aic7xxx.c 		       ahc_name(ahc), devinfo.channel, devinfo.target);
target            696 dev/ic/aic7xxx.c 		       ahc_name(ahc), devinfo.channel, devinfo.target, rejbyte);
target            717 dev/ic/aic7xxx.c 		       ahc_name(ahc), devinfo.channel, devinfo.target,
target            728 dev/ic/aic7xxx.c 		       ahc_name(ahc), devinfo.channel, devinfo.target,
target            952 dev/ic/aic7xxx.c 		       ahc_name(ahc), devinfo.channel, devinfo.target,
target           1281 dev/ic/aic7xxx.c 		u_int	target;
target           1313 dev/ic/aic7xxx.c 		target = SCSIID_TARGET(ahc, saved_scsiid);
target           1317 dev/ic/aic7xxx.c 				    target, saved_lun, channel, ROLE_INITIATOR);
target           1333 dev/ic/aic7xxx.c 				ahc_abort_scbs(ahc, target, channel,
target           1348 dev/ic/aic7xxx.c 				 && ahc_match_scb(ahc, scb, target, channel,
target           1357 dev/ic/aic7xxx.c 						    target,
target           1378 dev/ic/aic7xxx.c 							    devinfo.target,
target           1424 dev/ic/aic7xxx.c 				ahc_abort_scbs(ahc, target, channel,
target           1476 dev/ic/aic7xxx.c 					devinfo->target,
target           1987 dev/ic/aic7xxx.c 				    devinfo->target, &tstate);
target           2060 dev/ic/aic7xxx.c 		ahc_send_async(ahc, devinfo->channel, devinfo->target,
target           2066 dev/ic/aic7xxx.c 				       devinfo->target, syncrate->rate,
target           2072 dev/ic/aic7xxx.c 				       ahc_name(ahc), devinfo->target);
target           2105 dev/ic/aic7xxx.c 				    devinfo->target, &tstate);
target           2130 dev/ic/aic7xxx.c 		ahc_send_async(ahc, devinfo->channel, devinfo->target,
target           2134 dev/ic/aic7xxx.c 			       ahc_name(ahc), devinfo->target,
target           2153 dev/ic/aic7xxx.c  	ahc_send_async(ahc, devinfo->channel, devinfo->target,
target           2185 dev/ic/aic7xxx.c 					    devinfo.target, &tstate);
target           2291 dev/ic/aic7xxx.c ahc_compile_devinfo(struct ahc_devinfo *devinfo, u_int our_id, u_int target,
target           2295 dev/ic/aic7xxx.c 	devinfo->target = target;
target           2297 dev/ic/aic7xxx.c 	devinfo->target_offset = target;
target           2309 dev/ic/aic7xxx.c 	       devinfo->target, devinfo->lun);
target           2451 dev/ic/aic7xxx.c 				    devinfo->target, &tstate);
target           2544 dev/ic/aic7xxx.c 		       ahc_name(ahc), devinfo->channel, devinfo->target,
target           2564 dev/ic/aic7xxx.c 		       ahc_name(ahc), devinfo->channel, devinfo->target,
target           2592 dev/ic/aic7xxx.c 		       devinfo->channel, devinfo->target, devinfo->lun,
target           3078 dev/ic/aic7xxx.c 				    devinfo->target, &tstate);
target           3153 dev/ic/aic7xxx.c 				       devinfo->target, devinfo->lun,
target           3183 dev/ic/aic7xxx.c 					       devinfo->target, devinfo->lun);
target           3225 dev/ic/aic7xxx.c 				       devinfo->target, devinfo->lun,
target           3241 dev/ic/aic7xxx.c 					       devinfo->target, devinfo->lun,
target           3254 dev/ic/aic7xxx.c 					       devinfo->target, devinfo->lun);
target           3372 dev/ic/aic7xxx.c 					       devinfo->target, devinfo->lun);
target           3377 dev/ic/aic7xxx.c 					       devinfo->target, devinfo->lun);
target           3391 dev/ic/aic7xxx.c 				       devinfo->target, devinfo->lun,
target           3437 dev/ic/aic7xxx.c 		ahc_abort_scbs(ahc, devinfo->target, devinfo->channel,
target           3506 dev/ic/aic7xxx.c 				    devinfo->target, &tstate);
target           3519 dev/ic/aic7xxx.c 			       devinfo->target, devinfo->lun);
target           3534 dev/ic/aic7xxx.c 		       devinfo->channel, devinfo->target, devinfo->lun);
target           3563 dev/ic/aic7xxx.c 		       devinfo->target, devinfo->lun);
target           3573 dev/ic/aic7xxx.c 			       devinfo->channel, devinfo->target, devinfo->lun);
target           3579 dev/ic/aic7xxx.c 			       ahc_name(ahc), devinfo->channel, devinfo->target,
target           3628 dev/ic/aic7xxx.c 		       ahc_name(ahc), devinfo->channel, devinfo->target,
target           3812 dev/ic/aic7xxx.c 	found = ahc_abort_scbs(ahc, devinfo->target, devinfo->channel,
target           3847 dev/ic/aic7xxx.c 		ahc_send_async(ahc, devinfo->channel, devinfo->target,
target           3853 dev/ic/aic7xxx.c 		       message, devinfo->channel, devinfo->target, found);
target           5067 dev/ic/aic7xxx.c ahc_match_scb(struct ahc_softc *ahc, struct scb *scb, int target,
target           5082 dev/ic/aic7xxx.c 		match = ((targ == target) || (target == CAM_TARGET_WILDCARD));
target           5110 dev/ic/aic7xxx.c 	int	target;
target           5114 dev/ic/aic7xxx.c 	target = SCB_GET_TARGET(ahc, scb);
target           5118 dev/ic/aic7xxx.c 	ahc_search_qinfifo(ahc, target, channel, lun,
target           5183 dev/ic/aic7xxx.c ahc_search_qinfifo(struct ahc_softc *ahc, int target, char channel,
target           5232 dev/ic/aic7xxx.c 		if (ahc_match_scb(ahc, scb, target, channel, lun, tag, role)) {
target           5343 dev/ic/aic7xxx.c 		if (ahc_match_scb(ahc, scb, target, channel,
target           5382 dev/ic/aic7xxx.c 	found += ahc_search_untagged_queues(ahc, /*scsi_xfer*/NULL, target,
target           5392 dev/ic/aic7xxx.c 			   int target, char channel, int lun, uint32_t status,
target           5413 dev/ic/aic7xxx.c 		if (target != CAM_TARGET_WILDCARD) {
target           5415 dev/ic/aic7xxx.c 			i = target;
target           5447 dev/ic/aic7xxx.c 			if (ahc_match_scb(ahc, scb, target, channel, lun,
target           5487 dev/ic/aic7xxx.c ahc_search_disc_list(struct ahc_softc *ahc, int target, char channel,
target           5527 dev/ic/aic7xxx.c 		if (ahc_match_scb(ahc, scbp, target, channel, lun,
target           5650 dev/ic/aic7xxx.c ahc_abort_scbs(struct ahc_softc *ahc, int target, char channel,
target           5672 dev/ic/aic7xxx.c 	found = ahc_search_qinfifo(ahc, target, channel, lun, SCB_LIST_NULL,
target           5680 dev/ic/aic7xxx.c 	if (target != CAM_TARGET_WILDCARD) {
target           5681 dev/ic/aic7xxx.c 		i = target;
target           5714 dev/ic/aic7xxx.c 				 || ahc_match_scb(ahc, scbp, target, channel,
target           5727 dev/ic/aic7xxx.c 		ahc_search_disc_list(ahc, target, channel, lun, tag,
target           5747 dev/ic/aic7xxx.c 		  && ahc_match_scb(ahc, scbp, target, channel, lun, tag, role)))
target           5761 dev/ic/aic7xxx.c 		if (ahc_match_scb(ahc, scbp, target, channel, lun, tag, role)) {
target           5776 dev/ic/aic7xxx.c 	ahc_platform_abort_scbs(ahc, target, channel, lun, tag, role, status);
target           5804 dev/ic/aic7xxx.c 	u_int	initiator, target, max_scsiid;
target           5913 dev/ic/aic7xxx.c 	for (target = 0; target <= max_scsiid; target++) {
target           5917 dev/ic/aic7xxx.c 		tstate = ahc->enabled_targets[target];
target           5940 dev/ic/aic7xxx.c 	for (target = 0; target <= max_scsiid; target++) {
target           5942 dev/ic/aic7xxx.c 		if (ahc->enabled_targets[target] == NULL)
target           5947 dev/ic/aic7xxx.c 			ahc_compile_devinfo(&devinfo, target, initiator,
target           6493 dev/ic/aic7xxx.c 	int	target;
target           6648 dev/ic/aic7xxx.c 	for (target = 0; target <= maxtarget; target++) {
target           6649 dev/ic/aic7xxx.c 		untagged_q = &ahc->untagged_queues[target];
target           6652 dev/ic/aic7xxx.c 		printf("Untagged Q(%d): ", target);
target           6721 dev/ic/aic7xxx.c 	u_int	   target;
target           6838 dev/ic/aic7xxx.c 	target = ccb->ccb_h.target_id;
target           6841 dev/ic/aic7xxx.c 	target_mask = 0x01 << target;
target           6871 dev/ic/aic7xxx.c 		if (target != CAM_TARGET_WILDCARD && tstate == NULL) {
target           6872 dev/ic/aic7xxx.c 			tstate = ahc_alloc_tstate(ahc, target, channel);
target           6903 dev/ic/aic7xxx.c 		if (target != CAM_TARGET_WILDCARD) {
target           6929 dev/ic/aic7xxx.c 				if (target != our_id) {
target           6941 dev/ic/aic7xxx.c 						ahc->our_id = target;
target           6943 dev/ic/aic7xxx.c 						ahc->our_id_b = target;
target           6949 dev/ic/aic7xxx.c 					ahc_outb(ahc, SCSIID, target);
target           7018 dev/ic/aic7xxx.c 		if (target != CAM_TARGET_WILDCARD) {
target           7028 dev/ic/aic7xxx.c 				ahc_free_tstate(ahc, target, channel,
target           7193 dev/ic/aic7xxx.c 	int	  target;
target           7197 dev/ic/aic7xxx.c 	target = SCSIID_OUR_ID(cmd->scsiid);
target           7201 dev/ic/aic7xxx.c 	tstate = ahc->enabled_targets[target];
target           7225 dev/ic/aic7xxx.c 	       initiator, target, lun,
target           7232 dev/ic/aic7xxx.c 		atio->ccb_h.target_id = target;
target           7288 dev/ic/aic7xxx.c 		       initiator, target, lun, ahc->pending_device);
target            324 dev/ic/aic7xxx_openbsd.c 	target_id = xs->sc_link->target;
target            521 dev/ic/aic7xxx_openbsd.c 		if (ahc->inited_target[xs->sc_link->target] == 0) {
target            529 dev/ic/aic7xxx_openbsd.c 			ahc->inited_target[xs->sc_link->target] = 1;
target            682 dev/ic/aic7xxx_openbsd.c 			    devinfo->target, &tstate);
target            725 dev/ic/aic7xxx_openbsd.c ahc_send_async(struct ahc_softc *ahc, char channel, u_int target, u_int lun,
target            747 dev/ic/aic7xxx_openbsd.c 	    devinfo.our_scsiid, devinfo.target, &tstate);
target            309 dev/ic/aic7xxx_openbsd.h ahc_platform_abort_scbs(struct ahc_softc *ahc, int target,
target           1163 dev/ic/aic7xxxvar.h 	u_int	 target;
target           1220 dev/ic/aic7xxxvar.h 			      int target, char channel, int lun,
target           1275 dev/ic/aic7xxxvar.h 					    u_int our_id, u_int target,
target           1138 dev/ic/ami.c   	u_int8_t target = link->target, type;
target           1165 dev/ic/ami.c   			rsc->sc_proctarget = target;
target           1281 dev/ic/ami.c   	u_int8_t channel = rsc->sc_channel, target = link->target;
target           1288 dev/ic/ami.c   	if (!cold && target == rsc->sc_proctarget)
target           1328 dev/ic/ami.c   	ccb->ccb_pt->apt_target = target;
target           1407 dev/ic/ami.c   	u_int8_t target = link->target;
target           1418 dev/ic/ami.c   	if (target >= sc->sc_nunits || !sc->sc_hdr[target].hd_present ||
target           1420 dev/ic/ami.c   		AMI_DPRINTF(AMI_D_CMD, ("no target %d ", target));
target           1466 dev/ic/ami.c   			strlcpy(sc->sc_hdr[target].dev, dev->dv_xname,
target           1467 dev/ic/ami.c   			    sizeof(sc->sc_hdr[target].dev));
target           1474 dev/ic/ami.c   		    target));
target           1478 dev/ic/ami.c   		AMI_DPRINTF(AMI_D_CMD, ("REQUEST SENSE tgt %d ", target));
target           1492 dev/ic/ami.c   		AMI_DPRINTF(AMI_D_CMD, ("INQUIRY tgt %d ", target));
target           1501 dev/ic/ami.c   		    "Host drive  #%02d", target);
target           1510 dev/ic/ami.c   		AMI_DPRINTF(AMI_D_CMD, ("READ CAPACITY tgt %d ", target));
target           1512 dev/ic/ami.c   		_lto4b(sc->sc_hdr[target].hd_size - 1, rcd.addr);
target           1522 dev/ic/ami.c   		    xs->cmd->opcode, target));
target           1541 dev/ic/ami.c   	if (blockno >= sc->sc_hdr[target].hd_size ||
target           1542 dev/ic/ami.c   	    blockno + blockcnt > sc->sc_hdr[target].hd_size) {
target           1544 dev/ic/ami.c   		    blockno, blockcnt, sc->sc_hdr[target].hd_size);
target           1570 dev/ic/ami.c   	cmd->acc_mbox.amb_ldn = target;
target           1499 dev/ic/bha.c   	ccb->target = sc_link->target;
target            222 dev/ic/bhareg.h 	u_int8_t	target;
target            116 dev/ic/cac.c   int	cac_get_dinfo(struct cac_softc *sc, int target);
target            514 dev/ic/cac.c   cac_get_dinfo(sc, target)
target            516 dev/ic/cac.c   	int target;
target            518 dev/ic/cac.c   	if (sc->sc_dinfos[target].ncylinders)
target            521 dev/ic/cac.c   	if (cac_cmd(sc, CAC_CMD_GET_LOG_DRV_INFO, &sc->sc_dinfos[target],
target            522 dev/ic/cac.c   	    sizeof(*sc->sc_dinfos), target, 0, CAC_CCB_DATA_IN, NULL)) {
target            566 dev/ic/cac.c   	u_int8_t target = link->target;
target            573 dev/ic/cac.c   	if (target >= sc->sc_nunits || link->lun != 0) {
target            581 dev/ic/cac.c   	dinfo = &sc->sc_dinfos[target];
target            602 dev/ic/cac.c   		if (cac_get_dinfo(sc, target)) {
target            621 dev/ic/cac.c   		    p, target);
target            627 dev/ic/cac.c   		if (cac_get_dinfo(sc, target)) {
target            688 dev/ic/cac.c   		    target, blockno, flags, xs))) {
target            712 dev/ic/cac.c   		    "tgt %d ", xs->cmd->opcode, target));
target            887 dev/ic/ciss.c  	u_int8_t target = link->target;
target            917 dev/ic/ciss.c  	cmd->tgt = CISS_CMD_MODE_LD | target;
target           1139 dev/ic/ciss.c  			bd->bd_target = pdid->target;
target           1232 dev/ic/ciss.c  ciss_ldid(struct ciss_softc *sc, int target, struct ciss_ldid *id)
target           1251 dev/ic/ciss.c  	cmd->cdb[5] = target;
target           1260 dev/ic/ciss.c  ciss_ldstat(struct ciss_softc *sc, int target, struct ciss_ldstat *stat)
target           1279 dev/ic/ciss.c  	cmd->cdb[5] = target;
target            214 dev/ic/cissreg.h 	u_int8_t	target;
target            385 dev/ic/cissreg.h 	u_int8_t	target;
target           1094 dev/ic/dpt.c   	cp->cp_id = sc_link->scsipi_scsi.target;
target           1099 dev/ic/dpt.c   	cp->cp_id = sc_link->target;
target           1112 dev/ic/dpt.c   	    sc_link->scsipi_scsi.target);
target           1117 dev/ic/dpt.c   	cp->cp_interpret = (sc->sc_hbaid[sc_link->scsibus] == sc_link->target);
target            594 dev/ic/gdt_common.c 	u_int8_t target = link->target;
target            610 dev/ic/gdt_common.c 	if (target >= GDT_MAX_HDRIVES || !gdt->sc_hdr[target].hd_present ||
target            634 dev/ic/gdt_common.c 		target = link->target;
target            701 dev/ic/gdt_common.c 				if (blockno >= gdt->sc_hdr[target].hd_size ||
target            703 dev/ic/gdt_common.c 				    gdt->sc_hdr[target].hd_size) {
target            708 dev/ic/gdt_common.c 					    gdt->sc_hdr[target].hd_size);
target            805 dev/ic/gdt_common.c 	u_int8_t target = link->target;
target            829 dev/ic/gdt_common.c 	    target);
target            838 dev/ic/gdt_common.c 			    ("SYNCHRONIZE CACHE tgt %d ", target));
target            953 dev/ic/gdt_common.c 	u_int8_t target = link->target;
target            964 dev/ic/gdt_common.c 		    target));
target            968 dev/ic/gdt_common.c 		GDT_DPRINTF(GDT_D_CMD, ("REQUEST SENSE tgt %d ", target));
target            979 dev/ic/gdt_common.c 		GDT_DPRINTF(GDT_D_CMD, ("INQUIRY tgt %d devtype %x ", target,
target            980 dev/ic/gdt_common.c 		    gdt->sc_hdr[target].hd_devtype));
target            983 dev/ic/gdt_common.c 		    (gdt->sc_hdr[target].hd_devtype & 4) ? T_CDROM : T_DIRECT;
target            985 dev/ic/gdt_common.c 		    (gdt->sc_hdr[target].hd_devtype & 1) ? SID_REMOVABLE : 0;
target            991 dev/ic/gdt_common.c 		    target);
target            997 dev/ic/gdt_common.c 		GDT_DPRINTF(GDT_D_CMD, ("READ CAPACITY tgt %d ", target));
target            999 dev/ic/gdt_common.c 		_lto4b(gdt->sc_hdr[target].hd_size - 1, rcd.addr);
target           1006 dev/ic/gdt_common.c 		    xs->cmd->opcode, target));
target             80 dev/ic/gdtvar.h 			u_int8_t target;	/* target ID */
target            271 dev/ic/iha.c   	if ((xs->cmdlen > 12) || (sc_link->target >= IHA_MAX_TARGETS)) {
target            283 dev/ic/iha.c   	pScb->SCB_Target = sc_link->target;
target           1860 dev/ic/iha.c   	u_int8_t tag, target, lun, msg, abortmsg;
target           1868 dev/ic/iha.c   	target = bus_space_read_1(iot, ioh, TUL_SBID);
target           1871 dev/ic/iha.c   	pTcs = &sc->HCS_Tcs[target];
target           1925 dev/ic/iha.c   	if ((pScb->SCB_Target != target)  
target           2642 dev/ic/iha.c   iha_print_info(sc, target)
target           2644 dev/ic/iha.c   	int target;
target           2646 dev/ic/iha.c   	u_int8_t period = sc->HCS_Tcs[target].TCS_JS_Period;
target           2647 dev/ic/iha.c   	u_int8_t config = sc->HCS_Tcs[target].TCS_SConfig0;
target           2650 dev/ic/iha.c   	printf("%s: target %d using %d bit ", sc->sc_dev.dv_xname, target,
target           2929 dev/ic/isp.c   	int target, i;
target           2971 dev/ic/isp.c   	target = XS_TGT(xs);
target           2992 dev/ic/isp.c   			if (target >= FL_PORT_ID) {
target           2997 dev/ic/isp.c   			if (target >= FL_PORT_ID && target <= FC_SNS_ID) {
target           3051 dev/ic/isp.c   			if (target >= FL_PORT_ID) {
target           3056 dev/ic/isp.c   			if (target >= FL_PORT_ID && target <= FC_SNS_ID) {
target           3061 dev/ic/isp.c   			    target < FL_PORT_ID) {
target           3135 dev/ic/isp.c   		lp = &fcp->portdb[target];
target           3142 dev/ic/isp.c   			    "Target %d does not have target service", target);
target           3149 dev/ic/isp.c   		target = lp->loopid;
target           3239 dev/ic/isp.c   		if ((sdp->isp_devparam[target].actv_flags & DPARM_TQING) &&
target           3244 dev/ic/isp.c   	reqp->req_target = target | (XS_CHANNEL(xs) << 7);
target            813 dev/ic/isp_openbsd.c 		int target, base, lim;
target            887 dev/ic/isp_openbsd.c 		for (target = base; target < lim; target++) {
target            888 dev/ic/isp_openbsd.c 			if (target >= FL_PORT_ID && target <= FC_SNS_ID) {
target            891 dev/ic/isp_openbsd.c 			lp = &fcp->portdb[target];
target            898 dev/ic/isp_openbsd.c 		if (target < lim) {
target            901 dev/ic/isp_openbsd.c 		for (target = base; target < lim; target++) {
target            902 dev/ic/isp_openbsd.c 			if (target >= FL_PORT_ID && target <= FC_SNS_ID) {
target            905 dev/ic/isp_openbsd.c 			lp = &fcp->portdb[target];
target            910 dev/ic/isp_openbsd.c 		if (target == lim) {
target            209 dev/ic/isp_openbsd.h #define	XS_TGT(xs)		((int) (xs)->sc_link->target)
target            802 dev/ic/mfi.c   	    DEVNAME((struct mfi_softc *)link->adapter_softc), link->target);
target            815 dev/ic/mfi.c   	io->mif_header.mfh_target_id = link->target;
target            891 dev/ic/mfi.c   	    DEVNAME((struct mfi_softc *)link->adapter_softc), link->target);
target            895 dev/ic/mfi.c   	pf->mpf_header.mfh_target_id = link->target;
target            941 dev/ic/mfi.c   	uint8_t			target = link->target;
target            947 dev/ic/mfi.c   	if (target >= MFI_MAX_LD || !sc->sc_ld[target].ld_present ||
target            950 dev/ic/mfi.c   		    DEVNAME(sc), target);
target           1000 dev/ic/mfi.c   			strlcpy(sc->sc_ld[target].ld_dev, dev->dv_xname,
target           1001 dev/ic/mfi.c   			    sizeof(sc->sc_ld[target].ld_dev));
target           1012 dev/ic/mfi.c   	DNPRINTF(MFI_D_CMD, "%s: start io %d\n", DEVNAME(sc), target);
target            404 dev/ic/mpi.c   		address = link->target;
target            405 dev/ic/mpi.c   		id = link->target;
target            506 dev/ic/mpi.c   		    "target %d\n", DEVNAME(sc), link->target);
target            573 dev/ic/mpi.c   mpi_inq(struct mpi_softc *sc, u_int16_t target, int physdisk)
target            609 dev/ic/mpi.c   	io->target_id = target;
target           1034 dev/ic/mpi.c   	io->target_id = link->target;
target           1359 dev/ic/mpi.c       u_int32_t target)
target           1364 dev/ic/mpi.c   	    mask, target);
target           1367 dev/ic/mpi.c   		if ((mpi_read(sc, r) & mask) == target)
target           1377 dev/ic/mpi.c       u_int32_t target)
target           1382 dev/ic/mpi.c   	    mask, target);
target           1385 dev/ic/mpi.c   		if ((mpi_read(sc, r) & mask) != target)
target           1956 dev/ic/mpi.c   		scsi_probe_target(sc->sc_scsibus, ch->target);
target           1960 dev/ic/mpi.c   		scsi_detach_target(sc->sc_scsibus, ch->target, DETACH_FORCE);
target            655 dev/ic/mpireg.h 	u_int8_t		target;
target            645 dev/ic/ncr5380sbc.c 	sr->sr_target = xs->sc_link->target;
target            829 dev/ic/ncr5380sbc.c 	int	target = 0, lun = 0;
target            860 dev/ic/ncr5380sbc.c 			target = sc->sc_ring[i].sr_target;
target            862 dev/ic/ncr5380sbc.c 			if (sc->sc_matrix[target][lun] == NULL) {
target            915 dev/ic/ncr5380sbc.c 	sc->sc_matrix[target][lun] = sr;
target            990 dev/ic/ncr5380sbc.c 		    xs->sc_link->target, xs->sc_link->lun);
target           1076 dev/ic/ncr5380sbc.c 	int target, lun, phase, timo;
target           1154 dev/ic/ncr5380sbc.c 	for (target = 0; target < 7; target++) {
target           1155 dev/ic/ncr5380sbc.c 		target_mask = (1 << target);
target           1166 dev/ic/ncr5380sbc.c 	NCR_TRACE("reselect: target=0x%x\n", target);
target           1225 dev/ic/ncr5380sbc.c 	sr = sc->sc_matrix[target][lun];
target           1265 dev/ic/ncr5380sbc.c 	    sc->sc_dev.dv_xname, target, lun);
target           2447 dev/ic/ncr5380sbc.c 		    xs->sc_link->scsibus, xs->sc_link->target,
target           2456 dev/ic/ncr5380sbc.c 		    xs->sc_link->scsibus, xs->sc_link->target,
target            598 dev/ic/ncr53c9x.c 	int target = sc_link->target;
target            600 dev/ic/ncr53c9x.c 	struct ncr53c9x_tinfo *ti = &sc->sc_tinfo[target];
target            608 dev/ic/ncr53c9x.c 		   target, lun, ecb->cmd.cmd.opcode, ecb->tag[0], ecb->tag[1]));
target            632 dev/ic/ncr53c9x.c 		NCR_WRITE_REG(sc, NCR_SELID, target | NCR_BUSID_HME);
target            634 dev/ic/ncr53c9x.c 		NCR_WRITE_REG(sc, NCR_SELID, target);
target            806 dev/ic/ncr53c9x.c 	    sc_link->target));
target            809 dev/ic/ncr53c9x.c 	ti = &sc->sc_tinfo[sc_link->target];
target            929 dev/ic/ncr53c9x.c 		ti = &sc->sc_tinfo[sc_link->target];
target           1033 dev/ic/ncr53c9x.c 				  sc_link->target,
target           1045 dev/ic/ncr53c9x.c 	struct ncr53c9x_tinfo *ti = &sc->sc_tinfo[sc_link->target];
target           1087 dev/ic/ncr53c9x.c 	struct ncr53c9x_tinfo *ti = &sc->sc_tinfo[sc_link->target];
target           1175 dev/ic/ncr53c9x.c 	    &sc->sc_tinfo[ecb->xs->sc_link->target];
target           1329 dev/ic/ncr53c9x.c 	u_char selid, target, lun;
target           1335 dev/ic/ncr53c9x.c 		target = sc->sc_selid;
target           1349 dev/ic/ncr53c9x.c 		target = ffs(selid) - 1;
target           1359 dev/ic/ncr53c9x.c 	ti = &sc->sc_tinfo[target];
target           1379 dev/ic/ncr53c9x.c 		    " sending ABORT\n", sc->sc_dev.dv_xname, target, lun, tagtype, tagid);
target           1520 dev/ic/ncr53c9x.c 		ti = &sc->sc_tinfo[ecb->xs->sc_link->target];
target           1549 dev/ic/ncr53c9x.c 				    sc->sc_dev.dv_xname, ecb->xs->sc_link->target);
target           1569 dev/ic/ncr53c9x.c 				    sc->sc_dev.dv_xname, ecb->xs->sc_link->target);
target           1577 dev/ic/ncr53c9x.c 				    sc->sc_dev.dv_xname, ecb->xs->sc_link->target);
target           1825 dev/ic/ncr53c9x.c 			ti = &sc->sc_tinfo[ecb->xs->sc_link->target];
target           1839 dev/ic/ncr53c9x.c 			ti = &sc->sc_tinfo[ecb->xs->sc_link->target];
target           1869 dev/ic/ncr53c9x.c 			ti = &sc->sc_tinfo[ecb->xs->sc_link->target];
target           2165 dev/ic/ncr53c9x.c 			ti = &sc->sc_tinfo[sc_link->target];
target           2188 dev/ic/ncr53c9x.c 				ti = &sc->sc_tinfo[ecb->xs->sc_link->target];
target           2375 dev/ic/ncr53c9x.c 			ti = &sc->sc_tinfo[sc_link->target];
target           2442 dev/ic/ncr53c9x.c 					sc_link->target,
target           2462 dev/ic/ncr53c9x.c 						sc_link->target,
target           2771 dev/ic/ncr53c9x.c 	struct ncr53c9x_tinfo *ti = &sc->sc_tinfo[sc_link->target];
target           2808 dev/ic/ncr53c9x.c 			sc->sc_cfflags |= (1 << (sc_link->target + 16));
target            736 dev/ic/oosiop.c 	cb->id = xs->sc_link->target;
target            492 dev/ic/osiop.c 				    xs->sc_link->target,
target            552 dev/ic/osiop.c 			     sc->sc_nexus->xs->sc_link->target : 0,
target            555 dev/ic/osiop.c 			     TAILQ_FIRST(&sc->ready_list)->xs->sc_link->target :
target            562 dev/ic/osiop.c 		ti = &sc->sc_tinfo[periph->target];
target            680 dev/ic/osiop.c 		sc->sc_tinfo[periph->target].lubusy &=
target            692 dev/ic/osiop.c 				sc->sc_tinfo[periph->target].lubusy &=
target            720 dev/ic/osiop.c 		sc->sc_tinfo[periph->target].cmds++;
target            755 dev/ic/osiop.c 		sc->sc_tinfo[periph->target].senses++;
target            968 dev/ic/osiop.c 	int target = xs->sc_link->target;
target            998 dev/ic/osiop.c 	ti = &sc->sc_tinfo[target];
target            999 dev/ic/osiop.c 	ds->scsi_addr = ((1 << 16) << target) | (ti->sxfer << 8);
target           1020 dev/ic/osiop.c 			osiop_update_xfer_mode(sc, target);
target           1024 dev/ic/osiop.c 				    target);
target           1038 dev/ic/osiop.c 				    target);
target           1117 dev/ic/osiop.c 	int target = 0;
target           1179 dev/ic/osiop.c 		target = acb->xs->sc_link->target;
target           1180 dev/ic/osiop.c 		ti = &sc->sc_tinfo[target];
target           1184 dev/ic/osiop.c 				    sc->sc_dev.dv_xname, target);
target           1187 dev/ic/osiop.c 				    sc->sc_dev.dv_xname, target);
target           1190 dev/ic/osiop.c 			osiop_update_xfer_mode(sc, target);
target           1220 dev/ic/osiop.c 		target = acb->xs->sc_link->target;
target           1224 dev/ic/osiop.c 			struct osiop_tinfo *ti = &sc->sc_tinfo[target];
target           1235 dev/ic/osiop.c 			osiop_update_xfer_mode(sc, target);
target           1381 dev/ic/osiop.c 		target = acb->xs->sc_link->target;
target           1383 dev/ic/osiop.c 		target = sc->sc_id;
target           1390 dev/ic/osiop.c 		    sc->sc_dev.dv_xname, target);
target           1414 dev/ic/osiop.c 			    sc->sc_dev.dv_xname, 1 << target,
target           1480 dev/ic/osiop.c 				    sc->sc_dev.dv_xname, 1 << target);
target           1527 dev/ic/osiop.c 		sc->sc_tinfo[target].dconns++;
target           1570 dev/ic/osiop.c 			sc->sc_tinfo[periph->target].lubusy
target           1580 dev/ic/osiop.c 			if (reselid != periph->target ||
target           1638 dev/ic/osiop.c 		target = sc->sc_nexus->xs->sc_link->target;
target           1642 dev/ic/osiop.c 		osiop_write_1(sc, OSIOP_SXFER, sc->sc_tinfo[target].sxfer);
target           1643 dev/ic/osiop.c 		osiop_write_1(sc, OSIOP_SBCL, sc->sc_tinfo[target].sbcl);
target           1700 dev/ic/osiop.c 	printf("osiop_chkintr: target %x ds %p\n", target, ds);
target           1758 dev/ic/osiop.c 		    acb->xs->sc_link->target,
target           1850 dev/ic/osiop.c osiop_update_xfer_mode(sc, target)
target           1852 dev/ic/osiop.c 	int target;
target           1854 dev/ic/osiop.c 	struct osiop_tinfo *ti = &sc->sc_tinfo[target];
target           1856 dev/ic/osiop.c 	printf("%s: target %d now using 8 bit ", sc->sc_dev.dv_xname, target);
target           1861 dev/ic/osiop.c 		scsi_period_to_osiop(sc, target);
target           1909 dev/ic/osiop.c scsi_period_to_osiop(sc, target)
target           1911 dev/ic/osiop.c 	int target;
target           1918 dev/ic/osiop.c 	period = sc->sc_tinfo[target].period;
target           1919 dev/ic/osiop.c 	offset = sc->sc_tinfo[target].offset;
target           1960 dev/ic/osiop.c 	sc->sc_tinfo[target].sxfer = sxfer;
target           1961 dev/ic/osiop.c 	sc->sc_tinfo[target].sbcl = sbcl;
target           2025 dev/ic/osiop.c 	    acb->xs->sc_link->target,
target            310 dev/ic/siop.c  		struct siop_target *target;
target            317 dev/ic/siop.c  		target = (struct siop_target *)sc->sc_c.targets[i];
target            318 dev/ic/siop.c  		free(target->lunsw, M_DEVBUF);
target            319 dev/ic/siop.c  		target->lunsw = siop_get_lunsw(sc);
target            320 dev/ic/siop.c  		if (target->lunsw == NULL) {
target            362 dev/ic/siop.c  	int offset, target, lun, tag;
target            399 dev/ic/siop.c  		target = siop_cmd->cmd_c.xs->sc_link->target;
target            411 dev/ic/siop.c  			target = -1;
target            425 dev/ic/siop.c  		target = -1;
target            695 dev/ic/siop.c  			target = bus_space_read_1(sc->sc_c.sc_rt,
target            702 dev/ic/siop.c  			    (struct siop_target *)sc->sc_c.targets[target];
target            705 dev/ic/siop.c  				    sc->sc_c.sc_dev.dv_xname, target);
target            712 dev/ic/siop.c  				    target, lun);
target            719 dev/ic/siop.c  				    target, lun, tag);
target            773 dev/ic/siop.c  						    target);
target            795 dev/ic/siop.c  					    target);
target           1081 dev/ic/siop.c  		siop_del_dev(sc, target, lun);
target           1095 dev/ic/siop.c  	    ((struct siop_target*)sc->sc_c.targets[xs->sc_link->target])->siop_lun[xs->sc_link->lun];
target           1133 dev/ic/siop.c  		    xs->sc_link->target,
target           1224 dev/ic/siop.c  	int target = siop_cmd->cmd_c.xs->sc_link->target;
target           1228 dev/ic/siop.c  	    ((struct siop_target*)sc->sc_c.targets[target])->siop_lun[lun];
target           1232 dev/ic/siop.c  	    sc->sc_c.sc_dev.dv_xname, target, lun, tag, siop_cmd->cmd_c.tag,
target           1239 dev/ic/siop.c  		    target, lun, siop_lun->siop_tag[0].active->cmd_c.status);
target           1271 dev/ic/siop.c  	int target, lun, tag;
target           1283 dev/ic/siop.c  	for (target = 0; target < sc->sc_c.sc_link.adapter_buswidth;
target           1284 dev/ic/siop.c  	    target++) {
target           1285 dev/ic/siop.c  		if (sc->sc_c.targets[target] == NULL)
target           1289 dev/ic/siop.c  			    (struct siop_target *)sc->sc_c.targets[target];
target           1295 dev/ic/siop.c  			    ((sc->sc_c.targets[target]->flags & TARF_TAG) ?
target           1308 dev/ic/siop.c  		if (sc->sc_c.targets[target]->status != TARST_PROBING) {
target           1309 dev/ic/siop.c  			sc->sc_c.targets[target]->status = TARST_ASYNC;
target           1310 dev/ic/siop.c  			sc->sc_c.targets[target]->flags &= ~TARF_ISWIDE;
target           1311 dev/ic/siop.c  			sc->sc_c.targets[target]->period =
target           1312 dev/ic/siop.c  			    sc->sc_c.targets[target]->offset = 0;
target           1313 dev/ic/siop.c  			siop_update_xfer_mode(&sc->sc_c, target);
target           1368 dev/ic/siop.c  	const int target = xs->sc_link->target;
target           1373 dev/ic/siop.c  		printf("starting cmd for %d:%d\n", target, lun);
target           1389 dev/ic/siop.c  	siop_target = (struct siop_target*)sc->sc_c.targets[target];
target           1393 dev/ic/siop.c  			sc->sc_c.sc_dev.dv_xname, target);
target           1395 dev/ic/siop.c  		sc->sc_c.targets[target] =
target           1398 dev/ic/siop.c  		if (sc->sc_c.targets[target] == NULL) {
target           1401 dev/ic/siop.c  			    target);
target           1405 dev/ic/siop.c  		bzero(sc->sc_c.targets[target], sizeof(struct siop_target));
target           1407 dev/ic/siop.c  		    (struct siop_target*)sc->sc_c.targets[target];
target           1412 dev/ic/siop.c  		siop_target->target_c.id |=  target << 16; /* id */
target           1419 dev/ic/siop.c  			    sc->sc_c.sc_dev.dv_xname, target);
target           1425 dev/ic/siop.c  		siop_add_reselsw(sc, target);
target           1434 dev/ic/siop.c  			    sc->sc_c.sc_dev.dv_xname, target, lun);
target           1440 dev/ic/siop.c  	siop_cmd->cmd_c.siop_target = sc->sc_c.targets[target];
target           1515 dev/ic/siop.c  				sc->sc_c.targets[target]->flags |= TARF_DT;
target           1522 dev/ic/siop.c  				siop_add_dev(sc, target, lun);
target           1545 dev/ic/siop.c  	int target, lun, tag, slot;
target           1588 dev/ic/siop.c  		target = siop_cmd->cmd_c.xs->sc_link->target;
target           1591 dev/ic/siop.c  			((struct siop_target*)sc->sc_c.targets[target])->siop_lun[lun];
target           1650 dev/ic/siop.c  				    sc->sc_c.sc_dev.dv_xname, target, lun, tag,
target           1993 dev/ic/siop.c  siop_add_reselsw(sc, target)
target           1995 dev/ic/siop.c  	int target;
target           2001 dev/ic/siop.c  	siop_target = (struct siop_target *)sc->sc_c.targets[target];
target           2012 dev/ic/siop.c  			    target, i, siop_target->reseloff);
target           2016 dev/ic/siop.c  			    0x800c0080 | target);
target           2036 dev/ic/siop.c  			siop_add_dev(sc, target, i);
target           2039 dev/ic/siop.c  	siop_update_scntl3(sc, sc->sc_c.targets[target]);
target           2061 dev/ic/siop.c  siop_add_dev(sc, target, lun)
target           2063 dev/ic/siop.c  	int target;
target           2068 dev/ic/siop.c  	    (struct siop_target *)sc->sc_c.targets[target];
target           2082 dev/ic/siop.c  		    sc->sc_c.sc_dev.dv_xname, target, lun);
target           2106 dev/ic/siop.c  		    sc->sc_c.sc_dev.dv_xname, target, lun);
target           2112 dev/ic/siop.c  	    sc->sc_c.sc_dev.dv_xname, target, lun);
target           2159 dev/ic/siop.c  siop_del_dev(sc, target, lun)
target           2161 dev/ic/siop.c  	int target;
target           2168 dev/ic/siop.c  		    sc->sc_c.sc_dev.dv_xname, target, lun);
target           2170 dev/ic/siop.c  	if (sc->sc_c.targets[target] == NULL)
target           2172 dev/ic/siop.c  	siop_target = (struct siop_target *)sc->sc_c.targets[target];
target           2183 dev/ic/siop.c  	    sc->sc_c.sc_dev.dv_xname, target, lun,
target           2193 dev/ic/siop.c  	free(sc->sc_c.targets[target], M_DEVBUF);
target           2194 dev/ic/siop.c  	sc->sc_c.targets[target] = NULL;
target            245 dev/ic/siop_common.c 	int target = xs->sc_link->target;
target            248 dev/ic/siop_common.c 	int *targ_flags = &sc->targets[target]->flags;
target            251 dev/ic/siop_common.c 	siop_cmd->siop_tables->id = siop_htoc32(sc, sc->targets[target]->id);
target            258 dev/ic/siop_common.c 	    (sc->targets[target]->flags & TARF_ISWIDE) == 0)
target            271 dev/ic/siop_common.c 	if (sc->targets[target]->status == TARST_ASYNC) {
target            292 dev/ic/siop_common.c 		siop_add_dev((struct siop_softc *)sc, target, lun);
target            296 dev/ic/siop_common.c 			sc->targets[target]->status = TARST_PPR_NEG;
target            300 dev/ic/siop_common.c 			sc->targets[target]->status = TARST_WIDE_NEG;
target            304 dev/ic/siop_common.c 			sc->targets[target]->status = TARST_SYNC_NEG;
target            308 dev/ic/siop_common.c 			sc->targets[target]->status = TARST_OK;
target            309 dev/ic/siop_common.c 			siop_update_xfer_mode(sc, target);
target            311 dev/ic/siop_common.c 	} else if (sc->targets[target]->status == TARST_OK &&
target            340 dev/ic/siop_common.c 	int target = siop_cmd->xs->sc_link->target;
target            348 dev/ic/siop_common.c 			sc->targets[target]->id &= ~(SCNTL3_EWS << 24);
target            353 dev/ic/siop_common.c 				sc->targets[target]->id |= (SCNTL3_EWS << 24);
target            365 dev/ic/siop_common.c 			siop_update_xfer_mode(sc, target);
target            367 dev/ic/siop_common.c 			    "target %d (%d)\n", sc->sc_dev.dv_xname, target,
target            373 dev/ic/siop_common.c 		tables->id = siop_htoc32(sc, sc->targets[target]->id);
target            376 dev/ic/siop_common.c 		    (sc->targets[target]->id >> 24) & 0xff);
target            385 dev/ic/siop_common.c 			siop_update_xfer_mode(sc, target);
target            393 dev/ic/siop_common.c 			sc->targets[target]->id |= SCNTL3_EWS << 24;
target            396 dev/ic/siop_common.c 			sc->targets[target]->id &= ~(SCNTL3_EWS << 24);
target            398 dev/ic/siop_common.c 		tables->id = siop_htoc32(sc, sc->targets[target]->id);
target            400 dev/ic/siop_common.c 		    (sc->targets[target]->id >> 24) & 0xff);
target            407 dev/ic/siop_common.c 		siop_update_xfer_mode(sc, target);
target            420 dev/ic/siop_common.c 	int target = siop_cmd->xs->sc_link->target;
target            440 dev/ic/siop_common.c 			    "no DT option\n", sc->sc_dev.dv_xname, target);
target            452 dev/ic/siop_common.c 			    sc->sc_dev.dv_xname, target, offset, sync);
target            476 dev/ic/siop_common.c 				    sc->sc_dev.dv_xname, target, sync);
target            491 dev/ic/siop_common.c 			    sc->sc_dev.dv_xname, target, tables->msg_in[6]);
target            500 dev/ic/siop_common.c 		sc->targets[target]->id |= (SCNTL3_EWS << 24);
target            501 dev/ic/siop_common.c 		sc->targets[target]->id &= ~(SCNTL3_SCF_MASK << 24);
target            502 dev/ic/siop_common.c 		sc->targets[target]->id |= scf << (24 + SCNTL3_SCF_SHIFT);
target            503 dev/ic/siop_common.c 		sc->targets[target]->id &= ~(SXFER_MO_MASK << 8);
target            504 dev/ic/siop_common.c 		sc->targets[target]->id |=
target            506 dev/ic/siop_common.c 		sc->targets[target]->id &= ~0xff;
target            507 dev/ic/siop_common.c 		sc->targets[target]->id |= SCNTL4_U3EN;
target            509 dev/ic/siop_common.c 		siop_update_xfer_mode(sc, target);
target            511 dev/ic/siop_common.c 		    (sc->targets[target]->id >> 24) & 0xff);
target            513 dev/ic/siop_common.c 		    (sc->targets[target]->id >> 8) & 0xff);
target            515 dev/ic/siop_common.c 		    sc->targets[target]->id & 0xff);
target            520 dev/ic/siop_common.c 		    "target %d\n", sc->sc_dev.dv_xname, target);
target            534 dev/ic/siop_common.c 	int target = siop_cmd->xs->sc_link->target;
target            562 dev/ic/siop_common.c 				sc->targets[target]->id &=
target            564 dev/ic/siop_common.c 				sc->targets[target]->id |= scf_period[i].scf
target            568 dev/ic/siop_common.c 					sc->targets[target]->id |=
target            571 dev/ic/siop_common.c 					sc->targets[target]->id &=
target            573 dev/ic/siop_common.c 				sc->targets[target]->id &=
target            575 dev/ic/siop_common.c 				sc->targets[target]->id |=
target            577 dev/ic/siop_common.c 				sc->targets[target]->id &= ~0xff; /* scntl4 */
target            589 dev/ic/siop_common.c 		sc->targets[target]->id &= ~(SCNTL3_SCF_MASK << 24);
target            590 dev/ic/siop_common.c 		sc->targets[target]->id &= ~(SCNTL3_ULTRA << 24);
target            591 dev/ic/siop_common.c 		sc->targets[target]->id &= ~(SXFER_MO_MASK << 8);
target            592 dev/ic/siop_common.c 		sc->targets[target]->id &= ~0xff; /* scntl4 */
target            614 dev/ic/siop_common.c 				sc->targets[target]->id &=
target            616 dev/ic/siop_common.c 				sc->targets[target]->id |= scf_period[i].scf
target            620 dev/ic/siop_common.c 					sc->targets[target]->id |=
target            623 dev/ic/siop_common.c 					sc->targets[target]->id &=
target            625 dev/ic/siop_common.c 				sc->targets[target]->id &=
target            627 dev/ic/siop_common.c 				sc->targets[target]->id |=
target            629 dev/ic/siop_common.c 				sc->targets[target]->id &= ~0xff; /* scntl4 */
target            637 dev/ic/siop_common.c 		sc->targets[target]->id &= ~(SCNTL3_SCF_MASK << 24);
target            638 dev/ic/siop_common.c 		sc->targets[target]->id &= ~(SCNTL3_ULTRA << 24);
target            639 dev/ic/siop_common.c 		sc->targets[target]->id &= ~(SXFER_MO_MASK << 8);
target            640 dev/ic/siop_common.c 		sc->targets[target]->id &= ~0xff; /* scntl4 */
target            646 dev/ic/siop_common.c 		siop_update_xfer_mode(sc, target);
target            648 dev/ic/siop_common.c 	printf("id now 0x%x\n", sc->targets[target]->id);
target            650 dev/ic/siop_common.c 	tables->id = siop_htoc32(sc, sc->targets[target]->id);
target            652 dev/ic/siop_common.c 	    (sc->targets[target]->id >> 24) & 0xff);
target            654 dev/ic/siop_common.c 	    (sc->targets[target]->id >> 8) & 0xff);
target           1024 dev/ic/siop_common.c siop_update_xfer_mode(sc, target)
target           1026 dev/ic/siop_common.c         int target;
target           1030 dev/ic/siop_common.c 	siop_target = sc->targets[target];
target           1033 dev/ic/siop_common.c             sc->sc_dev.dv_xname, target,
target            479 dev/ic/siopreg.h 	} __packed target[16];
target            525 dev/ic/siopreg.h 	} __packed target[16];
target            337 dev/ic/trm.c   	u_int8_t target, lun;
target            340 dev/ic/trm.c   	target = xs->sc_link->target;
target            350 dev/ic/trm.c   	    sc->sc_device.dv_xname, sc, xs, target, lun, xs->cmd->opcode);
target            353 dev/ic/trm.c   	if (target >= TRM_MAX_TARGETS) {
target            355 dev/ic/trm.c   		    sc->sc_device.dv_xname, target, TRM_MAX_TARGETS);
target            366 dev/ic/trm.c   	pDCB = sc->pDCB[target][lun];
target            492 dev/ic/trm.c   	int target, quirks;
target            496 dev/ic/trm.c   	for (target = 0; target < TRM_MAX_TARGETS; target++) {
target            497 dev/ic/trm.c   		if (target == sc->sc_AdaptSCSIID)
target            500 dev/ic/trm.c   		if ((sc->pDCB[target][0]->DCBFlag & TRM_QUIRKS_VALID) == 0)
target            503 dev/ic/trm.c   			quirks = sc->pDCB[target][0]->sc_link->quirks;
target            505 dev/ic/trm.c   		trm_ResetDevParam(sc, sc->pDCB[target][0], quirks);
target            521 dev/ic/trm.c   	const int target = pDCB->target;
target            530 dev/ic/trm.c   	pDCB->DevMode = pEEpromBuf->NvramTarget[target].NvmTarCfg0;
target            541 dev/ic/trm.c   		PeriodIndex   = pEEpromBuf->NvramTarget[target].NvmTarPeriod & 0x07;
target            658 dev/ic/trm.c   		    xs->sc_link->target, xs->sc_link->lun);
target            702 dev/ic/trm.c   	bus_space_write_1(iot, ioh, TRM_S1040_SCSI_TARGETID, pDCB->target);
target            706 dev/ic/trm.c   	if ((sc->pDCB[pDCB->target][0]->sc_link != NULL) &&
target            707 dev/ic/trm.c   	    ((sc->pDCB[pDCB->target][0]->DCBFlag & TRM_QUIRKS_VALID) == 0)) {
target            708 dev/ic/trm.c   		sc->pDCB[pDCB->target][0]->DCBFlag |= TRM_QUIRKS_VALID;
target            709 dev/ic/trm.c   		trm_ResetDevParam(sc, sc->pDCB[pDCB->target][0], sc->pDCB[pDCB->target][0]->sc_link->quirks);
target           1717 dev/ic/trm.c   	int lun, target;
target           1726 dev/ic/trm.c   	target = pDCB->target;
target           1728 dev/ic/trm.c   		pDCBTemp = sc->pDCB[target][lun];
target           1858 dev/ic/trm.c   	u_int8_t target, lun;
target           1878 dev/ic/trm.c   	target = RselTarLunId & 0xff;
target           1883 dev/ic/trm.c   	    sc->sc_device.dv_xname, target, lun);
target           1886 dev/ic/trm.c   	if ((target < TRM_MAX_TARGETS) && (lun < TRM_MAX_LUNS))
target           1887 dev/ic/trm.c   		pDCB = sc->pDCB[target][lun];
target           1893 dev/ic/trm.c   		    sc->sc_device.dv_xname, target, lun);
target           1919 dev/ic/trm.c   	bus_space_write_1(iot, ioh, TRM_S1040_SCSI_TARGETID, target);
target           1952 dev/ic/trm.c   	int target, lun;
target           2059 dev/ic/trm.c   	target = xs->sc_link->target;
target           2072 dev/ic/trm.c   				    sc->sc_device.dv_xname, target, lun);
target           2075 dev/ic/trm.c   				sc->pDCB[target][lun] = NULL;
target           2093 dev/ic/trm.c   		    sc->sc_device.dv_xname, target, lun, xs->cmd->opcode, xs->error, xs->status);
target           2393 dev/ic/trm.c   	int target, lun;
target           2422 dev/ic/trm.c   	for (target = 0; target < TRM_MAX_TARGETS; target++) {
target           2423 dev/ic/trm.c   		if (target == sc->sc_AdaptSCSIID)
target           2428 dev/ic/trm.c   			sc->pDCB[target][lun] = pDCB;
target           2435 dev/ic/trm.c   			pDCB->target     = target;
target           2941 dev/ic/trm.c   	printf("%s: target %d using ", sc->sc_device.dv_xname, pDCB->target);
target            169 dev/ic/trm.h   	u_int8_t	target;         /* SCSI Target ID                 */
target            788 dev/ic/twe.c   	u_int8_t target = link->target;
target            796 dev/ic/twe.c   	if (target >= TWE_MAX_UNITS || !sc->sc_hdr[target].hd_present ||
target            813 dev/ic/twe.c   		    target));
target            817 dev/ic/twe.c   		TWE_DPRINTF(TWE_D_CMD, ("REQUEST SENSE tgt %d ", target));
target            828 dev/ic/twe.c   		TWE_DPRINTF(TWE_D_CMD, ("INQUIRY tgt %d devtype %x ", target,
target            829 dev/ic/twe.c   		    sc->sc_hdr[target].hd_devtype));
target            832 dev/ic/twe.c   		    (sc->sc_hdr[target].hd_devtype & 4) ? T_CDROM : T_DIRECT;
target            834 dev/ic/twe.c   		    (sc->sc_hdr[target].hd_devtype & 1) ? SID_REMOVABLE : 0;
target            840 dev/ic/twe.c   		    target);
target            846 dev/ic/twe.c   		TWE_DPRINTF(TWE_D_CMD, ("READ CAPACITY tgt %d ", target));
target            848 dev/ic/twe.c   		_lto4b(sc->sc_hdr[target].hd_size - 1, rcd.addr);
target            881 dev/ic/twe.c   			if (blockno >= sc->sc_hdr[target].hd_size ||
target            882 dev/ic/twe.c   			    blockno + blockcnt > sc->sc_hdr[target].hd_size) {
target            885 dev/ic/twe.c   				    sc->sc_hdr[target].hd_size);
target            913 dev/ic/twe.c   		cmd->cmd_unit_host = TWE_UNITHOST(target, 0); /* XXX why 0? */
target            945 dev/ic/twe.c   		    xs->cmd->opcode, target));
target            397 dev/ic/uha.c   	mscp->target = sc_link->target;
target            201 dev/ic/uhareg.h 	u_char target:3;
target           1354 dev/isa/aha.c  	ccb->target = sc_link->target;
target            107 dev/isa/ahareg.h 	u_char target:3;
target            697 dev/isa/seagate.c 				if (!(sea->busy[scb->xs->sc_link->target] &
target            887 dev/isa/seagate.c 			if (target_mask == (1 << scb->xs->sc_link->target) &&
target           1032 dev/isa/seagate.c 	DATA = (u_char)((1 << scb->xs->sc_link->target) | sea->our_id_mask);
target           1086 dev/isa/seagate.c 	sea->busy[scb->xs->sc_link->target] |= 1 << scb->xs->sc_link->lun;
target           1342 dev/isa/seagate.c 				sea->busy[scb->xs->sc_link->target] &=
target           1384 dev/isa/seagate.c 				sea->busy[scb->xs->sc_link->target] &=
target           1100 dev/isa/wds.c  	scb->cmd.targ = (xs->sc_link->target << 5) | xs->sc_link->lun;
target           2100 dev/pci/ahci.c     u_int32_t target)
target           2105 dev/pci/ahci.c 		if ((ahci_read(sc, r) & mask) != target)
target           2131 dev/pci/ahci.c     u_int32_t target)
target           2136 dev/pci/ahci.c 		if ((ahci_pread(ap, r) & mask) == target)
target            143 dev/pci/arc.c  	u_int8_t		target;
target            235 dev/pci/arc.c  	u_int8_t		target;
target            699 dev/pci/arc.c  	cmd->target = link->target;
target           1243 dev/pci/arc.c  	sc_link = sc->sc_scsibus->sc_link[volinfo->scsi_attr.target]
target           1312 dev/pci/arc.c  	bd->bd_target = diskinfo->scsi_attr.target;
target           1671 dev/pci/arc.c      u_int32_t target)
target           1676 dev/pci/arc.c  	    DEVNAME(sc), r, mask, target);
target           1679 dev/pci/arc.c  		if ((arc_read(sc, r) & mask) == target)
target           1689 dev/pci/arc.c      u_int32_t target)
target           1694 dev/pci/arc.c  	    DEVNAME(sc), r, mask, target);
target           1697 dev/pci/arc.c  		if ((arc_read(sc, r) & mask) != target)
target            503 dev/pci/azalia.h 	int target;		/* 0-15: inamp index, 0x100: outamp, ... */
target            463 dev/pci/azalia_codec.c 			m->target = MI_TARGET_CONNLIST;
target            495 dev/pci/azalia_codec.c 			m->target = MI_TARGET_OUTAMP;
target            522 dev/pci/azalia_codec.c 			m->target = MI_TARGET_OUTAMP;
target            551 dev/pci/azalia_codec.c 				m->target = 0;
target            577 dev/pci/azalia_codec.c 					m->target = j;
target            606 dev/pci/azalia_codec.c 				m->target = 0;
target            635 dev/pci/azalia_codec.c 					m->target = j;
target            661 dev/pci/azalia_codec.c 			m->target = MI_TARGET_PINDIR;
target            681 dev/pci/azalia_codec.c 			m->target = MI_TARGET_PINBOOST;
target            700 dev/pci/azalia_codec.c 			m->target = MI_TARGET_VOLUME;
target            716 dev/pci/azalia_codec.c 		m->target = MI_TARGET_DAC;
target            738 dev/pci/azalia_codec.c 		m->target = MI_TARGET_ADC;
target            815 dev/pci/azalia_codec.c 		if (!IS_MI_TARGET_INAMP(m->target) &&
target            816 dev/pci/azalia_codec.c 		    m->target != MI_TARGET_OUTAMP)
target            823 dev/pci/azalia_codec.c 		azalia_generic_mixer_set(this, m->nid, m->target, &mc);
target            836 dev/pci/azalia_codec.c 		if (m->target != MI_TARGET_PINDIR)
target            852 dev/pci/azalia_codec.c 		azalia_generic_mixer_set(this, m->nid, m->target, &mc);
target            861 dev/pci/azalia_codec.c 		if (!IS_MI_TARGET_INAMP(m->target) &&
target            862 dev/pci/azalia_codec.c 		    m->target != MI_TARGET_OUTAMP &&
target            863 dev/pci/azalia_codec.c 		    m->target != MI_TARGET_VOLUME)
target            871 dev/pci/azalia_codec.c 		if (m->target != MI_TARGET_VOLUME &&
target            876 dev/pci/azalia_codec.c 		azalia_generic_mixer_set(this, m->nid, m->target, &mc);
target            896 dev/pci/azalia_codec.c azalia_generic_mixer_get(const codec_t *this, nid_t nid, int target, mixer_ctrl_t *mc)
target            903 dev/pci/azalia_codec.c 	if (IS_MI_TARGET_INAMP(target) && mc->type == AUDIO_MIXER_ENUM) {
target            906 dev/pci/azalia_codec.c 		    MI_TARGET_INAMP(target), &result);
target            913 dev/pci/azalia_codec.c 	else if (IS_MI_TARGET_INAMP(target) && mc->type == AUDIO_MIXER_VALUE) {
target            916 dev/pci/azalia_codec.c 		      MI_TARGET_INAMP(target), &result);
target            920 dev/pci/azalia_codec.c 		    nid, target, CORB_GAGM_GAIN(result));
target            923 dev/pci/azalia_codec.c 			n = this->w[nid].connections[MI_TARGET_INAMP(target)];
target            928 dev/pci/azalia_codec.c 				   MI_TARGET_INAMP(target)));
target            938 dev/pci/azalia_codec.c 			    CORB_GAGM_RIGHT | MI_TARGET_INAMP(target),
target            943 dev/pci/azalia_codec.c 			    (this, nid, target, CORB_GAGM_GAIN(result));
target            948 dev/pci/azalia_codec.c 	else if (target == MI_TARGET_OUTAMP && mc->type == AUDIO_MIXER_ENUM) {
target            957 dev/pci/azalia_codec.c 	else if (target == MI_TARGET_OUTAMP && mc->type == AUDIO_MIXER_VALUE) {
target            963 dev/pci/azalia_codec.c 		    nid, target, CORB_GAGM_GAIN(result));
target            972 dev/pci/azalia_codec.c 			    (this, nid, target, CORB_GAGM_GAIN(result));
target            977 dev/pci/azalia_codec.c 	else if (target == MI_TARGET_CONNLIST) {
target            990 dev/pci/azalia_codec.c 	else if (target == MI_TARGET_PINDIR) {
target            999 dev/pci/azalia_codec.c 	else if (target == MI_TARGET_PINBOOST) {
target           1008 dev/pci/azalia_codec.c 	else if (target == MI_TARGET_DAC) {
target           1013 dev/pci/azalia_codec.c 	else if (target == MI_TARGET_ADC) {
target           1018 dev/pci/azalia_codec.c 	else if (target == MI_TARGET_VOLUME) {
target           1024 dev/pci/azalia_codec.c 		    nid, target, CORB_VKNOB_VOLUME(result));
target           1030 dev/pci/azalia_codec.c 		    XNAME(this), __func__, target);
target           1037 dev/pci/azalia_codec.c azalia_generic_mixer_set(codec_t *this, nid_t nid, int target, const mixer_ctrl_t *mc)
target           1043 dev/pci/azalia_codec.c 	if (IS_MI_TARGET_INAMP(target) && mc->type == AUDIO_MIXER_ENUM) {
target           1047 dev/pci/azalia_codec.c 		    MI_TARGET_INAMP(target), &result);
target           1051 dev/pci/azalia_codec.c 		    (target << CORB_AGM_INDEX_SHIFT) |
target           1062 dev/pci/azalia_codec.c 			    CORB_GAGM_RIGHT | MI_TARGET_INAMP(target),
target           1067 dev/pci/azalia_codec.c 			    (target << CORB_AGM_INDEX_SHIFT) |
target           1079 dev/pci/azalia_codec.c 	else if (IS_MI_TARGET_INAMP(target) && mc->type == AUDIO_MIXER_VALUE) {
target           1082 dev/pci/azalia_codec.c 		if (!azalia_generic_mixer_validate_value(this, nid, target,
target           1087 dev/pci/azalia_codec.c 		      MI_TARGET_INAMP(target), &result);
target           1090 dev/pci/azalia_codec.c 		value = azalia_generic_mixer_to_device_value(this, nid, target,
target           1093 dev/pci/azalia_codec.c 		    (target << CORB_AGM_INDEX_SHIFT) |
target           1102 dev/pci/azalia_codec.c 			if (!azalia_generic_mixer_validate_value(this, nid, target,
target           1107 dev/pci/azalia_codec.c 			      CORB_GAGM_RIGHT | MI_TARGET_INAMP(target),
target           1111 dev/pci/azalia_codec.c 			value = azalia_generic_mixer_to_device_value(this, nid, target,
target           1114 dev/pci/azalia_codec.c 			    (target << CORB_AGM_INDEX_SHIFT) |
target           1125 dev/pci/azalia_codec.c 	else if (target == MI_TARGET_OUTAMP && mc->type == AUDIO_MIXER_ENUM) {
target           1155 dev/pci/azalia_codec.c 	else if (target == MI_TARGET_OUTAMP && mc->type == AUDIO_MIXER_VALUE) {
target           1158 dev/pci/azalia_codec.c 		if (!azalia_generic_mixer_validate_value(this, nid, target,
target           1165 dev/pci/azalia_codec.c 		value = azalia_generic_mixer_to_device_value(this, nid, target,
target           1176 dev/pci/azalia_codec.c 			if (!azalia_generic_mixer_validate_value(this, nid, target,
target           1184 dev/pci/azalia_codec.c 			value = azalia_generic_mixer_to_device_value(this, nid, target,
target           1197 dev/pci/azalia_codec.c 	else if (target == MI_TARGET_CONNLIST) {
target           1209 dev/pci/azalia_codec.c 	else if (target == MI_TARGET_PINDIR) {
target           1230 dev/pci/azalia_codec.c 	else if (target == MI_TARGET_PINBOOST) {
target           1249 dev/pci/azalia_codec.c 	else if (target == MI_TARGET_DAC) {
target           1259 dev/pci/azalia_codec.c 	else if (target == MI_TARGET_ADC) {
target           1269 dev/pci/azalia_codec.c 	else if (target == MI_TARGET_VOLUME) {
target           1273 dev/pci/azalia_codec.c 		    target, mc->un.value.level[0]))
target           1275 dev/pci/azalia_codec.c 		value = azalia_generic_mixer_to_device_value(this, nid, target,
target           1285 dev/pci/azalia_codec.c 		    XNAME(this), __func__, target);
target           1307 dev/pci/azalia_codec.c azalia_generic_mixer_from_device_value(const codec_t *this, nid_t nid, int target,
target           1313 dev/pci/azalia_codec.c 	if (IS_MI_TARGET_INAMP(target))
target           1315 dev/pci/azalia_codec.c 	else if (target == MI_TARGET_OUTAMP)
target           1317 dev/pci/azalia_codec.c 	else if (target == MI_TARGET_VOLUME)
target           1320 dev/pci/azalia_codec.c 		printf("unknown target: %d\n", target);
target           1334 dev/pci/azalia_codec.c azalia_generic_mixer_to_device_value(const codec_t *this, nid_t nid, int target,
target           1340 dev/pci/azalia_codec.c 	if (IS_MI_TARGET_INAMP(target))
target           1342 dev/pci/azalia_codec.c 	else if (target == MI_TARGET_OUTAMP)
target           1344 dev/pci/azalia_codec.c 	else if (target == MI_TARGET_VOLUME)
target           1347 dev/pci/azalia_codec.c 		printf("unknown target: %d\n", target);
target           1361 dev/pci/azalia_codec.c azalia_generic_mixer_max(const codec_t *this, nid_t nid, int target)
target           1368 dev/pci/azalia_codec.c 	if (IS_MI_TARGET_INAMP(target))
target           1370 dev/pci/azalia_codec.c 	else if (target == MI_TARGET_OUTAMP)
target           1372 dev/pci/azalia_codec.c 	else if (target == MI_TARGET_VOLUME)
target           1379 dev/pci/azalia_codec.c azalia_generic_mixer_validate_value(const codec_t *this, nid_t nid, int target,
target           1385 dev/pci/azalia_codec.c 	return uv <= generic_mixer_max(this, nid, target);
target           1401 dev/pci/azalia_codec.c 	return azalia_generic_mixer_set(this, m->nid, m->target, mc);
target           1415 dev/pci/azalia_codec.c 	return azalia_generic_mixer_get(this, m->nid, m->target, mc);
target           1646 dev/pci/azalia_codec.c 	if (m->nid == 0x08 && m->target == MI_TARGET_OUTAMP) {
target           1648 dev/pci/azalia_codec.c 		err = azalia_generic_mixer_set(this, m->nid, m->target, mc);
target           1650 dev/pci/azalia_codec.c 			azalia_generic_mixer_set(this, 0x09, m->target, mc);
target           1655 dev/pci/azalia_codec.c 			azalia_generic_mixer_set(this, 0x0a, m->target, &mc2);
target           1658 dev/pci/azalia_codec.c 	} else if (m->nid == 0x08 && m->target == MI_TARGET_INAMP(0)) {
target           1660 dev/pci/azalia_codec.c 		err = azalia_generic_mixer_set(this, m->nid, m->target, mc);
target           1662 dev/pci/azalia_codec.c 			azalia_generic_mixer_set(this, 0x09, m->target, mc);
target           1663 dev/pci/azalia_codec.c 			azalia_generic_mixer_set(this, 0x0a, m->target, mc);
target           1667 dev/pci/azalia_codec.c 		   m->target == MI_TARGET_CONNLIST &&
target           1672 dev/pci/azalia_codec.c 		   m->target == MI_TARGET_CONNLIST &&
target           1677 dev/pci/azalia_codec.c 	return azalia_generic_mixer_set(this, m->nid, m->target, mc);
target           1912 dev/pci/azalia_codec.c 	    && m->target == -1) {
target           1928 dev/pci/azalia_codec.c 	return azalia_generic_mixer_set(this, m->nid, m->target, mc);
target           1945 dev/pci/azalia_codec.c 	    && m->target == -1) {
target           1962 dev/pci/azalia_codec.c 	return azalia_generic_mixer_get(this, m->nid, m->target, mc);
target           2669 dev/pci/azalia_codec.c 	if (m->target == STAC7661_TARGET_MASTER) {
target           2676 dev/pci/azalia_codec.c 	return azalia_generic_mixer_set(this, m->nid, m->target, mc);
target           2689 dev/pci/azalia_codec.c 	if (m->target == STAC7661_TARGET_MASTER)
target           2692 dev/pci/azalia_codec.c 	return azalia_generic_mixer_get(this, m->nid, m->target, mc);
target           2534 dev/pci/bktr/bktr_core.c 	u_int		target_buffer, buffer, target, width;
target           2614 dev/pci/bktr/bktr_core.c 		    target = target_buffer;
target           2617 dev/pci/bktr/bktr_core.c 			      Bpp, &target, cols);
target           2623 dev/pci/bktr/bktr_core.c 				    OP_WRITE, Bpp, &target, cols);
target           2627 dev/pci/bktr/bktr_core.c 				    bktr->yclip, OP_SKIP, Bpp, &target, cols);
target           2665 dev/pci/bktr/bktr_core.c 		    target = target_buffer;
target           2668 dev/pci/bktr/bktr_core.c 			      Bpp, &target,  cols);
target           2673 dev/pci/bktr/bktr_core.c 				    OP_WRITE, Bpp, &target, cols);
target           2677 dev/pci/bktr/bktr_core.c 				    bktr->yclip, OP_SKIP, Bpp, &target, cols);
target           2701 dev/pci/bktr/bktr_core.c 	u_int		target_buffer, buffer, target,width;
target           2753 dev/pci/bktr/bktr_core.c 	    target = target_buffer;
target           2756 dev/pci/bktr/bktr_core.c 		    Bpp, &target,  cols);
target           2762 dev/pci/bktr/bktr_core.c 			      Bpp, &target, cols);
target           2766 dev/pci/bktr/bktr_core.c 			      OP_SKIP, Bpp, &target,  cols);
target           2814 dev/pci/bktr/bktr_core.c 		    target = target_buffer;
target           2817 dev/pci/bktr/bktr_core.c 			    Bpp, &target,  cols);
target           2822 dev/pci/bktr/bktr_core.c 				    OP_WRITE, Bpp, &target, cols);
target           2826 dev/pci/bktr/bktr_core.c 				    bktr->yclip, OP_SKIP, Bpp, &target, cols);
target           1084 dev/pci/emuxki.c 	chan->pitch.target = 0x0000;	/* the unity pitch shift ? */
target           1089 dev/pci/emuxki.c 	chan->volume.target = 0xffff;
target           1176 dev/pci/emuxki.c 	chan->pitch.target = (srate << 8) / 375;
target           1177 dev/pci/emuxki.c 	chan->pitch.target = (chan->pitch.target >> 1) +
target           1178 dev/pci/emuxki.c 		(chan->pitch.target & 1);
target           1179 dev/pci/emuxki.c 	chan->pitch.target &= 0xffff;
target           1180 dev/pci/emuxki.c 	chan->pitch.current = chan->pitch.target;
target           1319 dev/pci/emuxki.c 		chan->volume.target);
target           1332 dev/pci/emuxki.c 		chan->pitch.target);
target            105 dev/pci/emuxkivar.h 	u_int16_t       target;	/* 0x4000 == unity pitch shift */
target            123 dev/pci/emuxkivar.h 	u_int16_t current, target;
target            505 dev/pci/ips.c  	int target = link->target;
target            509 dev/pci/ips.c  	if (target >= sc->sc_nunits || link->lun != 0) {
target            512 dev/pci/ips.c  		    target, link->lun));
target            521 dev/pci/ips.c  	drive = &sc->sc_di.drive[target];
target            561 dev/pci/ips.c  		if ((error = ips_cmd(sc, cmd, target, blkno, xs->data,
target            590 dev/pci/ips.c  		    "ServeRAID RAID%d #%02d", drive->raid, target);
target            294 dev/sdmmc/sdmmc_scsi.c 	struct sdmmc_scsi_target *tgt = &scbus->sc_tgt[link->target];
target            302 dev/sdmmc/sdmmc_scsi.c 	if (link->target >= scbus->sc_ntargets || tgt->card == NULL ||
target            305 dev/sdmmc/sdmmc_scsi.c 		    DEVNAME(sc), link->target));
target            316 dev/sdmmc/sdmmc_scsi.c 	    DEVNAME(sc), link->target, xs->cmd->opcode, curproc ?
target            337 dev/sdmmc/sdmmc_scsi.c 		    "Drive #%02d", link->target);
target            436 dev/sdmmc/sdmmc_scsi.c 	struct sdmmc_scsi_target *tgt = &scbus->sc_tgt[link->target];
target            441 dev/sdmmc/sdmmc_scsi.c 	    " complete\n", DEVNAME(sc), link->target, xs->cmd->opcode,
target            472 dev/sdmmc/sdmmc_scsi.c 	    " done\n", DEVNAME(sc), link->target, xs->cmd->opcode,
target            257 dev/tc/asc_tc.c 	    sc->sc_nexus->xs->sc_link->target;
target            196 dev/usb/umass_scsi.c 		sc_link->target, sc_link->lun, xs, xs->cmd->opcode,
target            212 dev/usb/umass_scsi.c 	if (sc_link->target != UMASS_SCSIID_DEVICE) {
target            214 dev/usb/umass_scsi.c 			sc->sc_dev.dv_xname, sc_link->target));
target            731 dev/usb/usscanner.c 	    sc_link->scsipi_scsi.target, sc_link->scsipi_scsi.lun,
target            743 dev/usb/usscanner.c 	if (sc_link->scsipi_scsi.target != USSCANNER_SCSIID_DEVICE) {
target            745 dev/usb/usscanner.c 		    sc_link->scsipi_scsi.target));
target            502 kern/kern_ktrace.c 	struct pcred *target = targetp->p_cred;
target            504 kern/kern_ktrace.c 	if ((caller->pc_ucred->cr_uid == target->p_ruid &&
target            505 kern/kern_ktrace.c 	    target->p_ruid == target->p_svuid &&
target            506 kern/kern_ktrace.c 	    caller->p_rgid == target->p_rgid &&	/* XXX */
target            507 kern/kern_ktrace.c 	    target->p_rgid == target->p_svgid &&
target            710 kern/vnode_if.c     struct componentname *cnp, struct vattr *vap, char *target)
target            722 kern/vnode_if.c 	a.a_target = target;
target            800 msdosfs/msdosfs_lookup.c doscheckpath(source, target)
target            802 msdosfs/msdosfs_lookup.c 	struct denode *target;
target            811 msdosfs/msdosfs_lookup.c 	dep = target;
target            812 msdosfs/msdosfs_lookup.c 	if ((target->de_Attributes & ATTR_DIRECTORY) == 0 ||
target            177 net/if_media.c ifmedia_set(struct ifmedia *ifm, int target)
target            181 net/if_media.c 	match = ifmedia_match(ifm, target, ifm->ifm_mask);
target            199 net/if_media.c 		    target, ~ifm->ifm_mask);
target            200 net/if_media.c 		target = (target & IFM_NMASK) | IFM_NONE;
target            201 net/if_media.c 		match = ifmedia_match(ifm, target, ifm->ifm_mask);
target            203 net/if_media.c 			ifmedia_add(ifm, target, 0, NULL);
target            204 net/if_media.c 			match = ifmedia_match(ifm, target, ifm->ifm_mask);
target            215 net/if_media.c 		ifmedia_printword(target);
target            355 net/if_media.c ifmedia_match(struct ifmedia *ifm, u_int target, u_int mask)
target            364 net/if_media.c 		if ((next->ifm_media & mask) == (target & mask)) {
target            369 net/if_media.c 				    target, mask, IFM_INST(match->ifm_media));
target            772 netinet/in.c   in_addprefix(target, flags)
target            773 netinet/in.c   	struct in_ifaddr *target;
target            781 netinet/in.c   		prefix = target->ia_dstaddr.sin_addr;
target            783 netinet/in.c   		prefix = target->ia_addr.sin_addr;
target            784 netinet/in.c   		mask = target->ia_sockmask.sin_addr;
target            805 netinet/in.c   		    target->ia_ifp->if_type != IFT_CARP) {
target            822 netinet/in.c   	error = rtinit(&target->ia_ifa, (int)RTM_ADD, flags);
target            824 netinet/in.c   		target->ia_flags |= IFA_ROUTE;
target            834 netinet/in.c   in_scrubprefix(target)
target            835 netinet/in.c   	struct in_ifaddr *target;
target            841 netinet/in.c   	if ((target->ia_flags & IFA_ROUTE) == 0)
target            844 netinet/in.c   	if (rtinitflags(target))
target            845 netinet/in.c   		prefix = target->ia_dstaddr.sin_addr;
target            847 netinet/in.c   		prefix = target->ia_addr.sin_addr;
target            848 netinet/in.c   		mask = target->ia_sockmask.sin_addr;
target            867 netinet/in.c   			rtinit(&(target->ia_ifa), (int)RTM_DELETE,
target            868 netinet/in.c   			    rtinitflags(target));
target            869 netinet/in.c   			target->ia_flags &= ~IFA_ROUTE;
target            882 netinet/in.c   	rtinit(&(target->ia_ifa), (int)RTM_DELETE, rtinitflags(target));
target            883 netinet/in.c   	target->ia_flags &= ~IFA_ROUTE;
target           1179 scsi/scsi_base.c 	    sc_link->target, sc_link->lun);
target            354 scsi/scsi_ioctl.c 		sca->target = sc_link->target;
target            229 scsi/scsiconf.c 	if (cf->cf_loc[0] != -1 && cf->cf_loc[0] != sc_link->target)
target            290 scsi/scsiconf.c scsi_probe_target(struct scsibus_softc *sc, int target)
target            297 scsi/scsiconf.c 	if (scsi_probe_lun(sc, target, 0) == EINVAL)
target            300 scsi/scsiconf.c 	link = sc->sc_link[target][0];
target            333 scsi/scsiconf.c 			sc->sc_link[target][0] = NULL;
target            334 scsi/scsiconf.c 			scsi_probe_lun(sc, target, lun);
target            335 scsi/scsiconf.c 			sc->sc_link[target][0] = link;
target            344 scsi/scsiconf.c 		if (scsi_probe_lun(sc, target, i) == EINVAL)
target            352 scsi/scsiconf.c scsi_probe_lun(struct scsibus_softc *sc, int target, int lun)
target            356 scsi/scsiconf.c 	if (target < 0 || target >= alink->adapter_buswidth ||
target            357 scsi/scsiconf.c 	    target == alink->adapter_target ||
target            361 scsi/scsiconf.c 	return (scsi_probedev(sc, target, lun));
target            377 scsi/scsiconf.c scsi_detach_target(struct scsibus_softc *sc, int target, int flags)
target            382 scsi/scsiconf.c 	if (target < 0 || target >= alink->adapter_buswidth ||
target            383 scsi/scsiconf.c 	    target == alink->adapter_target)
target            386 scsi/scsiconf.c 	if (sc->sc_link[target] == NULL)
target            390 scsi/scsiconf.c 		if (sc->sc_link[target][i] == NULL)
target            393 scsi/scsiconf.c 		err = scsi_detach_lun(sc, target, i, flags);
target            403 scsi/scsiconf.c scsi_detach_lun(struct scsibus_softc *sc, int target, int lun, int flags)
target            409 scsi/scsiconf.c 	if (target < 0 || target >= alink->adapter_buswidth ||
target            410 scsi/scsiconf.c 	    target == alink->adapter_target ||
target            414 scsi/scsiconf.c 	if (sc->sc_link[target] == NULL)
target            417 scsi/scsiconf.c 	link = sc->sc_link[target][lun];
target            433 scsi/scsiconf.c 	sc->sc_link[target][lun] = NULL;
target            593 scsi/scsiconf.c 	int				target, lun;
target            600 scsi/scsiconf.c 	target = sa->sa_sc_link->target;
target            681 scsi/scsiconf.c 	    target, lun, vendor, product, revision,
target            695 scsi/scsiconf.c scsi_probedev(struct scsibus_softc *scsi, int target, int lun)
target            705 scsi/scsiconf.c 	if (scsi->sc_link[target][lun] != NULL)
target            713 scsi/scsiconf.c 	sc_link->target = target;
target            732 scsi/scsiconf.c 	    ((1 << target) & scsidebug_targets) &&
target            775 scsi/scsiconf.c 	if (lun == 0 || scsi->sc_link[target][0] == NULL)
target            779 scsi/scsiconf.c 	else if (memcmp(&inqbuf, &scsi->sc_link[target][0]->inqdata,
target            839 scsi/scsiconf.c 	    scsi->sc_link[target][1] == NULL && sc_link->luns > 1) {
target            845 scsi/scsiconf.c 	scsi->sc_link[target][lun] = sc_link;
target            143 scsi/scsiconf.h 	u_int16_t target;		/* targ of this dev */
target             54 sys/scsiio.h   	int	target;		/* -1 if wildcard */
target             63 sys/scsiio.h   	int	target;		/* -1 if wildcard */
target           1012 ufs/ext2fs/ext2fs_lookup.c ext2fs_checkpath(struct inode *source, struct inode *target,
target           1020 ufs/ext2fs/ext2fs_lookup.c 	vp = ITOV(target);
target           1021 ufs/ext2fs/ext2fs_lookup.c 	if (target->i_number == source->i_number) {
target           1027 ufs/ext2fs/ext2fs_lookup.c 	if (target->i_number == rootino)
target           1124 ufs/ufs/ufs_lookup.c ufs_checkpath(struct inode *source, struct inode *target, struct ucred *cred)
target           1130 ufs/ufs/ufs_lookup.c 	vp = ITOV(target);
target           1131 ufs/ufs/ufs_lookup.c 	if (target->i_number == source->i_number) {
target           1137 ufs/ufs/ufs_lookup.c 	if (target->i_number == rootino)
target            917 xfs/xfs_vnodeops-common.c 		   char *target)
target            946 xfs/xfs_vnodeops-common.c     if (strlcpy (msg->contents, target, sizeof(msg->contents)) >= NNPFS_MAX_SYMLINK_CONTENT) {
target            196 xfs/xfs_vnodeops.h 		   char *target);