Lines Matching refs:page
47 * page of memory, the underlying kernel _MALLOC may block.
59 // Nothing on the free list. Allocate a new page, its okay if multiple threads race here.
60 struct dtrace_ptss_page* page = dtrace_ptss_allocate_page(p);
62 // Make sure we actually got a page
63 if (page == NULL)
66 // Add the page to the page list
67 page->next = p->p_dtrace_ptss_pages;
68 p->p_dtrace_ptss_pages = page;
72 page->entries[DTRACE_PTSS_ENTRIES_PER_PAGE-1].next = p->p_dtrace_ptss_free_list;
73 } while (!OSCompareAndSwapPtr((void *)page->entries[DTRACE_PTSS_ENTRIES_PER_PAGE-1].next,
74 (void *)&page->entries[0],
145 * This function allocates a new page in the target process's address space.
148 * entries next field set to NULL. It does not add the page or the entries to
149 * the process's page/entry lists.
161 // Now allocate a page in user space and set its protections to allow execute.
190 // Chain the page entries.
213 * This function frees an existing page in the target process's address space.
215 * It does not alter any of the process's page/entry lists.
314 // Get page list from *PARENT*
318 // Freeing the page in the *CHILD*