Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/target/iscsi/
Discsi_target_configfs.c214 #define MAX_PORTAL_LEN 256 macro
229 char buf[MAX_PORTAL_LEN + 1]; in lio_target_call_addnptotpg()
231 if (strlen(name) > MAX_PORTAL_LEN) { in lio_target_call_addnptotpg()
233 (int)strlen(name), MAX_PORTAL_LEN); in lio_target_call_addnptotpg()
236 memset(buf, 0, MAX_PORTAL_LEN + 1); in lio_target_call_addnptotpg()
237 snprintf(buf, MAX_PORTAL_LEN + 1, "%s", name); in lio_target_call_addnptotpg()