Lines Matching defs:cow
322 * "cow" is on, it also sets up copy-on-write protection (only feasible
325 * unlocking and tearing down cow settings when it's done with the pages.
335 * For cow == 1, if the pages are anonymous pages, it also bumps the anon
353 struct anon **app, size_t *lenp, int cow)
366 if (cow) {
390 * If (cow), hat_softlock will also change the usr protection to RO.
391 * This is the first step toward setting up cow. Before we
392 * bump up an_refcnt, we can't allow any cow-fault on this
397 res = hat_softlock(hat, uaddr, &size, &ppp[0], cow ? HAT_COW : 0);
404 if (cow) {
428 * 3. cow ocurrs on this addr. So a new ap,
486 if (cow) {
504 if (cow)