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

/system/vold/
H A DDevmapper.cpp221 struct dm_target_spec *tgt; local
222 tgt = (struct dm_target_spec *) &buffer[sizeof(struct dm_ioctl)];
226 tgt->status = 0;
228 tgt->sector_start = 0;
229 tgt->length = numSectors;
231 strlcpy(tgt->target_type, "crypt", sizeof(tgt->target_type));
239 tgt->next = cryptParams - buffer;
H A Dcryptfs.c693 struct dm_target_spec *tgt; local
701 tgt = (struct dm_target_spec *) &buffer[sizeof(struct dm_ioctl)];
705 tgt->status = 0;
706 tgt->sector_start = 0;
707 tgt->length = crypt_ftr->fs_size;
708 strcpy(tgt->target_type, "crypt");
716 tgt->next = crypt_params - buffer;
774 struct dm_target_spec *tgt; local
/system/core/fs_mgr/
H A Dfs_mgr_verity.c287 struct dm_target_spec *tgt = (struct dm_target_spec *) &buffer[sizeof(struct dm_ioctl)]; local
289 // set tgt arguments here
291 tgt->status=0;
292 tgt->sector_start=0;
293 tgt->length=device_size/512;
294 strcpy(tgt->target_type, "verity");
305 tgt->next = verity_params - buffer;

Completed in 256 milliseconds