#include <linux/slab.h>
#include <linux/spinlock.h>
#include <linux/dma-resv.h>
#include "selftest.h"
static struct spinlock fence_lock;
static const char *fence_name(struct dma_fence *f)
{ … }
static const struct dma_fence_ops fence_ops = …;
static struct dma_fence *alloc_fence(void)
{ … }
static int sanitycheck(void *arg)
{ … }
static int test_signaling(void *arg)
{ … }
static int test_for_each(void *arg)
{ … }
static int test_for_each_unlocked(void *arg)
{ … }
static int test_get_fences(void *arg)
{ … }
int dma_resv(void)
{ … }