#include <stddef.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
Go to the source code of this file.
◆ HALT
#define HALT |
( |
|
x | ) |
abort() |
◆ printk
#define printk |
( |
|
level, |
|
|
|
... |
|
) |
| printf(__VA_ARGS__) |
◆ xmalloc
#define xmalloc |
( |
|
size | ) |
xmalloc_work((size), __FILE__, __func__, __LINE__) |
◆ xzalloc
#define xzalloc |
( |
|
size | ) |
xzalloc_work((size), __FILE__, __func__, __LINE__) |
◆ dma_coherent()
int dma_coherent |
( |
void * |
ptr | ) |
|
◆ dma_malloc()
◆ xmalloc_work()
static void* xmalloc_work |
( |
size_t |
size, |
|
|
const char * |
file, |
|
|
const char * |
func, |
|
|
int |
line |
|
) |
| |
|
inlinestatic |
◆ xzalloc_work()
static void* xzalloc_work |
( |
size_t |
size, |
|
|
const char * |
file, |
|
|
const char * |
func, |
|
|
int |
line |
|
) |
| |
|
inlinestatic |