Lines Matching refs:datasize
957 size_t datasize; member
1047 rom->datasize, rom->romsize, in rom_set_mr()
1054 memcpy(data, rom->data, rom->datasize); in rom_set_mr()
1098 rom->datasize = rom->romsize; in rom_add_file()
1153 rom->datasize = len; in rom_add_blob()
1154 g_assert(rom->romsize >= rom->datasize); in rom_add_blob()
1155 rom->data = g_malloc0(rom->datasize); in rom_add_blob()
1177 data, rom->datasize, read_only); in rom_add_blob()
1188 size_t datasize, size_t romsize, hwaddr addr, in rom_add_elf_program() argument
1196 rom->datasize = datasize; in rom_add_elf_program()
1249 memcpy(host, rom->data, rom->datasize); in rom_reset()
1250 memset(host + rom->datasize, 0, rom->romsize - rom->datasize); in rom_reset()
1253 rom->data, rom->datasize); in rom_reset()
1254 address_space_set(rom->as, rom->addr + rom->datasize, 0, in rom_reset()
1255 rom->romsize - rom->datasize, in rom_reset()
1268 cpu_flush_icache_range(rom->addr, rom->datasize); in rom_reset()
1270 trace_loader_write_rom(rom->name, rom->addr, rom->datasize, rom->isrom); in rom_reset()
1533 l = rom->datasize; in rom_copy()
1543 if (rom->romsize > rom->datasize) { in rom_copy()
1549 l = rom->romsize - rom->datasize; in rom_copy()