Home
last modified time | relevance | path

Searched refs:phys_pg_pack_handles (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/misc/habanalabs/common/
H A Dmemory.c126 handle = idr_alloc(&vm->phys_pg_pack_handles, phys_pg_pack, 1, 0, in alloc_device_memory()
253 idr_destroy(&vm->phys_pg_pack_handles); in dram_pg_pool_do_release()
312 phys_pg_pack = idr_find(&vm->phys_pg_pack_handles, handle); in free_device_memory()
326 idr_remove(&vm->phys_pg_pack_handles, handle); in free_device_memory()
818 phys_pg_pack = idr_find(&vm->phys_pg_pack_handles, handle); in get_paddr_from_handle()
913 phys_pg_pack = idr_find(&vm->phys_pg_pack_handles, handle); in map_device_va()
1763 idr_for_each_entry(&vm->phys_pg_pack_handles, phys_pg_list, i) in hl_vm_ctx_fini()
1771 idr_remove(&vm->phys_pg_pack_handles, i); in hl_vm_ctx_fini()
1819 idr_init(&vm->phys_pg_pack_handles); in hl_vm_init()
H A Ddebugfs.c274 if (!idr_is_empty(&vm->phys_pg_pack_handles)) in vm_show()
277 idr_for_each_entry(&vm->phys_pg_pack_handles, phys_pg_pack, i) { in vm_show()
H A Dhabanalabs.h1138 * @phys_pg_pack_handles: idr to hold all device allocations handles.
1146 struct idr phys_pg_pack_handles; member
/kernel/linux/linux-6.6/drivers/accel/habanalabs/common/
H A Dmemory.c174 handle = idr_alloc(&vm->phys_pg_pack_handles, phys_pg_pack, 1, 0, in alloc_device_memory()
297 idr_destroy(&vm->phys_pg_pack_handles); in dram_pg_pool_do_release()
361 phys_pg_pack = idr_find(&vm->phys_pg_pack_handles, handle); in free_device_memory()
377 idr_remove(&vm->phys_pg_pack_handles, handle); in free_device_memory()
1120 phys_pg_pack = idr_find(&vm->phys_pg_pack_handles, handle); in map_device_va()
1974 phys_pg_pack = idr_find(&vm->phys_pg_pack_handles, (u32) hnode->handle); in get_phys_pg_pack_from_hash_node()
2770 idr_for_each_entry(&vm->phys_pg_pack_handles, phys_pg_list, i) in hl_vm_ctx_fini()
2777 idr_remove(&vm->phys_pg_pack_handles, i); in hl_vm_ctx_fini()
2843 idr_init(&vm->phys_pg_pack_handles); in hl_vm_init()
H A Ddebugfs.c308 if (!idr_is_empty(&vm->phys_pg_pack_handles)) in vm_show()
311 idr_for_each_entry(&vm->phys_pg_pack_handles, phys_pg_pack, i) { in vm_show()
H A Dhabanalabs.h2201 * @phys_pg_pack_handles: idr to hold all device allocations handles.
2209 struct idr phys_pg_pack_handles; member

Completed in 26 milliseconds