Home
last modified time | relevance | path

Searched refs:la_size_sect (Results 1 – 3 of 3) sorted by relevance

/drivers/block/drbd/
Ddrbd_nl.c947 prev.last_agreed_sect = md->la_size_sect; in drbd_determine_dev_size()
1002 md->la_size_sect = size; in drbd_determine_dev_size()
1009 la_size_changed = (prev.last_agreed_sect != md->la_size_sect); in drbd_determine_dev_size()
1060 md->la_size_sect = prev.last_agreed_sect; in drbd_determine_dev_size()
1082 sector_t la_size_sect = bdev->md.la_size_sect; /* last agreed size. */ in drbd_new_dev_size() local
1096 if (la_size_sect) { in drbd_new_dev_size()
1097 size = la_size_sect; in drbd_new_dev_size()
1976 drbd_new_dev_size(device, nbc, nbc->disk_conf->disk_size, 0) < nbc->md.la_size_sect) { in drbd_adm_attach()
Ddrbd_main.c3104 u64 la_size_sect; /* last agreed size. */ member
3135 buffer->la_size_sect = cpu_to_be64(drbd_get_capacity(device->this_bdev)); in drbd_md_write()
3193 device->ldev->md.la_size_sect = drbd_get_capacity(device->this_bdev); in drbd_md_sync()
3306 if (on_disk_bm_sect < (in_core->la_size_sect+7)/MD_4kB_SECT/8/512) in check_offsets_and_sizes()
3318 (unsigned long long)in_core->la_size_sect, in check_offsets_and_sizes()
3394 bdev->md.la_size_sect = be64_to_cpu(buffer->la_size_sect); in drbd_md_read()
Ddrbd_int.h583 u64 la_size_sect; /* last agreed size, unit sectors */ member