OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:fec_size
(Results
1 - 6
of
6
) sorted by null
/system/extras/verity/fec/
image.cpp
62
munmap(ctx->fec_mmap_addr, FEC_BLOCKSIZE + ctx->
fec_size
);
338
INFO("mmaping '%s' (size %u)\n", ctx->fec_filename, ctx->
fec_size
);
350
size_t
fec_size
= FEC_BLOCKSIZE + ctx->
fec_size
;
local
352
if (ftruncate(fd,
fec_size
) == -1) {
358
INFO("memory mapping '%s' (size %zu)\n", ctx->fec_filename,
fec_size
);
361
void *p = mmap(NULL,
fec_size
, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0);
365
fec_size
, strerror(errno));
376
INFO("allocating %u bytes of memory\n", ctx->
fec_size
);
379
ctx->fec = new uint8_t[ctx->
fec_size
];
[
all
...]
image.h
56
uint32_t
fec_size
;
member in struct:image
main.cpp
197
INFO("\traw fec size: %u\n", ctx.
fec_size
);
242
INFO("\traw fec size: %u\n", ctx.
fec_size
);
/system/extras/libfec/
fec_open.cpp
143
if (header.
fec_size
% header.roots ||
144
header.
fec_size
% FEC_BLOCKSIZE) {
145
error("inconsistent ecc size %u", header.
fec_size
);
149
if (offset < header.
fec_size
||
150
offset - header.
fec_size
!= header.inp_size) {
160
if (header.
fec_size
!=
162
error("inconsistent ecc size %u", header.
fec_size
);
166
f->ecc.size = header.
fec_size
;
/system/extras/libfec/include/fec/
io.h
49
uint32_t
fec_size
;
member in struct:fec_header
/build/tools/releasetools/
build_image.py
89
success,
fec_size
= GetVerityFECSize(partition_size + verity_size)
92
return verity_size +
fec_size
Completed in 547 milliseconds