Lines Matching refs:cat
20 k1p = k1->cat.parent; in hfsplus_cat_case_cmp_key()
21 k2p = k2->cat.parent; in hfsplus_cat_case_cmp_key()
25 return hfsplus_strcasecmp(&k1->cat.name, &k2->cat.name); in hfsplus_cat_case_cmp_key()
33 k1p = k1->cat.parent; in hfsplus_cat_bin_cmp_key()
34 k2p = k2->cat.parent; in hfsplus_cat_bin_cmp_key()
38 return hfsplus_strcmp(&k1->cat.name, &k2->cat.name); in hfsplus_cat_bin_cmp_key()
47 key->cat.parent = cpu_to_be32(parent); in hfsplus_cat_build_key()
48 err = hfsplus_asc2uni(sb, &key->cat.name, HFSPLUS_MAX_STRLEN, in hfsplus_cat_build_key()
53 len = be16_to_cpu(key->cat.name.length); in hfsplus_cat_build_key()
62 key->cat.parent = cpu_to_be32(parent); in hfsplus_cat_build_key_with_cnid()
63 key->cat.name.length = 0; in hfsplus_cat_build_key_with_cnid()
73 key->cat.parent = cpu_to_be32(parent); in hfsplus_cat_build_key_uni()
74 key->cat.name.length = cpu_to_be16(ustrlen); in hfsplus_cat_build_key_uni()
76 memcpy(key->cat.name.unicode, name->unicode, ustrlen); in hfsplus_cat_build_key_uni()
345 fd.search_key->cat.parent = cpu_to_be32(dir->i_ino); in hfsplus_delete_cat()
347 &fd.search_key->cat.name.length, off, 2); in hfsplus_delete_cat()
348 len = be16_to_cpu(fd.search_key->cat.name.length) * 2; in hfsplus_delete_cat()
350 &fd.search_key->cat.name.unicode, in hfsplus_delete_cat()