Searched refs:size_blocks (Results 1 – 4 of 4) sorted by relevance
116 uint64_t size_blocks; member997 be_lun->size_blocks = params->lun_size_bytes / cbe_lun->blocksize; in ctl_backend_ramdisk_create()998 be_lun->size_bytes = be_lun->size_blocks * cbe_lun->blocksize; in ctl_backend_ramdisk_create()1005 cbe_lun->maxlba = be_lun->size_blocks - 1; in ctl_backend_ramdisk_create()1202 be_lun->size_blocks = be_lun->params.lun_size_bytes / blocksize; in ctl_backend_ramdisk_modify()1203 be_lun->size_bytes = be_lun->size_blocks * blocksize; in ctl_backend_ramdisk_modify()1204 be_lun->cbe_lun.maxlba = be_lun->size_blocks - 1; in ctl_backend_ramdisk_modify()
169 uint64_t size_blocks; member1937 be_lun->size_blocks = be_lun->size_bytes / cbe_lun->blocksize; in ctl_be_block_open_file()1938 cbe_lun->maxlba = (be_lun->size_blocks == 0) ? in ctl_be_block_open_file()1939 0 : (be_lun->size_blocks - 1); in ctl_be_block_open_file()2093 be_lun->size_blocks = be_lun->size_bytes / cbe_lun->blocksize; in ctl_be_block_open_dev()2094 cbe_lun->maxlba = (be_lun->size_blocks == 0) ? in ctl_be_block_open_dev()2095 0 : (be_lun->size_blocks - 1); in ctl_be_block_open_dev()2345 cbe_lun->maxlba = (be_lun->size_blocks == 0) ? in ctl_be_block_create()2346 0 : (be_lun->size_blocks - 1); in ctl_be_block_create()2626 oldsize = be_lun->size_blocks; in ctl_be_block_modify()[all …]
125 uint64_t size_blocks; member245 cur_lun->size_blocks = strtoull(str, NULL, 0); in cctl_end_element()667 lun_set_size(cl, lun->size_blocks * cl->l_blocksize); in conf_new_from_kernel()
3240 uint64_t size_blocks; member3338 cur_lun->size_blocks = strtoull(str, NULL, 0); in cctl_end_element()3478 lun->backend_type, (uintmax_t)lun->size_blocks, in cctl_devlist()