Home
last modified time | relevance | path

Searched refs:ddi_umem_cookie (Results 1 – 6 of 6) sorted by relevance

/titanic_41/usr/src/uts/i86pc/io/gfx_private/
H A Dgfxp_devmap.c64 struct ddi_umem_cookie *umem_cookie; in gfxp_umem_cookie_init()
66 umem_cookie = kmem_zalloc(sizeof (struct ddi_umem_cookie), KM_SLEEP); in gfxp_umem_cookie_init()
81 kmem_free(cookie, sizeof (struct ddi_umem_cookie)); in gfxp_umem_cookie_destroy()
/titanic_41/usr/src/uts/i86pc/io/xsvc/
H A Dxsvc.c948 struct ddi_umem_cookie *umem_cookiep; in xsvc_umem_cookie_alloc()
950 umem_cookiep = kmem_zalloc(sizeof (struct ddi_umem_cookie), flags); in xsvc_umem_cookie_alloc()
971 kmem_free(*cookiep, sizeof (struct ddi_umem_cookie)); in xsvc_umem_cookie_free()
985 struct ddi_umem_cookie *cp; in xsvc_devmap_map()
1004 cp = (struct ddi_umem_cookie *)dhp->dh_cookie; in xsvc_devmap_map()
1023 struct ddi_umem_cookie *cp; in xsvc_devmap_dup()
1032 cp = (struct ddi_umem_cookie *)dhp->dh_cookie; in xsvc_devmap_dup()
1061 struct ddi_umem_cookie *ncp; in xsvc_devmap_unmap()
1062 struct ddi_umem_cookie *cp; in xsvc_devmap_unmap()
1078 cp = (struct ddi_umem_cookie *)dhp->dh_cookie; in xsvc_devmap_unmap()
[all …]
/titanic_41/usr/src/uts/common/io/drm/
H A Ddrm_sunmod.c769 struct ddi_umem_cookie *cp; in drm_devmap_map()
785 cp = (struct ddi_umem_cookie *)dhp->dh_cookie; in drm_devmap_map()
802 struct ddi_umem_cookie *cp; in drm_devmap_unmap()
803 struct ddi_umem_cookie *ncp; in drm_devmap_unmap()
809 cp = (struct ddi_umem_cookie *)dhp->dh_cookie; in drm_devmap_unmap()
812 ncp = (struct ddi_umem_cookie *)ndhp->dh_cookie; in drm_devmap_unmap()
820 ncp = (struct ddi_umem_cookie *)ndhp->dh_cookie; in drm_devmap_unmap()
842 struct ddi_umem_cookie *cp; in drm_devmap_dup()
847 cp = (struct ddi_umem_cookie *)dhp->dh_cookie; in drm_devmap_dup()
/titanic_41/usr/src/uts/common/sys/
H A Dddidevmap.h66 struct ddi_umem_cookie { struct
91 struct ddi_umem_cookie *unl_forw; /* list ptr for unlock cookies */ argument
/titanic_41/usr/src/uts/common/vm/
H A Dseg_dev.c143 ((c) == (struct ddi_umem_cookie *)DEVMAP_DEVMEM_COOKIE)
146 ((c) == (struct ddi_umem_cookie *)DEVMAP_PMEM_COOKIE)
152 (cookie_is_devmem((struct ddi_umem_cookie *)((dhp)->dh_cookie)))
155 (cookie_is_pmem((struct ddi_umem_cookie *)((dhp)->dh_cookie)))
158 (cookie_is_kpmem((struct ddi_umem_cookie *)((dhp)->dh_cookie)))
277 static faultcode_t acquire_kpmem_lock(struct ddi_umem_cookie *, size_t);
278 static void release_kpmem_lock(struct ddi_umem_cookie *, size_t);
960 struct ddi_umem_cookie *cp; in devmap_handle_reduce_len()
1190 acquire_kpmem_lock(struct ddi_umem_cookie *cookie, size_t npages) in acquire_kpmem_lock()
1220 release_kpmem_lock(struct ddi_umem_cookie *cookie, size_t npages) in release_kpmem_lock()
[all …]
/titanic_41/usr/src/uts/common/os/
H A Dsunddi.c112 static struct ddi_umem_cookie *ddi_umem_unlock_head = NULL;
113 static struct ddi_umem_cookie *ddi_umem_unlock_tail = NULL;
8080 struct ddi_umem_cookie *cp = (struct ddi_umem_cookie *)arg; in umem_lock_undo()
8096 kmem_free(cp, sizeof (struct ddi_umem_cookie)); in umem_lock_undo()
8152 init_lockedmem_rctl_flag(struct ddi_umem_cookie *cookie) in init_lockedmem_rctl_flag()
8181 umem_incr_devlockmem(struct ddi_umem_cookie *cookie) in umem_incr_devlockmem()
8205 umem_decr_devlockmem(struct ddi_umem_cookie *cookie) in umem_decr_devlockmem()
8262 struct ddi_umem_cookie *p; in umem_lockmemory()
8312 p = kmem_zalloc(sizeof (struct ddi_umem_cookie), KM_SLEEP); in umem_lockmemory()
8341 kmem_free(p, sizeof (struct ddi_umem_cookie)); in umem_lockmemory()
[all …]