Searched refs:SPARSE_BLOCK_SIZE (Results 1 – 2 of 2) sorted by relevance
24 #define SPARSE_BLOCK_SIZE 0x1000 macro37 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()
8 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}; \