Searched refs:mapping_cnt (Results 1 – 2 of 2) sorted by relevance
368 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()
2172 atomic_t mapping_cnt; member