/freebsd-11-stable/usr.sbin/mfiutil/ |
H A D | mfi_volume.c | 71 mbox[0] = ref->v.target_id; 86 mfi_ld_get_info(int fd, uint8_t target_id, struct mfi_ld_info *info, argument 91 mbox[0] = target_id; 97 mfi_ld_get_props(int fd, uint8_t target_id, struct mfi_ld_props *props) argument 101 mbox[0] = target_id; 293 uint8_t target_id; local 307 if (mfi_lookup_volume(fd, av[1], &target_id) < 0) { 314 if (mfi_ld_get_props(fd, target_id, &props) < 0) { 323 mfi_volume_name(fd, target_id)); 397 uint8_t target_id; local 452 uint8_t target_id; local [all...] |
H A D | mfi_cmd.c | 168 mfi_query_disk(int fd, uint8_t target_id, struct mfi_query_disk *info) argument 172 info->array_id = target_id; 183 mfi_volume_name(int fd, uint8_t target_id) argument 188 if (mfi_query_disk(fd, target_id, &info) < 0) { 189 snprintf(buf, sizeof(buf), "%d", target_id); 196 mfi_volume_busy(int fd, uint8_t target_id) argument 201 if (mfi_query_disk(fd, target_id, &info) < 0) 224 mfi_lookup_volume(int fd, const char *name, uint8_t *target_id) argument 235 *target_id = val; 244 if (mfi_query_disk(fd, list.ld_list[i].ld.v.target_id, [all...] |
H A D | mfi_config.c | 141 mfi_config_lookup_volume(struct mfi_config_data *config, uint8_t target_id) argument 150 if (ld->properties.ld.v.target_id == target_id) 187 if (mfi_volume_busy(fd, list.ld_list[i].ld.v.target_id)) { 189 mfi_volume_name(fd, list.ld_list[i].ld.v.target_id)); 279 uint8_t target_id; member in struct:config_id_state 405 * Find the next free volume ID assuming that 'target_id' is the last 406 * one used. 'target_id' should be 0xff for the initial test. 414 state->target_id++; 418 if (state->volumes[i] == state->target_id) 850 uint8_t target_id, mbox[4]; local 931 uint8_t target_id; local [all...] |
H A D | mfiutil.h | 148 const char *mfi_volume_name(int fd, uint8_t target_id); 149 int mfi_volume_busy(int fd, uint8_t target_id); 154 int mfi_lookup_volume(int fd, const char *name, uint8_t *target_id); 159 int mfi_ld_get_info(int fd, uint8_t target_id, struct mfi_ld_info *info,
|
H A D | mfi_show.c | 406 mfi_volume_name(fd, ld->properties.ld.v.target_id)); 407 if (mfi_ld_get_info(fd, ld->properties.ld.v.target_id, &linfo, 493 if (mfi_ld_get_info(fd, list.ld_list[i].ld.v.target_id, &info, 497 list.ld_list[i].ld.v.target_id); 502 mfi_volume_name(fd, list.ld_list[i].ld.v.target_id)); 677 uint8_t target_id; local 706 target_id = llist.ld_list[i].ld.v.target_id; 707 if (mfi_ld_get_info(fd, target_id, &linfo, NULL) < 0) { 710 mfi_volume_name(fd, target_id)); [all...] |
/freebsd-11-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-11-stable/sys/cam/ |
H A D | cam_compat.h | 67 target_id_t target_id; /* Target device ID */ member in struct:ccb_hdr_0x17 155 target_id_t target_id; /* Target device ID */ member in struct:ccb_hdr_0x18 200 target_id_t target_id; member in struct:dev_match_result_0x18::__anon5247::__anon5248 205 target_id_t target_id; member in struct:dev_match_result_0x18::__anon5247::__anon5249
|
H A D | cam_compat.c | 140 hdr->target_id = hdr17->target_id; 183 hdr17->target_id = hdr->target_id; 278 hdr->target_id = hdr18->target_id; 323 hdr18->target_id = hdr->target_id; 386 dm18[i].result.periph_result.target_id = 387 dm[i].result.periph_result.target_id; [all...] |
H A D | cam_xpt.h | 91 target_id_t target_id, lun_id_t lun_id); 95 target_id_t target_id, lun_id_t lun_id); 135 target_id_t target_id,
|
H A D | cam_xpt.c | 243 xpt_alloc_target(struct cam_eb *bus, target_id_t target_id); 249 xpt_find_target(struct cam_eb *bus, target_id_t target_id); 426 if (inccb->ccb_h.target_id != CAM_TARGET_WILDCARD || 433 if (inccb->ccb_h.target_id == CAM_TARGET_WILDCARD || 459 inccb->ccb_h.target_id, 492 inccb->ccb_h.target_id, 680 ccb->ccb_h.target_id = 681 periph->path->target->target_id; 817 if (ccb->ccb_h.path->target->target_id == CAM_TARGET_WILDCARD && 820 else if (ccb->ccb_h.path->target->target_id ! 3438 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 3460 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 3470 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 4653 xpt_alloc_target(struct cam_eb *bus, target_id_t target_id) argument 4897 xpt_find_target(struct cam_eb *bus, target_id_t target_id) argument [all...] |
/freebsd-11-stable/usr.bin/ipcrm/ |
H A D | ipcrm.c | 205 int c, result, target_id; local 231 target_id = atoi(optarg); 233 result = msgrm(0, target_id); 235 result = shmrm(0, target_id); 237 result = semrm(0, target_id); 242 IPC_TO_STR(toupper(c)), target_id);
|
/freebsd-11-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 | 84 ccb->ccb_h.target_id = dev->target_id; 272 cam_open_btl(path_id_t path_id, target_id_t target_id, lun_id_t target_lun, argument 289 ccb.ccb_h.target_id = CAM_TARGET_WILDCARD; 326 match_pat->target_id = target_id; 356 __func__, path_id, target_id, (uintmax_t)target_lun); 363 " %d:%d:%jx", __func__, path_id, target_id, 593 device->target_id = ccb.ccb_h.target_id; [all...] |
/freebsd-11-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-11-stable/sys/dev/smartpqi/ |
H A D | smartpqi_cam.c | 231 device = softs->device_list[csio->ccb_h.target_id][csio->ccb_h.target_lun]; 708 if( softs->device_list[ccb->ccb_h.target_id][ccb->ccb_h.target_lun] == NULL ) { 710 DBG_INFO("Device = %d not there\n", ccb->ccb_h.target_id); 714 dvp = softs->device_list[ccb->ccb_h.target_id][ccb->ccb_h.target_lun]; 719 DBG_WARN("Device = %d BUSY/IN_RESET\n", ccb->ccb_h.target_id); 725 DBG_WARN("Device = %d GONE/OFFLINE\n", ccb->ccb_h.target_id); 731 DBG_WARN("Device %d reset returned busy\n", ccb->ccb_h.target_id); 737 DBG_INFO("Device = %d not exposed\n", ccb->ccb_h.target_id); 774 rcb->dvp = softs->device_list[ccb->ccb_h.target_id][ccb->ccb_h.target_lun]; 795 DBG_WARN("In Progress on %d\n", ccb->ccb_h.target_id); [all...] |
/freebsd-11-stable/sys/dev/ata/ |
H A D | ata-all.c | 740 request->unit = ccb->ccb_h.target_id; 776 ch->curr[ccb->ccb_h.target_id].bytecount); 786 if (ch->curr[ccb->ccb_h.target_id].atapi == 16) 789 ch->curr[ccb->ccb_h.target_id].mode >= ATA_DMA) 796 ch->curr[ccb->ccb_h.target_id].bytecount); 825 request->unit = ccb->ccb_h.target_id; 831 if (ch->curr[ccb->ccb_h.target_id].atapi == 16) 833 if (ch->curr[ccb->ccb_h.target_id].mode >= ATA_DMA) 837 ch->curr[ccb->ccb_h.target_id].bytecount); 955 if (ccb->ccb_h.target_id > ((c [all...] |
/freebsd-11-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-11-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-11-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-11-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-11-stable/sys/dev/iscsi_initiator/ |
H A D | isc_cam.c | 67 debug(3, "sid=%d target=%d lun=%jx", sp->sid, ccb->ccb_h.target_id, (uintmax_t)ccb->ccb_h.target_lun); 179 ccb->ccb_h.target_id, (uintmax_t)ccb->ccb_h.target_lun, 210 debug(3, "target=%d: bad lun (-1)", ccb_h->target_id); 225 sp->sid, ccb->ccb_h.target_id, (uintmax_t)ccb->ccb_h.target_lun, 283 cp->target_id = 0;
|
/freebsd-11-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-11-stable/lib/libomp/ |
H A D | omp-tools.h | 582 ompt_id_t *target_id, 923 ompt_id_t target_id, 951 ompt_id_t target_id, 960 ompt_id_t target_id; member in struct:ompt_record_target_t 965 ompt_id_t target_id, 975 ompt_id_t target_id; member in struct:ompt_record_target_map_t 985 ompt_id_t target_id, 1041 ompt_id_t target_id; member in struct:ompt_record_ompt_t
|
/freebsd-11-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-11-stable/sys/dev/advansys/ |
H A D | adwcam.c | 374 acb->queue.target_id = ccb->ccb_h.target_id; 442 ccb->ccb_h.target_id); 467 target_mask = 0x01 << ccb->ccb_h.target_id; 542 ccb->ccb_h.target_id); 569 ccb->ccb_h.target_id, 593 target_mask = 0x01 << ccb->ccb_h.target_id; 616 mc_sdtr = adw_get_user_sdtr(adw, ccb->ccb_h.target_id); 638 + (2 * ccb->ccb_h.target_id)); 1424 int target_id; local [all...] |