Lines Matching refs:name
402 snprintf(svc_entries->service_entries[0].name,
403 sizeof(svc_entries->service_entries[0].name),
2399 pr_debug("Establish connection sess=%p name=%s ch=%p\n", ch->sess,
2992 static struct port_and_port_id __srpt_lookup_port(const char *name)
3007 if (strcmp(sport->guid_name, name) == 0) {
3012 if (strcmp(sport->gid_name, name) == 0) {
3024 * srpt_lookup_port() - Look up an RDMA port by name
3025 * @name: ASCII port name
3030 static struct port_and_port_id srpt_lookup_port(const char *name)
3035 papi = __srpt_lookup_port(name);
3291 .name = DRV_NAME,
3327 return stpg->sport_id->name;
3406 static int srpt_parse_guid(u64 *guid, const char *name)
3411 if (sscanf(name, "%hx:%hx:%hx:%hx", &w[0], &w[1], &w[2], &w[3]) != 4)
3421 * @name: ASCII representation of a 128-bit initiator port ID.
3424 static int srpt_parse_i_port_id(u8 i_port_id[16], const char *name)
3430 p = name;
3458 static int srpt_init_nodeacl(struct se_node_acl *se_nacl, const char *name)
3465 ret = srpt_parse_guid(&guid, name);
3467 ret = srpt_parse_i_port_id(i_port_id, name);
3469 ret = inet_pton_with_scope(&init_net, AF_UNSPEC, name, NULL,
3472 pr_err("invalid initiator port ID %s\n", name);
3778 * @name: $tpg.
3781 const char *name)
3827 * @name: $port.
3831 const char *name)
3833 struct port_and_port_id papi = srpt_lookup_port(name);
3852 memcpy(port_id->name, port_id == sport->guid_id ? sport->guid_name :
3853 sport->gid_name, ARRAY_SIZE(port_id->name));