/net/ncsi/ |
D | ncsi-manage.c | 56 spin_lock_irqsave(&nc->lock, flags); in ncsi_find_filter() 62 spin_unlock_irqrestore(&nc->lock, flags); in ncsi_find_filter() 66 spin_unlock_irqrestore(&nc->lock, flags); in ncsi_find_filter() 90 spin_lock_irqsave(&nc->lock, flags); in ncsi_add_filter() 95 spin_unlock_irqrestore(&nc->lock, flags); in ncsi_add_filter() 101 spin_unlock_irqrestore(&nc->lock, flags); in ncsi_add_filter() 121 spin_lock_irqsave(&nc->lock, flags); in ncsi_remove_filter() 125 spin_unlock_irqrestore(&nc->lock, flags); in ncsi_remove_filter() 146 spin_lock_irqsave(&nc->lock, flags); in ncsi_report_link() 150 spin_unlock_irqrestore(&nc->lock, flags); in ncsi_report_link() [all …]
|
D | ncsi-aen.c | 69 spin_lock_irqsave(&nc->lock, flags); in ncsi_aen_handler_lsc() 78 spin_unlock_irqrestore(&nc->lock, flags); in ncsi_aen_handler_lsc() 91 spin_lock_irqsave(&ndp->lock, flags); in ncsi_aen_handler_lsc() 93 spin_unlock_irqrestore(&ndp->lock, flags); in ncsi_aen_handler_lsc() 109 spin_lock_irqsave(&nc->lock, flags); in ncsi_aen_handler_cr() 112 spin_unlock_irqrestore(&nc->lock, flags); in ncsi_aen_handler_cr() 115 spin_unlock_irqrestore(&nc->lock, flags); in ncsi_aen_handler_cr() 118 spin_lock_irqsave(&nc->lock, flags); in ncsi_aen_handler_cr() 120 spin_unlock_irqrestore(&nc->lock, flags); in ncsi_aen_handler_cr() 122 spin_lock_irqsave(&ndp->lock, flags); in ncsi_aen_handler_cr() [all …]
|
/net/bridge/ |
D | br_stp_timer.c | 39 spin_lock(&br->lock); in br_hello_timer_expired() 47 spin_unlock(&br->lock); in br_hello_timer_expired() 69 spin_lock(&br->lock); in br_message_age_timer_expired() 80 spin_unlock(&br->lock); in br_message_age_timer_expired() 90 spin_lock(&br->lock); in br_forward_delay_timer_expired() 104 spin_unlock(&br->lock); in br_forward_delay_timer_expired() 112 spin_lock(&br->lock); in br_tcn_timer_expired() 118 spin_unlock(&br->lock); in br_tcn_timer_expired() 126 spin_lock(&br->lock); in br_topology_change_timer_expired() 129 spin_unlock(&br->lock); in br_topology_change_timer_expired() [all …]
|
D | br_stp_if.c | 63 spin_lock_bh(&br->lock); in br_stp_enable_bridge() 75 spin_unlock_bh(&br->lock); in br_stp_enable_bridge() 83 spin_lock_bh(&br->lock); in br_stp_disable_bridge() 92 spin_unlock_bh(&br->lock); in br_stp_disable_bridge() 168 spin_lock_bh(&br->lock); in br_stp_start() 193 spin_unlock_bh(&br->lock); in br_stp_start() 211 spin_lock_bh(&br->lock); in br_stp_stop() 213 spin_unlock_bh(&br->lock); in br_stp_stop() 298 spin_lock_bh(&br->lock); in br_stp_set_bridge_priority() 316 spin_unlock_bh(&br->lock); in br_stp_set_bridge_priority()
|
/net/ipv4/ |
D | inet_hashtables.c | 114 spin_lock(&head->lock); in __inet_put_port() 121 spin_unlock(&head->lock); in __inet_put_port() 141 spin_lock(&head->lock); in __inet_inherit_port() 144 spin_unlock(&head->lock); in __inet_inherit_port() 162 spin_unlock(&head->lock); in __inet_inherit_port() 168 spin_unlock(&head->lock); in __inet_inherit_port() 333 spinlock_t *lock = inet_ehash_lockp(hinfo, hash); in __inet_check_established() local 338 spin_lock(lock); in __inet_check_established() 367 spin_unlock(lock); in __inet_check_established() 379 spin_unlock(lock); in __inet_check_established() [all …]
|
D | inet_timewait_sock.c | 47 spinlock_t *lock = inet_ehash_lockp(hashinfo, tw->tw_hash); in inet_twsk_kill() local 50 spin_lock(lock); in inet_twsk_kill() 52 spin_unlock(lock); in inet_twsk_kill() 58 spin_lock(&bhead->lock); in inet_twsk_kill() 60 spin_unlock(&bhead->lock); in inet_twsk_kill() 107 spinlock_t *lock = inet_ehash_lockp(hashinfo, sk->sk_hash); in __inet_twsk_hashdance() local 115 spin_lock_bh(&bhead->lock); in __inet_twsk_hashdance() 119 spin_unlock(&bhead->lock); in __inet_twsk_hashdance() 121 spin_lock(lock); in __inet_twsk_hashdance() 141 spin_unlock_bh(lock); in __inet_twsk_hashdance()
|
D | tcp_probe.c | 77 spinlock_t lock; member 120 spin_lock_bh(&tcp_probe.lock); in jtcp_rcv_established() 160 spin_unlock_bh(&tcp_probe.lock); in jtcp_rcv_established() 178 spin_lock_bh(&tcp_probe.lock); in tcpprobe_open() 181 spin_unlock_bh(&tcp_probe.lock); in tcpprobe_open() 220 spin_lock_bh(&tcp_probe.lock); in tcpprobe_read() 223 spin_unlock_bh(&tcp_probe.lock); in tcpprobe_read() 232 spin_unlock_bh(&tcp_probe.lock); in tcpprobe_read() 266 spin_lock_init(&tcp_probe.lock); in tcpprobe_init()
|
/net/atm/ |
D | addr.c | 53 spin_lock_irqsave(&dev->lock, flags); in atm_reset_addr() 62 spin_unlock_irqrestore(&dev->lock, flags); in atm_reset_addr() 78 spin_lock_irqsave(&dev->lock, flags); in atm_add_addr() 85 spin_unlock_irqrestore(&dev->lock, flags); in atm_add_addr() 91 spin_unlock_irqrestore(&dev->lock, flags); in atm_add_addr() 96 spin_unlock_irqrestore(&dev->lock, flags); in atm_add_addr() 113 spin_lock_irqsave(&dev->lock, flags); in atm_del_addr() 121 spin_unlock_irqrestore(&dev->lock, flags); in atm_del_addr() 128 spin_unlock_irqrestore(&dev->lock, flags); in atm_del_addr() 141 spin_lock_irqsave(&dev->lock, flags); in atm_get_addr() [all …]
|
/net/core/ |
D | gen_stats.c | 35 if (d->lock) in gnet_stats_copy() 36 spin_unlock_bh(d->lock); in gnet_stats_copy() 64 int xstats_type, spinlock_t *lock, in gnet_stats_start_copy_compat() argument 66 __acquires(lock) in gnet_stats_start_copy_compat() 76 if (lock) { in gnet_stats_start_copy_compat() 77 d->lock = lock; in gnet_stats_start_copy_compat() 78 spin_lock_bh(lock); in gnet_stats_start_copy_compat() 102 gnet_stats_start_copy(struct sk_buff *skb, int type, spinlock_t *lock, in gnet_stats_start_copy() argument 105 return gnet_stats_start_copy_compat(skb, type, 0, 0, lock, d, padattr); in gnet_stats_start_copy() 344 if (d->lock) in gnet_stats_copy_app() [all …]
|
D | neighbour.c | 128 write_lock_bh(&tbl->lock); in neigh_forced_gc() 130 lockdep_is_held(&tbl->lock)); in neigh_forced_gc() 137 lockdep_is_held(&tbl->lock))) != NULL) { in neigh_forced_gc() 142 write_lock(&n->lock); in neigh_forced_gc() 147 lockdep_is_held(&tbl->lock))); in neigh_forced_gc() 150 write_unlock(&n->lock); in neigh_forced_gc() 154 write_unlock(&n->lock); in neigh_forced_gc() 161 write_unlock_bh(&tbl->lock); in neigh_forced_gc() 202 lockdep_is_held(&tbl->lock)); in neigh_flush_dev() 209 lockdep_is_held(&tbl->lock))) != NULL) { in neigh_flush_dev() [all …]
|
D | hwbm.c | 55 spin_lock_irqsave(&bm_pool->lock, flags); in hwbm_pool_add() 58 spin_unlock_irqrestore(&bm_pool->lock, flags); in hwbm_pool_add() 65 spin_unlock_irqrestore(&bm_pool->lock, flags); in hwbm_pool_add() 72 spin_unlock_irqrestore(&bm_pool->lock, flags); in hwbm_pool_add() 86 spin_unlock_irqrestore(&bm_pool->lock, flags); in hwbm_pool_add()
|
/net/phonet/ |
D | pn_dev.c | 38 struct mutex lock; member 72 BUG_ON(!mutex_is_locked(&pndevs->lock)); in __phonet_device_alloc() 82 BUG_ON(!mutex_is_locked(&pndevs->lock)); in __phonet_get() 109 mutex_lock(&pndevs->lock); in phonet_device_destroy() 113 mutex_unlock(&pndevs->lock); in phonet_device_destroy() 152 mutex_lock(&pndevs->lock); in phonet_address_add() 161 mutex_unlock(&pndevs->lock); in phonet_address_add() 171 mutex_lock(&pndevs->lock); in phonet_address_del() 180 mutex_unlock(&pndevs->lock); in phonet_address_del() 276 mutex_lock(&pnn->routes.lock); in phonet_route_autodel() [all …]
|
/net/wireless/ |
D | lib80211.c | 50 spinlock_t *lock) in lib80211_crypt_info_init() argument 55 info->lock = lock; in lib80211_crypt_info_init() 93 spin_lock_irqsave(info->lock, flags); in lib80211_crypt_deinit_entries() 106 spin_unlock_irqrestore(info->lock, flags); in lib80211_crypt_deinit_entries() 114 spin_lock_irqsave(info->lock, flags); in lib80211_crypt_quiescing() 116 spin_unlock_irqrestore(info->lock, flags); in lib80211_crypt_quiescing() 126 spin_lock_irqsave(info->lock, flags); in lib80211_crypt_deinit_handler() 133 spin_unlock_irqrestore(info->lock, flags); in lib80211_crypt_deinit_handler() 152 spin_lock_irqsave(info->lock, flags); in lib80211_crypt_delayed_deinit() 160 spin_unlock_irqrestore(info->lock, flags); in lib80211_crypt_delayed_deinit()
|
/net/ipv6/ |
D | anycast.c | 251 write_lock_bh(&idev->lock); in __ipv6_dev_ac_inc() 284 write_unlock_bh(&idev->lock); in __ipv6_dev_ac_inc() 293 write_unlock_bh(&idev->lock); in __ipv6_dev_ac_inc() 306 write_lock_bh(&idev->lock); in __ipv6_dev_ac_dec() 314 write_unlock_bh(&idev->lock); in __ipv6_dev_ac_dec() 318 write_unlock_bh(&idev->lock); in __ipv6_dev_ac_dec() 325 write_unlock_bh(&idev->lock); in __ipv6_dev_ac_dec() 349 write_lock_bh(&idev->lock); in ipv6_ac_destroy_dev() 352 write_unlock_bh(&idev->lock); in ipv6_ac_destroy_dev() 361 write_lock_bh(&idev->lock); in ipv6_ac_destroy_dev() [all …]
|
D | addrconf.c | 375 rwlock_init(&ndev->lock); in ipv6_add_dev() 990 spin_lock_init(&ifa->lock); in ipv6_add_addr() 1017 write_lock(&idev->lock); in ipv6_add_addr() 1027 write_unlock(&idev->lock); in ipv6_add_addr() 1089 spin_lock(&ifa->lock); in check_cleanup_prefix_route() 1099 spin_unlock(&ifa->lock); in check_cleanup_prefix_route() 1136 spin_lock_bh(&ifp->lock); in ipv6_del_addr() 1139 spin_unlock_bh(&ifp->lock); in ipv6_del_addr() 1148 write_lock_bh(&ifp->idev->lock); in ipv6_del_addr() 1165 write_unlock_bh(&ifp->idev->lock); in ipv6_del_addr() [all …]
|
D | mip6.c | 120 spinlock_t lock; member 128 .lock = __SPIN_LOCK_UNLOCKED(mip6_report_rl.lock) 137 spin_lock(&x->lock); in mip6_destopt_input() 141 spin_unlock(&x->lock); in mip6_destopt_input() 177 spin_lock_bh(&x->lock); in mip6_destopt_output() 179 spin_unlock_bh(&x->lock); in mip6_destopt_output() 193 spin_lock_bh(&mip6_report_rl.lock); in mip6_report_rl_allow() 204 spin_unlock_bh(&mip6_report_rl.lock); in mip6_report_rl_allow() 357 spin_lock(&x->lock); in mip6_rthdr_input() 361 spin_unlock(&x->lock); in mip6_rthdr_input() [all …]
|
/net/9p/ |
D | util.c | 44 spinlock_t lock; member 61 spin_lock_init(&p->lock); in p9_idpool_create() 94 spin_lock_irqsave(&p->lock, flags); in p9_idpool_get() 99 spin_unlock_irqrestore(&p->lock, flags); in p9_idpool_get() 124 spin_lock_irqsave(&p->lock, flags); in p9_idpool_put() 126 spin_unlock_irqrestore(&p->lock, flags); in p9_idpool_put()
|
/net/nfc/ |
D | rawsock.c | 31 .lock = __RW_LOCK_UNLOCKED(raw_sk_list.lock) 36 write_lock(&l->lock); in nfc_sock_link() 38 write_unlock(&l->lock); in nfc_sock_link() 43 write_lock(&l->lock); in nfc_sock_unlink() 45 write_unlock(&l->lock); in nfc_sock_unlink() 52 spin_lock_bh(&sk->sk_write_queue.lock); in rawsock_write_queue_purge() 55 spin_unlock_bh(&sk->sk_write_queue.lock); in rawsock_write_queue_purge() 170 spin_lock_bh(&sk->sk_write_queue.lock); in rawsock_data_exchange_complete() 175 spin_unlock_bh(&sk->sk_write_queue.lock); in rawsock_data_exchange_complete() 239 spin_lock_bh(&sk->sk_write_queue.lock); in rawsock_sendmsg() [all …]
|
/net/tipc/ |
D | monitor.c | 91 rwlock_t lock; member 328 write_lock_bh(&mon->lock); in tipc_mon_remove_peer() 353 write_unlock_bh(&mon->lock); in tipc_mon_remove_peer() 394 write_lock_bh(&mon->lock); in tipc_mon_peer_up() 404 write_unlock_bh(&mon->lock); in tipc_mon_peer_up() 415 write_lock_bh(&mon->lock); in tipc_mon_peer_down() 437 write_unlock_bh(&mon->lock); in tipc_mon_peer_down() 481 write_lock_bh(&mon->lock); in tipc_mon_rcv() 522 write_unlock_bh(&mon->lock); in tipc_mon_rcv() 547 read_lock_bh(&mon->lock); in tipc_mon_prep() [all …]
|
D | discover.c | 68 spinlock_t lock; member 204 spin_lock_bh(&req->lock); in tipc_disc_add_dest() 206 spin_unlock_bh(&req->lock); in tipc_disc_add_dest() 215 spin_lock_bh(&req->lock); in tipc_disc_remove_dest() 218 spin_unlock_bh(&req->lock); in tipc_disc_remove_dest() 233 spin_lock_bh(&req->lock); in disc_timeout() 261 spin_unlock_bh(&req->lock); in disc_timeout() 294 spin_lock_init(&req->lock); in tipc_disc_create() 324 spin_lock_bh(&req->lock); in tipc_disc_reset() 335 spin_unlock_bh(&req->lock); in tipc_disc_reset()
|
D | subscr.c | 51 spinlock_t lock; member 146 spin_lock_bh(&subscriber->lock); in tipc_subscrp_timeout() 148 spin_unlock_bh(&subscriber->lock); in tipc_subscrp_timeout() 180 spin_lock_bh(&subscriber->lock); in tipc_subscrp_kref_release() 183 spin_unlock_bh(&subscriber->lock); in tipc_subscrp_kref_release() 207 spin_lock_bh(&subscriber->lock); in tipc_subscrb_subscrp_delete() 214 spin_unlock_bh(&subscriber->lock); in tipc_subscrb_subscrp_delete() 217 spin_lock_bh(&subscriber->lock); in tipc_subscrb_subscrp_delete() 222 spin_unlock_bh(&subscriber->lock); in tipc_subscrb_subscrp_delete() 237 spin_lock_init(&subscriber->lock); in tipc_subscrb_create() [all …]
|
/net/6lowpan/ |
D | debugfs.c | 81 spin_lock_bh(&t->lock); in lowpan_ctx_plen_set() 83 spin_unlock_bh(&t->lock); in lowpan_ctx_plen_set() 94 spin_lock_bh(&t->lock); in lowpan_ctx_plen_get() 96 spin_unlock_bh(&t->lock); in lowpan_ctx_plen_get() 109 spin_lock_bh(&t->lock); in lowpan_ctx_pfx_show() 119 spin_unlock_bh(&t->lock); in lowpan_ctx_pfx_show() 155 spin_lock_bh(&t->lock); in lowpan_ctx_pfx_write() 158 spin_unlock_bh(&t->lock); in lowpan_ctx_pfx_write() 222 spin_lock_bh(&t->lock); in lowpan_context_show() 231 spin_unlock_bh(&t->lock); in lowpan_context_show()
|
/net/batman-adv/ |
D | log.c | 75 spin_lock_bh(&debug_log->lock); in batadv_fdebug_log() 83 spin_unlock_bh(&debug_log->lock); in batadv_fdebug_log() 152 spin_lock_bh(&debug_log->lock); in batadv_log_read() 162 spin_unlock_bh(&debug_log->lock); in batadv_log_read() 166 spin_lock_bh(&debug_log->lock); in batadv_log_read() 172 spin_unlock_bh(&debug_log->lock); in batadv_log_read() 212 spin_lock_init(&bat_priv->debug_log->lock); in batadv_debug_log_setup()
|
/net/mac80211/ |
D | agg-tx.c | 150 lockdep_assert_held(&sta->lock); in ieee80211_assign_tid_tx() 209 spin_lock_bh(&fq->lock); in ieee80211_agg_stop_txq() 211 spin_unlock_bh(&fq->lock); in ieee80211_agg_stop_txq() 273 lockdep_assert_held(&sta->lock); in ieee80211_remove_tid_tx() 329 spin_lock_bh(&sta->lock); in ___ieee80211_stop_tx_ba_session() 333 spin_unlock_bh(&sta->lock); in ___ieee80211_stop_tx_ba_session() 342 spin_unlock_bh(&sta->lock); in ___ieee80211_stop_tx_ba_session() 354 spin_unlock_bh(&sta->lock); in ___ieee80211_stop_tx_ba_session() 361 spin_unlock_bh(&sta->lock); in ___ieee80211_stop_tx_ba_session() 493 spin_lock_bh(&sta->lock); in ieee80211_tx_ba_session_handle_start() [all …]
|
/net/sunrpc/ |
D | sched.c | 225 spin_lock_init(&queue->lock); in __rpc_init_priority_wait_queue() 296 spin_lock_irqsave(&wq->lock, flags); in rpc_complete_task() 301 spin_unlock_irqrestore(&wq->lock, flags); in rpc_complete_task() 384 spin_lock_bh(&q->lock); in rpc_sleep_on() 386 spin_unlock_bh(&q->lock); in rpc_sleep_on() 404 spin_lock_bh(&q->lock); in rpc_sleep_on_priority() 406 spin_unlock_bh(&q->lock); in rpc_sleep_on_priority() 466 spin_lock_bh(&queue->lock); in rpc_wake_up_queued_task() 468 spin_unlock_bh(&queue->lock); in rpc_wake_up_queued_task() 542 spin_lock_bh(&queue->lock); in rpc_wake_up_first_on_wq() [all …]
|