FreeBSD kernel kern code
subr_module.c File Reference
#include <sys/cdefs.h>
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/linker.h>
Include dependency graph for subr_module.c:

Go to the source code of this file.

Functions

 __FBSDID ("$BSDSUniX$")
 
caddr_t preload_search_by_name (const char *name)
 
caddr_t preload_search_by_type (const char *type)
 
caddr_t preload_search_next_name (caddr_t base)
 
caddr_t preload_search_info (caddr_t mod, int inf)
 
void preload_delete_name (const char *name)
 
void * preload_fetch_addr (caddr_t mod)
 
size_t preload_fetch_size (caddr_t mod)
 
void preload_bootstrap_relocate (vm_offset_t offset)
 

Variables

vm_offset_t preload_addr_relocate = 0
 
caddr_t preload_metadata
 

Function Documentation

__FBSDID ( "$BSDSUniX$"  )
void preload_bootstrap_relocate ( vm_offset_t  offset)

Definition at line 258 of file subr_module.c.

References preload_metadata.

void preload_delete_name ( const char *  name)

Definition at line 200 of file subr_module.c.

References preload_metadata.

Referenced by link_elf_unload_file(), and link_elf_unload_preload().

Here is the caller graph for this function:

void* preload_fetch_addr ( caddr_t  mod)

Definition at line 235 of file subr_module.c.

References preload_addr_relocate, and preload_search_info().

Here is the call graph for this function:

size_t preload_fetch_size ( caddr_t  mod)

Definition at line 246 of file subr_module.c.

References preload_search_info().

Here is the call graph for this function:

caddr_t preload_search_by_name ( const char *  name)

Definition at line 45 of file subr_module.c.

References preload_metadata.

Referenced by link_elf_link_preload().

Here is the caller graph for this function:

caddr_t preload_search_by_type ( const char *  type)

Definition at line 77 of file subr_module.c.

References preload_metadata.

Referenced by link_elf_init().

Here is the caller graph for this function:

caddr_t preload_search_info ( caddr_t  mod,
int  inf 
)

Definition at line 156 of file subr_module.c.

References type.

Referenced by link_elf_init(), link_elf_link_preload(), link_elf_preload_parse_symbols(), linker_preload(), preload_fetch_addr(), and preload_fetch_size().

Here is the caller graph for this function:

caddr_t preload_search_next_name ( caddr_t  base)

Definition at line 114 of file subr_module.c.

References preload_metadata.

Referenced by linker_preload().

Here is the caller graph for this function:

Variable Documentation

vm_offset_t preload_addr_relocate = 0

Definition at line 38 of file subr_module.c.

Referenced by preload_fetch_addr().