Lines Matching defs:bufmgr
220 bucket_for_size(struct crocus_bufmgr *bufmgr, uint64_t size) in bucket_for_size()
258 struct crocus_bufmgr *bufmgr = bo->bufmgr; in crocus_bo_busy() local
296 alloc_bo_from_cache(struct crocus_bufmgr *bufmgr, in alloc_bo_from_cache()
346 alloc_fresh_bo(struct crocus_bufmgr *bufmgr, uint64_t bo_size) in alloc_fresh_bo()
389 bo_alloc_internal(struct crocus_bufmgr *bufmgr, in bo_alloc_internal()
457 crocus_bo_alloc(struct crocus_bufmgr *bufmgr, in crocus_bo_alloc()
466 crocus_bo_alloc_tiled(struct crocus_bufmgr *bufmgr, const char *name, in crocus_bo_alloc_tiled()
475 crocus_bo_create_userptr(struct crocus_bufmgr *bufmgr, const char *name, in crocus_bo_create_userptr()
529 crocus_bo_gem_create_from_name(struct crocus_bufmgr *bufmgr, in crocus_bo_gem_create_from_name()
603 struct crocus_bufmgr *bufmgr = bo->bufmgr; in bo_close() local
641 struct crocus_bufmgr *bufmgr = bo->bufmgr; in bo_free() local
668 cleanup_bo_cache(struct crocus_bufmgr *bufmgr, time_t time) in cleanup_bo_cache()
705 struct crocus_bufmgr *bufmgr = bo->bufmgr; in bo_unreference_final() local
727 struct crocus_bufmgr *bufmgr = bo->bufmgr; in __crocus_bo_unreference() local
783 struct crocus_bufmgr *bufmgr = bo->bufmgr; in crocus_bo_gem_mmap_legacy() local
806 struct crocus_bufmgr *bufmgr = bo->bufmgr; in crocus_bo_gem_mmap_offset() local
836 struct crocus_bufmgr *bufmgr = bo->bufmgr; in crocus_bo_gem_mmap() local
959 struct crocus_bufmgr *bufmgr = bo->bufmgr; in crocus_bo_map_gtt() local
1124 struct crocus_bufmgr *bufmgr = bo->bufmgr; in crocus_bo_wait() local
1144 crocus_bufmgr_destroy(struct crocus_bufmgr *bufmgr) in crocus_bufmgr_destroy()
1177 struct crocus_bufmgr *bufmgr = bo->bufmgr; in bo_set_tiling_internal() local
1216 crocus_bo_import_dmabuf(struct crocus_bufmgr *bufmgr, int prime_fd, in crocus_bo_import_dmabuf()
1288 crocus_bo_import_dmabuf_no_mods(struct crocus_bufmgr *bufmgr, in crocus_bo_import_dmabuf_no_mods()
1353 struct crocus_bufmgr *bufmgr = bo->bufmgr; in crocus_bo_make_external() local
1368 struct crocus_bufmgr *bufmgr = bo->bufmgr; in crocus_bo_export_dmabuf() local
1390 struct crocus_bufmgr *bufmgr = bo->bufmgr; in crocus_bo_flink() local
1419 struct crocus_bufmgr *bufmgr = bo->bufmgr; in crocus_bo_export_gem_handle_for_device() local
1475 add_bucket(struct crocus_bufmgr *bufmgr, int size) in add_bucket()
1491 init_cache_buckets(struct crocus_bufmgr *bufmgr) in init_cache_buckets()
1518 crocus_create_hw_context(struct crocus_bufmgr *bufmgr) in crocus_create_hw_context()
1553 crocus_hw_context_get_priority(struct crocus_bufmgr *bufmgr, uint32_t ctx_id) in crocus_hw_context_get_priority()
1564 crocus_hw_context_set_priority(struct crocus_bufmgr *bufmgr, in crocus_hw_context_set_priority()
1583 crocus_clone_hw_context(struct crocus_bufmgr *bufmgr, uint32_t ctx_id) in crocus_clone_hw_context()
1596 crocus_destroy_hw_context(struct crocus_bufmgr *bufmgr, uint32_t ctx_id) in crocus_destroy_hw_context()
1608 crocus_reg_read(struct crocus_bufmgr *bufmgr, uint32_t offset, uint64_t *result) in crocus_reg_read()
1638 struct crocus_bufmgr *bufmgr = calloc(1, sizeof(*bufmgr)); in crocus_bufmgr_create() local
1675 crocus_bufmgr_ref(struct crocus_bufmgr *bufmgr) in crocus_bufmgr_ref()
1682 crocus_bufmgr_unref(struct crocus_bufmgr *bufmgr) in crocus_bufmgr_unref()
1705 struct crocus_bufmgr *bufmgr = NULL; in crocus_bufmgr_get_for_fd() local
1731 crocus_bufmgr_get_fd(struct crocus_bufmgr *bufmgr) in crocus_bufmgr_get_fd()