Searched refs:MAX_PORTAL_LEN (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/target/iscsi/ |
H A D | iscsi_target_configfs.c | 152 #define MAX_PORTAL_LEN 256 macro 164 char buf[MAX_PORTAL_LEN + 1]; in lio_target_call_addnptotpg() 166 if (strlen(name) > MAX_PORTAL_LEN) { in lio_target_call_addnptotpg() 167 pr_err("strlen(name): %d exceeds MAX_PORTAL_LEN: %d\n", in lio_target_call_addnptotpg() 168 (int)strlen(name), MAX_PORTAL_LEN); in lio_target_call_addnptotpg() 171 memset(buf, 0, MAX_PORTAL_LEN + 1); in lio_target_call_addnptotpg() 172 snprintf(buf, MAX_PORTAL_LEN + 1, "%s", name); in lio_target_call_addnptotpg()
|
/kernel/linux/linux-6.6/drivers/target/iscsi/ |
H A D | iscsi_target_configfs.c | 152 #define MAX_PORTAL_LEN 256 macro 164 char buf[MAX_PORTAL_LEN + 1] = { }; in lio_target_call_addnptotpg() 166 if (strlen(name) > MAX_PORTAL_LEN) { in lio_target_call_addnptotpg() 167 pr_err("strlen(name): %d exceeds MAX_PORTAL_LEN: %d\n", in lio_target_call_addnptotpg() 168 (int)strlen(name), MAX_PORTAL_LEN); in lio_target_call_addnptotpg() 171 snprintf(buf, MAX_PORTAL_LEN + 1, "%s", name); in lio_target_call_addnptotpg()
|
Completed in 5 milliseconds