Lines Matching refs:ctl
1341 } ctl; in init_watch() local
1347 premptyset(&ctl.fltset); in init_watch()
1351 ctl.fltset = pstatus.pr_flttrace; in init_watch()
1354 praddset(&ctl.fltset, FLTWATCH); in init_watch()
1355 ctl.cmd = PCSFAULT; in init_watch()
1356 (void) write(ctlfd, &ctl, sizeof (ctl)); in init_watch()
1403 ctl_t ctl; in protect() local
1417 ctl.cmd = PCWATCH; in protect()
1418 ctl.prwatch.pr_vaddr = (uintptr_t)tp; in protect()
1419 ctl.prwatch.pr_size = size + WORDSIZE; in protect()
1420 ctl.prwatch.pr_wflags = wflags; in protect()
1421 (void) write(ctlfd, &ctl, sizeof (ctl)); in protect()
1427 ctl_t ctl; in unprotect() local
1434 ctl.cmd = PCWATCH; in unprotect()
1435 ctl.prwatch.pr_vaddr = (uintptr_t)tp; in unprotect()
1436 ctl.prwatch.pr_size = WORDSIZE; /* size is arbitrary */ in unprotect()
1437 ctl.prwatch.pr_wflags = 0; /* clear the watched area */ in unprotect()
1438 (void) write(ctlfd, &ctl, sizeof (ctl)); in unprotect()