Home
last modified time | relevance | path

Searched refs:size_blocks (Results 1 – 4 of 4) sorted by relevance

/freebsd/sys/cam/ctl/
H A Dctl_backend_ramdisk.c115 uint64_t size_blocks; member
621 nsdata->nsze = htole64(be_lun->size_blocks); in ramdisk_namespace_data()
1191 be_lun->size_blocks = params->lun_size_bytes / cbe_lun->blocksize; in ctl_backend_ramdisk_create()
1192 be_lun->size_bytes = be_lun->size_blocks * cbe_lun->blocksize; in ctl_backend_ramdisk_create()
1199 cbe_lun->maxlba = be_lun->size_blocks - 1; in ctl_backend_ramdisk_create()
1396 be_lun->size_blocks = be_lun->params.lun_size_bytes / blocksize; in ctl_backend_ramdisk_modify()
1397 be_lun->size_bytes = be_lun->size_blocks * blocksize; in ctl_backend_ramdisk_modify()
1398 be_lun->cbe_lun.maxlba = be_lun->size_blocks - 1; in ctl_backend_ramdisk_modify()
H A Dctl_backend_block.c169 uint64_t size_blocks; member
1338 nsdata->nsze = htole64(be_lun->size_blocks); in ctl_be_block_namespace_data()
2270 be_lun->size_blocks = be_lun->size_bytes / cbe_lun->blocksize; in ctl_be_block_open_file()
2271 cbe_lun->maxlba = (be_lun->size_blocks == 0) ? in ctl_be_block_open_file()
2272 0 : (be_lun->size_blocks - 1); in ctl_be_block_open_file()
2426 be_lun->size_blocks = be_lun->size_bytes / cbe_lun->blocksize; in ctl_be_block_open_dev()
2427 cbe_lun->maxlba = (be_lun->size_blocks == 0) ? in ctl_be_block_open_dev()
2428 0 : (be_lun->size_blocks - 1); in ctl_be_block_open_dev()
2677 be_lun->size_blocks = be_lun->size_bytes / cbe_lun->blocksize; in ctl_be_block_create()
2678 cbe_lun->maxlba = (be_lun->size_blocks == 0) ? in ctl_be_block_create()
[all …]
/freebsd/usr.sbin/ctld/
H A Dkernel.c115 uint64_t size_blocks; member
236 cur_lun->size_blocks = strtoull(str, NULL, 0); in cctl_end_element()
630 cl->l_size = lun->size_blocks * cl->l_blocksize; in conf_new_from_kernel()
/freebsd/usr.sbin/ctladm/
H A Dctladm.c3248 uint64_t size_blocks; member
3347 cur_lun->size_blocks = strtoull(str, NULL, 0); in cctl_end_element()
3476 lun->backend_type, (uintmax_t)lun->size_blocks, in cctl_devlist()