FreeBSD virtual memory subsystem code
vm_domainset.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  vm_domainset_iter
 

Functions

int vm_domainset_iter_page (struct vm_domainset_iter *, struct vm_object *, int *)
 
void vm_domainset_iter_page_init (struct vm_domainset_iter *, struct vm_object *, vm_pindex_t, int *, int *)
 
int vm_domainset_iter_policy (struct vm_domainset_iter *, int *)
 
void vm_domainset_iter_policy_init (struct vm_domainset_iter *, struct domainset *, int *, int *)
 
void vm_domainset_iter_policy_ref_init (struct vm_domainset_iter *, struct domainset_ref *, int *, int *)
 
int vm_wait_doms (const domainset_t *, int mflags)
 

Function Documentation

◆ vm_domainset_iter_page()

int vm_domainset_iter_page ( struct vm_domainset_iter di,
struct vm_object obj,
int *  domain 
)

Definition at line 324 of file vm_domainset.c.

Referenced by vm_page_alloc_after(), vm_page_alloc_contig(), vm_page_alloc_freelist(), vm_page_alloc_noobj(), vm_page_alloc_noobj_contig(), and vm_page_reclaim_contig().

Here is the caller graph for this function:

◆ vm_domainset_iter_page_init()

void vm_domainset_iter_page_init ( struct vm_domainset_iter di,
struct vm_object obj,
vm_pindex_t  pindex,
int *  domain,
int *  flags 
)

Definition at line 332 of file vm_domainset.c.

Referenced by vm_page_alloc_after(), vm_page_alloc_contig(), vm_page_alloc_freelist(), vm_page_alloc_noobj(), vm_page_alloc_noobj_contig(), and vm_page_reclaim_contig().

Here is the caller graph for this function:

◆ vm_domainset_iter_policy()

int vm_domainset_iter_policy ( struct vm_domainset_iter di,
int *  domain 
)

Definition at line 340 of file vm_domainset.c.

Referenced by keg_fetch_slab(), kmem_alloc_attr_domainset(), kmem_alloc_contig_domainset(), kmem_malloc_domainset(), and uma_prealloc().

Here is the caller graph for this function:

◆ vm_domainset_iter_policy_init()

void vm_domainset_iter_policy_init ( struct vm_domainset_iter di,
struct domainset *  ds,
int *  domain,
int *  flags 
)

Definition at line 347 of file vm_domainset.c.

Referenced by kmem_alloc_attr_domainset(), kmem_alloc_contig_domainset(), and kmem_malloc_domainset().

Here is the caller graph for this function:

◆ vm_domainset_iter_policy_ref_init()

void vm_domainset_iter_policy_ref_init ( struct vm_domainset_iter di,
struct domainset_ref *  dr,
int *  domain,
int *  flags 
)

Definition at line 355 of file vm_domainset.c.

Referenced by keg_fetch_slab(), and uma_prealloc().

Here is the caller graph for this function:

◆ vm_wait_doms()

int vm_wait_doms ( const domainset_t *  wdoms,
int  mflags 
)

Definition at line 3241 of file vm_page.c.

References pageproc, vm_domainset_lock, vm_min_domains, vm_min_waiters, and vm_pageproc_waiters.

Referenced by keg_fetch_slab(), uma_prealloc(), vm_forkproc(), vm_wait_domain(), and vm_wait_flags().

Here is the caller graph for this function: