Searched refs:geo (Results 1 – 3 of 3) sorted by relevance
/lk-master/lib/bio/ |
A D | subdev.c | 104 const bio_erase_geometry_info_t *geo = NULL; in bio_publish_subdevice() local 111 geo = parent->geometry + i; in bio_publish_subdevice() 114 geo->start, in bio_publish_subdevice() 115 geo->start + geo->size, in bio_publish_subdevice() 116 geo->erase_size); in bio_publish_subdevice() 118 if (bio_contains_range(geo->start, geo->size, byte_start, byte_size)) in bio_publish_subdevice() 122 if (!geo) { in bio_publish_subdevice() 128 uint64_t erase_mask = ((uint64_t)0x1 << geo->erase_shift) - 1; in bio_publish_subdevice() 139 geometry->erase_size = geo->erase_size; in bio_publish_subdevice() 140 geometry->erase_shift = geo->erase_shift; in bio_publish_subdevice()
|
A D | bio.c | 550 const bio_erase_geometry_info_t *geo = entry->geometry + i; in bio_dump_devices() local 552 i, geo->start, geo->size, geo->erase_size); in bio_dump_devices()
|
/lk-master/lib/ptable/ |
A D | ptable.c | 335 const bio_erase_geometry_info_t *geo = ptable.bdev->geometry + geo_index; in ptable_adjust_request_for_erase_geometry() local 336 uint64_t erase_mask = ((uint64_t)0x1 << geo->erase_shift) - 1; in ptable_adjust_request_for_erase_geometry() 339 geo->start, geo->start + geo->size, geo->erase_size); in ptable_adjust_request_for_erase_geometry() 343 if (!bio_does_overlap(region_start, region_len, geo->start, geo->size)) { in ptable_adjust_request_for_erase_geometry() 349 uint64_t erase_end = geo->start + geo->size; in ptable_adjust_request_for_erase_geometry() 350 uint64_t rstart = MAX(region_start, (uint64_t)geo->start); in ptable_adjust_request_for_erase_geometry() 379 ret, ret + *plength, geo->erase_size); in ptable_adjust_request_for_erase_geometry()
|
Completed in 5 milliseconds