Lines Matching refs:SB_BLOCK_SIZE
469 roundup_size = roundup(real_size, SB_BLOCK_SIZE); in sb_load_file()
975 asize = roundup(dctx->size, SB_BLOCK_SIZE); in sb_build_command_load()
999 if (cctx->length & (SB_BLOCK_SIZE - 1)) { in sb_build_command_load()
1340 sizeof(struct sb_boot_image_header) / SB_BLOCK_SIZE; in sb_prefill_image_header()
1342 sizeof(struct sb_sections_header) / SB_BLOCK_SIZE; in sb_prefill_image_header()
1366 hdr->image_blocks += kd_size / SB_BLOCK_SIZE; in sb_postfill_image_header()
1371 hdr->image_blocks += sctx->size / SB_BLOCK_SIZE; in sb_postfill_image_header()
1393 hdr->key_dictionary_block + kd_size / SB_BLOCK_SIZE; in sb_postfill_image_header()
1582 ictx->sect_tail->size / SB_BLOCK_SIZE; in sb_parse_line()
1741 sz = sizeof(struct sb_boot_image_header) / SB_BLOCK_SIZE; in sb_verify_image_header()
1749 sz = sizeof(struct sb_sections_header) / SB_BLOCK_SIZE; in sb_verify_image_header()
1762 if (hdr->image_blocks != fsize / SB_BLOCK_SIZE) in sb_verify_image_header()
1786 sizeof(struct sb_key_dictionary_key) / SB_BLOCK_SIZE; in sb_verify_image_header()
1843 asize = roundup(cctx->length, SB_BLOCK_SIZE); in sb_verify_command()
1994 sctx->size = (shdr->section_size * SB_BLOCK_SIZE) + in sb_verify_sections_cmds()
2097 if (filesize & (SB_BLOCK_SIZE - 1)) { in sb_build_tree_from_img()