OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:sparse_header
(Results
1 - 3
of
3
) sorted by null
/system/extras/ext4_utils/
simg2img.c
182
sparse_header_t
sparse_header
;
local
216
ret = read_all(in, &
sparse_header
, sizeof(
sparse_header
));
217
if (ret != sizeof(
sparse_header
)) {
222
if (
sparse_header
.magic != SPARSE_HEADER_MAGIC) {
227
if (
sparse_header
.major_version != SPARSE_HEADER_MAJOR_VER) {
232
if (
sparse_header
.file_hdr_sz > SPARSE_HEADER_LEN) {
236
lseek64(in,
sparse_header
.file_hdr_sz - SPARSE_HEADER_LEN, SEEK_CUR);
239
if ( (zerobuf = malloc(
sparse_header
.blk_sz)) == 0) {
244
for (i=0; i<
sparse_header
.total_chunks; i++)
[
all
...]
sparse_format.h
17
typedef struct
sparse_header
{
struct
output_file.c
136
static sparse_header_t
sparse_header
= {
variable
339
if (out->chunk_cnt !=
sparse_header
.total_chunks)
341
sparse_header
.total_chunks);
395
sparse_header
.blk_sz = info.block_size,
396
sparse_header
.total_blks = info.len / info.block_size,
397
sparse_header
.total_chunks = chunks;
399
sparse_header
.total_chunks++;
401
ret = out->ops->write(out, (u8 *)&
sparse_header
, sizeof(
sparse_header
));
Completed in 566 milliseconds