Home
last modified time | relevance | path

Searched refs:port_str (Results 1 – 1 of 1) sorted by relevance

/drivers/target/iscsi/
Discsi_target_configfs.c167 char *str, *str2, *ip_str, *port_str; in lio_target_call_addnptotpg() local
198 port_str = strstr(str2, ":"); in lio_target_call_addnptotpg()
199 if (!port_str) { in lio_target_call_addnptotpg()
204 *port_str = '\0'; /* Terminate string for IP */ in lio_target_call_addnptotpg()
205 port_str++; /* Skip over ":" */ in lio_target_call_addnptotpg()
207 ret = strict_strtoul(port_str, 0, &port); in lio_target_call_addnptotpg()
223 port_str = strstr(ip_str, ":"); in lio_target_call_addnptotpg()
224 if (!port_str) { in lio_target_call_addnptotpg()
229 *port_str = '\0'; /* Terminate string for IP */ in lio_target_call_addnptotpg()
230 port_str++; /* Skip over ":" */ in lio_target_call_addnptotpg()
[all …]