Searched refs:lun_id (Results 1 - 25 of 35) sorted by relevance

12

/freebsd-current/sys/cam/scsi/
H A Dscsi_targetio.h51 * 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 Dscsi_xpt.c580 lun_id_t lun_id);
1235 if (path->device->lun_id == 0 &&
1259 } else if (path->device->lun_id == 0 &&
2079 lun_id_t lun_id; local
2087 lun_id = request_ccb->ccb_h.target_lun;
2115 lun_id);
2123 lun_id);
2137 (uintmax_t)lun_id));
2162 if (lun_id < (CAM_SCSI2_MAXLUN-1) ||
2168 if (lun_id < (CAM_SCSI2_MAXLU
2388 scsi_alloc_device(struct cam_eb *bus, struct cam_et *target, lun_id_t lun_id) argument
[all...]
/freebsd-current/sys/cam/
H A Dcam_xpt_internal.h41 lun_id_t lun_id);
100 lun_id_t lun_id; member in struct:cam_ed
204 lun_id_t lun_id);
H A Dcam_xpt.h90 target_id_t target_id, lun_id_t lun_id);
94 target_id_t target_id, lun_id_t lun_id);
136 lun_id_t lun_id);
H A Dcam_xpt.c256 xpt_find_device(struct cam_et *target, lun_id_t lun_id);
313 lun_id_t lun_id);
693 periph->path->device->lun_id;
836 ccb->ccb_h.path->device->lun_id == CAM_LUN_WILDCARD)
839 ccb->ccb_h.path->device->lun_id == CAM_LUN_WILDCARD)
842 ccb->ccb_h.path->device->lun_id != CAM_LUN_WILDCARD)
1069 (uintmax_t)path->device->lun_id);
1143 (uintmax_t)path->device->lun_id);
1416 pp->target_lun != device->lun_id)
1441 && (cur_pattern->target_lun != device->lun_id))
3441 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
3463 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
3473 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
4733 xpt_alloc_device_default(struct cam_eb *bus, struct cam_et *target, lun_id_t lun_id) argument
4758 xpt_alloc_device(struct cam_eb *bus, struct cam_et *target, lun_id_t lun_id) argument
4927 xpt_find_device(struct cam_et *target, lun_id_t lun_id) argument
[all...]
H A Dcam_periph.c207 lun_id_t lun_id; local
247 lun_id = xpt_path_lun_id(path);
258 status = xpt_create_path(&path, periph, path_id, target_id, lun_id);
275 periph->unit_number = camperiphunit(*p_drv, path_id, target_id, lun_id,
2058 lun_id_t lun_id; local
2067 lun_id = CAM_LUN_WILDCARD;
2069 lun_id = xpt_path_lun_id(ccb->ccb_h.path);
2075 lun_id) == CAM_REQ_CMP) {
/freebsd-current/sys/dev/mpr/
H A Dmpr_sas.h35 lun_id_t lun_id; member in struct:mprsas_lun
171 struct mprsas_target *target, lun_id_t lun_id);
/freebsd-current/sys/dev/mps/
H A Dmps_sas.h36 lun_id_t lun_id; member in struct:mpssas_lun
165 struct mpssas_target *target, lun_id_t lun_id);
/freebsd-current/sys/cam/ctl/
H A Dctl_ioctl.h95 uint32_t lun_id; member in struct:ctl_io_delay_info
214 * lun_id LUN to act on.
224 uint32_t lun_id; /* To kernel */ member in struct:ctl_error_desc
399 * lun_id: The number of the LUN to delete. This must be set.
403 uint32_t lun_id; member in struct:ctl_lun_rm_params
409 * lun_id: The number of the LUN to modify. This must be set.
416 uint32_t lun_id; member in struct:ctl_lun_modify_params
H A Dctl_frontend.h57 typedef int (*lun_func_t)(void *arg, int lun_id);
H A Dctl_backend.h159 uint32_t lun_id; /* returned from CTL */ member in struct:ctl_be_lun
H A Dscsi_ctl.c189 static int ctlfe_lun_enable(void *arg, int lun_id);
190 static int ctlfe_lun_disable(void *arg, int lun_id);
1735 ctlfe_lun_enable(void *arg, int lun_id) argument
1745 lun_id = CAM_EXTLUN_BYTE_SWIZZLE(ctl_encode_lun(lun_id));
1748 bus_softc->path_id, bus_softc->target_id, lun_id);
1799 ctlfe_lun_disable(void *arg, int lun_id) argument
1806 lun_id = CAM_EXTLUN_BYTE_SWIZZLE(ctl_encode_lun(lun_id));
1815 && (xpt_path_lun_id(path) == lun_id)) {
[all...]
H A Dctl_backend_ramdisk.c1061 if (be_lun->cbe_lun.lun_id == params->lun_id) {
1073 __func__, params->lun_id);
1093 "LUN %d", __func__, retval, params->lun_id);
1317 params->req_lun_id = cbe_lun->lun_id;
1352 if (be_lun->cbe_lun.lun_id == params->lun_id)
1359 __func__, params->lun_id);
H A Dctl_backend_block.c2801 be_lun->disk_stats = devstat_new_entry("cbb", cbe_lun->lun_id,
2813 params->req_lun_id = cbe_lun->lun_id;
2846 if (be_lun->cbe_lun.lun_id == params->lun_id) {
2858 params->lun_id);
2878 "LUN %d", retval, params->lun_id);
2923 if (be_lun->cbe_lun.lun_id == params->lun_id)
2930 params->lun_id);
/freebsd-current/sys/dev/nvmf/controller/
H A Dctl_frontend_nvmf.c94 nvmft_lun_enable(void *arg, int lun_id) argument
102 if (lun_id >= le32toh(np->cdata.nn)) {
104 np->cdata.subnqn, lun_id, le32toh(np->cdata.nn));
107 nsid = lun_id + 1;
119 np->cdata.subnqn, lun_id);
140 nvmft_controller_lun_changed(ctrlr, lun_id);
150 nvmft_lun_disable(void *arg, int lun_id) argument
157 if (lun_id >= le32toh(np->cdata.nn))
159 nsid = lun_id + 1;
168 np->cdata.subnqn, lun_id);
[all...]
H A Dnvmft_var.h118 int lun_id);
/freebsd-current/usr.sbin/ctld/
H A Dkernel.c121 uint64_t lun_id; member in struct:cctl_lun
195 cur_lun->lun_id = strtoull(attr[i+1], NULL, 0);
624 "ignoring", (uintmax_t)lun->lun_id);
632 (uintmax_t)lun->lun_id, lun->ctld_name,
638 (uintmax_t)lun->lun_id, lun->ctld_name);
651 lun_set_ctl_lun(cl, lun->lun_id);
663 nv->name, (uintmax_t) lun->lun_id,
788 req.reqdata.modify.lun_id = lun->l_ctl_lun;
868 req.reqdata.rm.lun_id = lun->l_ctl_lun;
/freebsd-current/sys/dev/mpi3mr/
H A Dmpi3mr_cam.h187 struct mpi3mr_target *target, lun_id_t lun_id);
/freebsd-current/sys/dev/virtio/scsi/
H A Dvirtio_scsi.c1612 vtscsi_get_request_lun(uint8_t lun[], target_id_t *target_id, lun_id_t *lun_id) argument
1616 *lun_id = (lun[2] << 8) | lun[3];
1719 target_id_t target_id, lun_id_t lun_id)
1724 if (target_id == CAM_TARGET_WILDCARD && lun_id == CAM_LUN_WILDCARD) {
1730 target_id, lun_id) != CAM_REQ_CMP) {
1741 lun_id_t lun_id)
1753 cam_sim_path(sc->vtscsi_sim), target_id, lun_id);
1774 lun_id_t lun_id; local
1776 vtscsi_get_request_lun(event->lun, &target_id, &lun_id);
1781 vtscsi_execute_rescan(sc, target_id, lun_id);
1718 vtscsi_announce(struct vtscsi_softc *sc, uint32_t ac_code, target_id_t target_id, lun_id_t lun_id) argument
1740 vtscsi_execute_rescan(struct vtscsi_softc *sc, target_id_t target_id, lun_id_t lun_id) argument
[all...]
/freebsd-current/sys/cam/nvme/
H A Dnvme_xpt.c147 lun_id_t lun_id);
593 nvme_alloc_device(struct cam_eb *bus, struct cam_et *target, lun_id_t lun_id) argument
598 device = xpt_alloc_device(bus, target, lun_id);
775 || device->lun_id == CAM_LUN_WILDCARD)
/freebsd-current/usr.sbin/ctladm/
H A Dctladm.c756 delay_info.lun_id = lun;
842 err_desc.lun_id = lun;
2560 uint32_t lun_id = 0; local
2576 lun_id = strtoul(optarg, NULL, 0);
2618 req.reqdata.rm.lun_id = lun_id;
2651 printf("LUN %d removed successfully\n", lun_id);
2663 uint32_t lun_id = 0; local
2679 lun_id = strtoul(optarg, NULL, 0);
2737 req.reqdata.modify.lun_id
3217 uint64_t lun_id; member in struct:cctl_lun
[all...]
/freebsd-current/sys/cam/mmc/
H A Dmmc_xpt.c67 struct cam_et *target, lun_id_t lun_id);
187 mmc_alloc_device(struct cam_eb *bus, struct cam_et *target, lun_id_t lun_id) argument
191 device = xpt_alloc_device(bus, target, lun_id);
215 || device->lun_id == CAM_LUN_WILDCARD)
/freebsd-current/sys/cam/ata/
H A Data_xpt.c175 lun_id_t lun_id);
1573 path->device->lun_id);
1629 ata_alloc_device(struct cam_eb *bus, struct cam_et *target, lun_id_t lun_id) argument
1634 device = xpt_alloc_device(bus, target, lun_id);
2030 device->lun_id == CAM_LUN_WILDCARD)
2048 device->lun_id);
2071 device->lun_id);
/freebsd-current/sys/dev/mfi/
H A Dmfi_cam.c365 pt->header.lun_id = ccbh->target_lun;
/freebsd-current/share/examples/scsi_target/
H A Dscsi_target.c212 &ioc_enlun.lun_id);
217 ioc_enlun.lun_id == CAM_LUN_WILDCARD) {

Completed in 287 milliseconds

12