Lines Matching refs:lock
131 write_lock_bh(&tbl->lock); in neigh_forced_gc()
133 lockdep_is_held(&tbl->lock)); in neigh_forced_gc()
140 lockdep_is_held(&tbl->lock))) != NULL) { in neigh_forced_gc()
145 write_lock(&n->lock); in neigh_forced_gc()
150 lockdep_is_held(&tbl->lock))); in neigh_forced_gc()
153 write_unlock(&n->lock); in neigh_forced_gc()
157 write_unlock(&n->lock); in neigh_forced_gc()
164 write_unlock_bh(&tbl->lock); in neigh_forced_gc()
205 lockdep_is_held(&tbl->lock)); in neigh_flush_dev()
212 lockdep_is_held(&tbl->lock))) != NULL) { in neigh_flush_dev()
219 lockdep_is_held(&tbl->lock))); in neigh_flush_dev()
220 write_lock(&n->lock); in neigh_flush_dev()
243 write_unlock(&n->lock); in neigh_flush_dev()
251 write_lock_bh(&tbl->lock); in neigh_changeaddr()
253 write_unlock_bh(&tbl->lock); in neigh_changeaddr()
259 write_lock_bh(&tbl->lock); in neigh_ifdown()
262 write_unlock_bh(&tbl->lock); in neigh_ifdown()
290 rwlock_init(&n->lock); in neigh_alloc()
368 lockdep_is_held(&tbl->lock)); in neigh_hash_grow()
377 lockdep_is_held(&tbl->lock)); in neigh_hash_grow()
385 lockdep_is_held(&tbl->lock)); in neigh_hash_grow()
390 lockdep_is_held(&tbl->lock))); in neigh_hash_grow()
502 write_lock_bh(&tbl->lock); in __neigh_create()
504 lockdep_is_held(&tbl->lock)); in __neigh_create()
517 lockdep_is_held(&tbl->lock)); in __neigh_create()
520 lockdep_is_held(&tbl->lock))) { in __neigh_create()
534 lockdep_is_held(&tbl->lock))); in __neigh_create()
536 write_unlock_bh(&tbl->lock); in __neigh_create()
542 write_unlock_bh(&tbl->lock); in __neigh_create()
594 read_lock_bh(&tbl->lock); in pneigh_lookup()
597 read_unlock_bh(&tbl->lock); in pneigh_lookup()
623 write_lock_bh(&tbl->lock); in pneigh_lookup()
626 write_unlock_bh(&tbl->lock); in pneigh_lookup()
640 write_lock_bh(&tbl->lock); in pneigh_delete()
646 write_unlock_bh(&tbl->lock); in pneigh_delete()
656 write_unlock_bh(&tbl->lock); in pneigh_delete()
761 write_lock_bh(&tbl->lock); in neigh_periodic_work()
763 lockdep_is_held(&tbl->lock)); in neigh_periodic_work()
784 lockdep_is_held(&tbl->lock))) != NULL) { in neigh_periodic_work()
787 write_lock(&n->lock); in neigh_periodic_work()
791 write_unlock(&n->lock); in neigh_periodic_work()
803 write_unlock(&n->lock); in neigh_periodic_work()
807 write_unlock(&n->lock); in neigh_periodic_work()
816 write_unlock_bh(&tbl->lock); in neigh_periodic_work()
818 write_lock_bh(&tbl->lock); in neigh_periodic_work()
820 lockdep_is_held(&tbl->lock)); in neigh_periodic_work()
829 write_unlock_bh(&tbl->lock); in neigh_periodic_work()
841 __releases(neigh->lock) in neigh_invalidate()
842 __acquires(neigh->lock) in neigh_invalidate()
857 write_unlock(&neigh->lock); in neigh_invalidate()
859 write_lock(&neigh->lock); in neigh_invalidate()
866 __releases(neigh->lock) in neigh_probe()
872 write_unlock(&neigh->lock); in neigh_probe()
887 write_lock(&neigh->lock); in neigh_timer_handler()
954 write_unlock(&neigh->lock); in neigh_timer_handler()
968 write_lock_bh(&neigh->lock); in __neigh_event_send()
987 write_unlock_bh(&neigh->lock); in __neigh_event_send()
1023 write_unlock(&neigh->lock); in __neigh_event_send()
1080 write_lock_bh(&neigh->lock); in neigh_update()
1192 write_unlock_bh(&neigh->lock); in neigh_update()
1214 write_lock_bh(&neigh->lock); in neigh_update()
1225 write_unlock_bh(&neigh->lock); in neigh_update()
1254 write_lock_bh(&n->lock); in neigh_hh_init()
1262 write_unlock_bh(&n->lock); in neigh_hh_init()
1364 spin_lock(&tbl->proxy_queue.lock); in neigh_proxy_process()
1388 spin_unlock(&tbl->proxy_queue.lock); in neigh_proxy_process()
1405 spin_lock(&tbl->proxy_queue.lock); in pneigh_enqueue()
1414 spin_unlock(&tbl->proxy_queue.lock); in pneigh_enqueue()
1459 write_lock_bh(&tbl->lock); in neigh_parms_alloc()
1462 write_unlock_bh(&tbl->lock); in neigh_parms_alloc()
1482 write_lock_bh(&tbl->lock); in neigh_parms_release()
1487 write_unlock_bh(&tbl->lock); in neigh_parms_release()
1494 write_unlock_bh(&tbl->lock); in neigh_parms_release()
1541 rwlock_init(&tbl->lock); in neigh_table_init_no_netlink()
1821 read_lock_bh(&tbl->lock); in neightbl_fill_info()
1886 read_unlock_bh(&tbl->lock); in neightbl_fill_info()
1890 read_unlock_bh(&tbl->lock); in neightbl_fill_info()
1910 read_lock_bh(&tbl->lock); in neightbl_fill_param_info()
1919 read_unlock_bh(&tbl->lock); in neightbl_fill_param_info()
1922 read_unlock_bh(&tbl->lock); in neightbl_fill_param_info()
1989 write_lock_bh(&tbl->lock); in neightbl_set()
2074 write_unlock_bh(&tbl->lock); in neightbl_set()
2153 read_lock_bh(&neigh->lock); in neigh_fill_info()
2160 read_unlock_bh(&neigh->lock); in neigh_fill_info()
2169 read_unlock_bh(&neigh->lock); in neigh_fill_info()
2267 read_lock_bh(&tbl->lock); in pneigh_dump_table()
2281 read_unlock_bh(&tbl->lock); in pneigh_dump_table()
2290 read_unlock_bh(&tbl->lock); in pneigh_dump_table()
2346 read_lock(&tbl->lock); /* avoid resizes */ in neigh_for_each()
2355 read_unlock(&tbl->lock); in neigh_for_each()
2368 lockdep_is_held(&tbl->lock)); in __neigh_for_each_release()
2375 lockdep_is_held(&tbl->lock))) != NULL) { in __neigh_for_each_release()
2378 write_lock(&n->lock); in __neigh_for_each_release()
2383 lockdep_is_held(&tbl->lock))); in __neigh_for_each_release()
2387 write_unlock(&n->lock); in __neigh_for_each_release()