Home | History | Annotate | Download | only in scsipi

Lines Matching defs:mo

1835 			struct scsipi_max_openings mo;
1843 mo.mo_target = periph->periph_target;
1844 mo.mo_lun = periph->periph_lun;
1846 mo.mo_openings = periph->periph_active - 1;
1848 mo.mo_openings = periph->periph_openings - 1;
1850 if (mo.mo_openings < 0) {
1856 if (mo.mo_openings == 0) {
1859 mo.mo_openings = 1;
1861 scsipi_async_event(chan, ASYNC_EVENT_MAX_OPENINGS, &mo);
2535 struct scsipi_max_openings *mo)
2540 if (mo->mo_lun == -1) {
2547 minlun = maxlun = mo->mo_lun;
2551 periph = scsipi_lookup_periph_locked(chan, mo->mo_target, minlun);
2555 if (mo->mo_openings < periph->periph_openings)
2556 mo->mo_openings;
2557 else if (mo->mo_openings > periph->periph_openings &&
2559 periph->periph_openings = mo->mo_openings;