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

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dvdev_file.c92 spa_mode(vd->vdev_spa) | FOFFMAX, 0, &vp, 0, 0, rootdir, -1);
138 (void) VOP_CLOSE(vf->vf_vnode, spa_mode(vd->vdev_spa), 1, 0,
H A Dvdev_disk.c376 error = ldi_open_by_name(buf, spa_mode(spa), kcred,
392 error = ldi_open_by_name(vd->vdev_path, spa_mode(spa),
416 (void) ldi_close(dvd->vd_lh, spa_mode(spa),
437 spa_mode(spa), kcred, &dvd->vd_lh, zfs_li);
456 error = ldi_open_by_dev(&dev, OTYP_BLK, spa_mode(spa),
465 error = ldi_open_by_name(vd->vdev_path, spa_mode(spa),
641 (void) ldi_close(dvd->vd_lh, spa_mode(vd->vdev_spa), kcred);
H A Dspa_misc.c2108 return (!!(spa->spa_mode & FWRITE) && spa->spa_trust_config);
2123 spa_mode(spa_t *spa) function
2125 return (spa->spa_mode);
2329 spa->spa_mode == FREAD);
H A Dvdev_label.c759 spa_mode(spa) == FREAD)
H A Dspa.c299 (spa_mode(spa) == FREAD), src);
1143 spa->spa_mode = mode;
2703 if (spa->spa_trust_config && (spa->spa_mode & FWRITE)) {
3677 int mode = spa->spa_mode;
4182 int mode = spa->spa_mode;
H A Ddsl_crypt.c909 if (spa_mode(spa) != FREAD)
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dspa_impl.h345 int spa_mode; /* FREAD | FWRITE */ member in struct:spa
H A Dspa.h1016 extern int spa_mode(spa_t *spa);

Completed in 201 milliseconds