/freebsd-10.1-release/sys/cam/scsi/ |
H A D | scsi_targetio.h | 51 * target_id, and lun_id fields must be set. The grp6/7_len fields 63 lun_id_t lun_id; member in struct:ioc_enable_lun
|
H A D | scsi_xpt.c | 583 lun_id_t lun_id); 1173 if (path->device->lun_id == 0 && 1197 } else if (path->device->lun_id == 0 && 1987 lun_id_t lun_id; local 2001 lun_id = request_ccb->ccb_h.target_lun; 2031 lun_id); 2043 lun_id); 2057 (uintmax_t)lun_id)); 2070 if (device->lun_id == 0) { 2101 if (device->lun_id 2340 scsi_alloc_device(struct cam_eb *bus, struct cam_et *target, lun_id_t lun_id) argument [all...] |
/freebsd-10.1-release/sys/cam/ |
H A D | cam_xpt.h | 81 target_id_t target_id, lun_id_t lun_id); 85 target_id_t target_id, lun_id_t lun_id); 127 lun_id_t lun_id);
|
H A D | cam_xpt_internal.h | 41 lun_id_t lun_id); 69 lun_id_t lun_id; member in struct:cam_ed 171 lun_id_t lun_id);
|
H A D | cam_xpt.c | 250 xpt_find_device(struct cam_et *target, lun_id_t lun_id); 305 lun_id_t lun_id); 677 periph->path->device->lun_id; 799 ccb->ccb_h.path->device->lun_id == CAM_LUN_WILDCARD) 802 ccb->ccb_h.path->device->lun_id == CAM_LUN_WILDCARD) 805 ccb->ccb_h.path->device->lun_id != CAM_LUN_WILDCARD) 1019 (uintmax_t)path->device->lun_id); 1072 (uintmax_t)path->device->lun_id); 1349 && (cur_pattern->target_lun != device->lun_id)) 1481 || (cur_pattern->target_lun != periph->path->device->lun_id))) 3348 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 3370 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 3380 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 4656 xpt_alloc_device_default(struct cam_eb *bus, struct cam_et *target, lun_id_t lun_id) argument 4681 xpt_alloc_device(struct cam_eb *bus, struct cam_et *target, lun_id_t lun_id) argument 4845 xpt_find_device(struct cam_et *target, lun_id_t lun_id) argument [all...] |
H A D | cam_periph.c | 156 lun_id_t lun_id; local 198 lun_id = xpt_path_lun_id(path); 209 status = xpt_create_path(&path, periph, path_id, target_id, lun_id); 226 periph->unit_number = camperiphunit(*p_drv, path_id, target_id, lun_id); 1738 lun_id_t lun_id; local 1747 lun_id = CAM_LUN_WILDCARD; 1749 lun_id = xpt_path_lun_id(ccb->ccb_h.path); 1755 lun_id) == CAM_REQ_CMP) {
|
/freebsd-10.1-release/sys/cam/ctl/ |
H A D | ctl_ioctl.h | 90 uint32_t lun_id; /* Passed in to CTL */ member in struct:ctl_ooa_info 135 uint32_t lun_id; member in struct:ctl_io_delay_info 154 uint32_t lun_id; /* passed to kernel */ member in struct:ctl_sync_info 283 * lun_id LUN to act on. 294 uint32_t lun_id; /* To kernel */ member in struct:ctl_error_desc 473 * lun_id: The number of the LUN to delete. This must be set. 477 uint32_t lun_id; member in struct:ctl_lun_rm_params 483 * lun_id: The number of the LUN to modify. This must be set. 490 uint32_t lun_id; member in struct:ctl_lun_modify_params
|
H A D | ctl_frontend.h | 53 typedef int (*lun_func_t)(void *arg, struct ctl_id targ_id, int lun_id); 54 typedef uint32_t (*lun_map_func_t)(void *arg, uint32_t lun_id);
|
H A D | ctl_frontend_internal.c | 148 int lun_id; member in struct:cfi_lun 195 static int cfi_lun_enable(void *arg, struct ctl_id target_id, int lun_id); 196 static int cfi_lun_disable(void *arg, struct ctl_id target_id, int lun_id); 329 cfi_lun_enable(void *arg, struct ctl_id target_id, int lun_id) argument 341 && (lun->lun_id == lun_id)) { 362 lun->lun_id = lun_id; 378 cfi_lun_disable(void *arg, struct ctl_id target_id, int lun_id) argument 397 && (lun->lun_id [all...] |
H A D | ctl_tpc_local.c | 73 static int tpcl_lun_enable(void *arg, struct ctl_id target_id, int lun_id); 74 static int tpcl_lun_disable(void *arg, struct ctl_id target_id, int lun_id); 157 tpcl_lun_enable(void *arg, struct ctl_id target_id, int lun_id) argument 164 tpcl_lun_disable(void *arg, struct ctl_id target_id, int lun_id) argument
|
H A D | ctl_backend.h | 192 uint32_t lun_id; /* returned from CTL */ member in struct:ctl_be_lun
|
H A D | ctl_backend_ramdisk.c | 438 if (be_lun->ctl_be_lun.lun_id == params->lun_id) 446 __func__, params->lun_id); 455 "LUN %d", __func__, retval, params->lun_id); 475 "LUN %d", __func__, retval, params->lun_id); 711 params->req_lun_id = be_lun->ctl_be_lun.lun_id; 747 if (be_lun->ctl_be_lun.lun_id == params->lun_id) 755 __func__, params->lun_id);
|
H A D | ctl_frontend_iscsi.c | 154 struct ctl_id target_id, int lun_id); 156 struct ctl_id target_id, int lun_id); 2282 unsigned long lun_id, unsigned long ctl_lun_id) 2285 if (lun_id >= CTL_MAX_LUNS) { 2287 "than maximum %d", lun_id, CTL_MAX_LUNS - 1); 2291 if (ct->ct_luns[lun_id] < CTL_MAX_LUNS) { 2298 if (ct->ct_luns[lun_id] == ctl_lun_id) 2300 CFISCSI_WARN("lun %ld already allocated", lun_id); 2306 "to ctl lun %ld", lun_id, ct->ct_name, ctl_lun_id); 2309 ct->ct_luns[lun_id] 2281 cfiscsi_target_set_lun(struct cfiscsi_target *ct, unsigned long lun_id, unsigned long ctl_lun_id) argument 2315 cfiscsi_lun_enable(void *arg, struct ctl_id target_id, int lun_id) argument 2349 cfiscsi_lun_disable(void *arg, struct ctl_id target_id, int lun_id) argument [all...] |
H A D | ctl_frontend_cam_sim.c | 102 static int cfcs_lun_enable(void *arg, struct ctl_id target_id, int lun_id); 103 static int cfcs_lun_disable(void *arg, struct ctl_id target_id, int lun_id); 306 cfcs_lun_enable(void *arg, struct ctl_id target_id, int lun_id) argument 311 cfcs_lun_disable(void *arg, struct ctl_id target_id, int lun_id) argument
|
H A D | scsi_ctl.c | 215 int lun_id); 217 int lun_id); 1911 ctlfe_lun_enable(void *arg, struct ctl_id targ_id, int lun_id) argument 1923 targ_id.id, lun_id); 1968 ctlfe_lun_disable(void *arg, struct ctl_id targ_id, int lun_id) argument 1982 && (xpt_path_lun_id(path) == lun_id)) { 1989 targ_id.id, lun_id);
|
H A D | ctl_backend_block.c | 2168 params->req_lun_id = be_lun->ctl_be_lun.lun_id; 2217 if (be_lun->ctl_be_lun.lun_id == params->lun_id) 2225 __func__, params->lun_id); 2234 "LUN %d", __func__, retval, params->lun_id); 2243 "LUN %d", __func__, retval, params->lun_id); 2391 if (be_lun->ctl_be_lun.lun_id == params->lun_id) 2399 __func__, params->lun_id);
|
/freebsd-10.1-release/usr.sbin/ctld/ |
H A D | kernel.c | 111 uint64_t lun_id; member in struct:cctl_lun 180 cur_lun->lun_id = strtoull(attr[i+1], NULL, 0); 527 "ignoring", (uintmax_t)lun->lun_id); 535 lun->cfiscsi_target, lun->lun_id); 548 (uintmax_t) lun->lun_id, cl->l_lun, 554 (uintmax_t)lun->lun_id, lun->cfiscsi_lun, lun->cfiscsi_target); 566 lun_set_ctl_lun(cl, lun->lun_id); 578 nv->name, (uintmax_t) lun->lun_id, 730 req.reqdata.modify.lun_id = lun->l_ctl_lun; 763 req.reqdata.rm.lun_id [all...] |
H A D | ctld.h | 255 struct lun *lun_new(struct target *target, int lun_id); 257 struct lun *lun_find(const struct target *target, int lun_id);
|
H A D | ctld.c | 866 lun_new(struct target *targ, int lun_id) argument 870 lun = lun_find(targ, lun_id); 873 lun_id, targ->t_name); 880 lun->l_lun = lun_id; 905 lun_find(const struct target *targ, int lun_id) argument 910 if (lun->l_lun == lun_id)
|
/freebsd-10.1-release/sys/dev/mpr/ |
H A D | mpr_sas.h | 35 lun_id_t lun_id; member in struct:mprsas_lun
|
H A D | mpr_sas.c | 1093 target_id_t target_id, lun_id_t lun_id) 1099 ac_code, target_id, (uintmax_t)lun_id); 1102 path_id, target_id, lun_id) != CAM_REQ_CMP) { 1829 if (lun->lun_id == csio->ccb_h.target_lun) { 3061 if (lun->lun_id == lunid) { 3075 lun->lun_id = lunid; 3159 if (lun->lun_id == lunid) { 3172 lun->lun_id = lunid; 3254 if (lun->lun_id == lunid) { 3269 lun->lun_id 1092 mprsas_announce_reset(struct mpr_softc *sc, uint32_t ac_code, target_id_t target_id, lun_id_t lun_id) argument [all...] |
/freebsd-10.1-release/sys/dev/mps/ |
H A D | mps_sas.h | 35 lun_id_t lun_id; member in struct:mpssas_lun
|
/freebsd-10.1-release/sys/dev/virtio/scsi/ |
H A D | virtio_scsi.c | 1561 vtscsi_get_request_lun(uint8_t lun[], target_id_t *target_id, lun_id_t *lun_id) argument 1565 *lun_id = (lun[2] << 8) | lun[3]; 1668 target_id_t target_id, lun_id_t lun_id) 1673 if (target_id == CAM_TARGET_WILDCARD && lun_id == CAM_LUN_WILDCARD) { 1679 target_id, lun_id) != CAM_REQ_CMP) { 1690 lun_id_t lun_id) 1702 cam_sim_path(sc->vtscsi_sim), target_id, lun_id); 1723 lun_id_t lun_id; local 1725 vtscsi_get_request_lun(event->lun, &target_id, &lun_id); 1730 vtscsi_execute_rescan(sc, target_id, lun_id); 1667 vtscsi_announce(struct vtscsi_softc *sc, uint32_t ac_code, target_id_t target_id, lun_id_t lun_id) argument 1689 vtscsi_execute_rescan(struct vtscsi_softc *sc, target_id_t target_id, lun_id_t lun_id) argument [all...] |
/freebsd-10.1-release/usr.sbin/ctladm/ |
H A D | ctladm.c | 846 delay_info.lun_id = lun; 965 sync_info.lun_id = lun; 1060 err_desc.lun_id = lun; 1611 ooa_info.lun_id = lun_val; 3208 uint32_t lun_id = 0; local 3223 lun_id = strtoul(optarg, NULL, 0); 3279 req.reqdata.rm.lun_id = lun_id; 3335 printf("LUN %d deleted successfully\n", lun_id); 3346 uint32_t lun_id local 3829 uint64_t lun_id; member in struct:cctl_lun [all...] |
/freebsd-10.1-release/sys/cam/ata/ |
H A D | ata_xpt.c | 181 lun_id_t lun_id); 1512 path->device->lun_id); 1568 ata_alloc_device(struct cam_eb *bus, struct cam_et *target, lun_id_t lun_id) argument 1573 device = xpt_alloc_device(bus, target, lun_id); 1964 || device->lun_id == CAM_LUN_WILDCARD) 1977 device->lun_id); 2008 device->lun_id);
|