Home
last modified time | relevance | path

Searched refs:verity_params (Results 1 – 2 of 2) sorted by relevance

/system/core/fs_mgr/
Dfs_mgr_avb.cpp301 char* verity_params = buffer + sizeof(struct dm_ioctl) + sizeof(struct dm_target_spec); in hashtree_load_verity_table() local
302 size_t bufsize = DM_BUF_SIZE - (verity_params - buffer); in hashtree_load_verity_table()
306 res = snprintf(verity_params, bufsize, VERITY_TABLE_FORMAT VERITY_TABLE_OPT_FEC_FORMAT, in hashtree_load_verity_table()
311 res = snprintf(verity_params, bufsize, VERITY_TABLE_FORMAT VERITY_TABLE_OPT_DEFAULT_FORMAT, in hashtree_load_verity_table()
322 LINFO << "Loading verity table: '" << verity_params << "'"; in hashtree_load_verity_table()
325 verity_params += strlen(verity_params) + 1; in hashtree_load_verity_table()
326 verity_params = (char*)(((unsigned long)verity_params + 7) & ~7); in hashtree_load_verity_table()
327 dm_target->next = verity_params - buffer; in hashtree_load_verity_table()
Dfs_mgr_verity.cpp257 char *verity_params; in load_verity_table() local
273 verity_params = buffer + sizeof(struct dm_ioctl) + sizeof(struct dm_target_spec); in load_verity_table()
274 bufsize = DM_BUF_SIZE - (verity_params - buffer); in load_verity_table()
276 if (!format(verity_params, bufsize, params)) { in load_verity_table()
281 LINFO << "loading verity table: '" << verity_params << "'"; in load_verity_table()
284 verity_params += strlen(verity_params) + 1; in load_verity_table()
285 verity_params = (char*)(((uintptr_t)verity_params + 7) & ~7); in load_verity_table()
286 tgt->next = verity_params - buffer; in load_verity_table()