scsiconf.c | 334 uint16_t ** const luns, size_t *nluns) 398 KASSERT(luns != NULL); 399 *luns = kmem_alloc(*nluns * sizeof(**luns), KM_SLEEP); 407 (*luns)[i] = 0; 410 (*luns)[i] = _2btol(&lunp->lun[0]) & 0x3FFF; 413 (*luns)[i] = _2btol(&lunp->lun[0]) & 0x00FF; 418 kheapsort(*luns, *nluns, sizeof(**luns), lun_compar, &tmp); 431 uint16_t *luns = NULL; /* XXX gcc * local in function:scsi_discover_luns [all...] |