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 (!OSCompareAndSwap((UInt32)page->entries[DTRACE_PTSS_ENTRIES_PER_PAGE-1].next,
74 (UInt32)&page->entries[0],
141 * This function allocates a new page in the target process's address space.
144 * entries next field set to NULL. It does not add the page or the entries to
145 * the process's page/entry lists.
157 // Now allocate a page in user space and set its protections to allow execute.
186 // Chain the page entries.
209 * This function frees an existing page in the target process's address space.
211 * It does not alter any of the process's page/entry lists.
310 // Get page list from *PARENT*
314 // Freeing the page in the *CHILD*