Lines Matching refs:SB_BLOCK_SIZE
468 roundup_size = roundup(real_size, SB_BLOCK_SIZE); in sb_load_file()
974 asize = roundup(dctx->size, SB_BLOCK_SIZE); in sb_build_command_load()
998 if (cctx->length & (SB_BLOCK_SIZE - 1)) { in sb_build_command_load()
1339 sizeof(struct sb_boot_image_header) / SB_BLOCK_SIZE; in sb_prefill_image_header()
1341 sizeof(struct sb_sections_header) / SB_BLOCK_SIZE; in sb_prefill_image_header()
1365 hdr->image_blocks += kd_size / SB_BLOCK_SIZE; in sb_postfill_image_header()
1370 hdr->image_blocks += sctx->size / SB_BLOCK_SIZE; in sb_postfill_image_header()
1392 hdr->key_dictionary_block + kd_size / SB_BLOCK_SIZE; in sb_postfill_image_header()
1581 ictx->sect_tail->size / SB_BLOCK_SIZE; in sb_parse_line()
1740 sz = sizeof(struct sb_boot_image_header) / SB_BLOCK_SIZE; in sb_verify_image_header()
1748 sz = sizeof(struct sb_sections_header) / SB_BLOCK_SIZE; in sb_verify_image_header()
1761 if (hdr->image_blocks != fsize / SB_BLOCK_SIZE) in sb_verify_image_header()
1785 sizeof(struct sb_key_dictionary_key) / SB_BLOCK_SIZE; in sb_verify_image_header()
1842 asize = roundup(cctx->length, SB_BLOCK_SIZE); in sb_verify_command()
1993 sctx->size = (shdr->section_size * SB_BLOCK_SIZE) + in sb_verify_sections_cmds()
2096 if (filesize & (SB_BLOCK_SIZE - 1)) { in sb_build_tree_from_img()