Searched refs:spa_mode (Results 1 - 7 of 7) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dvdev_disk.c341 error = ldi_open_by_name(buf, spa_mode(spa), kcred,
357 error = ldi_open_by_name(vd->vdev_path, spa_mode(spa),
368 (void) ldi_close(dvd->vd_lh, spa_mode(spa),
389 spa_mode(spa), kcred, &dvd->vd_lh, zfs_li);
404 error = ldi_open_by_dev(&dev, OTYP_BLK, spa_mode(spa),
413 error = ldi_open_by_name(vd->vdev_path, spa_mode(spa),
573 (void) ldi_close(dvd->vd_lh, spa_mode(vd->vdev_spa), kcred);
H A Dvdev_file.c88 spa_mode(vd->vdev_spa) | FOFFMAX, 0, &vp, 0, 0, rootdir, -1);
134 (void) VOP_CLOSE(vf->vf_vnode, spa_mode(vd->vdev_spa), 1, 0,
H A Dspa_misc.c1950 return (!!(spa->spa_mode & FWRITE));
1964 spa_mode(spa_t *spa) function
1966 return (spa->spa_mode);
H A Dvdev_label.c615 spa_mode(spa) == FREAD)
H A Dspa.c224 (spa_mode(spa) == FREAD), src);
1048 spa->spa_mode = mode;
2232 int orig_mode = spa->spa_mode;
2242 spa->spa_mode = FREAD;
2931 int mode = spa->spa_mode;
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dspa_impl.h236 int spa_mode; /* FREAD | FWRITE */ member in struct:spa
H A Dspa.h829 extern int spa_mode(spa_t *spa);

Completed in 101 milliseconds