Home
last modified time | relevance | path

Searched refs:SPARSE_BLOCK_SIZE (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/hw/mem/
H A Dsparse-mem.c24 #define SPARSE_BLOCK_SIZE 0x1000 macro
37 uint8_t data[SPARSE_BLOCK_SIZE];
44 size_t pfn = addr / SPARSE_BLOCK_SIZE; in sparse_mem_read()
45 size_t offset = addr % SPARSE_BLOCK_SIZE; in sparse_mem_read()
60 size_t pfn = addr / SPARSE_BLOCK_SIZE; in sparse_mem_write()
61 size_t offset = addr % SPARSE_BLOCK_SIZE; in sparse_mem_write()
65 s->size_used + SPARSE_BLOCK_SIZE < s->maxsize && v) { in sparse_mem_write()
/openbmc/openbmc/meta-openembedded/meta-oe/classes/
H A Dimage_types_sparse.bbclass8 SPARSE_BLOCK_SIZE ??= "4096"
13 truncate --no-create --size=%${SPARSE_BLOCK_SIZE} "${IMAGE_NAME}.${type}"; \
14 img2simg -s "${IMAGE_NAME}.${type}" "${IMAGE_NAME}.${type}.sparse" ${SPARSE_BLOCK_SIZE}; \