Home
last modified time | relevance | path

Searched refs:u32 (Results 1 – 25 of 38) sorted by relevance

12

/system/extras/ext4_utils/
Dallocate.h20 #define EXT4_ALLOCATE_FAILED (u32)(~0)
25 u32 block;
26 u32 len;
36 u32 partial_iter;
47 u32 first_block;
55 u32 free_blocks;
56 u32 free_inodes;
57 u32 first_free_inode;
67 u32 allocate_block();
68 struct block_allocation *allocate_blocks(u32 len);
[all …]
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 mtime);
41 int inode_set_selinux(u32 inode_num, const char *secon);
42 int inode_set_capabilities(u32 inode_num, uint64_t capabilities);
Dindirect.c40 u32 region_block; in create_backing()
41 u32 region_len; in create_backing()
42 u32 len; in create_backing()
101 static void fill_indirect_block(u32 *ind_block, int len, struct block_allocation *alloc) in fill_indirect_block()
109 static void fill_dindirect_block(u32 *dind_block, int len, struct block_allocation *alloc) in fill_dindirect_block()
112 u32 ind_block; in fill_dindirect_block()
123 u32 *ind_block_data = calloc(info.block_size, 1); in fill_dindirect_block()
139 static void fill_tindirect_block(u32 *tind_block, int len, struct block_allocation *alloc) in fill_tindirect_block()
142 u32 dind_block; in fill_tindirect_block()
153 u32 *dind_block_data = calloc(info.block_size, 1); in fill_tindirect_block()
[all …]
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];
108 u32 first_data_block;
110 u32 inode_table_blocks;
111 u32 groups;
112 u32 bg_desc_blocks;
113 u32 default_i_flags;
[all …]
Dcontents.c47 static u32 dentry_size(u32 entries, struct dentry *dentries) in dentry_size()
49 u32 len = 24; in dentry_size()
63 static struct ext4_dir_entry_2 *add_dentry(u8 *data, u32 *offset, in add_dentry()
64 struct ext4_dir_entry_2 *prev, u32 inode, const char *name, in add_dentry()
71 u32 start_block = *offset / info.block_size; in add_dentry()
72 u32 end_block = (*offset + rec_len - 1) / info.block_size; in add_dentry()
99 u32 make_directory(u32 dir_inode_num, u32 entries, struct dentry *dentries, in make_directory()
100 u32 dirs) in make_directory()
103 u32 blocks; in make_directory()
104 u32 len; in make_directory()
[all …]
Dallocate.c149 u32 block, u32 len, int bg_num) in append_region()
166 u32 block = bg->first_block + 2; in allocate_bg_inode_table()
181 static int bitmap_set_bit(u8 *bitmap, u32 bit) in bitmap_set_bit()
190 static int bitmap_set_8_bits(u8 *bitmap, u32 bit) in bitmap_set_8_bits()
199 static int reserve_blocks(struct block_group_info *bg, u32 bg_num, u32 start, u32 num) in reserve_blocks()
203 u32 block = start; in reserve_blocks()
230 static void free_blocks(struct block_group_info *bg, u32 block, u32 num_blocks) in free_blocks()
241 void reduce_allocation(struct block_allocation *alloc, u32 len) in reduce_allocation()
284 u32 block = bg->first_block; in init_bg()
306 u32 overrun = bg->first_block + info.blocks_per_group - aux_info.len_blocks; in init_bg()
[all …]
Dextent.c38 u32 region_block; in extent_create_backing()
39 u32 region_len; in extent_create_backing()
40 u32 len; in extent_create_backing()
60 u32 region_block; in extent_create_backing_file()
61 u32 region_len; in extent_create_backing_file()
62 u32 len; in extent_create_backing_file()
77 u32 block_len = DIV_ROUND_UP(len, info.block_size), prealloc_block_len; in do_inode_allocate_extents()
79 u32 extent_block = 0; in do_inode_allocate_extents()
80 u32 file_block = 0; in do_inode_allocate_extents()
170 u32 region_block; in do_inode_allocate_extents()
[all …]
Dmake_ext4fs.c100 static u32 build_default_directory_structure(const char *dir_path, in build_default_directory_structure()
103 u32 inode; in build_default_directory_structure()
104 u32 root_inode; in build_default_directory_structure()
146 static u32 build_directory_structure(const char *full_path, const char *dir_path, const char *targe… in build_directory_structure()
147 u32 dir_inode, fs_config_func_t fs_config_func, in build_directory_structure()
156 u32 inode; in build_directory_structure()
157 u32 entry_inode; in build_directory_structure()
158 u32 dirs = 0; in build_directory_structure()
352 static u32 compute_block_size() in compute_block_size()
357 static u32 compute_journal_blocks() in compute_journal_blocks()
[all …]
Dext2simg.c73 u32 first_block = aux_info.first_data_block + i * info.blocks_per_group; in build_sparse_ext()
74 u32 last_block = min(info.blocks_per_group, aux_info.len_blocks - first_block); in build_sparse_ext()
91 u32 start_block = first_block + start_contiguous_block; in build_sparse_ext()
92 u32 len_blocks = block - start_contiguous_block; in build_sparse_ext()
106 u32 start_block = first_block + start_contiguous_block; in build_sparse_ext()
107 u32 len_blocks = last_block - start_contiguous_block; in build_sparse_ext()
Dext4_utils.c58 u32 time_low;
64 u32 node2_5;
106 int bitmap_get_bit(u8 *bitmap, u32 bit) in bitmap_get_bit()
114 void bitmap_clear_bit(u8 *bitmap, u32 bit) in bitmap_clear_bit()
175 u32 i; in block_device_write_sb()
208 aux_info.blocks_per_ind = info.block_size / sizeof(u32); in ext4_create_fs_aux_info()
218 u32 last_group_size = aux_info.len_blocks % info.blocks_per_group; in ext4_create_fs_aux_info()
219 u32 last_header_size = 2 + aux_info.inode_table_blocks; in ext4_create_fs_aux_info()
363 u32 header_size = 0; in ext4_fill_in_sb()
427 u32 reserve_inode_len = 0; in ext4_create_resize_inode()
[all …]
/system/extras/perfprofd/quipper/
Dperf_reader.h37 u32 len;
42 u32 type;
47 u32 type;
52 u32 type;
56 typedef u32 num_siblings_type;
64 u32 id;
195 bool ReadBuildIDMetadata(const ConstBufferWithSize& data, u32 type,
197 bool ReadStringMetadata(const ConstBufferWithSize& data, u32 type,
199 bool ReadUint32Metadata(const ConstBufferWithSize& data, u32 type,
201 bool ReadUint64Metadata(const ConstBufferWithSize& data, u32 type,
[all …]
Dperf_reader.cc42 typedef u32 num_string_data_type;
45 typedef u32 event_desc_num_events;
46 typedef u32 event_desc_attr_size;
47 typedef u32 event_desc_num_unique_ids;
50 typedef u32 numa_topology_num_nodes_type;
101 u32 MaybeSwap(u32 value, bool swap) { in MaybeSwap()
909 u32 PerfReader::ReadPerfEventAttrSize(const ConstBufferWithSize& data, in ReadPerfEventAttrSize()
911 static_assert(std::is_same<decltype(perf_event_attr::size), u32>::value, in ReadPerfEventAttrSize()
914 u32 attr_size; in ReadPerfEventAttrSize()
931 u32 attr_size = ReadPerfEventAttrSize(data, *offset); in ReadEventAttr()
[all …]
/system/netd/server/
DStrictController.cpp90 const char *u32; in enableStrict() local
91 u32 = "0>>22&0x3C@ 12>>26&0x3C@ 0&0xFFFF0000=0x16030000 &&" in enableStrict()
94 LOCAL_CLEAR_DETECT, u32, connmarkFlagAccept); in enableStrict()
96 u32 = "0>>22&0x3C@ 8&0xFFFF0000=0x16FE0000 &&" in enableStrict()
99 LOCAL_CLEAR_DETECT, u32, connmarkFlagAccept); in enableStrict()
104 u32 = "52>>26&0x3C@ 40&0xFFFF0000=0x16030000 &&" in enableStrict()
107 LOCAL_CLEAR_DETECT, u32, connmarkFlagAccept); in enableStrict()
109 u32 = "48&0xFFFF0000=0x16FE0000 &&" in enableStrict()
112 LOCAL_CLEAR_DETECT, u32, connmarkFlagAccept); in enableStrict()
121 u32 = "0>>22&0x3C@ 12>>26&0x3C@ 0&0x0=0x0"; in enableStrict()
[all …]
/system/extras/perfprofd/quipper/kernel-headers/tools/perf/util/
Devent.h25 u32 pid, tid;
35 u32 pid, tid;
40 u32 maj;
41 u32 min;
50 u32 pid, tid;
56 u32 pid, ppid;
57 u32 tid, ptid;
70 u32 pid, tid;
116 u32 pid, tid;
125 u32 cpu;
[all …]
Dtypes.h24 typedef unsigned int u32; typedef
34 u32 val32[2];
/system/extras/perfprofd/quipper/original-kernel-headers/tools/perf/util/
Devent.h13 u32 pid, tid;
22 u32 pid, tid;
26 u32 maj;
27 u32 min;
35 u32 pid, tid;
41 u32 pid, ppid;
42 u32 tid, ptid;
57 u32 pid, tid;
107 u32 pid, tid;
114 u32 cpu;
[all …]
Dtypes.h12 typedef unsigned int u32; typedef
21 u32 val32[2];
/system/bt/stack/include/
Dbt_types.h237 … UINT32_TO_STREAM(p, u32) {*(p)++ = (UINT8)(u32); *(p)++ = (UINT8)((u32) >> 8); *(p)++ = (UINT8)(( argument
253 #define STREAM_TO_UINT24(u32, p) {u32 = (((UINT32)(*(p))) + ((((UINT32)(*((p) + 1)))) << 8) + ((((U… argument
254 #define STREAM_TO_UINT32(u32, p) {u32 = (((UINT32)(*(p))) + ((((UINT32)(*((p) + 1)))) << 8) + ((((U… argument
271u32) {*(UINT8 *)(p) = (UINT8)(u32); *((UINT8 *)(p)+1) = (UINT8)((u32) >> 8); *((UINT8 *)(p)+2) = … argument
280 …_TO_BE_STREAM(p, u32) {*(p)++ = (UINT8)((u32) >> 24); *(p)++ = (UINT8)((u32) >> 16); *(p)++ = (UI… argument
289 #define BE_STREAM_TO_UINT24(u32, p) {u32 = (((UINT32)(*((p) + 2))) + ((UINT32)(*((p) + 1)) << 8) + … argument
290 #define BE_STREAM_TO_UINT32(u32, p) {u32 = ((UINT32)(*((p) + 3)) + ((UINT32)(*((p) + 2)) << 8) + ((… argument
303u32) {*(UINT8 *)(p) = (UINT8)((u32) >> 24); *((UINT8 *)(p)+1) = (UINT8)((u32) >> 16); *((UINT8 *)… argument
/system/bt/stack/avrc/
Davrc_int.h73 …efine AVRC_CO_ID_TO_BE_STREAM(p, u32) {*(p)++ = (UINT8)((u32) >> 16); *(p)++ = (UINT8)((u32) >> 8)… argument
74 #define AVRC_BE_STREAM_TO_CO_ID(u32, p) {u32 = (((UINT32)(*((p) + 2))) + (((UINT32)(*((p) + 1))) <<… argument
Davrc_pars_tg.c111 UINT32 u32, u32_2, *p_u32; in avrc_pars_vendor_cmd() local
285 BE_STREAM_TO_UINT32 (u32, p); in avrc_pars_vendor_cmd()
287 if (u32== 0 && u32_2 == 0) in avrc_pars_vendor_cmd()
/system/core/libsparse/
Dsparse_defs.h24 #define __le32 u32
28 #define __be32 u32
32 #define __u32 u32
38 typedef unsigned int u32; typedef
/system/bt/bta/sdp/
Dbta_sdp_act.c86 uint32_t u32; in shorten_sdp_uuid() local
87 memcpy(&u32, &u->uu.uuid128[0], sizeof(u32)); in shorten_sdp_uuid()
88 su.uu.uuid32 = ntohl(u32); in shorten_sdp_uuid()
108 record->mns.supported_features = p_attr->attr_value.v.u32; in bta_create_mns_sdp_record()
161 record->mas.supported_features = p_attr->attr_value.v.u32; in bta_create_mas_sdp_record()
207 record->pse.supported_features = p_attr->attr_value.v.u32; in bta_create_pse_sdp_record()
/system/extras/perfprofd/quipper/kernel-headers/tools/perf/util/include/linux/
Dbitops.h31 #define BITS_TO_U32(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(u32))
/system/keymaster/
Docb.c115 uint32_t u32[2]; in bswap64() member
118 out.u32[0] = bswap32(in.u32[1]); in bswap64()
119 out.u32[1] = bswap32(in.u32[0]); in bswap64()
753 uint32_t u32[4]; in gen_offset_from_nonce() member
762 tmp.u32[0] = 0x01000000 + ((OCB_TAG_LEN * 8 % 128) << 1); in gen_offset_from_nonce()
764 tmp.u32[0] = 0x00000001 + ((OCB_TAG_LEN * 8 % 128) << 25); in gen_offset_from_nonce()
767 tmp.u32[0] = 0x01000000 + ((ctx->tag_len * 8 % 128) << 1); in gen_offset_from_nonce()
769 tmp.u32[0] = 0x00000001 + ((ctx->tag_len * 8 % 128) << 25); in gen_offset_from_nonce()
771 tmp.u32[1] = ((uint32_t*)nonce)[0]; in gen_offset_from_nonce()
772 tmp.u32[2] = ((uint32_t*)nonce)[1]; in gen_offset_from_nonce()
[all …]
/system/bt/bta/av/
Dbta_av_int.h150 …ine BTA_AV_CO_ID_TO_BE_STREAM(p, u32) {*(p)++ = (UINT8)((u32) >> 16); *(p)++ = (UINT8)((u32) >> 8)… argument
151 #define BTA_AV_BE_STREAM_TO_CO_ID(u32, p) {u32 = (((UINT32)(*((p) + 2))) + (((UINT32)(*((p) + 1))) … argument

12