Searched refs:valid_offset (Results 1 – 3 of 3) sorted by relevance
61 static int valid_offset(int fd, blkid_loff_t offset) in valid_offset() function179 for (high = 1024; valid_offset(fd, high); high *= 2) in blkid_get_dev_size()184 if (valid_offset(fd, mid)) in blkid_get_dev_size()
127 static int valid_offset (int fd, ext2_loff_t offset) in valid_offset() function255 for (high = 1024; valid_offset(fd, high); high *= 2) in ext2fs_get_device_size2()260 if (valid_offset (fd, mid)) in ext2fs_get_device_size2()265 valid_offset(fd, 0); in ext2fs_get_device_size2()
316 bool valid_offset = debug_info.ValidOffset(m_offset); in Verify() local322 if (valid_offset && length_OK && version_OK && addr_size_OK && abbr_offset_OK) in Verify()334 if (valid_offset) in Verify()