Home
last modified time | relevance | path

Searched refs:lun_datalen (Results 1 – 2 of 2) sorted by relevance

/freebsd/usr.sbin/ctladm/
H A Dctladm.c1817 int lun_datalen; in cctl_get_luns() local
1834 lun_datalen = sizeof(*lun_data) + in cctl_get_luns()
1836 *lun_data = malloc(lun_datalen); in cctl_get_luns()
1846 /*data_len*/ lun_datalen, in cctl_get_luns()
/freebsd/sys/cam/ctl/
H A Dctl.c9147 uint32_t alloc_len, lun_datalen; in ctl_report_luns() local
9204 lun_datalen = sizeof(*lun_data) + in ctl_report_luns()
9207 ctsio->kern_data_ptr = malloc(lun_datalen, M_CTL, M_WAITOK | M_ZERO); in ctl_report_luns()
9255 lun_datalen = sizeof(*lun_data) + in ctl_report_luns()
9259 ctsio->kern_data_len = min(lun_datalen, alloc_len); in ctl_report_luns()
9269 scsi_ulto4b(lun_datalen - 8, lun_data->length); in ctl_report_luns()