Lines Matching refs:align
508 static int pack_images(const char *filename, uint64_t toc_flags, unsigned long align) in pack_images() argument
543 entry_offset = (entry_offset + align - 1) & ~(align - 1); in pack_images()
555 toc_entry->offset_address = (entry_offset + align - 1) & ~(align - 1); in pack_images()
651 unsigned long align; in get_image_align() local
654 align = strtoul(arg, &endptr, 0); in get_image_align()
655 if (*endptr != '\0' || !is_power_of_2(align) || errno != 0) in get_image_align()
658 return align; in get_image_align()
681 unsigned long align = 1; in create_cmd() local
712 align = get_image_align(optarg); in create_cmd()
749 pack_images(argv[0], toc_flags, align); in create_cmd()
784 unsigned long align = 1; in update_cmd() local
840 align = get_image_align(optarg); in update_cmd()
868 pack_images(outfile, toc_flags, align); in update_cmd()
1046 unsigned long align = 1; in remove_cmd() local
1075 align = get_image_align(optarg); in remove_cmd()
1139 pack_images(outfile, toc_header.flags, align); in remove_cmd()