Lines Matching refs:dhandle

70 static int i_ldc_dring_acquire_release(ldc_dring_handle_t dhandle,
1686 ldc_mem_dring_create(uint32_t len, uint32_t dsize, ldc_dring_handle_t *dhandle) in ldc_mem_dring_create() argument
1694 if (dhandle == NULL) { in ldc_mem_dring_create()
1710 *dhandle = 0; in ldc_mem_dring_create()
1738 *dhandle = (ldc_dring_handle_t)dringp; in ldc_mem_dring_create()
1750 ldc_mem_dring_destroy(ldc_dring_handle_t dhandle) in ldc_mem_dring_destroy() argument
1757 if (dhandle == NULL) { in ldc_mem_dring_destroy()
1762 dringp = (ldc_dring_t *)dhandle; in ldc_mem_dring_destroy()
1821 ldc_mem_dring_bind(ldc_handle_t handle, ldc_dring_handle_t dhandle, in ldc_mem_dring_bind() argument
1837 if (dhandle == NULL) { in ldc_mem_dring_bind()
1842 dringp = (ldc_dring_t *)dhandle; in ldc_mem_dring_bind()
1941 ldc_mem_dring_nextcookie(ldc_dring_handle_t dhandle, ldc_mem_cookie_t *cookie) in ldc_mem_dring_nextcookie() argument
1947 if (dhandle == NULL) { in ldc_mem_dring_nextcookie()
1952 dringp = (ldc_dring_t *)dhandle; in ldc_mem_dring_nextcookie()
1983 ldc_mem_dring_unbind(ldc_dring_handle_t dhandle) in ldc_mem_dring_unbind() argument
1989 if (dhandle == NULL) { in ldc_mem_dring_unbind()
1994 dringp = (ldc_dring_t *)dhandle; in ldc_mem_dring_unbind()
2122 ldc_mem_dring_info(ldc_dring_handle_t dhandle, ldc_mem_info_t *minfo) in ldc_mem_dring_info() argument
2127 if (dhandle == NULL) { in ldc_mem_dring_info()
2132 dringp = (ldc_dring_t *)dhandle; in ldc_mem_dring_info()
2164 ldc_dring_handle_t *dhandle) in ldc_mem_dring_map() argument
2172 if (dhandle == NULL) { in ldc_mem_dring_map()
2214 *dhandle = 0; in ldc_mem_dring_map()
2270 *dhandle = (ldc_dring_handle_t)dringp; in ldc_mem_dring_map()
2279 ldc_mem_dring_unmap(ldc_dring_handle_t dhandle) in ldc_mem_dring_unmap() argument
2285 if (dhandle == NULL) { in ldc_mem_dring_unmap()
2290 dringp = (ldc_dring_t *)dhandle; in ldc_mem_dring_unmap()
2356 i_ldc_dring_acquire_release(ldc_dring_handle_t dhandle, in i_ldc_dring_acquire_release() argument
2366 if (dhandle == NULL) { in i_ldc_dring_acquire_release()
2371 dringp = (ldc_dring_t *)dhandle; in i_ldc_dring_acquire_release()
2453 ldc_mem_dring_acquire(ldc_dring_handle_t dhandle, uint64_t start, uint64_t end) in ldc_mem_dring_acquire() argument
2455 return (i_ldc_dring_acquire_release(dhandle, LDC_COPY_IN, start, end)); in ldc_mem_dring_acquire()
2463 ldc_mem_dring_release(ldc_dring_handle_t dhandle, uint64_t start, uint64_t end) in ldc_mem_dring_release() argument
2465 return (i_ldc_dring_acquire_release(dhandle, LDC_COPY_OUT, start, end)); in ldc_mem_dring_release()