Searched refs:afsuse (Results 1 – 2 of 2) sorted by relevance
632 struct cil_fsuse *afsuse; in test_cil_post_fsuse_compare_type_a_greater_b() local633 cil_fsuse_init(&afsuse); in test_cil_post_fsuse_compare_type_a_greater_b()634 afsuse->type = CIL_FSUSE_XATTR; in test_cil_post_fsuse_compare_type_a_greater_b()640 int rc = cil_post_fsuse_compare(&afsuse, &bfsuse); in test_cil_post_fsuse_compare_type_a_greater_b()645 struct cil_fsuse *afsuse; in test_cil_post_fsuse_compare_type_b_greater_a() local646 cil_fsuse_init(&afsuse); in test_cil_post_fsuse_compare_type_b_greater_a()647 afsuse->type = CIL_FSUSE_TASK; in test_cil_post_fsuse_compare_type_b_greater_a()653 int rc = cil_post_fsuse_compare(&afsuse, &bfsuse); in test_cil_post_fsuse_compare_type_b_greater_a()658 struct cil_fsuse *afsuse; in test_cil_post_fsuse_compare_fsstr_a_greater_b() local659 cil_fsuse_init(&afsuse); in test_cil_post_fsuse_compare_fsstr_a_greater_b()[all …]
316 struct cil_fsuse *afsuse; in cil_post_fsuse_compare() local318 afsuse = *(struct cil_fsuse**)a; in cil_post_fsuse_compare()320 if (afsuse->type < bfsuse->type) { in cil_post_fsuse_compare()322 } else if (bfsuse->type < afsuse->type) { in cil_post_fsuse_compare()325 rc = strcmp(afsuse->fs_str, bfsuse->fs_str); in cil_post_fsuse_compare()