Home
last modified time | relevance | path

Searched refs:mapping_cnt (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/drivers/accel/habanalabs/common/
Dmemory.c368 if (atomic_read(&phys_pg_pack->mapping_cnt) > 0) { in free_device_memory()
861 atomic_set(&phys_pg_pack->mapping_cnt, 1); in init_phys_pg_pack_from_userptr()
1129 atomic_inc(&phys_pg_pack->mapping_cnt); in map_device_va()
1240 atomic_dec(&phys_pg_pack->mapping_cnt); in map_device_va()
1338 if (atomic_read(&phys_pg_pack->mapping_cnt) == 0) { in unmap_device_va()
1387 atomic_dec(&phys_pg_pack->mapping_cnt); in unmap_device_va()
Dhabanalabs.h2172 atomic_t mapping_cnt; member