Lines Matching defs:pwp

3368 	struct watched_page *pwp;
3379 for (pwp = avl_first(&as->a_wpage); pwp != NULL;
3380 pwp = AVL_NEXT(&as->a_wpage, pwp)) {
3383 vaddr = pwp->wp_vaddr;
3384 if (pwp->wp_oprot != 0 || /* already set up */
3389 pwp->wp_oprot = prot;
3390 if (pwp->wp_read)
3392 if (pwp->wp_write)
3394 if (pwp->wp_exec)
3396 if (!(pwp->wp_flags & WP_NOWATCH) && prot != pwp->wp_oprot) {
3399 pwp->wp_oprot = 0;
3405 pwp->wp_prot = prot;
3415 struct watched_page *pwp;
3426 for (pwp = avl_first(&as->a_wpage); pwp != NULL;
3427 pwp = AVL_NEXT(&as->a_wpage, pwp)) {
3430 vaddr = pwp->wp_vaddr;
3431 if (pwp->wp_oprot == 0 || /* not set up */
3435 if ((prot = pwp->wp_oprot) != pwp->wp_prot) {
3443 pwp->wp_oprot = 0;
3444 pwp->wp_prot = 0;
3454 struct watched_page *pwp;
3469 if ((pwp = avl_find(&as->a_wpage, &tpw, &where)) == NULL)
3470 pwp = avl_nearest(&as->a_wpage, where, AVL_AFTER);
3472 while (pwp != NULL && pwp->wp_vaddr < eaddr) {
3474 vaddr = pwp->wp_vaddr;
3477 if (pwp->wp_read)
3479 if (pwp->wp_write)
3481 if (pwp->wp_exec)
3483 if (!(pwp->wp_flags & WP_NOWATCH) && wprot != pwp->wp_oprot) {
3497 pwp->wp_oprot = prot;
3498 pwp->wp_prot = wprot;
3500 pwp = AVL_NEXT(&as->a_wpage, pwp);
3511 struct watched_page *pwp;
3522 if ((pwp = avl_find(&as->a_wpage, &tpw, &where)) == NULL)
3523 pwp = avl_nearest(&as->a_wpage, where, AVL_AFTER);
3527 while (pwp != NULL && pwp->wp_vaddr < eaddr) {
3529 if ((prot = pwp->wp_oprot) != 0) {
3532 if (prot != pwp->wp_prot) {
3534 seg = as_segat(as, pwp->wp_vaddr);
3537 err = SEGOP_SETPROT(seg, pwp->wp_vaddr,
3546 pwp->wp_oprot = 0;
3547 pwp->wp_prot = 0;
3550 pwp = AVL_NEXT(&as->a_wpage, pwp);