/freebsd-10-stable/usr.sbin/mfiutil/ |
H A D | mfi_volume.c | 69 mbox[0] = ref->v.target_id; 84 mfi_ld_get_info(int fd, uint8_t target_id, struct mfi_ld_info *info, argument 89 mbox[0] = target_id; 95 mfi_ld_get_props(int fd, uint8_t target_id, struct mfi_ld_props *props) argument 99 mbox[0] = target_id; 291 uint8_t target_id; local 305 if (mfi_lookup_volume(fd, av[1], &target_id) < 0) { 312 if (mfi_ld_get_props(fd, target_id, &props) < 0) { 321 mfi_volume_name(fd, target_id)); 395 uint8_t target_id; local 450 uint8_t target_id; local [all...] |
H A D | mfi_cmd.c | 166 mfi_query_disk(int fd, uint8_t target_id, struct mfi_query_disk *info) argument 170 info->array_id = target_id; 181 mfi_volume_name(int fd, uint8_t target_id) argument 186 if (mfi_query_disk(fd, target_id, &info) < 0) { 187 snprintf(buf, sizeof(buf), "%d", target_id); 194 mfi_volume_busy(int fd, uint8_t target_id) argument 199 if (mfi_query_disk(fd, target_id, &info) < 0) 222 mfi_lookup_volume(int fd, const char *name, uint8_t *target_id) argument 233 *target_id = val; 242 if (mfi_query_disk(fd, list.ld_list[i].ld.v.target_id, [all...] |
H A D | mfi_config.c | 139 mfi_config_lookup_volume(struct mfi_config_data *config, uint8_t target_id) argument 148 if (ld->properties.ld.v.target_id == target_id) 185 if (mfi_volume_busy(fd, list.ld_list[i].ld.v.target_id)) { 187 mfi_volume_name(fd, list.ld_list[i].ld.v.target_id)); 277 uint8_t target_id; member in struct:config_id_state 403 * Find the next free volume ID assuming that 'target_id' is the last 404 * one used. 'target_id' should be 0xff for the initial test. 412 state->target_id++; 416 if (state->volumes[i] == state->target_id) 848 uint8_t target_id, mbox[4]; local 929 uint8_t target_id; local [all...] |
H A D | mfiutil.h | 146 const char *mfi_volume_name(int fd, uint8_t target_id); 147 int mfi_volume_busy(int fd, uint8_t target_id); 152 int mfi_lookup_volume(int fd, const char *name, uint8_t *target_id); 157 int mfi_ld_get_info(int fd, uint8_t target_id, struct mfi_ld_info *info,
|
H A D | mfi_show.c | 404 mfi_volume_name(fd, ld->properties.ld.v.target_id)); 405 if (mfi_ld_get_info(fd, ld->properties.ld.v.target_id, &linfo, 491 if (mfi_ld_get_info(fd, list.ld_list[i].ld.v.target_id, &info, 495 list.ld_list[i].ld.v.target_id); 500 mfi_volume_name(fd, list.ld_list[i].ld.v.target_id)); 675 uint8_t target_id; local 704 target_id = llist.ld_list[i].ld.v.target_id; 705 if (mfi_ld_get_info(fd, target_id, &linfo, NULL) < 0) { 708 mfi_volume_name(fd, target_id)); [all...] |
/freebsd-10-stable/sys/cam/scsi/ |
H A D | scsi_targetio.h | 51 * target_id, and lun_id fields must be set. The grp6/7_len fields 62 target_id_t target_id; member in struct:ioc_enable_lun
|
/freebsd-10-stable/usr.bin/ipcrm/ |
H A D | ipcrm.c | 209 int c, result, target_id; local 235 target_id = atoi(optarg); 237 result = msgrm(0, target_id); 239 result = shmrm(0, target_id); 241 result = semrm(0, target_id); 246 IPC_TO_STR(toupper(c)), target_id);
|
/freebsd-10-stable/sys/cam/ |
H A D | cam_xpt.h | 85 target_id_t target_id, lun_id_t lun_id); 89 target_id_t target_id, lun_id_t lun_id); 130 target_id_t target_id,
|
H A D | cam_compat.c | 128 hdr->target_id = hdr17->target_id; 155 hdr17->target_id = hdr->target_id;
|
H A D | cam_compat.h | 67 target_id_t target_id; /* Target device ID */ member in struct:ccb_hdr_0x17
|
H A D | cam_xpt.c | 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); 427 if (inccb->ccb_h.target_id != CAM_TARGET_WILDCARD || 434 if (inccb->ccb_h.target_id == CAM_TARGET_WILDCARD || 460 inccb->ccb_h.target_id, 493 inccb->ccb_h.target_id, 680 ccb->ccb_h.target_id = 681 periph->path->target->target_id; 804 if (ccb->ccb_h.path->target->target_id == CAM_TARGET_WILDCARD && 807 else if (ccb->ccb_h.path->target->target_id ! 3393 xpt_create_path(struct cam_path **new_path_ptr, struct cam_periph *perph, path_id_t path_id, target_id_t target_id, lun_id_t lun_id) argument 3415 xpt_create_path_unlocked(struct cam_path **new_path_ptr, struct cam_periph *periph, path_id_t path_id, target_id_t target_id, lun_id_t lun_id) argument 3425 xpt_compile_path(struct cam_path *new_path, struct cam_periph *perph, path_id_t path_id, target_id_t target_id, lun_id_t lun_id) argument 4631 xpt_alloc_target(struct cam_eb *bus, target_id_t target_id) argument 4875 xpt_find_target(struct cam_eb *bus, target_id_t target_id) argument [all...] |
/freebsd-10-stable/lib/libcam/ |
H A D | camlib.h | 114 target_id_t target_id; /* Target ID */ member in struct:cam_device 134 struct cam_device * cam_open_btl(path_id_t path_id, target_id_t target_id,
|
H A D | camlib.c | 83 ccb->ccb_h.target_id = dev->target_id; 267 cam_open_btl(path_id_t path_id, target_id_t target_id, lun_id_t target_lun, argument 284 ccb.ccb_h.target_id = CAM_TARGET_WILDCARD; 321 match_pat->target_id = target_id; 351 __func__, path_id, target_id, (uintmax_t)target_lun); 358 " %d:%d:%jx", __func__, path_id, target_id, 588 device->target_id = ccb.ccb_h.target_id; [all...] |
/freebsd-10-stable/sys/dev/hyperv/storvsc/ |
H A D | hv_vstorage.h | 122 uint8_t target_id; member in struct:vmscsi_req 155 uint8_t target_id; member in struct:vmstor_chan_props
|
/freebsd-10-stable/sys/dev/ata/ |
H A D | ata-all.c | 741 request->unit = ccb->ccb_h.target_id; 777 ch->curr[ccb->ccb_h.target_id].bytecount); 787 if (ch->curr[ccb->ccb_h.target_id].atapi == 16) 790 ch->curr[ccb->ccb_h.target_id].mode >= ATA_DMA) 797 ch->curr[ccb->ccb_h.target_id].bytecount); 826 request->unit = ccb->ccb_h.target_id; 832 if (ch->curr[ccb->ccb_h.target_id].atapi == 16) 834 if (ch->curr[ccb->ccb_h.target_id].mode >= ATA_DMA) 838 ch->curr[ccb->ccb_h.target_id].bytecount); 956 if (ccb->ccb_h.target_id > ((c [all...] |
/freebsd-10-stable/sys/dev/hptrr/ |
H A D | osm.h | 180 #define os_register_device(osext, target_id) 181 #define os_unregister_device(osext, target_id) 182 int os_query_remove_device(void *osext, int target_id); 183 int os_revalidate_device(void *osext, int target_id);
|
/freebsd-10-stable/sys/dev/hpt27xx/ |
H A D | osm.h | 215 #define os_register_device(osext, target_id) 216 #define os_unregister_device(osext, target_id) 217 int os_query_remove_device(void *osext, int target_id); 218 int os_revalidate_device(void *osext, int target_id);
|
/freebsd-10-stable/sys/dev/hptnr/ |
H A D | osm.h | 213 #define os_register_device(osext, target_id) 214 #define os_unregister_device(osext, target_id) 215 int os_query_remove_device(void *osext, int target_id); 216 int os_revalidate_device(void *osext, int target_id);
|
/freebsd-10-stable/sys/dev/isci/ |
H A D | isci_io_request.c | 148 ccb->ccb_h.path_id, ccb->ccb_h.target_id, 159 ccb->ccb_h.path_id, ccb->ccb_h.target_id, 167 ccb->ccb_h.path_id, ccb->ccb_h.target_id, 210 ccb->ccb_h.path_id, ccb->ccb_h.target_id, 743 target_id_t target_id = ccb->ccb_h.target_id; local 747 controller->remote_device[target_id]; 925 target_id_t target_id = ccb->ccb_h.target_id; local 929 struct ISCI_REMOTE_DEVICE *end_device = controller->remote_device[target_id]; [all...] |
/freebsd-10-stable/sys/dev/iscsi_initiator/ |
H A D | isc_cam.c | 66 debug(3, "sid=%d target=%d lun=%d", sp->sid, ccb->ccb_h.target_id, ccb->ccb_h.target_lun); 178 ccb->ccb_h.target_id, ccb->ccb_h.target_lun, 209 debug(3, "target=%d: bad lun (-1)", ccb_h->target_id); 224 sp->sid, ccb->ccb_h.target_id, ccb->ccb_h.target_lun, 282 cp->target_id = 0;
|
/freebsd-10-stable/sys/dev/aacraid/ |
H A D | aacraid_cam.c | 116 uint32_t target_id); 182 aac_cam_rescan(struct aac_softc *sc, uint32_t channel, uint32_t target_id) argument 188 if (target_id == AAC_CAM_TARGET_WILDCARD) 189 target_id = CAM_TARGET_WILDCARD; 206 target_id, CAM_LUN_WILDCARD) != CAM_REQ_CMP) { 443 raw->ldNum = ccb->ccb_h.target_id; 457 raw->ContainerId = ccb->ccb_h.target_id; 469 br->ContainerId = ccb->ccb_h.target_id; 478 bw->ContainerId = ccb->ccb_h.target_id; 491 br->ContainerId = ccb->ccb_h.target_id; [all...] |
/freebsd-10-stable/sys/dev/ppbus/ |
H A D | vpo.c | 195 csio->ccb_h.target_id, 201 csio->ccb_h.target_id, 247 csio->ccb_h.target_id, 255 csio->ccb_h.target_id,
|
/freebsd-10-stable/sys/dev/advansys/ |
H A D | adwcam.c | 376 acb->queue.target_id = ccb->ccb_h.target_id; 444 ccb->ccb_h.target_id); 469 target_mask = 0x01 << ccb->ccb_h.target_id; 544 ccb->ccb_h.target_id); 571 ccb->ccb_h.target_id, 595 target_mask = 0x01 << ccb->ccb_h.target_id; 618 mc_sdtr = adw_get_user_sdtr(adw, ccb->ccb_h.target_id); 640 + (2 * ccb->ccb_h.target_id)); 1428 int target_id; local [all...] |
H A D | advansys.c | 257 targ_mask = ADV_TID_TO_TARGET_MASK(cts->ccb_h.target_id); 265 tconf = &adv->tinfo[cts->ccb_h.target_id].current; 268 tconf = &adv->tinfo[cts->ccb_h.target_id].user; 334 cts->ccb_h.target_id); 337 cts->ccb_h.target_id, spi->sync_period, 355 target_mask = ADV_TID_TO_TARGET_MASK(cts->ccb_h.target_id); 369 tconf = &adv->tinfo[cts->ccb_h.target_id].current; 375 tconf = &adv->tinfo[cts->ccb_h.target_id].user; 502 scsiq.q1.target_id = ADV_TID_TO_TARGET_MASK(ccb_h->target_id); [all...] |
/freebsd-10-stable/sys/dev/ahb/ |
H A D | ahb.c | 584 u_int target_id; local 592 target_id = intstat & INTSTAT_TARGET_MASK; 602 if (ccb->ccb_h.target_id == target_id 603 || target_id == ahb->scsi_id) { 612 else if (target_id == ahb->scsi_id) 629 } else if (target_id == ahb->scsi_id) 633 "Bus Device Reset Delivered to target %d\n", target_id); 743 ahb->tags_permitted &= ~(0x01 << ccb->ccb_h.target_id); 987 ahbqueuembox(ahb, ecb_paddr, ATTN_STARTECB|ccb->ccb_h.target_id); [all...] |