Searched refs:wprot (Results 1 – 2 of 2) sorted by relevance
266 check_floppy(int fd, dbus_bool_t *wprot) in check_floppy() argument271 *wprot = ((chg & FDGC_CURWPROT) != NULL); in check_floppy()
3554 uint_t wprot; in as_setwatchprot() local3570 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()