Searched refs:device_length (Results 1 – 2 of 2) sorted by relevance
86 uint64_t device_length; in disable_verity() local99 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()
154 uint64_t device_length; in read_verity_metadata() local168 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()