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

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dvdev_disk.c372 error = ldi_open_by_name(buf, spa_mode(spa), kcred,
388 error = ldi_open_by_name(vd->vdev_path, spa_mode(spa),
423 (void) ldi_close(dvd->vd_lh, spa_mode(spa),
447 spa_mode(spa), kcred, &dvd->vd_lh, zfs_li);
465 error = ldi_open_by_dev(&dev, OTYP_BLK, spa_mode(spa),
475 error = ldi_open_by_name(vd->vdev_path, spa_mode(spa),
495 spa_mode(spa), kcred, &dvd->vd_lh, zfs_li)) != 0) {
766 (void) ldi_close(dvd->vd_lh, spa_mode(vd->vdev_spa), kcred);
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 Dspa_misc.c2329 return (!!(spa->spa_mode & FWRITE) && spa->spa_trust_config);
2344 spa_mode(spa_t *spa) function
2346 return (spa->spa_mode);
2556 spa->spa_mode == FREAD);
H A Dvdev_label.c918 spa_mode(spa) == FREAD)
H A Dspa.c309 (spa_mode(spa) == FREAD), src);
1154 spa->spa_mode = mode;
2876 if (spa->spa_trust_config && (spa->spa_mode & FWRITE)) {
3864 int mode = spa->spa_mode;
4374 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.h356 int spa_mode; /* FREAD | FWRITE */ member in struct:spa
H A Dspa.h1044 extern int spa_mode(spa_t *spa);

Completed in 95 milliseconds