Back to home page

LXR

 
 

    


File indexing completed on 2025-05-11 08:24:17

0001 #ifndef __LINUX_SLAB_H__
0002 #define __LINUX_SLAB_H__
0003 
0004 #include <stdlib.h>
0005 
0006 #include <asm/page.h>
0007 
0008 #define kzalloc(x, y) calloc(1, x)
0009 #define kmalloc(x, y) malloc(x)
0010 #define kmalloc_array(x, y, z) kmalloc((x * y), z)
0011 #define kfree(x) free(x)
0012 #define kvfree(x) free(x)
0013 #define vmalloc(x) malloc(x)
0014 #define vfree(x) free(x)
0015 
0016 #endif /* __LINUX_SLAB_H__ */
0017