Searched refs:ustrlen (Results 1 – 2 of 2) sorted by relevance
66 u16 ustrlen, cc; in hfsplus_uni2asc() local71 ustrlen = be16_to_cpu(ustr->length); in hfsplus_uni2asc()73 while (ustrlen > 0 && tmp > 0) { in hfsplus_uni2asc()88 ustrlen--; in hfsplus_uni2asc()91 if (ustrlen) in hfsplus_uni2asc()
45 int ustrlen; in hfsplus_fill_cat_key_uni() local47 ustrlen = be16_to_cpu(name->length); in hfsplus_fill_cat_key_uni()49 key->cat.name.length = cpu_to_be16(ustrlen); in hfsplus_fill_cat_key_uni()50 ustrlen *= 2; in hfsplus_fill_cat_key_uni()51 memcpy(key->cat.name.unicode, name->unicode, ustrlen); in hfsplus_fill_cat_key_uni()52 key->key_len = cpu_to_be16(6 + ustrlen); in hfsplus_fill_cat_key_uni()