Searched refs:u32 (Results 1 - 17 of 17) sorted by relevance

/system/extras/ext4_utils/
H A Dcontents.h30 u32 *inode;
31 u32 mtime;
36 u32 make_directory(u32 dir_inode_num, u32 entries, struct dentry *dentries,
37 u32 dirs);
38 u32 make_file(const char *filename, u64 len);
39 u32 make_link(const char *link);
40 int inode_set_permissions(u32 inode_num, u16 mode, u16 uid, u16 gid, u32 mtim
[all...]
H A Dallocate.h20 #define EXT4_ALLOCATE_FAILED (u32)(~0)
30 u32 partial_iter;
43 u32 allocate_block();
44 struct block_allocation *allocate_blocks(u32 len);
47 struct ext4_inode *get_inode(u32 inode);
49 void reduce_allocation(struct block_allocation *alloc, u32 len);
50 u32 get_block(struct block_allocation *alloc, u32 block);
51 u32 get_oob_block(struct block_allocation *alloc, u32 bloc
[all...]
H A Dext4_utils.h80 typedef unsigned int u32; typedef
88 u32 bg_block_bitmap;
89 u32 bg_inode_bitmap;
90 u32 bg_inode_table;
95 u32 bg_reserved[2];
106 u32 first_data_block;
108 u32 inode_table_blocks;
109 u32 groups;
110 u32 bg_desc_blocks;
111 u32 default_i_flag
[all...]
H A Dindirect.c40 u32 region_block;
41 u32 region_len;
42 u32 len;
101 static void fill_indirect_block(u32 *ind_block, int len, struct block_allocation *alloc)
109 static void fill_dindirect_block(u32 *dind_block, int len, struct block_allocation *alloc)
112 u32 ind_block;
123 u32 *ind_block_data = calloc(info.block_size, 1);
139 static void fill_tindirect_block(u32 *tind_block, int len, struct block_allocation *alloc)
142 u32 dind_block;
153 u32 *dind_block_dat
[all...]
H A Dcontents.c47 static u32 dentry_size(u32 entries, struct dentry *dentries)
49 u32 len = 24;
63 static struct ext4_dir_entry_2 *add_dentry(u8 *data, u32 *offset,
64 struct ext4_dir_entry_2 *prev, u32 inode, const char *name,
71 u32 start_block = *offset / info.block_size;
72 u32 end_block = (*offset + rec_len - 1) / info.block_size;
99 u32 make_directory(u32 dir_inode_num, u32 entrie
[all...]
H A Dallocate.c26 u32 block;
27 u32 len;
34 u32 first_block;
42 u32 free_blocks;
43 u32 first_free_block;
44 u32 free_inodes;
45 u32 first_free_inode;
158 u32 block, u32 len, int bg_num)
175 u32 bloc
[all...]
H A Dextent.c38 u32 region_block;
39 u32 region_len;
40 u32 len;
60 u32 region_block;
61 u32 region_len;
62 u32 len;
77 u32 block_len = DIV_ROUND_UP(len, info.block_size);
79 u32 extent_block = 0;
80 u32 file_block = 0;
150 u32 region_bloc
[all...]
H A Dmake_ext4fs.c82 static u32 build_default_directory_structure(const char *dir_path,
85 u32 inode;
86 u32 root_inode;
128 static u32 build_directory_structure(const char *full_path, const char *dir_path,
129 u32 dir_inode, fs_config_func_t fs_config_func,
138 u32 inode;
139 u32 entry_inode;
140 u32 dirs = 0;
324 static u32 compute_block_size()
329 static u32 compute_journal_block
[all...]
H A Dext2simg.c73 u32 first_block = aux_info.first_data_block + i * info.blocks_per_group;
74 u32 last_block = min(info.blocks_per_group, aux_info.len_blocks - first_block);
91 u32 start_block = first_block + start_contiguous_block;
92 u32 len_blocks = block - start_contiguous_block;
106 u32 start_block = first_block + start_contiguous_block;
107 u32 len_blocks = last_block - start_contiguous_block;
H A Duuid.c31 u32 time_low;
37 u32 node2_5;
H A Dext4_utils.c64 int bitmap_get_bit(u8 *bitmap, u32 bit)
72 void bitmap_clear_bit(u8 *bitmap, u32 bit)
145 aux_info.blocks_per_ind = info.block_size / sizeof(u32);
155 u32 last_group_size = aux_info.len_blocks % info.blocks_per_group;
156 u32 last_header_size = 2 + aux_info.inode_table_blocks;
270 u32 header_size = 0;
333 u32 reserve_inode_len = 0;
346 u32 reserved_block_start = group_start_block + 1 +
348 u32 reserved_block_len = info.bg_desc_reserve_blocks;
400 u32
[all...]
/system/core/libsparse/
H A Dsparse_defs.h24 #define __le32 u32
28 #define __be32 u32
32 #define __u32 u32
38 typedef unsigned int u32; typedef
/system/core/gpttool/
H A Dgpttool.c31 typedef unsigned int u32; typedef
48 u32 version;
49 u32 header_sz;
51 u32 crc32;
52 u32 reserved;
63 u32 entries_count;
64 u32 entries_size;
65 u32 entries_crc32;
94 void init_mbr(u8 *mbr, u32 blocks)
111 memcpy(mbr + 0x1ca, &blocks, sizeof(u32));
[all...]
/system/keymaster/
H A Docb.c115 uint32_t u32[2]; member in union:__anon306
118 out.u32[0] = bswap32(in.u32[1]);
119 out.u32[1] = bswap32(in.u32[0]);
753 uint32_t u32[4]; member in union:__anon316
763 tmp.u32[0] = 0x01000000 + ((OCB_TAG_LEN * 8 % 128) << 1);
765 tmp.u32[0] = 0x00000001 + ((OCB_TAG_LEN * 8 % 128) << 25);
768 tmp.u32[0] = 0x01000000 + ((ctx->tag_len * 8 % 128) << 1);
770 tmp.u32[
791 uint32_t u32[4]; member in union:__anon317
921 uint32_t u32[4]; member in union:__anon318
1132 uint32_t u32[4]; member in union:__anon319
[all...]
/system/extras/f2fs_utils/
H A Df2fs_sparseblock.c266 u32 bmp_size;
418 u32 bmp_size = le32_to_cpu(cp->sit_ver_bitmap_bytesize);
/system/core/libmincrypt/
H A Dp256_ec.c44 typedef uint32_t u32; typedef
64 typedef u32 limb;
188 * x must be a u32 or an equivalent type such as limb. */
189 #define NON_ZERO_TO_ALL_ONES(x) ((((u32)(x) - 1) >> 31) - 1)
197 const u32 carry_mask = NON_ZERO_TO_ALL_ONES(carry);
1050 u32 table_offset;
/system/vold/
H A Dcryptfs.c2377 u32 first_block = aux_info.first_data_block + i * info.blocks_per_group;
2378 u32 block_count = min(info.blocks_per_group,
2447 u32 i;
2579 u32 i;

Completed in 5860 milliseconds