Searched refs:descriptor_end (Results 1 – 1 of 1) sorted by relevance
27 void *option_end, *descriptor_end; in gve_get_next_option() local30 descriptor_end = (void *)descriptor + be16_to_cpu(descriptor->total_length); in gve_get_next_option()32 return option_end > descriptor_end ? NULL : (struct gve_device_option *)option_end; in gve_get_next_option()