Lines Matching refs:open_flags
454 int open_flags; /* open flags */ member
1444 USCSICMD, (intptr_t)&ucmd, (vd->open_flags | FKIOCTL), in vd_do_scsi_rdwr()
1899 NULL, vd->open_flags | FKIOCTL, kcred, &rval); in vd_flush_write()
2003 if (request->operation == VD_OP_BWRITE && !(vd->open_flags & FWRITE)) { in vd_start_bio()
3424 vd->open_flags | FKIOCTL, kcred, &rval); in vd_backend_ioctl()
3438 (intptr_t)&vtoc, vd->open_flags | FKIOCTL, in vd_backend_ioctl()
3449 (intptr_t)&vtoc, vd->open_flags | FKIOCTL, in vd_backend_ioctl()
3520 if (!(vd->open_flags & FWRITE) && in vd_do_ioctl()
3692 if (!(vd->open_flags & FWRITE) && ioctl[i].write) { in vd_ioctl()
3799 (vd->open_flags | FKIOCTL), kcred, &rval); in vd_scsi_reset()
3892 NULL, (vd->open_flags | FKIOCTL), kcred, &rval); in vd_get_access()
3937 MHIOCRELEASE, NULL, (vd->open_flags | FKIOCTL), kcred, in vd_set_access()
3964 MHIOCTKOWN, NULL, (vd->open_flags | FKIOCTL), kcred, &rval); in vd_set_access()
3979 MHIOCQRESERVE, NULL, (vd->open_flags | FKIOCTL), kcred, in vd_set_access()
3984 MHIOCTKOWN, NULL, (vd->open_flags | FKIOCTL), kcred, &rval); in vd_set_access()
3996 MHIOCQRESERVE, NULL, (vd->open_flags | FKIOCTL), kcred, in vd_set_access()
4006 MHIOCQRESERVE, NULL, (vd->open_flags | FKIOCTL), kcred, in vd_set_access()
4014 MHIOCQRESERVE, NULL, (vd->open_flags | FKIOCTL), kcred, in vd_set_access()
4037 (vd->open_flags | FKIOCTL), kcred, &rval); in vd_reset_access()
4062 (vd->open_flags | FKIOCTL), kcred, &rval); in vd_reset_access()
4398 ASSERT(vd->open_flags & FREAD); in vd_set_exported_operations()
4401 if (vd->open_flags & FWRITE) in vd_set_exported_operations()
5596 vd->open_flags, kcred, &vd->ldi_handle[slice], in vd_setup_full_disk()
5601 vd->open_flags | FNDELAY, kcred, in vd_setup_full_disk()
5894 if ((status = vn_open(file_path, UIO_SYSSPACE, vd->open_flags | FOFFMAX, in vd_setup_backend_vnode()
5927 (intptr_t)&dk_cinfo, (vd->open_flags | FKIOCTL), kcred, in vd_setup_backend_vnode()
6145 (intptr_t)&dk_cinfo, (vd->open_flags | FKIOCTL), kcred, in vd_setup_backend_ldi()
6169 vd->open_flags &= ~FWRITE; in vd_setup_backend_ldi()
6171 } else if (vd->open_flags & FWRITE) { in vd_setup_backend_ldi()
6173 (void) ldi_close(vd->ldi_handle[0], vd->open_flags & ~FWRITE, in vd_setup_backend_ldi()
6175 status = vd_open_using_ldi_by_name(vd, vd->open_flags); in vd_setup_backend_ldi()
6271 (intptr_t)&vd->vtoc, (vd->open_flags | FKIOCTL), in vd_setup_single_slice_disk()
6277 (intptr_t)&vtoc, (vd->open_flags | FKIOCTL), in vd_setup_single_slice_disk()
6284 (intptr_t)&vd->dk_geom, (vd->open_flags | FKIOCTL), in vd_setup_single_slice_disk()
6391 (intptr_t)&minfo, (vd->open_flags | FKIOCTL), in vd_backend_check_size()
6509 status = vd_open_using_ldi_by_name(vd, vd->open_flags & ~FWRITE); in vd_identify_dev()
6740 vd->open_flags = FREAD; in vds_do_init_vd()
6743 vd->open_flags |= FWRITE; in vds_do_init_vd()
6746 vd->open_flags |= FEXCL; in vds_do_init_vd()
6966 (void) VOP_CLOSE(vd->file_vnode, vd->open_flags, 1, in vds_destroy_vd()
6975 vd->open_flags, kcred); in vds_destroy_vd()