Home
last modified time | relevance | path

Searched refs:mutex (Results 1 – 25 of 58) sorted by relevance

123

/net/ceph/
Dauth.c66 mutex_init(&ac->mutex); in ceph_auth_init()
94 mutex_lock(&ac->mutex); in ceph_auth_reset()
99 mutex_unlock(&ac->mutex); in ceph_auth_reset()
128 mutex_lock(&ac->mutex); in ceph_auth_build_hello()
156 mutex_unlock(&ac->mutex); in ceph_auth_build_hello()
213 mutex_lock(&ac->mutex); in ceph_handle_auth_reply()
275 mutex_unlock(&ac->mutex); in ceph_handle_auth_reply()
289 mutex_lock(&ac->mutex); in ceph_build_auth()
292 mutex_unlock(&ac->mutex); in ceph_build_auth()
300 mutex_lock(&ac->mutex); in ceph_auth_is_authenticated()
[all …]
Dmon_client.c291 mutex_lock(&monc->mutex); in ceph_monc_reopen_session()
293 mutex_unlock(&monc->mutex); in ceph_monc_reopen_session()
392 mutex_lock(&monc->mutex); in handle_subscribe_ack()
407 mutex_unlock(&monc->mutex); in handle_subscribe_ack()
446 mutex_lock(&monc->mutex); in ceph_monc_want_map()
448 mutex_unlock(&monc->mutex); in ceph_monc_want_map()
476 mutex_lock(&monc->mutex); in ceph_monc_got_map()
478 mutex_unlock(&monc->mutex); in ceph_monc_got_map()
484 mutex_lock(&monc->mutex); in ceph_monc_renew_subs()
486 mutex_unlock(&monc->mutex); in ceph_monc_renew_subs()
[all …]
Dmessenger.c568 mutex_lock(&con->mutex); in ceph_con_close()
581 mutex_unlock(&con->mutex); in ceph_con_close()
592 mutex_lock(&con->mutex); in ceph_con_open()
603 mutex_unlock(&con->mutex); in ceph_con_open()
634 mutex_init(&con->mutex); in ceph_con_init()
1367 mutex_unlock(&con->mutex); in ceph_con_process_message()
1380 mutex_lock(&con->mutex); in ceph_con_process_message()
1501 mutex_lock(&con->mutex); in ceph_con_workfn()
1556 mutex_unlock(&con->mutex); in ceph_con_workfn()
1691 mutex_lock(&con->mutex); in ceph_con_send()
[all …]
/net/netfilter/
Dx_tables.c66 struct mutex mutex; member
70 struct mutex compat_mutex;
93 mutex_lock(&xt[af].mutex); in xt_register_target()
95 mutex_unlock(&xt[af].mutex); in xt_register_target()
105 mutex_lock(&xt[af].mutex); in xt_unregister_target()
107 mutex_unlock(&xt[af].mutex); in xt_unregister_target()
143 mutex_lock(&xt[af].mutex); in xt_register_match()
145 mutex_unlock(&xt[af].mutex); in xt_register_match()
155 mutex_lock(&xt[af].mutex); in xt_unregister_match()
157 mutex_unlock(&xt[af].mutex); in xt_unregister_match()
[all …]
Dnfnetlink.c52 struct mutex mutex; member
93 mutex_lock(&table[subsys_id].mutex); in nfnl_lock()
99 mutex_unlock(&table[subsys_id].mutex); in nfnl_unlock()
106 return lockdep_is_held(&table[subsys_id].mutex); in lockdep_nfnl_is_held()
721 __mutex_init(&table[i].mutex, nfnl_lockdep_names[i], &nfnl_lockdep_keys[i]); in nfnetlink_init()
/net/xdp/
Dxsk.c539 mutex_lock(&xs->mutex); in xsk_generic_xmit()
608 mutex_unlock(&xs->mutex); in xsk_generic_xmit()
850 mutex_lock(&xs->mutex); in xsk_release()
852 mutex_unlock(&xs->mutex); in xsk_release()
915 mutex_lock(&xs->mutex); in xsk_bind()
1053 mutex_unlock(&xs->mutex); in xsk_bind()
1087 mutex_lock(&xs->mutex); in xsk_setsockopt()
1089 mutex_unlock(&xs->mutex); in xsk_setsockopt()
1097 mutex_unlock(&xs->mutex); in xsk_setsockopt()
1114 mutex_lock(&xs->mutex); in xsk_setsockopt()
[all …]
Dxsk_diag.c113 mutex_lock(&xs->mutex); in xsk_diag_fill()
141 mutex_unlock(&xs->mutex); in xsk_diag_fill()
146 mutex_unlock(&xs->mutex); in xsk_diag_fill()
/net/smc/
Dsmc_ib.c38 .mutex = __MUTEX_INITIALIZER(smc_ib_devices.mutex),
475 mutex_lock(&dev_list->mutex); in smc_nl_prep_smcr_dev()
485 mutex_unlock(&dev_list->mutex); in smc_nl_prep_smcr_dev()
675 mutex_lock(&smcibdev->mutex); in smc_ib_setup_per_ibdev()
707 mutex_unlock(&smcibdev->mutex); in smc_ib_setup_per_ibdev()
713 mutex_lock(&smcibdev->mutex); in smc_ib_cleanup_per_ibdev()
721 mutex_unlock(&smcibdev->mutex); in smc_ib_cleanup_per_ibdev()
748 mutex_lock(&smc_ib_devices.mutex); in smc_ib_ndev_change()
765 mutex_unlock(&smc_ib_devices.mutex); in smc_ib_ndev_change()
786 mutex_init(&smcibdev->mutex); in smc_ib_add_dev()
[all …]
Dsmc_ism.c22 .mutex = __MUTEX_INITIALIZER(smcd_dev_list.mutex)
282 mutex_lock(&dev_list->mutex); in smc_nl_prep_smcd_dev()
292 mutex_unlock(&dev_list->mutex); in smc_nl_prep_smcd_dev()
434 mutex_lock(&smcd_dev_list.mutex); in smcd_register_dev()
447 mutex_unlock(&smcd_dev_list.mutex); in smcd_register_dev()
455 mutex_lock(&smcd_dev_list.mutex); in smcd_register_dev()
457 mutex_unlock(&smcd_dev_list.mutex); in smcd_register_dev()
468 mutex_lock(&smcd_dev_list.mutex); in smcd_unregister_dev()
470 mutex_unlock(&smcd_dev_list.mutex); in smcd_unregister_dev()
Dsmc_pnet.c140 mutex_lock(&smc_ib_devices.mutex); in smc_pnet_remove_by_pnetid()
160 mutex_unlock(&smc_ib_devices.mutex); in smc_pnet_remove_by_pnetid()
162 mutex_lock(&smcd_dev_list.mutex); in smc_pnet_remove_by_pnetid()
176 mutex_unlock(&smcd_dev_list.mutex); in smc_pnet_remove_by_pnetid()
250 mutex_lock(&smc_ib_devices.mutex); in smc_pnet_apply_ib()
257 mutex_unlock(&smc_ib_devices.mutex); in smc_pnet_apply_ib()
267 mutex_lock(&smcd_dev_list.mutex); in smc_pnet_apply_smcd()
273 mutex_unlock(&smcd_dev_list.mutex); in smc_pnet_apply_smcd()
309 mutex_lock(&smc_ib_devices.mutex); in smc_pnet_find_ib()
321 mutex_unlock(&smc_ib_devices.mutex); in smc_pnet_find_ib()
[all …]
Dsmc_ib.h29 struct mutex mutex; /* protects list of smc ib devices */ member
56 struct mutex mutex; /* protect dev setup+cleanup */ member
Dsmc_ism.h20 struct mutex mutex; /* Protects list of devices */ member
Dsmc_core.h229 struct mutex sndbufs_lock; /* protects tx buffers */
231 struct mutex rmbs_lock; /* protects rx buffers */
269 struct mutex llc_conf_mutex;
Dsmc_core.c257 mutex_lock(&smcd_dev_list.mutex); in smc_nl_get_sys_info()
262 mutex_unlock(&smcd_dev_list.mutex); in smc_nl_get_sys_info()
544 mutex_lock(&dev_list->mutex); in smc_nl_fill_smcd_dev()
557 mutex_unlock(&dev_list->mutex); in smc_nl_fill_smcd_dev()
1805 struct mutex *lock, in smc_buf_get_slot()
1893 static int _smcr_buf_map_lgr(struct smc_link *lnk, struct mutex *lock, in _smcr_buf_map_lgr()
2051 struct mutex *lock; /* lock buffer list */ in __smc_buf_create()
2320 mutex_lock(&smc_ib_devices.mutex); in smc_core_going_away()
2327 mutex_unlock(&smc_ib_devices.mutex); in smc_core_going_away()
2329 mutex_lock(&smcd_dev_list.mutex); in smc_core_going_away()
[all …]
Dsmc_pnet.h32 struct mutex lock;
/net/netlink/
Daf_netlink.h40 struct mutex *cb_mutex;
41 struct mutex cb_def_mutex;
63 struct mutex *cb_mutex;
/net/ipv4/netfilter/
Dipt_CLUSTERIP.c73 struct mutex mutex; member
137 mutex_lock(&cn->mutex); in clusterip_config_entry_put()
140 mutex_unlock(&cn->mutex); in clusterip_config_entry_put()
291 mutex_lock(&cn->mutex); in clusterip_config_init()
295 mutex_unlock(&cn->mutex); in clusterip_config_init()
859 mutex_init(&cn->mutex); in clusterip_net_init()
870 mutex_lock(&cn->mutex); in clusterip_net_exit()
873 mutex_unlock(&cn->mutex); in clusterip_net_exit()
/net/sunrpc/
Dnetns.h19 struct mutex pipefs_sb_lock;
30 struct mutex gssp_lock;
/net/packet/
Dinternal.h79 extern struct mutex fanout_mutex;
118 struct mutex pg_vec_lock;
/net/mac802154/
Dieee802154_i.h42 struct mutex iflist_mtx;
89 struct mutex sec_mtx;
/net/nfc/
Dllcp.h57 struct mutex sdp_lock;
91 struct mutex sdreq_lock;
/net/bridge/netfilter/
Debtables.c322 struct mutex *mutex) in find_inlist_lock_noload() argument
328 mutex_lock(mutex); in find_inlist_lock_noload()
341 mutex_unlock(mutex); in find_inlist_lock_noload()
349 mutex_lock(mutex); in find_inlist_lock_noload()
362 mutex_unlock(mutex); in find_inlist_lock_noload()
368 int *error, struct mutex *mutex) in find_inlist_lock() argument
371 find_inlist_lock_noload(net, name, error, mutex), in find_inlist_lock()
377 struct mutex *mutex) in find_table_lock() argument
379 return find_inlist_lock(net, name, "ebtable_", error, mutex); in find_table_lock()
/net/atm/
Dresources.h15 extern struct mutex atm_dev_mutex;
/net/kcm/
Dkcmproc.c256 mutex_lock(&knet->mutex); in kcm_stats_seq_show()
279 mutex_unlock(&knet->mutex); in kcm_stats_seq_show()
/net/rds/
Dib_mr.h91 struct mutex flush_lock; /* serialize fmr invalidate */

123