Lines Matching refs:dbuf_cookie
33 u64 dbuf_cookie; member
39 struct xen_drm_front_shbuf *shbuf, u64 dbuf_cookie) in dbuf_add_to_list() argument
47 dbuf->dbuf_cookie = dbuf_cookie; in dbuf_add_to_list()
54 u64 dbuf_cookie) in dbuf_get() argument
59 if (buf->dbuf_cookie == dbuf_cookie) in dbuf_get()
74 static void dbuf_free(struct list_head *dbuf_list, u64 dbuf_cookie) in dbuf_free() argument
79 if (buf->dbuf_cookie == dbuf_cookie) { in dbuf_free()
170 u64 dbuf_cookie, u32 width, u32 height, in xen_drm_front_dbuf_create() argument
194 ret = dbuf_add_to_list(front_info, shbuf, dbuf_cookie); in xen_drm_front_dbuf_create()
207 req->op.dbuf_create.dbuf_cookie = dbuf_cookie; in xen_drm_front_dbuf_create()
233 dbuf_free(&front_info->dbuf_list, dbuf_cookie); in xen_drm_front_dbuf_create()
238 u64 dbuf_cookie) in xen_drm_front_dbuf_destroy() argument
257 dbuf_free(&front_info->dbuf_list, dbuf_cookie); in xen_drm_front_dbuf_destroy()
263 req->op.dbuf_destroy.dbuf_cookie = dbuf_cookie; in xen_drm_front_dbuf_destroy()
276 dbuf_free(&front_info->dbuf_list, dbuf_cookie); in xen_drm_front_dbuf_destroy()
283 u64 dbuf_cookie, u64 fb_cookie, u32 width, in xen_drm_front_fb_attach() argument
296 buf = dbuf_get(&front_info->dbuf_list, dbuf_cookie); in xen_drm_front_fb_attach()
306 req->op.fb_attach.dbuf_cookie = dbuf_cookie; in xen_drm_front_fb_attach()