pintos/src/threads/malloc.h File Reference

#include <debug.h>
#include <stddef.h>

Go to the source code of this file.

Functions

void malloc_init (void)
void * malloc (size_t) __attribute__((malloc))
void * calloc (size_t, size_t) __attribute__((malloc))
void * realloc (void *, size_t)
void free (void *)


Function Documentation

void* calloc ( size_t  ,
size_t   
)

Definition at line 160 of file malloc.c.

References malloc(), memset(), NULL, and block::size.

Referenced by dir_open(), file_open(), and inode_create().

void free ( void *   ) 

void* malloc ( size_t   ) 

void malloc_init ( void   ) 

void* realloc ( void *  ,
size_t   
)

Definition at line 196 of file malloc.c.

References block_size(), free(), malloc(), memcpy(), and NULL.


Generated on Mon Jan 10 16:43:58 2011 for Pintos by  doxygen 1.5.6