Lines Matching refs:guid

53 static int read_peer_guid(u64 *guid, const struct sbp_management_request *req)  in read_peer_guid()  argument
72 *guid = (u64)be32_to_cpu(high) << 32 | be32_to_cpu(low); in read_peer_guid()
78 struct sbp_tpg *tpg, u64 guid) in sbp_session_find_by_guid() argument
86 if (sess->guid == guid) in sbp_session_find_by_guid()
182 u64 guid) in sbp_session_create() argument
188 snprintf(guid_str, sizeof(guid_str), "%016llx", guid); in sbp_session_create()
197 sess->guid = guid; in sbp_session_create()
267 u64 guid; in sbp_management_request_login() local
283 ret = read_peer_guid(&guid, req); in sbp_management_request_login()
294 unpacked_lun, guid); in sbp_management_request_login()
296 sess = sbp_session_find_by_guid(tpg, guid); in sbp_management_request_login()
363 sess = sbp_session_create(tpg, guid); in sbp_management_request_login()
496 u64 guid; in sbp_management_request_reconnect() local
499 ret = read_peer_guid(&guid, req); in sbp_management_request_reconnect()
509 pr_notice("mgt_agent RECONNECT from %016llx\n", guid); in sbp_management_request_reconnect()
523 if (login->sess->guid != guid) { in sbp_management_request_reconnect()
607 sess->guid); in session_check_for_reset()
622 pr_info("Reconnect timer expired for node: %016llx\n", sess->guid); in session_reconnect_expired()
1893 data[idx++] = tport->guid >> 32; in sbp_update_unit_directory()
1894 data[idx++] = tport->guid; in sbp_update_unit_directory()
1950 u64 guid = 0; in sbp_init_nodeacl() local
1952 if (sbp_parse_wwn(name, &guid) < 0) in sbp_init_nodeacl()
2054 u64 guid = 0; in sbp_make_tport() local
2056 if (sbp_parse_wwn(name, &guid) < 0) in sbp_make_tport()
2063 tport->guid = guid; in sbp_make_tport()
2064 sbp_format_wwn(tport->tport_name, SBP_NAMELEN, guid); in sbp_make_tport()