FreeBSD virtual memory subsystem code
|
#include <sys/cdefs.h>
#include <sys/param.h>
#include <sys/lock.h>
#include <sys/mutex.h>
#include <sys/proc.h>
#include <sys/racct.h>
#include <sys/resourcevar.h>
#include <sys/syscallsubr.h>
#include <sys/sysent.h>
#include <sys/sysproto.h>
#include <sys/systm.h>
#include <vm/vm.h>
#include <vm/vm_param.h>
#include <vm/pmap.h>
#include <vm/vm_map.h>
Go to the source code of this file.
Data Structures | |
struct | break_args |
Functions | |
__FBSDID ("$FreeBSD$") | |
int | sys_break (struct thread *td, struct break_args *uap) |
int | kern_break (struct thread *td, uintptr_t *addr) |
__FBSDID | ( | "$FreeBSD$" | ) |
int kern_break | ( | struct thread * | td, |
uintptr_t * | addr | ||
) |
Definition at line 90 of file vm_unix.c.
References vm_map::flags, KERN_SUCCESS, MAP_WIREFUTURE, old_mlock, vm_map::pmap, pmap_wired_count, vm_map::size, vmspace::vm_daddr, vmspace::vm_dsize, vmspace::vm_map, vm_map_delete(), vm_map_insert(), vm_map_lock, vm_map_max(), vm_map_unlock, vm_map_wire_locked(), VM_MAP_WIRE_NOHOLES, VM_MAP_WIRE_USER, VM_PROT_ALL, VM_PROT_EXECUTE, and VM_PROT_RW.
Referenced by sys_break().
int sys_break | ( | struct thread * | td, |
struct break_args * | uap | ||
) |
Definition at line 73 of file vm_unix.c.
References kern_break(), and break_args::nsize.