Lines Matching refs:ctl
1344 } ctl; in init_watch() local
1350 premptyset(&ctl.fltset); in init_watch()
1354 ctl.fltset = pstatus.pr_flttrace; in init_watch()
1357 praddset(&ctl.fltset, FLTWATCH); in init_watch()
1358 ctl.cmd = PCSFAULT; in init_watch()
1359 (void) write(ctlfd, &ctl, sizeof (ctl)); in init_watch()
1406 ctl_t ctl; in protect() local
1420 ctl.cmd = PCWATCH; in protect()
1421 ctl.prwatch.pr_vaddr = (uintptr_t)tp; in protect()
1422 ctl.prwatch.pr_size = size + WORDSIZE; in protect()
1423 ctl.prwatch.pr_wflags = wflags; in protect()
1424 (void) write(ctlfd, &ctl, sizeof (ctl)); in protect()
1430 ctl_t ctl; in unprotect() local
1437 ctl.cmd = PCWATCH; in unprotect()
1438 ctl.prwatch.pr_vaddr = (uintptr_t)tp; in unprotect()
1439 ctl.prwatch.pr_size = WORDSIZE; /* size is arbitrary */ in unprotect()
1440 ctl.prwatch.pr_wflags = 0; /* clear the watched area */ in unprotect()
1441 (void) write(ctlfd, &ctl, sizeof (ctl)); in unprotect()