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

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dvdev_file.c111 spa_mode(vd->vdev_spa) | FOFFMAX, 0, &vp, 0, 0, rootdir, -1);
157 (void) VOP_CLOSE(vf->vf_vnode, spa_mode(vd->vdev_spa), 1, 0,
H A Dvdev_disk.c381 error = ldi_open_by_name(buf, spa_mode(spa), kcred,
397 error = ldi_open_by_name(vd->vdev_path, spa_mode(spa),
432 (void) ldi_close(dvd->vd_lh, spa_mode(spa),
456 spa_mode(spa), kcred, &dvd->vd_lh, zfs_li);
474 error = ldi_open_by_dev(&dev, OTYP_BLK, spa_mode(spa),
484 error = ldi_open_by_name(vd->vdev_path, spa_mode(spa),
753 (void) ldi_close(dvd->vd_lh, spa_mode(vd->vdev_spa), kcred);
H A Dspa_misc.c2150 return (!!(spa->spa_mode & FWRITE) && spa->spa_trust_config);
2165 spa_mode(spa_t *spa) function
2167 return (spa->spa_mode);
2377 spa->spa_mode == FREAD);
H A Dvdev_label.c759 spa_mode(spa) == FREAD)
H A Dspa.c301 (spa_mode(spa) == FREAD), src);
1146 spa->spa_mode = mode;
2861 if (spa->spa_trust_config && (spa->spa_mode & FWRITE)) {
3845 int mode = spa->spa_mode;
4352 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.h354 int spa_mode; /* FREAD | FWRITE */ member in struct:spa
H A Dspa.h1070 extern int spa_mode(spa_t *spa);

Completed in 195 milliseconds