Home
last modified time | relevance | path

Searched refs:wprot (Results 1 – 2 of 2) sorted by relevance

/titanic_44/usr/src/cmd/hal/probing/storage/
H A Dprobe-storage.c266 check_floppy(int fd, dbus_bool_t *wprot) in check_floppy() argument
271 *wprot = ((chg & FDGC_CURWPROT) != NULL); in check_floppy()
/titanic_44/usr/src/uts/common/vm/
H A Dvm_as.c3554 uint_t wprot; in as_setwatchprot() local
3570 wprot = prot; in as_setwatchprot()
3572 wprot &= ~(PROT_READ|PROT_WRITE|PROT_EXEC); in as_setwatchprot()
3574 wprot &= ~PROT_WRITE; in as_setwatchprot()
3576 wprot &= ~(PROT_READ|PROT_WRITE|PROT_EXEC); in as_setwatchprot()
3577 if (!(pwp->wp_flags & WP_NOWATCH) && wprot != pwp->wp_oprot) { in as_setwatchprot()
3584 err = SEGOP_SETPROT(seg, vaddr, PAGESIZE, wprot); in as_setwatchprot()
3592 pwp->wp_prot = wprot; in as_setwatchprot()