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

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

Completed in 82 milliseconds