Home
last modified time | relevance | path

Searched refs:process_mm (Results 1 - 14 of 14) sorted by relevance

/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/
H A Dmali_kbase_context.c63 kctx->process_mm = NULL; in kbase_create_context()
H A Dmali_kbase_mem_linux.c2074 if (rcu_dereference(kctx->process_mm) != current->mm) {
2370 mm = rcu_dereference(kctx->process_mm);
2390 mm = rcu_dereference_protected(kctx->process_mm, lockdep_is_held(&kctx->mm_update_lock));
2396 rcu_assign_pointer(kctx->process_mm, NULL);
2426 if (rcu_dereference_protected(kctx->process_mm, lockdep_is_held(&kctx->mm_update_lock))) {
2431 rcu_assign_pointer(kctx->process_mm, current->mm);
H A Dmali_kbase_defs.h1404 struct mm_struct *process_mm; member
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/
H A Dmali_kbase_context.c67 kctx->process_mm = NULL; in kbase_create_context()
H A Dmali_kbase_mem_linux.c2076 if (rcu_dereference(kctx->process_mm) != current->mm) {
2372 mm = rcu_dereference(kctx->process_mm);
2392 mm = rcu_dereference_protected(kctx->process_mm, lockdep_is_held(&kctx->mm_update_lock));
2398 rcu_assign_pointer(kctx->process_mm, NULL);
2428 if (rcu_dereference_protected(kctx->process_mm, lockdep_is_held(&kctx->mm_update_lock))) {
2433 rcu_assign_pointer(kctx->process_mm, current->mm);
H A Dmali_kbase_defs.h1422 struct mm_struct *process_mm; member
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/context/
H A Dmali_kbase_context.c141 kctx->process_mm = NULL; in kbase_context_common_init()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/context/
H A Dmali_kbase_context.c137 kctx->process_mm = NULL; in kbase_context_common_init()
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/
H A Dmali_kbase_mem_linux.c2817 if (rcu_dereference(kctx->process_mm) != current->mm) {
3170 mm = rcu_dereference(kctx->process_mm);
3190 mm = rcu_dereference_protected(kctx->process_mm,
3197 rcu_assign_pointer(kctx->process_mm, NULL);
3228 if (rcu_dereference_protected(kctx->process_mm,
3234 rcu_assign_pointer(kctx->process_mm, current->mm);
H A Dmali_kbase_defs.h1399 * @process_mm: Pointer to the memory descriptor of the process which
1619 struct mm_struct __rcu *process_mm; member
H A Dmali_kbase_core_linux.c883 * tracking page (which sets kctx->process_mm). Also catches when we've in kbase_api_mem_alloc()
886 if (rcu_dereference(kctx->process_mm) != current->mm) { in kbase_api_mem_alloc()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/
H A Dmali_kbase_mem_linux.c3136 mm = rcu_dereference(kctx->process_mm);
3156 mm = rcu_dereference_protected(kctx->process_mm, lockdep_is_held(&kctx->mm_update_lock));
3162 rcu_assign_pointer(kctx->process_mm, NULL);
3192 if (rcu_dereference_protected(kctx->process_mm, lockdep_is_held(&kctx->mm_update_lock))) {
3197 rcu_assign_pointer(kctx->process_mm, current->mm);
H A Dmali_kbase_defs.h1580 * @process_mm: Pointer to the memory descriptor of the process which
1797 struct mm_struct __rcu *process_mm; member
H A Dmali_kbase_mem.h2133 * tracking page (which sets kctx->process_mm) or if the ioctl has been issued
2142 allow_alloc = (rcu_dereference(kctx->process_mm) == current->mm); in kbase_mem_allow_alloc()

Completed in 35 milliseconds