HomeSort by: relevance | last modified time | path
    Searched refs:luns (Results 1 - 5 of 5) sorted by relevancy

  /src/sys/dev/scsipi/
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...]
  /src/sys/dev/ieee1394/
sbp.c 315 struct sbp_dev **luns; member in struct:sbp_target
492 sc->sc_target.luns = NULL;
527 /* We reserve 16 bit space (4 bytes X 64 unit X 256 luns) */
699 sdev = target->luns[lun];
707 target->luns[lun] = NULL;
713 newluns = (struct sbp_dev **) realloc(target->luns,
728 target->luns = newluns;
746 sdev = target->luns[lun];
750 target->luns[lun] = sdev;
782 target->luns[lun] = NULL
    [all...]
  /src/sys/dev/ic/
ncr53c9x.c 182 LIST_FOREACH(li, &ti->luns, link)
320 for (li = LIST_FIRST(&sc->sc_tinfo[t].luns); li;
461 LIST_FOREACH(li, &sc->sc_tinfo[r].luns, link) {
514 LIST_INIT(&sc->sc_tinfo[r].luns);
1115 LIST_INSERT_HEAD(&ti->luns, li, link);
2298 /* Selection timeout -- discard all LUNs if empty */
2301 li = LIST_FIRST(&ti->luns);
2311 li = LIST_FIRST(&ti->luns);
2967 li = LIST_FIRST(&ti->luns);
2977 li = LIST_FIRST(&ti->luns);
    [all...]
ncr53c9xvar.h 145 * SCSI I and II devices can have up to 8 LUNs, each with up to 256
149 * Since SCSI II devices can have up to 8 LUNs, we use an array
151 * Longer LUNs need to traverse the linked list.
184 LIST_HEAD(lun_list, ncr53c9x_linfo) luns;
  /src/sys/dev/sbus/
esp_sbus.c 741 LIST_FOREACH(li, &sc->sc_tinfo[t].luns, link) {

Completed in 28 milliseconds