hash_empty
if (hash_empty(kfd_processes_table) && !kfd_is_locked(kfd))
if (hash_empty(kfd_processes_table)) {