Searched defs:extent (Results 1 - 4 of 4) sorted by relevance

/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.c515 struct ext4_extent *extent; local
522 /* The extent entries immediately follow the header, so add 1 to the pointer
523 * and cast it to an extent pointer.
525 extent = (struct ext4_extent *)(ext_hdr + 1);
528 fs_block_num = ((off64_t)extent->ee_start_hi << 32) | extent->ee_start_lo;
529 for (j = 0; j < extent->ee_len; j++) {
530 block_list[extent->ee_block+j] = fs_block_num+j;
532 extent++;
551 /* The extent entrie
[all...]
/system/extras/fatblock/
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...]

Completed in 51 milliseconds