Searched refs:BLOCK_SIZE (Results 1 – 3 of 3) sorted by relevance
59 #define BLOCK_SIZE 0x2000 macro64 char pad[BLOCK_SIZE];147 ALIGN(file_size + sizeof(struct boot_file_head), BLOCK_SIZE); in main()
585 #define BLOCK_SIZE 512 macro657 return (size + BLOCK_SIZE - 1) / BLOCK_SIZE; in fix_blocks()718 int offset = offset_block * BLOCK_SIZE; in StorageWriteLba()724 if (!fwrite(data, blocks * BLOCK_SIZE, 1, file)) { in StorageWriteLba()741 int offset = offset_block * BLOCK_SIZE; in StorageReadLba()746 if (!fread(data, blocks * BLOCK_SIZE, 1, file)) { in StorageReadLba()761 int blocks = len / BLOCK_SIZE; in write_data()765 int left = len % BLOCK_SIZE; in write_data()767 char buf[BLOCK_SIZE] = "\0"; in write_data()768 memcpy(buf, data + blocks * BLOCK_SIZE, left); in write_data()[all …]
166 BLOCK_SIZE=0x00014000176 BLOCK_SIZE is the size to be copied by PBI.196 BLOCK_SIZE=0x00014000