Searched refs:extent (Results 1 - 8 of 8) sorted by relevance

/system/extras/fatblock/
H A Dfs.h28 struct extent *extents;
31 struct extent boot_extent;
32 struct extent backup_boot_extent;
35 struct extent info_extent;
37 struct extent fat_extent;
44 int fs_alloc_extent(struct fs *fs, struct extent *extent,
46 struct extent *fs_find_extent(struct fs *fs, offset_t start, offset_t len, struct extent *last,
H A Dfatblock.h35 struct extent { struct
40 struct extent *next;
44 struct extent extent; member in struct:file
57 struct extent extent; member in struct:dir
H A Dfs.c28 static void fs_add_extent(struct fs *fs, struct extent *extent, argument
32 assert(extent);
34 extent->start = start;
35 extent->len = len;
36 extent->type = type;
38 extent->next = fs->extents;
39 fs->extents = extent;
42 struct extent *fs_find_extent(struct fs *fs, offset_t start, offset_t len,
43 struct extent *las
109 fs_alloc_extent(struct fs *fs, struct extent *extent, offset_t len, int type, cluster_t *first_cluster_out) argument
[all...]
H A Dread.c134 static int extent_read(struct fs *fs, struct extent *e, char *buf,
156 WARN("reading extent: unexpected type %d\n", e->type);
163 struct extent *e = NULL;
H A Dimport.c131 ret = fs_alloc_extent(fs, &f->extent,
134 WARN("importing %s: couldn't allocate data extent\n", path);
295 ret = fs_alloc_extent(fs, &d->extent, d->size, EXTENT_TYPE_DIR, &out->first_cluster);
297 WARN("importing %s: couldn't allocate directory table extent: "
/system/extras/ext4_utils/
H A Dextent.c20 #include "extent.h"
82 struct ext4_extent *extent; local
107 extent = (struct ext4_extent *)&inode->i_block[3];
133 error("File size %llu is too big to fit in a single extent block\n",
146 extent = (struct ext4_extent *)(data +
150 for (; !last_region(alloc); extent++, get_next_region(alloc)) {
155 extent->ee_block = file_block;
156 extent->ee_len = region_len;
157 extent->ee_start_hi = 0;
158 extent
[all...]
H A Dext4fixup.c516 struct ext4_extent *extent; local
523 /* The extent entries immediately follow the header, so add 1 to the pointer
524 * and cast it to an extent pointer.
526 extent = (struct ext4_extent *)(ext_hdr + 1);
529 fs_block_num = ((off64_t)extent->ee_start_hi << 32) | extent->ee_start_lo;
530 for (j = 0; j < extent->ee_len; j++) {
531 block_list[extent->ee_block+j] = fs_block_num+j;
533 extent++;
552 /* The extent entrie
[all...]
H A DAndroid.mk11 extent.c \

Completed in 61 milliseconds