Searched refs:shm_vpage (Results 1 – 2 of 2) sorted by relevance
79 char *shm_vpage; /* indicating locked pages */ member
331 if (shmd->shm_vpage[anon_index] & DISM_PG_LOCKED) { in segspt_shmincore()1701 if ((shmd->shm_vpage = kmem_zalloc(btopr(shm_amp->size), in segspt_shmattach()1712 kmem_free(shmd->shm_vpage, in segspt_shmattach()1786 if (shmd->shm_vpage) { /* only for DISM */ in segspt_shmfree()1787 kmem_free(shmd->shm_vpage, btopr(shm_amp->size)); in segspt_shmfree()1788 shmd->shm_vpage = NULL; in segspt_shmfree()2283 shmd_new->shm_vpage = kmem_zalloc(btopr(amp->size), KM_SLEEP); in segspt_shmdup()2289 kmem_free(shmd_new->shm_vpage, in segspt_shmdup()2524 if (!(shmd->shm_vpage[anon_index] & DISM_PG_LOCKED)) { in spt_lockpages()2549 shmd->shm_vpage[anon_index] |= DISM_PG_LOCKED; in spt_lockpages()[all …]