Lines Matching refs:pflags
131 unsigned long long pflags, in check_partition_flags() argument
137 …pflags &= ~(supported | GPT_FLAG_REQUIRED_PARTITION | GPT_FLAG_NO_BLOCK_IO_PROTOCOL | GPT_FLAG_LEG… in check_partition_flags()
139 if (pflags == 0) in check_partition_flags()
143 for (unsigned i = 0; i < sizeof(pflags) * 8; i++) { in check_partition_flags()
145 if (!FLAGS_SET(pflags, bit)) in check_partition_flags()
464 unsigned long long pflags; in dissect_image() local
474 pflags = blkid_partition_get_flags(pp); in dissect_image()
543 … check_partition_flags(node, pflags, GPT_FLAG_NO_AUTO|GPT_FLAG_READ_ONLY|GPT_FLAG_GROWFS); in dissect_image()
545 if (pflags & GPT_FLAG_NO_AUTO) in dissect_image()
549 rw = !(pflags & GPT_FLAG_READ_ONLY); in dissect_image()
550 growfs = FLAGS_SET(pflags, GPT_FLAG_GROWFS); in dissect_image()
554 … check_partition_flags(node, pflags, GPT_FLAG_NO_AUTO|GPT_FLAG_READ_ONLY|GPT_FLAG_GROWFS); in dissect_image()
556 if (pflags & GPT_FLAG_NO_AUTO) in dissect_image()
560 rw = !(pflags & GPT_FLAG_READ_ONLY); in dissect_image()
561 growfs = FLAGS_SET(pflags, GPT_FLAG_GROWFS); in dissect_image()
570 if (pflags & GPT_FLAG_NO_BLOCK_IO_PROTOCOL) in dissect_image()
578 … check_partition_flags(node, pflags, GPT_FLAG_NO_AUTO|GPT_FLAG_READ_ONLY|GPT_FLAG_GROWFS); in dissect_image()
580 if (pflags & GPT_FLAG_NO_AUTO) in dissect_image()
584 rw = !(pflags & GPT_FLAG_READ_ONLY); in dissect_image()
585 growfs = FLAGS_SET(pflags, GPT_FLAG_GROWFS); in dissect_image()
589 … check_partition_flags(node, pflags, GPT_FLAG_NO_AUTO|GPT_FLAG_READ_ONLY|GPT_FLAG_GROWFS); in dissect_image()
591 if (pflags & GPT_FLAG_NO_AUTO) in dissect_image()
600 rw = !(pflags & GPT_FLAG_READ_ONLY); in dissect_image()
601 growfs = FLAGS_SET(pflags, GPT_FLAG_GROWFS); in dissect_image()
605 … check_partition_flags(node, pflags, GPT_FLAG_NO_AUTO|GPT_FLAG_READ_ONLY); in dissect_image()
607 if (pflags & GPT_FLAG_NO_AUTO) in dissect_image()
629 … check_partition_flags(node, pflags, GPT_FLAG_NO_AUTO|GPT_FLAG_READ_ONLY); in dissect_image()
631 if (pflags & GPT_FLAG_NO_AUTO) in dissect_image()
651 … check_partition_flags(node, pflags, GPT_FLAG_NO_AUTO|GPT_FLAG_READ_ONLY|GPT_FLAG_GROWFS); in dissect_image()
653 if (pflags & GPT_FLAG_NO_AUTO) in dissect_image()
662 rw = !(pflags & GPT_FLAG_READ_ONLY); in dissect_image()
663 growfs = FLAGS_SET(pflags, GPT_FLAG_GROWFS); in dissect_image()
667 … check_partition_flags(node, pflags, GPT_FLAG_NO_AUTO|GPT_FLAG_READ_ONLY); in dissect_image()
669 if (pflags & GPT_FLAG_NO_AUTO) in dissect_image()
690 … check_partition_flags(node, pflags, GPT_FLAG_NO_AUTO|GPT_FLAG_READ_ONLY); in dissect_image()
692 if (pflags & GPT_FLAG_NO_AUTO) in dissect_image()
712 check_partition_flags(node, pflags, GPT_FLAG_NO_AUTO); in dissect_image()
714 if (pflags & GPT_FLAG_NO_AUTO) in dissect_image()
721 … check_partition_flags(node, pflags, GPT_FLAG_NO_AUTO|GPT_FLAG_READ_ONLY|GPT_FLAG_GROWFS); in dissect_image()
723 if (pflags & GPT_FLAG_NO_AUTO) in dissect_image()
730 generic_rw = !(pflags & GPT_FLAG_READ_ONLY); in dissect_image()
731 generic_growfs = FLAGS_SET(pflags, GPT_FLAG_GROWFS); in dissect_image()
740 … check_partition_flags(node, pflags, GPT_FLAG_NO_AUTO|GPT_FLAG_READ_ONLY|GPT_FLAG_GROWFS); in dissect_image()
742 if (pflags & GPT_FLAG_NO_AUTO) in dissect_image()
746 rw = !(pflags & GPT_FLAG_READ_ONLY); in dissect_image()
747 growfs = FLAGS_SET(pflags, GPT_FLAG_GROWFS); in dissect_image()
751 … check_partition_flags(node, pflags, GPT_FLAG_NO_AUTO|GPT_FLAG_READ_ONLY|GPT_FLAG_GROWFS); in dissect_image()
753 if (pflags & GPT_FLAG_NO_AUTO) in dissect_image()
778 rw = !(pflags & GPT_FLAG_READ_ONLY); in dissect_image()
779 growfs = FLAGS_SET(pflags, GPT_FLAG_GROWFS); in dissect_image()
844 if (pflags != 0x80) /* Bootable flag */ in dissect_image()