Lines Matching defs:align
530 static int pack_images(const char *filename, uint64_t toc_flags, unsigned long align)
565 entry_offset = (entry_offset + align - 1) & ~(align - 1);
577 toc_entry->offset_address = (entry_offset + align - 1) & ~(align - 1);
673 unsigned long align;
676 align = strtoul(arg, &endptr, 0);
677 if (*endptr != '\0' || !is_power_of_2(align) || errno != 0)
680 return align;
703 unsigned long align = 1;
711 opts = add_opt(opts, &nr_opts, "align", required_argument, OPT_ALIGN);
734 align = get_image_align(optarg);
771 pack_images(argv[0], toc_flags, align);
782 printf(" --align <value>\t\tEach image is aligned to <value> (default: 1).\n");
806 unsigned long align = 1;
813 opts = add_opt(opts, &nr_opts, "align", required_argument, OPT_ALIGN);
862 align = get_image_align(optarg);
890 pack_images(outfile, toc_flags, align);
901 printf(" --align <value>\t\tEach image is aligned to <value> (default: 1).\n");
1068 unsigned long align = 1;
1075 opts = add_opt(opts, &nr_opts, "align", required_argument, OPT_ALIGN);
1097 align = get_image_align(optarg);
1161 pack_images(outfile, toc_header.flags, align);
1172 printf(" --align <value>\tEach image is aligned to <value> (default: 1).\n");