Lines Matching refs:dbuf_cookie
37 u64 dbuf_cookie; member
44 struct xen_drm_front_dbuf *dbuf, u64 dbuf_cookie) in dbuf_add_to_list() argument
46 dbuf->dbuf_cookie = dbuf_cookie; in dbuf_add_to_list()
51 u64 dbuf_cookie) in dbuf_get() argument
56 if (buf->dbuf_cookie == dbuf_cookie) in dbuf_get()
62 static void dbuf_free(struct list_head *dbuf_list, u64 dbuf_cookie) in dbuf_free() argument
67 if (buf->dbuf_cookie == dbuf_cookie) { in dbuf_free()
158 u64 dbuf_cookie, u32 width, u32 height, in xen_drm_front_dbuf_create() argument
177 dbuf_add_to_list(front_info, dbuf, dbuf_cookie); in xen_drm_front_dbuf_create()
198 req->op.dbuf_create.dbuf_cookie = dbuf_cookie; in xen_drm_front_dbuf_create()
225 dbuf_free(&front_info->dbuf_list, dbuf_cookie); in xen_drm_front_dbuf_create()
230 u64 dbuf_cookie) in xen_drm_front_dbuf_destroy() argument
249 dbuf_free(&front_info->dbuf_list, dbuf_cookie); in xen_drm_front_dbuf_destroy()
255 req->op.dbuf_destroy.dbuf_cookie = dbuf_cookie; in xen_drm_front_dbuf_destroy()
268 dbuf_free(&front_info->dbuf_list, dbuf_cookie); in xen_drm_front_dbuf_destroy()
275 u64 dbuf_cookie, u64 fb_cookie, u32 width, in xen_drm_front_fb_attach() argument
288 buf = dbuf_get(&front_info->dbuf_list, dbuf_cookie); in xen_drm_front_fb_attach()
298 req->op.fb_attach.dbuf_cookie = dbuf_cookie; in xen_drm_front_fb_attach()