Searched refs:lun (Results 26 - 50 of 140) sorted by relevance

123456

/freebsd-current/usr.sbin/ctladm/
H A Dctladm.c217 static int cctl_delay(int fd, int lun, int argc, char **argv,
220 static int cctl_sync_cache(int fd, int lun, int iid, int retries,
222 static int cctl_start_stop(int fd, int lun, int iid, int retries,
224 static int cctl_mode_sense(int fd, int lun, int iid, int retries,
226 static int cctl_read_capacity(int fd, int lun, int iid,
229 static int cctl_read_write(int fd, int lun, int iid, int retries,
232 static int cctl_get_luns(int fd, int lun, int iid, int retries,
235 static int cctl_report_luns(int fd, int lun, int iid, int retries);
236 static int cctl_tur(int fd, int lun, int iid, int retries);
237 static int cctl_get_inquiry(int fd, int lun, in
287 int num_entries, len, lun = -1, retval = 0; local
728 cctl_delay(int fd, int lun, int argc, char **argv, char *combinedopt) argument
854 cctl_error_inject(int fd, uint32_t lun, int argc, char **argv, char *combinedopt) argument
1148 cctl_sync_cache(int fd, int lun, int iid, int retries, int argc, char **argv, char *combinedopt) argument
1232 cctl_start_stop(int fd, int lun, int iid, int retries, int start, int argc, char **argv, char *combinedopt) argument
1295 cctl_mode_sense(int fd, int lun, int iid, int retries, int argc, char **argv, char *combinedopt) argument
1510 cctl_read_capacity(int fd, int lun, int iid, int retries, int argc, char **argv, char *combinedopt) argument
1633 cctl_read_write(int fd, int lun, int iid, int retries, int argc, char **argv, char *combinedopt, ctladm_cmdfunction command) argument
1813 cctl_get_luns(int fd, int lun, int iid, int retries, struct scsi_report_luns_data **lun_data, uint32_t *num_luns) argument
1883 cctl_report_luns(int fd, int lun, int iid, int retries) argument
1936 cctl_tur(int fd, int lun, int iid, int retries) argument
1967 cctl_get_inquiry(int fd, int lun, int iid, int retries, char *path_str, int path_len, struct scsi_inquiry_data *inq_data) argument
2011 cctl_inquiry(int fd, int lun, int iid, int retries) argument
2039 cctl_req_sense(int fd, int lun, int iid, int retries) argument
2086 cctl_report_target_port_group(int fd, int lun, int iid) argument
2151 cctl_inquiry_vpd_devid(int fd, int lun, int iid) argument
2217 cctl_persistent_reserve_in(int fd, int lun, int iid, int argc, char **argv, char *combinedopt, int retry_count) argument
2318 cctl_persistent_reserve_out(int fd, int lun, int iid, int argc, char **argv, char *combinedopt, int retry_count) argument
3393 struct cctl_lun *lun; local
3684 int verbose = 0, init = 0, lun = 0, quiet = 0; local
4318 int lun; local
[all...]
/freebsd-current/sys/dev/pms/freebsd/driver/common/
H A Dlxencrypt.c326 unsigned int chan, device, lun = 0; local
338 for(lun = 0; lun < AGTIAPI_MAX_LUN; lun++) {
340 lh = MAP_TABLE_ENTRY(pCard, chan, device, lun);
344 i += careful_write(buf, i, PAGE_SIZE, " %u:%u:%u: %x %8x %8x %16lx %16lx %08x:%08x %1x\n", chan, device, lun, p->dekTable, p->dekIndex, p->kekIndex, p->lbaMin, p->lbaMax, p->keyTag[1], p->keyTag[0], p->keyTagCheck);
476 bit32 chan, device, lun; local
484 lun = dek_map->lun;
492 /* Sanity check channel, device, lun */
695 int chan, device, lun; local
[all...]
H A Dencrypt_ioctl.h98 bit32 lun; member in struct:EncryptDeviceDekMap_s
115 bit32 lun; member in struct:IoctlEncryptIOError_s
/freebsd-current/sys/cam/
H A Dcam.h52 #define CAM_EXTLUN_BYTE_SWIZZLE(lun) ( \
53 ((((uint64_t)lun) & 0xffff000000000000L) >> 48) | \
54 ((((uint64_t)lun) & 0x0000ffff00000000L) >> 16) | \
55 ((((uint64_t)lun) & 0x00000000ffff0000L) << 16) | \
56 ((((uint64_t)lun) & 0x000000000000ffffL) << 48))
/freebsd-current/sys/dev/smartpqi/
H A Dsmartpqi_cam.c112 uint64_t lun; local
116 lun = (device->is_multi_lun) ? CAM_LUN_WILDCARD : device->lun;
125 device->target, lun) != CAM_REQ_CMP) {
143 uint64_t lun; local
147 lun = (device->is_multi_lun) ? CAM_LUN_WILDCARD : device->lun;
151 device->target, lun) != CAM_REQ_CMP) {
157 /* softs->device_list[device->target][device->lun] = NULL; */
263 int lun local
693 smartpqi_lun_rescan(struct pqisrc_softstate *softs, int target, int lun) argument
813 int target, lun, index; local
1021 int bus, target, lun; local
1216 int lun = cgd->ccb_h.target_lun; local
[all...]
H A Dsmartpqi_helper.c267 device->lun,
281 device->lun,
295 device->lun,
309 device->lun,
H A Dsmartpqi_discovery.c177 pqisrc_set_btl(pqi_scsi_dev_t *device, int bus, int target, int lun) argument
183 device->lun = lun;
189 * devices and multi-lun devices */
201 /* If controller device, add it to list because its lun/bus/target
217 * If a non-zero lun device, search through the list & find the
219 * Assign the same target for this new lun. */
240 /* If logical device, add it to list because its lun/bus/target
245 /* This is a non-zero lun of a multi-lun devic
295 pqisrc_find_btl_list_index(pqisrc_softstate_t *softs, int bus, int target, int lun) argument
830 uint32_t lun; local
[all...]
H A Dsmartpqi_request.c321 int_to_scsilun(uint64_t lun, uint8_t *scsi_lun) argument
325 memset(scsi_lun, 0, sizeof(lun));
326 for (i = 0; i < sizeof(lun); i += 2) {
327 scsi_lun[i] = (lun >> 8) & 0xFF;
328 scsi_lun[i+1] = lun & 0xFF;
329 lun = lun >> 16;
365 uint64_t lun = rcb->cm_ccb->ccb_h.target_lun; local
366 if (lun && (rcb->dvp->is_multi_lun)) {
367 int_to_scsilun(lun, aio_re
1915 uint64_t lun = rcb->cm_ccb->ccb_h.target_lun; local
[all...]
/freebsd-current/sys/dev/vmware/pvscsi/
H A Dpvscsi.h50 uint8_t lun[8]; member in struct:pvscsi_cmd_desc_reset_device
117 uint8_t lun[8]; member in struct:pvscsi_ring_req_desc
159 uint8_t lun[8]; member in struct:pvscsi_ring_msg_dev_status_changed
/freebsd-current/sys/sys/
H A Dipmi.h139 unsigned char lun; member in struct:ipmi_system_interface_addr
146 unsigned char lun; member in struct:ipmi_ipmb_addr
/freebsd-current/sys/dev/aic7xxx/
H A Daic79xx.h94 ((scb)->hscb->lun)
114 #define BUILD_TCL(scsiid, lun) \
115 ((lun) | (((scsiid) & TID) << 4))
116 #define BUILD_TCL_RAW(target, channel, lun) \
117 ((lun) | ((target) << 8))
127 #define AHD_BUILD_COL_IDX(target, lun) \
128 (((lun) << 4) | target)
136 (scb)->hscb->lun = ((col_idx) >> 4) & (AHD_NUM_LUNS_NONPKT-1); \
142 dst->hscb->lun = src->hscb->lun; \
509 /*20*/ uint8_t lun; member in struct:hardware_scb
1353 u_int lun; member in struct:ahd_devinfo
[all...]
H A Daic7xxx.c887 devinfo.lun);
1530 printf("scb:%p control:0x%x scsiid:0x%x lun:%d cdb_len:%d\n",
1534 hscb->lun,
2080 devinfo->lun, AC_TRANSFER_NEG, &alg);
2218 u_int lun, char channel, role_t role)
2222 devinfo->lun = lun;
2235 devinfo->target, devinfo->lun);
2469 devinfo->lun, period, offset);
2489 devinfo->lun, bus_widt
2217 ahc_compile_devinfo(struct ahc_devinfo *devinfo, u_int our_id, u_int target, u_int lun, char channel, role_t role) argument
3790 u_int lun; local
4636 int lun; local
5280 ahc_match_scb(struct ahc_softc *ahc, struct scb *scb, int target, char channel, int lun, u_int tag, role_t role) argument
5320 int lun; local
5387 ahc_search_qinfifo(struct ahc_softc *ahc, int target, char channel, int lun, u_int tag, role_t role, uint32_t status, ahc_search_action action) argument
5596 ahc_search_untagged_queues(struct ahc_softc *ahc, aic_io_ctx_t ctx, int target, char channel, int lun, uint32_t status, ahc_search_action action) argument
5689 ahc_search_disc_list(struct ahc_softc *ahc, int target, char channel, int lun, u_int tag, int stop_on_first, int remove, int save_state) argument
5852 ahc_abort_scbs(struct ahc_softc *ahc, int target, char channel, int lun, u_int tag, role_t role, uint32_t status) argument
6116 u_int lun; local
6985 int lun; local
7276 u_int lun; local
7735 int lun; local
[all...]
H A Daic7xxx.h96 ((scb)->hscb->lun & LID)
113 #define BUILD_TCL(scsiid, lun) \
114 ((lun) | (((scsiid) & TID) << 4))
480 /*26*/ uint8_t lun; member in struct:hardware_scb
680 * Per enabled lun target mode state.
733 * Pointers to lun target state as well as sync/wide negotiation information
1002 * Target mode related state kept on a per enabled lun basis.
1146 u_int lun; member in struct:ahc_devinfo
1210 int target, char channel, int lun,
1250 char channel, int lun, u_in
[all...]
/freebsd-current/sys/contrib/xen/io/
H A Dvscsiif.h62 * (host, controller, target, lun, all integers), or a WWN (e.g.
69 * (host, controller, target, lun, all integers).
120 * <domid>/<vhost>/vscsi-devs/dev-0/p-dev = "8:0:2:1" or "naa.wwn:lun"
180 * The target is specified via channel, id and lun.
213 * channel, id, lun and the operation's rqid in ref_rqid.
270 uint16_t channel, id, lun; /* (virtual) device specification */ member in struct:vscsiif_request
/freebsd-current/sys/dev/isci/scil/
H A Dscif_sas_request.h184 U32 lun; member in struct:SCIF_SAS_REQUEST
H A Dscif_sas_request.c111 fw_request->lun = 0;
H A Dscic_sds_request.c569 SCI_SINGLE_LEVEL_LUN_T lun; local
580 ((U32 *)&lun)[0] = 0;
581 ((U32 *)&lun)[1] = 0;
582 lun.lun_number = scic_cb_ssp_io_request_get_lun(os_handle) &0xff;
585 (U32 *)command_frame->lun,
586 (U32 *)&lun,
587 sizeof(lun));
896 SCI_SINGLE_LEVEL_LUN_T lun; local
901 //get the lun
906 memset(&lun,
[all...]
/freebsd-current/sys/dev/pms/RefTisa/sat/api/
H A Dsm.h150 bit8 lun[8]; /* logical unit number */ member in struct:__anon4168
154 smLUN_t lun; member in struct:__anon4169
H A Dsmapi.h115 smLUN_t *lun,
/freebsd-current/sys/dev/pms/RefTisa/sallsdk/spc/
H A Dsassp.c377 si_memcpy(piu->lun, fc->lun, sizeof(piu->lun));
439 si_memcpy(piu->lun, fc->lun, sizeof(piu->lun));
1368 pPayload->lun[0] = agRequestBody->sspTaskMgntReq.lun[0];
1369 pPayload->lun[1] = agRequestBody->sspTaskMgntReq.lun[
[all...]
/freebsd-current/sys/dev/isp/
H A Disp_ioctl.h167 uint16_t lun; member in struct:isp_fc_tsk_mgmt
H A Disp_freebsd.c539 tmf.tmf_lun[1] = fct->lun & 0xff;
540 if (fct->lun >= 256) {
541 tmf.tmf_lun[0] = 0x40 | (fct->lun >> 8);
650 get_lun_statep(ispsoftc_t *isp, int bus, lun_id_t lun) argument
655 SLIST_FOREACH(tptr, &fc->lun_hash[LUN_HASH_FUNC(lun)], next) {
656 if (tptr->ts_lun == lun)
767 isp_prt(isp, ISP_LOGALL, "Chan %d ATP [0x%x] origdlen %u bytes_xfrd %u lun %jx nphdl 0x%04x s_id 0x%06x d_id 0x%06x oxid 0x%04x state %s",
768 chan, atp->tag, atp->orig_datalen, atp->bytes_xfered, (uintmax_t)atp->lun, atp->nphdl, atp->sid, atp->did, atp->oxid, states[atp->state & 0x7]);
810 lun_id_t lun; local
813 lun
858 lun_id_t lun = ccb->ccb_h.target_lun; local
896 lun_id_t lun = ccb->ccb_h.target_lun; local
1284 lun_id_t lun; local
1791 lun_id_t lun; local
3432 lun_id_t lun; local
[all...]
/freebsd-current/sys/dev/ocs_fc/
H A Docs_cam.c541 * @param lun LUN for this IO
548 int32_t ocs_scsi_recv_cmd(ocs_io_t *io, uint64_t lun, uint8_t *cdb, argument
576 if ((lun < OCS_MAX_LUN) && fcp->targ_rsrc[lun].enabled) {
577 trsrc = &fcp->targ_rsrc[lun];
590 atio->ccb_h.target_lun = lun;
615 io->tgt_io.lun = lun;
623 __func__, (unsigned long)lun,
641 * @param lun LU
650 ocs_scsi_recv_cmd_first_burst(ocs_io_t *io, uint64_t lun, uint8_t *cdb, uint32_t cdb_len, uint32_t flags, ocs_dma_t first_burst_buffers[], uint32_t first_burst_buffer_count) argument
681 ocs_scsi_recv_tmf(ocs_io_t *tmfio, uint64_t lun, ocs_scsi_tmf_cmd_e cmd, ocs_io_t *abortio, uint32_t flags) argument
2610 lun_id_t lun = ccb_h->target_lun; local
2881 ocs_get_crn(ocs_node_t *node, uint8_t *crn, uint64_t lun) argument
2928 ocs_reset_crn(ocs_node_t *node, uint64_t lun) argument
[all...]
H A Docs_unsol.c750 * @param lun 32-bit LUN from FCP_CMND frame.
756 ocs_dispatch_unsolicited_tmf(ocs_io_t *io, uint8_t task_management_flags, ocs_node_t *node, uint64_t lun) argument
776 ocs_scsi_recv_tmf(io, lun, tmflist[i].cmd, NULL, 0);
888 uint64_t lun = UINT64_MAX; local
899 lun = CAM_EXTLUN_BYTE_SWIZZLE(be64dec(cmnd->fcp_lun));
900 if (lun == UINT64_MAX) {
945 ocs_dispatch_unsolicited_tmf(io, cmnd->task_management_flags, node, lun);
952 ocs_scsi_recv_cmd(io, lun, cmnd->fcp_cdb,
984 uint64_t lun = UINT64_MAX; local
1001 lun
[all...]
/freebsd-current/sys/dev/qlnx/qlnxe/
H A Discsi_common.h209 struct lun_mapper_addr_reserved lun_mapper_address /* lun mapper address */;
329 struct regpair lun /* Logical Unit Number. [constant, initialized] */; member in struct:iscsi_cmd_hdr
360 struct regpair lun /* Logical Unit Number. [constant, initialized] */; member in struct:iscsi_ext_cdb_cmd_hdr
434 struct regpair lun /* Logical Unit Number */; member in struct:iscsi_data_out_hdr
467 struct regpair lun /* Logical Unit Number */; member in struct:iscsi_data_in_hdr
486 struct regpair lun /* Logical Unit Number */; member in struct:iscsi_r2t_hdr
510 struct regpair lun /* Logical Unit Number */; member in struct:iscsi_nop_out_hdr
538 struct regpair lun /* Logical Unit Number */; member in struct:iscsi_nop_in_hdr
632 struct regpair lun /* Logical Unit Number */; member in struct:iscsi_text_request_hdr
659 struct regpair lun /* Logica member in struct:iscsi_text_response_hdr
681 struct regpair lun /* Logical Unit Number */; member in struct:iscsi_tmf_request_hdr
725 struct regpair lun /* Logical Unit Number */; member in struct:iscsi_response_hdr
777 struct regpair lun /* Logical Unit Number */; member in struct:iscsi_async_msg_hdr
1035 struct regpair lun /* LUN */; member in struct:ustorm_iscsi_task_st_ctx
[all...]

Completed in 196 milliseconds

123456