Searched refs:kprcs (Results 1 - 8 of 8) sorted by relevance
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/context/ |
H A D | mali_kbase_context.c | 50 struct kbase_process *kprcs = NULL; in find_process_node() local 56 kprcs = prcs_node; in find_process_node() 67 return kprcs; in find_process_node() 87 struct kbase_process *kprcs = NULL; in kbase_insert_kctx_to_process() local 91 kprcs = find_process_node(prcs_root->rb_node, tgid); in kbase_insert_kctx_to_process() 95 if (!kprcs) { in kbase_insert_kctx_to_process() 98 kprcs = kzalloc(sizeof(*kprcs), GFP_KERNEL); in kbase_insert_kctx_to_process() 99 if (kprcs == NULL) { in kbase_insert_kctx_to_process() 102 kprcs in kbase_insert_kctx_to_process() 200 struct kbase_process *kprcs = kctx->kprcs; kbase_remove_kctx_from_process() local [all...] |
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/context/ |
H A D | mali_kbase_context.c | 46 struct kbase_process *kprcs = NULL; in find_process_node() local 53 kprcs = prcs_node; in find_process_node() 63 return kprcs; in find_process_node() 83 struct kbase_process *kprcs = NULL; in kbase_insert_kctx_to_process() local 87 kprcs = find_process_node(prcs_root->rb_node, tgid); in kbase_insert_kctx_to_process() 92 if (!kprcs) { in kbase_insert_kctx_to_process() 95 kprcs = kzalloc(sizeof(*kprcs), GFP_KERNEL); in kbase_insert_kctx_to_process() 96 if (kprcs == NULL) in kbase_insert_kctx_to_process() 98 kprcs in kbase_insert_kctx_to_process() 223 struct kbase_process *kprcs = kctx->kprcs; kbase_remove_kctx_from_process() local [all...] |
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/ |
H A D | mali_kbase_trace_gpu_mem.h | 41 trace_gpu_mem_total(kbdev->id, kctx->kprcs->tgid, in kbase_trace_gpu_mem_usage() 42 kctx->kprcs->total_gpu_pages << PAGE_SHIFT); in kbase_trace_gpu_mem_usage() 52 kctx->kprcs->total_gpu_pages -= pages; in kbase_trace_gpu_mem_usage_dec() 67 kctx->kprcs->total_gpu_pages += pages; in kbase_trace_gpu_mem_usage_inc()
|
H A D | mali_kbase_trace_gpu_mem.c | 174 kctx, alloc->imported.umm.dma_buf, &kctx->kprcs->dma_buf_root); in kbase_remove_dma_buf_usage() 183 kctx->kprcs->total_gpu_pages -= alloc->nents; in kbase_remove_dma_buf_usage() 205 kctx, alloc->imported.umm.dma_buf, &kctx->kprcs->dma_buf_root); in kbase_add_dma_buf_usage() 214 kctx->kprcs->total_gpu_pages += alloc->nents; in kbase_add_dma_buf_usage()
|
H A D | mali_kbase_defs.h | 1689 * @kprcs: Reference to @struct kbase_process that the current 1838 struct kbase_process *kprcs; member
|
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/ |
H A D | mali_kbase_trace_gpu_mem.h | 42 trace_gpu_mem_total(kbdev->id, kctx->kprcs->tgid, kctx->kprcs->total_gpu_pages << PAGE_SHIFT); in kbase_trace_gpu_mem_usage() 52 kctx->kprcs->total_gpu_pages -= pages; in kbase_trace_gpu_mem_usage_dec() 67 kctx->kprcs->total_gpu_pages += pages; in kbase_trace_gpu_mem_usage_inc()
|
H A D | mali_kbase_trace_gpu_mem.c | 169 prcs_mapping_removed = kbase_delete_dma_buf_mapping(kctx, alloc->imported.umm.dma_buf, &kctx->kprcs->dma_buf_root); in kbase_remove_dma_buf_usage() 179 kctx->kprcs->total_gpu_pages -= alloc->nents; in kbase_remove_dma_buf_usage() 200 unique_prcs_dmabuf = kbase_capture_dma_buf_mapping(kctx, alloc->imported.umm.dma_buf, &kctx->kprcs->dma_buf_root); in kbase_add_dma_buf_usage() 210 kctx->kprcs->total_gpu_pages += alloc->nents; in kbase_add_dma_buf_usage()
|
H A D | mali_kbase_defs.h | 1517 * @kprcs: Reference to @struct kbase_process that the current 1661 struct kbase_process *kprcs; member
|
Completed in 14 milliseconds