Lines Matching refs:i_port_id
2399 u8 i_port_id[16]) in __srpt_lookup_acl()
2404 if (memcmp(nacl->i_port_id, i_port_id, in __srpt_lookup_acl()
2405 sizeof(nacl->i_port_id)) == 0) in __srpt_lookup_acl()
2412 u8 i_port_id[16]) in srpt_lookup_acl()
2417 nacl = __srpt_lookup_acl(sport, i_port_id); in srpt_lookup_acl()
2500 if (!memcmp(ch->i_port_id, req->initiator_port_id, 16) in srpt_cm_req_recv()
2550 memcpy(ch->i_port_id, req->initiator_port_id, 16); in srpt_cm_req_recv()
2598 be64_to_cpu(*(__be64 *)ch->i_port_id), in srpt_cm_req_recv()
2599 be64_to_cpu(*(__be64 *)(ch->i_port_id + 8))); in srpt_cm_req_recv()
2603 nacl = srpt_lookup_acl(sport, ch->i_port_id); in srpt_cm_req_recv()
3437 memcpy(tr_id->i_port_id, nacl->i_port_id, sizeof(tr_id->i_port_id)); in srpt_get_pr_transport_id()
3459 return (char *)tr_id->i_port_id; in srpt_parse_pr_out_transport_id()
3580 static int srpt_parse_i_port_id(u8 i_port_id[16], const char *name) in srpt_parse_i_port_id()
3595 memset(i_port_id, 0, leading_zero_bytes); in srpt_parse_i_port_id()
3596 rc = hex2bin(i_port_id + leading_zero_bytes, p, count); in srpt_parse_i_port_id()
3617 u8 i_port_id[16]; in srpt_make_nodeacl() local
3619 if (srpt_parse_i_port_id(i_port_id, name) < 0) { in srpt_make_nodeacl()
3642 memcpy(&nacl->i_port_id[0], &i_port_id[0], 16); in srpt_make_nodeacl()