Home
last modified time | relevance | path

Searched refs:spin_lock (Results 1 – 25 of 100) sorted by relevance

1234

/src/sys/contrib/openzfs/module/os/linux/spl/
H A Dspl-tsd.c108 spin_lock(&bin->hb_lock); in tsd_hash_search()
178 spin_lock(&table->ht_lock); in tsd_hash_add()
191 spin_lock(&bin->hb_lock); in tsd_hash_add()
231 spin_lock(&table->ht_lock); in tsd_hash_add_key()
257 spin_lock(&bin->hb_lock); in tsd_hash_add_key()
288 spin_lock(&table->ht_lock); in tsd_hash_add_pid()
299 spin_lock(&bin->hb_lock); in tsd_hash_add_pid()
375 spin_lock(&table->ht_lock); in tsd_hash_table_fini()
378 spin_lock(&bin->hb_lock); in tsd_hash_table_fini()
414 spin_lock(&table->ht_lock); in tsd_remove_entry()
[all …]
H A Dspl-kmem-cache.c332 spin_lock(&skc->skc_lock); in spl_slab_reclaim()
419 spin_lock(&skc->skc_lock); in spl_emergency_alloc()
437 spin_lock(&skc->skc_lock); in spl_emergency_alloc()
467 spin_lock(&skc->skc_lock); in spl_emergency_free()
492 spin_lock(&skc->skc_lock); in spl_cache_flush()
837 spin_lock(&skc->skc_lock); in spl_kmem_cache_destroy()
858 spin_lock(&skc->skc_lock); in spl_kmem_cache_destroy()
933 spin_lock(&skc->skc_lock); in __spl_cache_grow()
1061 spin_lock(&skc->skc_lock); in spl_cache_grow()
1093 spin_lock(&skc->skc_lock); in spl_cache_refill()
[all …]
H A Dspl-proc.c206 spin_lock(&skc->skc_lock); in slab_seq_show()
224 spin_lock(&skc->skc_lock); in slab_seq_show()
/src/sys/compat/linuxkpi/common/include/linux/
H A Dspinlock.h58 #define spin_lock(_l) do { \ macro
66 spin_lock(_l); \
71 spin_lock(_l); \
119 spin_lock(_l); \
194 #define raw_spin_lock(rl) spin_lock(&(rl)->lock)
H A Dwait.h222 spin_lock(&(wqh).lock); \
252 spin_lock(&wqh->lock); in add_wait_queue()
279 spin_lock(&wqh->lock); in remove_wait_queue()
H A Dkref.h85 spin_lock(lock); in kref_put_lock()
/src/sys/compat/linuxkpi/common/src/
H A Dlinux_devres.c106 spin_lock(&dev->devres_lock); in lkpi_devres_add()
141 spin_lock(&dev->devres_lock); in lkpi_devres_find()
170 spin_lock(&dev->devres_lock); in lkpi_devres_unlink()
200 spin_lock(&dev->devres_lock); in lkpi_devres_destroy()
H A Dlinux_schedule.c279 spin_lock(&wqh->lock); in linux_wake_up()
297 spin_lock(&wqh->lock); in linux_prepare_to_wait()
308 spin_lock(&wqh->lock); in linux_finish_wait()
322 spin_lock(&wqh->lock); in linux_waitqueue_active()
H A Dlinux_kobject.c281 spin_lock(&kset->list_lock); in kset_join()
295 spin_lock(&kset->list_lock); in kset_leave()
H A Dlinux_pci.c291 spin_lock(&pci_lock); in linux_pci_find()
314 spin_lock(&pci_lock); in lkpi_pci_get_device()
618 spin_lock(&pci_lock); in linux_pci_attach_device()
656 spin_lock(&pci_lock); in linux_pci_attach_device()
691 spin_lock(&pci_lock); in linux_pci_detach_device()
1122 spin_lock(&pci_lock); in _linux_pci_register_driver()
1168 spin_lock(&pci_lock); in lkpi_pci_find_irq_dev()
1368 spin_lock(&pci_lock); in linux_pci_unregister_driver()
1384 spin_lock(&pci_lock); in linux_pci_unregister_drm_driver()
H A Dlinux_idr.c108 spin_lock(&lic->lock); in idr_preload_uninit()
132 spin_lock(&lic->lock); in idr_preload()
136 spin_lock(&lic->lock); in idr_preload()
/src/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_cm.c177 spin_lock(&sriov->id_map_lock); in id_map_ent_timeout()
198 spin_lock(&sriov->id_map_lock); in id_map_find_del()
262 spin_lock(&to_mdev(ibdev)->sriov.id_map_lock); in id_map_alloc()
289 spin_lock(&sriov->id_map_lock); in id_map_get()
306 spin_lock(&sriov->id_map_lock); in schedule_delayed()
423 spin_lock(&sriov->id_map_lock); in mlx4_ib_cm_paravirt_clean()
437 spin_lock(&sriov->id_map_lock); in mlx4_ib_cm_paravirt_clean()
/src/sys/dev/mlx4/mlx4_core/
H A Dmlx4_alloc.c47 spin_lock(&bitmap->lock); in mlx4_bitmap_alloc()
116 spin_lock(&bitmap->lock); in mlx4_bitmap_alloc_range()
161 spin_lock(&bitmap->lock); in mlx4_bitmap_free_range()
261 spin_lock(&zone_alloc->lock); in mlx4_zone_add_one()
325 spin_lock(&zone_alloc->lock); in mlx4_zone_allocator_destroy()
445 spin_lock(&zones->lock); in mlx4_zone_get_bitmap()
461 spin_lock(&zones->lock); in mlx4_zone_remove_one()
516 spin_lock(&zones->lock); in mlx4_zone_alloc_entries()
536 spin_lock(&zones->lock); in mlx4_zone_free_entries()
561 spin_lock(&zones->lock); in mlx4_zone_free_entries_unique()
/src/contrib/llvm-project/compiler-rt/lib/rtsan/tests/
H A Drtsan_test_interceptors.cpp368 OSSpinLock spin_lock{}; in TEST() local
369 OSSpinLockLock(&spin_lock); in TEST()
388 pthread_spinlock_t spin_lock; in TEST() local
389 pthread_spin_init(&spin_lock, PTHREAD_PROCESS_SHARED); in TEST()
390 auto Func = [&]() { pthread_spin_lock(&spin_lock); }; in TEST()
/src/sys/contrib/dev/mediatek/mt76/
H A Dtx.c485 spin_lock(&q->lock); in mt76_txq_send_burst()
507 spin_lock(&q->lock); in mt76_txq_send_burst()
516 spin_lock(&q->lock); in mt76_txq_send_burst()
611 spin_lock(&head->lock); in mt76_txq_schedule_pending_wcid()
635 spin_lock(&q->lock); in mt76_txq_schedule_pending_wcid()
640 spin_lock(&head->lock); in mt76_txq_schedule_pending_wcid()
658 spin_lock(&phy->tx_lock); in mt76_txq_schedule_pending()
671 spin_lock(&phy->tx_lock); in mt76_txq_schedule_pending()
H A Dutil.c94 spin_lock(&dev->rx_lock); in mt76_get_min_avg_rssi()
/src/sys/dev/mlx5/mlx5_core/
H A Dmlx5_cq.c46 spin_lock(&table->writerlock); in mlx5_cq_table_write_lock()
73 spin_lock(&table->writerlock); in mlx5_cq_completion()
105 spin_lock(&table->writerlock); in mlx5_cq_event()
H A Dmlx5_mpfs.c39 #define MPFS_LOCK(dev) spin_lock(&(dev)->mpfs.spinlock)
/src/sys/dev/mlx4/mlx4_en/
H A Dmlx4_en_port.c209 spin_lock(&priv->stats_lock); in mlx4_en_DUMP_ETH_STATS()
340 spin_lock(&priv->stats_lock); in mlx4_en_DUMP_ETH_STATS()
387 spin_lock(&priv->stats_lock); in mlx4_en_DUMP_ETH_STATS()
432 spin_lock(&priv->stats_lock); in mlx4_en_get_vport_stats()
470 spin_lock(&priv->stats_lock); in mlx4_en_get_vport_stats()
/src/sys/contrib/openzfs/include/os/linux/kernel/linux/
H A Ddcache_compat.h82 spin_lock(&inode->i_lock); in zpl_d_drop_aliases()
/src/sys/contrib/dev/mediatek/mt76/mt7603/
H A Dbeacon.c129 spin_lock(&q->lock); in mt7603_pre_tbtt_tasklet()
159 spin_lock(&q->lock); in mt7603_pre_tbtt_tasklet()
/src/sys/contrib/vchiq/interface/vchiq_arm/
H A Dvchiq_core.c182 spin_lock(&service_spinlock); in find_service_by_handle()
204 spin_lock(&service_spinlock); in find_service_by_port()
226 spin_lock(&service_spinlock); in find_service_for_instance()
249 spin_lock(&service_spinlock); in find_closed_service_for_instance()
276 spin_lock(&service_spinlock); in next_service_by_instance()
297 spin_lock(&service_spinlock); in lock_service()
308 spin_lock(&service_spinlock); in unlock_service()
675 spin_lock(&quota_spinlock); in process_free_queue()
706 spin_lock(&quota_spinlock); in process_free_queue()
761 spin_lock(&quota_spinlock); in process_free_queue()
[all …]
H A Dvchiq_kern_lib.c419 spin_lock(&bulk_waiter_spinlock); in vchiq_blocking_bulk_transfer()
444 spin_lock(&bulk_waiter_spinlock); in vchiq_blocking_bulk_transfer()
/src/sys/contrib/vchiq/interface/compat/
H A Dvchi_bsd.h141 #define spin_lock(lock) mtx_lock(lock) macro
143 #define spin_lock_bh(lock) spin_lock(lock)
/src/sys/contrib/openzfs/include/os/linux/spl/sys/
H A Dmutex.h182 spin_lock(&(mp)->m_lock); \

1234