Home
last modified time | relevance | path

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

/freebsd-14.2/sys/cam/ctl/
H A Dctl_backend_ramdisk.c116 uint64_t size_blocks; member
997 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()
H A Dctl_backend_block.c169 uint64_t size_blocks; member
1937 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 …]
/freebsd-14.2/usr.sbin/ctld/
H A Dkernel.c125 uint64_t size_blocks; member
245 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()
/freebsd-14.2/usr.sbin/ctladm/
H A Dctladm.c3240 uint64_t size_blocks; member
3338 cur_lun->size_blocks = strtoull(str, NULL, 0); in cctl_end_element()
3478 lun->backend_type, (uintmax_t)lun->size_blocks, in cctl_devlist()