Lines Matching full:mappings
33 * If we still have mappings attached to the BO, there's a problem in in panfrost_gem_free_object()
36 WARN_ON_ONCE(!list_empty(&bo->mappings.list)); in panfrost_gem_free_object()
61 mutex_lock(&bo->mappings.lock); in panfrost_gem_mapping_get()
62 list_for_each_entry(iter, &bo->mappings.list, node) { in panfrost_gem_mapping_get()
69 mutex_unlock(&bo->mappings.lock); in panfrost_gem_mapping_get()
110 list_for_each_entry(mapping, &bo->mappings.list, node) in panfrost_gem_teardown_mappings_locked()
158 mutex_lock(&bo->mappings.lock); in panfrost_gem_open()
160 list_add_tail(&mapping->node, &bo->mappings.list); in panfrost_gem_open()
161 mutex_unlock(&bo->mappings.lock); in panfrost_gem_open()
175 mutex_lock(&bo->mappings.lock); in panfrost_gem_close()
176 list_for_each_entry(iter, &bo->mappings.list, node) { in panfrost_gem_close()
183 mutex_unlock(&bo->mappings.lock); in panfrost_gem_close()
259 INIT_LIST_HEAD(&obj->mappings.list); in panfrost_gem_create_object()
260 mutex_init(&obj->mappings.lock); in panfrost_gem_create_object()