Home
last modified time | relevance | path

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

/titanic_44/usr/src/lib/cfgadm_plugins/scsi/common/
H A Dcfga_utils.c292 int prev_was_slash = 0; in pathdup() local
307 prev_was_slash = 0; in pathdup()
309 if (!prev_was_slash || c != '/') { in pathdup()
313 prev_was_slash = 1; in pathdup()
315 prev_was_slash = 0; in pathdup()
320 if (prev_was_slash && dp != dup && dp - 1 != dup) { in pathdup()
/titanic_44/usr/src/lib/cfgadm_plugins/fp/common/
H A Dcfga_utils.c370 int prev_was_slash = 0; in pathdup() local
385 prev_was_slash = 0; in pathdup()
387 if (!prev_was_slash || c != '/') { in pathdup()
391 prev_was_slash = 1; in pathdup()
393 prev_was_slash = 0; in pathdup()
398 if (prev_was_slash && dp != dup && dp - 1 != dup) { in pathdup()