Searched refs:ustrlen (Results 1 – 2 of 2) sorted by relevance
131 int i, len, ustrlen, res, compose; in hfsplus_uni2asc() local135 ustrlen = be16_to_cpu(ustr->length); in hfsplus_uni2asc()140 while (ustrlen > 0) { in hfsplus_uni2asc()142 ustrlen--; in hfsplus_uni2asc()154 if (!ustrlen) in hfsplus_uni2asc()163 ustrlen--; in hfsplus_uni2asc()164 if (!ustrlen) in hfsplus_uni2asc()170 ustrlen--; in hfsplus_uni2asc()177 if (!ustrlen) in hfsplus_uni2asc()204 ustrlen--; in hfsplus_uni2asc()[all …]
71 int ustrlen; in hfsplus_cat_build_key_uni() local73 ustrlen = be16_to_cpu(name->length); in hfsplus_cat_build_key_uni()75 key->cat.name.length = cpu_to_be16(ustrlen); in hfsplus_cat_build_key_uni()76 ustrlen *= 2; in hfsplus_cat_build_key_uni()77 memcpy(key->cat.name.unicode, name->unicode, ustrlen); in hfsplus_cat_build_key_uni()78 key->key_len = cpu_to_be16(6 + ustrlen); in hfsplus_cat_build_key_uni()