1 #ifndef __NVKM_UMEM_H__
2 #define __NVKM_UMEM_H__
3 #define nvkm_umem(p) container_of((p), struct nvkm_umem, object)
4 #include <core/object.h>
8 struct nvkm_object object
;
15 struct nvkm_memory
*memory
;
16 struct list_head head
;
24 int nvkm_umem_new(const struct nvkm_oclass
*, void *argv
, u32 argc
,
25 struct nvkm_object
**);