Searched defs:tgt (Results 1 - 6 of 6) sorted by relevance

/system/vold/
H A DDevmapper.cpp120 struct dm_target_spec *tgt; local
121 tgt = (struct dm_target_spec *) &buffer[sizeof(struct dm_ioctl)];
125 tgt->status = 0;
127 tgt->sector_start = 0;
128 tgt->length = numSectors;
130 strlcpy(tgt->target_type, "crypt", sizeof(tgt->target_type));
138 tgt->next = cryptParams - buffer;
H A DMetadataCrypt.cpp175 auto tgt = (struct dm_target_spec *) (buffer + io->data_start); local
176 tgt->status = 0;
177 tgt->sector_start = 0;
178 tgt->length = nr_sec;
179 target_type.copy(tgt->target_type, sizeof(tgt->target_type));
183 tgt->next = endix;
H A Dcryptfs.cpp989 struct dm_target_spec *tgt; local
1000 tgt = (struct dm_target_spec *) &buffer[sizeof(struct dm_ioctl)];
1004 tgt->status = 0;
1005 tgt->sector_start = 0;
1006 tgt->length = crypt_ftr->fs_size;
1007 strlcpy(tgt->target_type, "crypt", DM_MAX_TYPE_NAME);
1019 tgt->next = crypt_params - buffer;
/system/sepolicy/tools/
H A Dsepolicy-check.c118 type_datum_t *tgt = NULL; local
138 tgt = hashtab_search(policy->p_types.table, t);
139 if (tgt == NULL) {
169 key.target_type = tgt->s.value;
/system/libhidl/
H A Dtest_main.cpp119 std::string tgt; local
121 tgt = src;
122 EXPECT_STREQ(tgt.c_str(), "some stuff");
/system/core/fs_mgr/
H A Dfs_mgr_verity.cpp263 struct dm_target_spec *tgt = (struct dm_target_spec *) &buffer[sizeof(struct dm_ioctl)]; local
265 // set tgt arguments
267 tgt->status = 0;
268 tgt->sector_start = 0;
269 tgt->length = device_size / 512;
270 strcpy(tgt->target_type, "verity");
286 tgt->next = verity_params - buffer;

Completed in 169 milliseconds