Lines Matching refs:mem_glob
93 struct ttm_mem_global *mem_glob; member
327 struct ttm_mem_global *mem_glob = tfile->tdev->mem_glob; in ttm_ref_object_add() local
352 ret = ttm_mem_global_alloc(mem_glob, sizeof(*ref), in ttm_ref_object_add()
358 ttm_mem_global_free(mem_glob, sizeof(*ref)); in ttm_ref_object_add()
383 ttm_mem_global_free(mem_glob, sizeof(*ref)); in ttm_ref_object_add()
398 struct ttm_mem_global *mem_glob = tfile->tdev->mem_glob; in ttm_ref_object_release() local
409 ttm_mem_global_free(mem_glob, sizeof(*ref)); in ttm_ref_object_release()
500 ttm_object_device_init(struct ttm_mem_global *mem_glob, in ttm_object_device_init() argument
510 tdev->mem_glob = mem_glob; in ttm_object_device_init()
608 ttm_mem_global_free(tdev->mem_glob, tdev->dma_buf_size); in ttm_prime_dmabuf_release()
700 ret = ttm_mem_global_alloc(tdev->mem_glob, tdev->dma_buf_size, in ttm_prime_handle_to_fd()
710 ttm_mem_global_free(tdev->mem_glob, in ttm_prime_handle_to_fd()