Lines Matching refs:target_id

248 		 xpt_alloc_target(struct cam_eb *bus, target_id_t target_id);
254 xpt_find_target(struct cam_eb *bus, target_id_t target_id);
435 if (inccb->ccb_h.target_id != CAM_TARGET_WILDCARD || in xptdoioctl()
442 if (inccb->ccb_h.target_id == CAM_TARGET_WILDCARD || in xptdoioctl()
468 inccb->ccb_h.target_id, in xptdoioctl()
502 inccb->ccb_h.target_id, in xptdoioctl()
690 ccb->ccb_h.target_id = in xptdoioctl()
691 periph->path->target->target_id; in xptdoioctl()
835 if (ccb->ccb_h.path->target->target_id == CAM_TARGET_WILDCARD && in xpt_rescan()
838 else if (ccb->ccb_h.path->target->target_id != CAM_TARGET_WILDCARD && in xpt_rescan()
841 else if (ccb->ccb_h.path->target->target_id != CAM_TARGET_WILDCARD && in xpt_rescan()
1068 path->target->target_id, in xpt_announce_periph_sbuf()
1142 path->target->target_id, in xpt_denounce_periph_sbuf()
1412 pp->target_id != device->target->target_id) in xptdevicematch()
1437 && (cur_pattern->target_id != device->target->target_id)) in xptdevicematch()
1546 ||(cur_pattern->target_id != periph->path->target->target_id))) in xptperiphmatch()
1783 cdm->matches[j].result.device_result.target_id = in xptedtdevicefunc()
1784 device->target->target_id; in xptedtdevicefunc()
1901 cdm->matches[j].result.periph_result.target_id = in xptedtperiphfunc()
1902 periph->path->target->target_id; in xptedtperiphfunc()
2066 cdm->matches[j].result.periph_result.target_id = in xptplistperiphfunc()
2067 periph->path->target->target_id; in xptplistperiphfunc()
2069 cdm->matches[j].result.periph_result.target_id = in xptplistperiphfunc()
2479 device->target->target_id, in xptsetasyncfunc()
3015 start_ccb->ccb_h.target_id, in xpt_action_default()
3419 ccb_h->target_id = path->target->target_id; in xpt_setup_ccb_flags()
3421 ccb_h->target_id = CAM_TARGET_WILDCARD; in xpt_setup_ccb_flags()
3442 path_id_t path_id, target_id_t target_id, lun_id_t lun_id) in xpt_create_path() argument
3453 status = xpt_compile_path(path, perph, path_id, target_id, lun_id); in xpt_create_path()
3465 target_id_t target_id, lun_id_t lun_id) in xpt_create_path_unlocked() argument
3468 return (xpt_create_path(new_path_ptr, periph, path_id, target_id, in xpt_create_path_unlocked()
3474 path_id_t path_id, target_id_t target_id, lun_id_t lun_id) in xpt_compile_path() argument
3495 target = xpt_find_target(bus, target_id); in xpt_compile_path()
3500 new_target = xpt_alloc_target(bus, target_id); in xpt_compile_path()
3645 if (path1->target->target_id == CAM_TARGET_WILDCARD) { in xpt_path_comp()
3648 } else if (path2->target->target_id == CAM_TARGET_WILDCARD) in xpt_path_comp()
3679 if (path->target->target_id == CAM_TARGET_WILDCARD) { in xpt_path_comp_dev()
3682 } else if (dev->target->target_id == CAM_TARGET_WILDCARD) in xpt_path_comp_dev()
3722 device->target->target_id, in xpt_device_sbuf()
3778 sbuf_printf(sb, "%d:", path->target->target_id); in xpt_path_sbuf()
3800 return (path->target->target_id); in xpt_path_target_id()
4152 (device->target->target_id == CAM_TARGET_WILDCARD && in xpt_async_process_dev()
4153 path->target->target_id != CAM_TARGET_WILDCARD) || in xpt_async_process_dev()
4181 && path->target->target_id != CAM_TARGET_WILDCARD in xpt_async_process_tgt()
4182 && target->target_id != CAM_TARGET_WILDCARD) in xpt_async_process_tgt()
4330 if (target->target_id == CAM_TARGET_WILDCARD in xpt_dev_async_default()
4502 hash = (u_int)(done_ccb->ccb_h.path_id + done_ccb->ccb_h.target_id + in xpt_done()
4662 xpt_alloc_target(struct cam_eb *bus, target_id_t target_id) in xpt_alloc_target() argument
4675 target->target_id = target_id; in xpt_alloc_target()
4689 while (cur_target != NULL && cur_target->target_id < target_id) in xpt_alloc_target()
4910 xpt_find_target(struct cam_eb *bus, target_id_t target_id) in xpt_find_target() argument
4918 if (target->target_id == target_id) { in xpt_find_target()