Searched refs:valid_offset (Results 1 – 3 of 3) sorted by relevance
62 static int valid_offset(int fd, blkid_loff_t offset) in valid_offset() function180 for (high = 1024; valid_offset(fd, high); high *= 2) in blkid_get_dev_size()185 if (valid_offset(fd, mid)) in blkid_get_dev_size()
129 static int valid_offset (int fd, ext2_loff_t offset) in valid_offset() function257 for (high = 1024; valid_offset(fd, high); high *= 2) in ext2fs_get_device_size2()262 if (valid_offset (fd, mid)) in ext2fs_get_device_size2()267 valid_offset(fd, 0); in ext2fs_get_device_size2()
91 valid_offset(uint32_t offset) in valid_offset() function192 if (!valid_offset(start)) { in dump_binding_table()339 if (!valid_offset(start)) { in handle_media_interface_descriptor_load()