Home
last modified time | relevance | path

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

/system/core/adb/
Ddisable_verity_service.c86 uint64_t device_length; in disable_verity() local
99 if (get_target_device_size(fd, (char*)block_device, &device_length) < 0) { in disable_verity()
104 if (lseek64(device, device_length, SEEK_SET) < 0) { in disable_verity()
125 device_length); in disable_verity()
129 if (lseek64(device, device_length, SEEK_SET) < 0) { in disable_verity()
/system/core/fs_mgr/
Dfs_mgr_verity.c154 uint64_t device_length; in read_verity_metadata() local
168 if (get_target_device_size(block_device, &device_length) < 0) { in read_verity_metadata()
172 if (TEMP_FAILURE_RETRY(lseek64(device, device_length, SEEK_SET)) < 0) { in read_verity_metadata()
194 device_length); in read_verity_metadata()