Home
last modified time | relevance | path

Searched refs:wwpn (Results 1 – 25 of 41) sorted by relevance

12

/linux-3.4.99/drivers/s390/scsi/
Dzfcp_aux.c56 static void __init zfcp_init_device_configure(char *busid, u64 wwpn, u64 lun) in zfcp_init_device_configure() argument
73 port = zfcp_get_port_by_wwpn(adapter, wwpn); in zfcp_init_device_configure()
93 u64 wwpn, lun; in zfcp_init_device_setup() local
107 if (!token || strict_strtoull(token, 0, (unsigned long long *) &wwpn)) in zfcp_init_device_setup()
115 zfcp_init_device_configure(busid, wwpn, lun); in zfcp_init_device_setup()
195 u64 wwpn) in zfcp_get_port_by_wwpn() argument
202 if (port->wwpn == wwpn) { in zfcp_get_port_by_wwpn()
504 struct zfcp_port *zfcp_port_enqueue(struct zfcp_adapter *adapter, u64 wwpn, in zfcp_port_enqueue() argument
512 port = zfcp_get_port_by_wwpn(adapter, wwpn); in zfcp_port_enqueue()
533 port->wwpn = wwpn; in zfcp_port_enqueue()
[all …]
Dzfcp_cfdc.c329 (unsigned long long)port->wwpn); in zfcp_cfdc_port_denied()
351 (unsigned long long)zfcp_sdev->port->wwpn); in zfcp_cfdc_lun_denied()
377 (unsigned long long)zfcp_sdev->port->wwpn, in zfcp_cfdc_lun_shrng_vltn()
421 (unsigned long long)zfcp_sdev->port->wwpn); in zfcp_cfdc_open_lun_eval()
428 (unsigned long long)zfcp_sdev->port->wwpn); in zfcp_cfdc_open_lun_eval()
439 (unsigned long long)zfcp_sdev->port->wwpn); in zfcp_cfdc_open_lun_eval()
Dzfcp_sysfs.c239 u64 wwpn; in zfcp_sysfs_port_remove_store() local
245 if (strict_strtoull(buf, 0, (unsigned long long *) &wwpn)) in zfcp_sysfs_port_remove_store()
248 port = zfcp_get_port_by_wwpn(adapter, wwpn); in zfcp_sysfs_port_remove_store()
441 ZFCP_DEFINE_SCSI_ATTR(wwpn, "0x%016llx\n",
442 (unsigned long long) port->wwpn);
Dzfcp_fc.c212 static void zfcp_fc_incoming_wwpn(struct zfcp_fsf_req *req, u64 wwpn) in zfcp_fc_incoming_wwpn() argument
220 if (port->wwpn == wwpn) { in zfcp_fc_incoming_wwpn()
314 gid_pn_req->gid_pn.fn_wwpn = port->wwpn; in zfcp_fc_ns_gid_pn_request()
398 if (plogi->fl_wwpn != port->wwpn) { in zfcp_fc_plogi_evaluate()
403 (unsigned long long) port->wwpn, in zfcp_fc_plogi_evaluate()
437 if ((port->wwpn != adisc_resp->adisc_wwpn) || in zfcp_fc_adisc_handler()
Dzfcp_def.h211 u64 wwpn; /* WWPN */ member
Dzfcp_dbf.h76 u64 wwpn; member
Dzfcp_dbf.c231 rec->wwpn = port->wwpn; in zfcp_dbf_set_common()
Dzfcp_scsi.c576 ids.port_name = port->wwpn; in zfcp_scsi_rport_register()
584 (unsigned long long)port->wwpn); in zfcp_scsi_rport_register()
Dzfcp_fsf.h396 u64 wwpn; member
Dzfcp_erp.c881 if (port->wwpn != adapter->peer_wwpn) { in zfcp_erp_open_ptp_port()
1026 (unsigned long long)zfcp_sdev->port->wwpn); in zfcp_erp_strategy_check_lun()
1057 (unsigned long long)port->wwpn); in zfcp_erp_strategy_check_port()
/linux-3.4.99/drivers/target/tcm_fc/
Dtfc_conf.c208 u64 wwpn; in ft_add_acl() local
214 if (ft_parse_wwn(name, &wwpn, 1) < 0) in ft_add_acl()
220 acl->node_auth.port_name = wwpn; in ft_add_acl()
383 if (lacl->wwpn == lport->wwpn) { in ft_lport_find_tpg()
407 u64 wwpn; in ft_add_lport() local
410 if (ft_parse_wwn(name, &wwpn, 1) < 0) in ft_add_lport()
415 lacl->wwpn = wwpn; in ft_add_lport()
420 if (old_lacl->wwpn == wwpn) { in ft_add_lport()
427 ft_format_wwn(lacl->name, sizeof(lacl->name), wwpn); in ft_add_lport()
Dtcm_fc.h29 __u8 wwpn[8]; member
105 u64 wwpn; member
/linux-3.4.99/drivers/scsi/fcoe/
Dfcoe_transport.c117 u8 wwpn[8]; in fcoe_wwn_to_str() local
119 u64_to_wwn(wwn, wwpn); in fcoe_wwn_to_str()
121 wwpn[0], wwpn[1], wwpn[2], wwpn[3], in fcoe_wwn_to_str()
122 wwpn[4], wwpn[5], wwpn[6], wwpn[7]); in fcoe_wwn_to_str()
147 if (!memcmp(&n_port->wwpn, &vport->port_name, sizeof(u64))) { in fcoe_validate_vport_create()
156 if (!memcmp(&vn_port->wwpn, &vport->port_name, sizeof(u64))) { in fcoe_validate_vport_create()
Dfcoe_ctlr.c474 put_unaligned_be64(lport->wwpn, &vn->fd_wwpn); in fcoe_ctlr_send_keep_alive()
1326 vn_port->wwpn) in fcoe_ctlr_recv_clr_vlink()
1907 put_unaligned_be64(fip->lp->wwpn, &frame->vn.fd_wwpn); in fcoe_ctlr_vn_send()
2053 port_id = fip->lp->wwpn & 0xffff; in fcoe_ctlr_vn_restart()
2076 prandom32_seed(&fip->rnd_state, fip->lp->wwpn); in fcoe_ctlr_vn_start()
2252 if (fip->lp->wwpn > rdata->ids.port_name && in fcoe_ctlr_vn_probe_req()
2390 if (new->ids.port_name > fip->lp->wwpn) { in fcoe_ctlr_vn_claim_notify()
/linux-3.4.99/drivers/scsi/lpfc/
Dlpfc_nl.h68 uint8_t wwpn[8]; member
97 uint8_t wwpn[8]; member
120 uint8_t wwpn[8]; member
Dlpfc_scsi.c247 memcpy(&fast_path_evt->un.queue_depth_evt.scsi_event.wwpn, in lpfc_send_sdev_queuedepth_change_event()
3265 memcpy(&fast_path_evt->un.scsi_evt.wwpn, in lpfc_send_scsi_error_event()
3280 memcpy(&fast_path_evt->un.check_cond_evt.scsi_event.wwpn, in lpfc_send_scsi_error_event()
3304 memcpy(&fast_path_evt->un.read_check_error.header.wwpn, in lpfc_send_scsi_error_event()
3632 memcpy(&fast_path_evt->un.fabric_evt.wwpn, in lpfc_scsi_cmd_iocb_cmpl()
4691 memcpy(scsi_event.wwpn, &pnode->nlp_portname, sizeof(struct lpfc_name)); in lpfc_device_reset_handler()
4758 memcpy(scsi_event.wwpn, &pnode->nlp_portname, sizeof(struct lpfc_name)); in lpfc_target_reset_handler()
4806 memcpy(scsi_event.wwpn, &vport->fc_portname, sizeof(struct lpfc_name)); in lpfc_bus_reset_handler()
/linux-3.4.99/include/scsi/
Dfc_encode.h95 put_unaligned_be64(lport->wwpn, &adisc->adisc_wwpn); in fc_adisc_fill()
246 put_unaligned_be64(lport->wwpn, &ct->payload.rhba.hbaid.id); in fc_ct_ms_fill()
250 put_unaligned_be64(lport->wwpn, in fc_ct_ms_fill()
392 put_unaligned_be64(lport->wwpn, in fc_ct_ms_fill()
482 put_unaligned_be64(lport->wwpn, in fc_ct_ms_fill()
490 put_unaligned_be64(lport->wwpn, &ct->payload.dhba.hbaid.id); in fc_ct_ms_fill()
543 put_unaligned_be64(lport->wwpn, &plogi->fl_wwpn); in fc_plogi_fill()
575 put_unaligned_be64(lport->wwpn, &flogi->fl_wwpn); in fc_flogi_fill()
600 put_unaligned_be64(lport->wwpn, &fdisc->fl_wwpn); in fc_fdisc_fill()
622 logo->fl_n_port_wwn = htonll(lport->wwpn); in fc_logo_fill()
Dlibfc.h875 u64 wwpn; member
961 lport->wwpn = wwnn; in fc_set_wwpn()
/linux-3.4.99/arch/s390/include/asm/
Dipl.h49 u64 wwpn; member
122 u64 wwpn; member
/linux-3.4.99/drivers/scsi/bfa/
Dbfad_im.c438 wwn_t wwpn; in bfa_fcb_itnim_free() local
454 wwpn = bfa_fcs_itnim_get_pwwn(&itnim_drv->fcs_itnim); in bfa_fcb_itnim_free()
456 wwn2str(wwpn_str, wwpn); in bfa_fcb_itnim_free()
1113 wwn_t wwpn; in bfad_im_itnim_work_handler() local
1126 wwpn = bfa_fcs_itnim_get_pwwn(&itnim->fcs_itnim); in bfad_im_itnim_work_handler()
1128 wwn2str(wwpn_str, wwpn); in bfad_im_itnim_work_handler()
1160 wwpn = bfa_fcs_itnim_get_pwwn(&itnim->fcs_itnim); in bfad_im_itnim_work_handler()
1162 wwn2str(wwpn_str, wwpn); in bfad_im_itnim_work_handler()
/linux-3.4.99/drivers/scsi/qla2xxx/
Dqla_bsg.h139 uint8_t wwpn[8]; member
/linux-3.4.99/arch/s390/kernel/
Dipl.c450 DEFINE_IPL_ATTR_RO(ipl_fcp, wwpn, "0x%016llx\n", (unsigned long long)
451 IPL_PARMBLOCK_START->ipl_info.fcp.wwpn);
758 DEFINE_IPL_ATTR_RW(reipl_fcp, wwpn, "0x%016llx\n", "%016llx\n",
759 reipl_block_fcp->ipl_info.fcp.wwpn);
1327 DEFINE_IPL_ATTR_RW(dump_fcp, wwpn, "0x%016llx\n", "%016llx\n",
1328 dump_block_fcp->ipl_info.fcp.wwpn);
1958 ipl_info.data.fcp.wwpn = IPL_PARMBLOCK_START->ipl_info.fcp.wwpn; in setup_ipl()
/linux-3.4.99/drivers/scsi/libfc/
Dfc_lport.c361 put_unaligned_be64(lport->wwpn, &flogi->fl_wwpn); in fc_lport_flogi_fill()
493 rp->cid.rnid_wwpn = htonll(lport->wwpn); in fc_lport_recv_rnid_req()
819 if (remote_wwpn == lport->wwpn) { in fc_lport_recv_flogi_req()
833 if (remote_wwpn < lport->wwpn) { in fc_lport_recv_flogi_req()
1863 fc_host_port_name(lport->host) = lport->wwpn; in fc_lport_init()
/linux-3.4.99/drivers/scsi/ibmvscsi/
Dibmvfc.h329 u64 wwpn; member
577 volatile u64 wwpn; member
/linux-3.4.99/drivers/scsi/bnx2fc/
Dbnx2fc_fcoe.c762 u64 wwnn, wwpn; in bnx2fc_net_config() local
789 if (fcoe_get_wwn(netdev, &wwpn, NETDEV_FCOE_WWPN)) in bnx2fc_net_config()
790 wwpn = fcoe_wwn_from_mac(interface->ctlr.ctl_src_addr, in bnx2fc_net_config()
793 BNX2FC_HBA_DBG(lport, "WWPN = 0x%llx\n", wwpn); in bnx2fc_net_config()
794 fc_set_wwpn(lport, wwpn); in bnx2fc_net_config()

12