Searched refs:la_size_sect (Results 1 – 3 of 3) sorted by relevance
876 sector_t la_size_sect, u_size; in drbd_determine_dev_size() local908 la_size_sect = device->ldev->md.la_size_sect; in drbd_determine_dev_size()928 if (size < la_size_sect) { in drbd_determine_dev_size()962 device->ldev->md.la_size_sect = size; in drbd_determine_dev_size()969 la_size_changed = (la_size_sect != device->ldev->md.la_size_sect); in drbd_determine_dev_size()1003 if (size > la_size_sect) in drbd_determine_dev_size()1004 rv = la_size_sect ? DS_GREW : DS_GREW_FROM_ZERO; in drbd_determine_dev_size()1005 if (size < la_size_sect) in drbd_determine_dev_size()1031 sector_t la_size_sect = bdev->md.la_size_sect; /* last agreed size. */ in drbd_new_dev_size() local1045 if (la_size_sect) { in drbd_new_dev_size()[all …]
3032 u64 la_size_sect; /* last agreed size. */ member3063 buffer->la_size_sect = cpu_to_be64(drbd_get_capacity(device->this_bdev)); in drbd_md_write()3121 device->ldev->md.la_size_sect = drbd_get_capacity(device->this_bdev); in drbd_md_sync()3234 if (on_disk_bm_sect < (in_core->la_size_sect+7)/MD_4kB_SECT/8/512) in check_offsets_and_sizes()3246 (unsigned long long)in_core->la_size_sect, in check_offsets_and_sizes()3317 bdev->md.la_size_sect = be64_to_cpu(buffer->la_size_sect); in drbd_md_read()
590 u64 la_size_sect; /* last agreed size, unit sectors */ member