Lines Matching full:block
61 const struct bt_mesh_blob_block *block) in block_start() argument
81 flash->offset + block->offset, &page); in block_start()
86 erase_size = page.size * DIV_ROUND_UP(block->size, page.size); in block_start()
88 erase_size = block->size; in block_start()
91 return flash_area_flatten(flash->area, flash->offset + block->offset, in block_start()
97 const struct bt_mesh_blob_block *block, in rd_chunk() argument
103 flash->offset + block->offset + chunk->offset, in rd_chunk()
109 const struct bt_mesh_blob_block *block, in wr_chunk() argument
116 flash->offset + block->offset + chunk->offset, in wr_chunk()
121 off_t area_offset = flash->offset + block->offset + chunk->offset; in wr_chunk()
124 /* Write block align the chunk data */ in wr_chunk()