Home
last modified time | relevance | path

Searched refs:tgt (Results 1 – 3 of 3) sorted by relevance

/system/vold/
DDevmapper.cpp221 struct dm_target_spec *tgt; in create() local
222 tgt = (struct dm_target_spec *) &buffer[sizeof(struct dm_ioctl)]; in create()
226 tgt->status = 0; in create()
228 tgt->sector_start = 0; in create()
229 tgt->length = numSectors; in create()
231 strlcpy(tgt->target_type, "crypt", sizeof(tgt->target_type)); in create()
239 tgt->next = cryptParams - buffer; in create()
Dcryptfs.c984 struct dm_target_spec *tgt; in load_crypto_mapping_table() local
992 tgt = (struct dm_target_spec *) &buffer[sizeof(struct dm_ioctl)]; in load_crypto_mapping_table()
996 tgt->status = 0; in load_crypto_mapping_table()
997 tgt->sector_start = 0; in load_crypto_mapping_table()
998 tgt->length = crypt_ftr->fs_size; in load_crypto_mapping_table()
1001 strlcpy(tgt->target_type, "req-crypt", DM_MAX_TYPE_NAME); in load_crypto_mapping_table()
1004 strlcpy(tgt->target_type, "crypt", DM_MAX_TYPE_NAME); in load_crypto_mapping_table()
1007 strlcpy(tgt->target_type, "crypt", DM_MAX_TYPE_NAME); in load_crypto_mapping_table()
1016 tgt->next = crypt_params - buffer; in load_crypto_mapping_table()
1078 struct dm_target_spec *tgt; local
/system/core/fs_mgr/
Dfs_mgr_verity.c307 struct dm_target_spec *tgt = (struct dm_target_spec *) &buffer[sizeof(struct dm_ioctl)]; in load_verity_table() local
311 tgt->status=0; in load_verity_table()
312 tgt->sector_start=0; in load_verity_table()
313 tgt->length=device_size/512; in load_verity_table()
314 strcpy(tgt->target_type, "verity"); in load_verity_table()
325 tgt->next = verity_params - buffer; in load_verity_table()