Lines Matching refs:found
414 .found = true, in dissect_image()
786 if (m->partitions[designator].found) { in dissect_image()
823 .found = true, in dissect_image()
866 if (m->partitions[PARTITION_XBOOTLDR].found) in dissect_image()
885 .found = true, in dissect_image()
902 if (m->partitions[PARTITION_ROOT].found) { in dissect_image()
905 m->partitions[PARTITION_ROOT_SECONDARY].found = false; in dissect_image()
906 m->partitions[PARTITION_ROOT_SECONDARY_VERITY].found = false; in dissect_image()
907 m->partitions[PARTITION_ROOT_SECONDARY_VERITY_SIG].found = false; in dissect_image()
908 m->partitions[PARTITION_USR_SECONDARY].found = false; in dissect_image()
909 m->partitions[PARTITION_USR_SECONDARY_VERITY].found = false; in dissect_image()
910 m->partitions[PARTITION_USR_SECONDARY_VERITY_SIG].found = false; in dissect_image()
912 m->partitions[PARTITION_ROOT_OTHER].found = false; in dissect_image()
913 m->partitions[PARTITION_ROOT_OTHER_VERITY].found = false; in dissect_image()
914 m->partitions[PARTITION_ROOT_OTHER_VERITY_SIG].found = false; in dissect_image()
915 m->partitions[PARTITION_USR_OTHER].found = false; in dissect_image()
916 m->partitions[PARTITION_USR_OTHER_VERITY].found = false; in dissect_image()
917 m->partitions[PARTITION_USR_OTHER_VERITY_SIG].found = false; in dissect_image()
919 } else if (m->partitions[PARTITION_ROOT_VERITY].found || in dissect_image()
920 m->partitions[PARTITION_ROOT_VERITY_SIG].found) in dissect_image()
923 else if (m->partitions[PARTITION_ROOT_SECONDARY].found) { in dissect_image()
945 m->partitions[PARTITION_ROOT_OTHER].found = false; in dissect_image()
946 m->partitions[PARTITION_ROOT_OTHER_VERITY].found = false; in dissect_image()
947 m->partitions[PARTITION_ROOT_OTHER_VERITY_SIG].found = false; in dissect_image()
948 m->partitions[PARTITION_USR_OTHER].found = false; in dissect_image()
949 m->partitions[PARTITION_USR_OTHER_VERITY].found = false; in dissect_image()
950 m->partitions[PARTITION_USR_OTHER_VERITY_SIG].found = false; in dissect_image()
952 } else if (m->partitions[PARTITION_ROOT_SECONDARY_VERITY].found || in dissect_image()
953 m->partitions[PARTITION_ROOT_SECONDARY_VERITY_SIG].found) in dissect_image()
956 else if (m->partitions[PARTITION_ROOT_OTHER].found) { in dissect_image()
981 … if (m->partitions[PARTITION_ROOT_VERITY_SIG].found && !m->partitions[PARTITION_ROOT_VERITY].found) in dissect_image()
984 if (m->partitions[PARTITION_USR].found) { in dissect_image()
986 m->partitions[PARTITION_USR_SECONDARY].found = false; in dissect_image()
987 m->partitions[PARTITION_USR_SECONDARY_VERITY].found = false; in dissect_image()
988 m->partitions[PARTITION_USR_SECONDARY_VERITY_SIG].found = false; in dissect_image()
990 m->partitions[PARTITION_USR_OTHER].found = false; in dissect_image()
991 m->partitions[PARTITION_USR_OTHER_VERITY].found = false; in dissect_image()
992 m->partitions[PARTITION_USR_OTHER_VERITY_SIG].found = false; in dissect_image()
994 } else if (m->partitions[PARTITION_USR_VERITY].found || in dissect_image()
995 m->partitions[PARTITION_USR_VERITY_SIG].found) in dissect_image()
998 else if (m->partitions[PARTITION_USR_SECONDARY].found) { in dissect_image()
1011 m->partitions[PARTITION_USR_OTHER].found = false; in dissect_image()
1012 m->partitions[PARTITION_USR_OTHER_VERITY].found = false; in dissect_image()
1013 m->partitions[PARTITION_USR_OTHER_VERITY_SIG].found = false; in dissect_image()
1015 } else if (m->partitions[PARTITION_USR_SECONDARY_VERITY].found || in dissect_image()
1016 m->partitions[PARTITION_USR_SECONDARY_VERITY_SIG].found) in dissect_image()
1019 else if (m->partitions[PARTITION_USR_OTHER].found) { in dissect_image()
1035 … if (m->partitions[PARTITION_USR_VERITY_SIG].found && !m->partitions[PARTITION_USR_VERITY].found) in dissect_image()
1039 if (m->partitions[PARTITION_ROOT].found && in dissect_image()
1040 m->partitions[PARTITION_USR].found && in dissect_image()
1046 if (!m->partitions[PARTITION_ROOT].found && in dissect_image()
1047 !m->partitions[PARTITION_USR].found && in dissect_image()
1074 .found = true, in dissect_image()
1090 …!(m->partitions[PARTITION_ROOT].found || (m->partitions[PARTITION_USR].found && FLAGS_SET(flags, D… in dissect_image()
1093 if (m->partitions[PARTITION_ROOT_VERITY].found) { in dissect_image()
1095 if (m->partitions[PARTITION_USR_VERITY].found) in dissect_image()
1100 if (m->partitions[PARTITION_USR].found) in dissect_image()
1106 if (verity->designator >= 0 && !m->partitions[verity->designator].found) in dissect_image()
1114 … if (!m->partitions[PARTITION_ROOT_VERITY].found || !m->partitions[PARTITION_ROOT].found) in dissect_image()
1124 … if (!m->partitions[PARTITION_USR_VERITY].found || !m->partitions[PARTITION_USR].found) in dissect_image()
1134 …erity->designator == PARTITION_USR ? PARTITION_USR_VERITY_SIG : PARTITION_ROOT_VERITY_SIG].found) { in dissect_image()
1150 if (!p->found) in dissect_image()
1315 if (!m->found || !node) in mount_partition()
1470 if (!(m->partitions[PARTITION_ROOT].found || in dissected_image_mount()
1471 (m->partitions[PARTITION_USR].found && FLAGS_SET(flags, DISSECT_IMAGE_USR_NO_ROOT)))) in dissected_image_mount()
1477 if (m->partitions[PARTITION_ROOT].found) in dissected_image_mount()
1537 if (m->partitions[PARTITION_ESP].found) { in dissected_image_mount()
1699 if (!m->found || !m->node || !m->fstype) in decrypt_partition()
1967 if (!m->found || !m->node || !m->fstype) in verity_partition()
1970 if (!v->found || !v->node || !v->fstype) in verity_partition()
2134 if (!p->found) in dissected_image_decrypt()
2471 if (!p->found) in dissected_image_load_verity_sig_partition()
2647 bool found = false; in dissected_image_acquire_metadata() local
2659 found = true; in dissected_image_acquire_metadata()
2664 r = loop_write(fds[2*k+1], &found, sizeof(found), false); in dissected_image_acquire_metadata()
2905 return k >= 0 && image->partitions[k].found; in dissected_image_verity_ready()
2922 return k >= 0 && image->partitions[k].found; in dissected_image_verity_sig_ready()