Lines Matching refs:hashwlock
98 newtbl->hashwlock = kmalloc(sizeof(spinlock_t) * in mesh_table_alloc()
100 if (!newtbl->hashwlock) { in mesh_table_alloc()
112 spin_lock_init(&newtbl->hashwlock[i]); in mesh_table_alloc()
121 kfree(tbl->hashwlock); in __mesh_table_free()
134 spin_lock_bh(&tbl->hashwlock[i]); in mesh_table_free()
139 spin_unlock_bh(&tbl->hashwlock[i]); in mesh_table_free()
555 spin_lock(&tbl->hashwlock[hash_idx]); in mesh_path_add()
599 spin_unlock(&tbl->hashwlock[hash_idx]); in mesh_path_add()
607 spin_unlock(&tbl->hashwlock[hash_idx]); in mesh_path_add()
705 spin_lock(&tbl->hashwlock[hash_idx]); in mpp_path_add()
720 spin_unlock(&tbl->hashwlock[hash_idx]); in mpp_path_add()
732 spin_unlock(&tbl->hashwlock[hash_idx]); in mpp_path_add()
829 spin_lock(&tbl->hashwlock[i]); in mesh_path_flush_by_nexthop()
831 spin_unlock(&tbl->hashwlock[i]); in mesh_path_flush_by_nexthop()
850 spin_lock_bh(&tbl->hashwlock[i]); in table_flush_by_iface()
852 spin_unlock_bh(&tbl->hashwlock[i]); in table_flush_by_iface()
900 spin_lock(&tbl->hashwlock[hash_idx]); in mesh_path_del()
913 spin_unlock(&tbl->hashwlock[hash_idx]); in mesh_path_del()