Home | History | Annotate | Download | only in qbus

Lines Matching refs:rc_disk

272 	disk_init(&rc->rc_disk, device_xname(rc->rc_dev), &rldkdriver);
273 disk_attach(&rc->rc_disk);
274 dl = rc->rc_disk.dk_label;
320 mutex_enter(&rc->rc_disk.dk_openlock);
326 if (rc->rc_disk.dk_nwedges != 0 && part != RAW_PART) {
341 dl = rc->rc_disk.dk_label;
367 rc->rc_disk.dk_copenmask |= mask;
370 rc->rc_disk.dk_bopenmask |= mask;
373 rc->rc_disk.dk_openmask |= mask;
376 mutex_exit(&rc->rc_disk.dk_openlock);
387 mutex_enter(&rc->rc_disk.dk_openlock);
391 rc->rc_disk.dk_copenmask &= ~mask;
394 rc->rc_disk.dk_bopenmask &= ~mask;
397 rc->rc_disk.dk_openmask =
398 rc->rc_disk.dk_copenmask | rc->rc_disk.dk_bopenmask;
400 if (rc->rc_disk.dk_openmask == 0)
402 mutex_exit(&rc->rc_disk.dk_openlock);
416 lp = rc->rc_disk.dk_label;
417 if (bounds_check_with_label(&rc->rc_disk, bp, 1) <= 0)
440 struct disklabel *lp = rc->rc_disk.dk_label;
446 error = disk_ioctl(&rc->rc_disk, dev, cmd, addr, flag, l);
474 mutex_enter(&rc->rc_disk.dk_openlock);
482 mutex_exit(&rc->rc_disk.dk_openlock);
508 dl = rc->rc_disk.dk_label;
610 lp = rc->rc_disk.dk_label;