Searched defs:cow (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/uts/common/os/
H A Dvm_subr.c322 * "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) {
352 cow_mapin(struct as *as, caddr_t uaddr, caddr_t kaddr, struct page **cached_ppp, struct anon **app, size_t *lenp, int cow) argument
[all...]
/illumos-gate/usr/src/uts/common/vm/
H A Dseg_vn.c1517 * XXX break cow sharing using PAGESIZE
1726 * exist to avoid partial cow sharing
2692 * If not a cow
2696 * Call anon_private to handle cow
2710 int brkcow) /* we may need to break cow */
2719 int cow; local
2954 cow = !(vpprot & PROT_WRITE);
2962 cow = (ap == NULL);
2964 cow = 0;
2971 if (cow
[all...]
H A Dvm_page.c3797 * in memory" functions. Accepts the page to be locked, and a cow variable
3804 int cow, /* cow lock */
3815 if (cow) {
3863 * Decommit a lock on a physical page frame. Account for cow locks if
3869 int cow, /* expect cow lock */
3883 if (cow) {
3802 page_pp_lock( page_t *pp, int cow, int kernel) argument
3867 page_pp_unlock( page_t *pp, int cow, int kernel) argument

Completed in 93 milliseconds