Home
last modified time | relevance | path

Searched refs:lun (Results 1 – 25 of 42) sorted by relevance

12

/linux-4.19.296/include/uapi/linux/
Dvirtio_scsi.h45 __u8 lun[8]; /* Logical Unit Number */ member
55 __u8 lun[8]; /* Logical Unit Number */ member
79 __u8 lun[8]; member
90 __u8 lun[8]; member
101 __u8 lun[8]; member
Dipmi.h68 unsigned char lun; member
80 unsigned char lun; member
108 unsigned char lun; member
Dedd.h124 __u8 lun; member
132 __u64 lun; member
146 __u64 lun; member
/linux-4.19.296/include/linux/mtd/
Dnand.h74 unsigned int lun; member
436 pos->lun = do_div(tmp, nand->memorg.luns_per_target); in nanddev_offs_to_pos()
457 if (a->lun != b->lun) in nanddev_pos_cmp()
458 return a->lun < b->lun ? -1 : 1; in nanddev_pos_cmp()
487 (pos->lun + in nanddev_pos_to_offs()
508 return (pos->lun << nand->rowconv.lun_addr_shift) | in nanddev_pos_to_row()
527 pos->lun = 0; in nanddev_pos_next_target()
542 if (pos->lun >= nand->memorg.luns_per_target - 1) in nanddev_pos_next_lun()
545 pos->lun++; in nanddev_pos_next_lun()
715 ((pos->lun + (pos->target * nand->memorg.luns_per_target)) * in nanddev_bbt_pos_to_entry()
/linux-4.19.296/include/trace/events/
Dscsi.h210 __field( unsigned int, lun )
223 __entry->lun = cmd->device->lun;
235 __entry->lun, __entry->data_sglen, __entry->prot_sglen,
252 __field( unsigned int, lun )
266 __entry->lun = cmd->device->lun;
279 __entry->lun, __entry->data_sglen, __entry->prot_sglen,
297 __field( unsigned int, lun )
311 __entry->lun = cmd->device->lun;
325 __entry->lun, __entry->data_sglen, __entry->prot_sglen,
/linux-4.19.296/drivers/s390/scsi/
Dzfcp_unit.c25 u64 lun; in zfcp_unit_scsi_scan() local
27 lun = scsilun_to_int((struct scsi_lun *) &unit->fcp_lun); in zfcp_unit_scsi_scan()
30 scsi_scan_target(&rport->dev, 0, rport->scsi_target_id, lun, in zfcp_unit_scsi_scan()
199 u64 lun; in zfcp_unit_sdev() local
201 lun = scsilun_to_int((struct scsi_lun *) &unit->fcp_lun); in zfcp_unit_sdev()
204 return scsi_device_lookup(shost, 0, port->starget_id, lun); in zfcp_unit_sdev()
Dzfcp_aux.c56 static void __init zfcp_init_device_configure(char *busid, u64 wwpn, u64 lun) in zfcp_init_device_configure() argument
78 zfcp_unit_add(port, lun); in zfcp_init_device_configure()
93 u64 wwpn, lun; in zfcp_init_device_setup() local
111 if (!token || kstrtoull(token, 0, (unsigned long long *) &lun)) in zfcp_init_device_setup()
115 zfcp_init_device_configure(busid, wwpn, lun); in zfcp_init_device_setup()
Dzfcp_dbf.c136 rec->u.uss.lun = srb->fcp_lun; in zfcp_dbf_hba_fsf_uss()
260 rec->lun = zfcp_scsi_dev_lun(sdev); in zfcp_dbf_set_common()
262 rec->lun = ZFCP_DBF_INVALID_LUN; in zfcp_dbf_set_common()
406 rec->lun = ZFCP_DBF_INVALID_LUN; in zfcp_dbf_rec_run_wka()
630 rec->scsi_lun = (u32)sc->device->lun; in zfcp_dbf_scsi_common()
631 rec->scsi_lun_64_hi = (u32)(sc->device->lun >> 32); in zfcp_dbf_scsi_common()
641 rec->scsi_lun = (u32)sdev->lun; in zfcp_dbf_scsi_common()
642 rec->scsi_lun_64_hi = (u32)(sdev->lun >> 32); in zfcp_dbf_scsi_common()
Dzfcp_fc.h218 int_to_scsilun(scsi->device->lun, (struct scsi_lun *) &fcp->fc_lun); in zfcp_fc_scsi_to_fcp()
247 int_to_scsilun(dev->lun, (struct scsi_lun *) &fcp->fc_lun); in zfcp_fc_fcp_tm()
Dzfcp_dbf.h81 u64 lun; member
152 u64 lun; member
/linux-4.19.296/include/scsi/
Dscsi.h86 static inline int scsi_is_wlun(u64 lun) in scsi_is_wlun() argument
88 return (lun & 0xff00) == SCSI_W_LUN_BASE; in scsi_is_wlun()
230 #define IDENTIFY(can_disconnect, lun) (IDENTIFY_BASE |\ argument
232 ((lun) & 0x07))
Discsi_proto.h93 struct scsi_lun lun; member
155 struct scsi_lun lun; member
231 struct scsi_lun lun; member
259 struct scsi_lun lun; member
274 struct scsi_lun lun; member
290 struct scsi_lun lun; member
348 struct scsi_lun lun; member
366 struct scsi_lun lun; member
386 struct scsi_lun lun; member
592 uint8_t lun[8]; member
Dsrp.h200 struct scsi_lun lun; member
221 struct scsi_lun lun; member
286 struct scsi_lun lun; member
Dlibsas.h647 int (*lldd_abort_task_set)(struct domain_device *, u8 *lun);
648 int (*lldd_clear_aca)(struct domain_device *, u8 *lun);
649 int (*lldd_clear_task_set)(struct domain_device *, u8 *lun);
653 int (*lldd_lu_reset)(struct domain_device *, u8 *lun);
Dsas.h348 u8 lun[8]; member
376 u8 lun[8]; member
579 u8 lun[8]; member
607 u8 lun[8]; member
Dscsi_device.h126 u64 lun; member
332 uint target, u64 lun);
421 unsigned int id, u64 lun,
/linux-4.19.296/drivers/char/ipmi/
Dipmi_poweroff.c193 smi_addr.lun = 0; in pps_poweroff_atca()
223 smi_addr.lun = 0; in ipmi_atca_detect()
260 smi_addr.lun = 0; in ipmi_poweroff_atca()
335 smi_addr.lun = 0; in ipmi_poweroff_cpi1()
375 ipmb_addr.lun = aer_lun; in ipmi_poweroff_cpi1()
482 smi_addr.lun = 0; in ipmi_poweroff_chassis()
587 smi_addr.lun = 0; in ipmi_po_new_smi()
Dipmi_msghandler.c319 unsigned char lun; member
821 return (smi_addr1->lun == smi_addr2->lun); in ipmi_addr_equal()
831 && (ipmb_addr1->lun == ipmb_addr2->lun)); in ipmi_addr_equal()
844 && (lan_addr1->lun == lan_addr2->lun)); in ipmi_addr_equal()
1454 user->intf->addrinfo[channel].lun = LUN & 0x3; in ipmi_set_my_LUN()
1476 *address = user->intf->addrinfo[channel].lun; in ipmi_get_my_LUN()
1766 smi_msg->data[i+4] = (msg->netfn << 2) | (ipmb_addr->lun & 0x3); in format_ipmb_msg()
1803 smi_msg->data[5] = (msg->netfn << 2) | (lan_addr->lun & 0x3); in format_lan_msg()
1886 if (smi_addr->lun > 3) { in i_ipmi_req_sysintf()
1925 smi_msg->data[0] = (msg->netfn << 2) | (smi_addr->lun & 0x3); in i_ipmi_req_sysintf()
[all …]
/linux-4.19.296/include/linux/usb/
Duas.h54 struct scsi_lun lun; member
65 struct scsi_lun lun; member
/linux-4.19.296/include/linux/qed/
Discsi_common.h299 struct regpair lun; member
327 struct regpair lun; member
392 struct regpair lun; member
422 struct regpair lun; member
438 struct regpair lun; member
459 struct regpair lun; member
484 struct regpair lun; member
569 struct regpair lun; member
593 struct regpair lun; member
612 struct regpair lun; member
[all …]
/linux-4.19.296/drivers/message/fusion/
Dmptscsih.h101 u64 lun; member
118 u8 id, u64 lun, int ctx2abort, ulong timeout);
Dmptscsih.c98 u64 lun, int ctx2abort, ulong timeout);
538 ioc->name, pScsiReply->Bus, pScsiReply->TargetID, sc->device->lun); in mptscsih_info_scsiio()
696 sc->device->id, sc->device->lun, in mptscsih_io_done()
1080 struct scsi_lun lun; in mptscsih_search_running_cmds() local
1099 int_to_scsilun(vdevice->lun, &lun); in mptscsih_search_running_cmds()
1102 memcmp(lun.scsi_lun, mf->LUN, 8)) in mptscsih_search_running_cmds()
1157 ioc->name, 0, sc->device->id, sc->device->lun)); in mptscsih_report_queue_full()
1388 int_to_scsilun(SCpnt->device->lun, (struct scsi_lun *)pScsiReq->LUN); in mptscsih_qcmd()
1512 mptscsih_IssueTaskMgmt(MPT_SCSI_HOST *hd, u8 type, u8 channel, u8 id, u64 lun, in mptscsih_IssueTaskMgmt() argument
1587 int_to_scsilun(lun, (struct scsi_lun *)pScsiTm->LUN); in mptscsih_IssueTaskMgmt()
[all …]
/linux-4.19.296/drivers/xen/
Dxen-scsiback.c76 unsigned int lun; /* LUN */ member
82 unsigned int lun; member
263 tpg->tport->tport_name, pending_req->v2p->lun, in scsiback_print_status()
404 pending_req->sense_buffer, pending_req->v2p->lun, in scsiback_cmd_exec()
598 u64 unpacked_lun = pending_req->v2p->lun; in scsiback_device_action()
637 (entry->v.lun == v->lun)) { in scsiback_do_translation()
700 vir.lun = ring_req->lun; in prepare_pending_reqs()
705 vir.chn, vir.tgt, vir.lun); in prepare_pending_reqs()
887 (entry->v.lun == v->lun)) in scsiback_chk_translation_entry()
970 new->lun = unpacked_lun; in scsiback_add_translation_entry()
[all …]
/linux-4.19.296/include/linux/
Dlightnvm.h46 u64 lun : NVM_GEN_LUN_BITS; member
54 u64 lun : NVM_GEN_LUN_BITS; member
442 l.ppa |= ((u64)r.g.lun) << ppaf->lun_offset; in generic_to_dev_addr()
471 l.g.lun = (r.ppa & ppaf->lun_mask) >> ppaf->lun_offset; in dev_to_generic_addr()
/linux-4.19.296/include/xen/interface/io/
Dvscsiif.h197 uint16_t channel, id, lun; /* (virtual) device specification */ member

12