#include "types.h"#include "stat.h"#include "user.h"#include "param.h"Go to the source code of this file.
Data Structures | |
| union | header |
Typedefs | |
| typedef long | Align |
| typedef union header | Header |
Functions | |
| void | free (void *ap) |
| static Header * | morecore (uint nu) |
| void * | malloc (uint nbytes) |
Variables | |
| static Header | base |
| static Header * | freep |
| void free | ( | void * | ap | ) |
Definition at line 25 of file umalloc.c.
References header::ptr, header::s, and header::size.
Referenced by mem(), and morecore().
| void* malloc | ( | uint | nbytes | ) |
Definition at line 64 of file umalloc.c.
References morecore(), header::ptr, header::s, and header::size.
Referenced by backcmd(), execcmd(), listcmd(), mem(), pipecmd(), and redircmd().
1.5.6