Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/lvm/libmeta/common/
H A Dmetasplitname.c39 size_t suffixlen; in splitname() local
46 suffixlen = (strlen(name) - prefixlen) - 1; /* slash dropped */ in splitname()
49 suffixlen = strlen(name); in splitname()
54 if (suffixlen > MD_MAXSUFFIX) { in splitname()
57 suffixlen = strlen(lastslash); in splitname()
58 (void) memcpy(SPN_SUFFIX(spn).suf_data, lastslash, suffixlen); in splitname()
59 SPN_SUFFIX(spn).suf_len = suffixlen; in splitname()
63 suffixlen); in splitname()
64 SPN_SUFFIX(spn).suf_len = suffixlen; in splitname()
79 size_t suffixlen; in splicename() local
[all …]
/titanic_41/usr/src/uts/common/io/lvm/md/
H A Dmd.c908 size_t suffixlen; in md_print_block_usage() local
941 suffixlen = SPN_SUFFIX(&sn).suf_len; in md_print_block_usage()
942 alloc_sz = (int)(prefixlen + suffixlen + 2); in md_print_block_usage()
949 suffixlen); in md_print_block_usage()
950 name[prefixlen + suffixlen + 1] = '\0'; in md_print_block_usage()