Home
last modified time | relevance | path

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

1234

/freebsd-14-stable/sys/contrib/openzfs/module/os/linux/spl/
HDspl-tsd.c107 spin_lock(&bin->hb_lock); in tsd_hash_search()
177 spin_lock(&table->ht_lock); in tsd_hash_add()
190 spin_lock(&bin->hb_lock); in tsd_hash_add()
230 spin_lock(&table->ht_lock); in tsd_hash_add_key()
256 spin_lock(&bin->hb_lock); in tsd_hash_add_key()
287 spin_lock(&table->ht_lock); in tsd_hash_add_pid()
298 spin_lock(&bin->hb_lock); in tsd_hash_add_pid()
374 spin_lock(&table->ht_lock); in tsd_hash_table_fini()
377 spin_lock(&bin->hb_lock); in tsd_hash_table_fini()
413 spin_lock(&table->ht_lock); in tsd_remove_entry()
[all …]
HDspl-kmem-cache.c335 spin_lock(&skc->skc_lock); in spl_slab_reclaim()
422 spin_lock(&skc->skc_lock); in spl_emergency_alloc()
440 spin_lock(&skc->skc_lock); in spl_emergency_alloc()
470 spin_lock(&skc->skc_lock); in spl_emergency_free()
495 spin_lock(&skc->skc_lock); in spl_cache_flush()
839 spin_lock(&skc->skc_lock); in spl_kmem_cache_destroy()
860 spin_lock(&skc->skc_lock); in spl_kmem_cache_destroy()
935 spin_lock(&skc->skc_lock); in __spl_cache_grow()
1063 spin_lock(&skc->skc_lock); in spl_cache_grow()
1095 spin_lock(&skc->skc_lock); in spl_cache_refill()
[all …]
/freebsd-14-stable/sys/compat/linuxkpi/common/include/linux/
HDspinlock.h57 #define spin_lock(_l) do { \ macro
65 spin_lock(_l); \
70 spin_lock(_l); \
118 spin_lock(_l); \
HDwait.h214 spin_lock(&(wqh).lock); \
244 spin_lock(&wqh->lock); in add_wait_queue()
271 spin_lock(&wqh->lock); in remove_wait_queue()
HDkref.h85 spin_lock(lock); in kref_put_lock()
/freebsd-14-stable/sys/compat/linuxkpi/common/src/
HDlinux_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()
HDlinux_schedule.c205 spin_lock(&wqh->lock); in linux_wake_up()
223 spin_lock(&wqh->lock); in linux_prepare_to_wait()
234 spin_lock(&wqh->lock); in linux_finish_wait()
248 spin_lock(&wqh->lock); in linux_waitqueue_active()
HDlinux_pci.c271 spin_lock(&pci_lock); in linux_pci_find()
295 spin_lock(&pci_lock); in lkpi_pci_get_device()
531 spin_lock(&pci_lock); in linux_pci_attach_device()
547 spin_lock(&pci_lock); in linux_pci_attach_device()
582 spin_lock(&pci_lock); in linux_pci_detach_device()
974 spin_lock(&pci_lock); in _linux_pci_register_driver()
1020 spin_lock(&pci_lock); in lkpi_pci_find_irq_dev()
1186 spin_lock(&pci_lock); in linux_pci_unregister_driver()
1202 spin_lock(&pci_lock); in linux_pci_unregister_drm_driver()
HDlinux_idr.c110 spin_lock(&lic->lock); in idr_preload_uninit()
134 spin_lock(&lic->lock); in idr_preload()
138 spin_lock(&lic->lock); in idr_preload()
/freebsd-14-stable/sys/dev/mlx4/mlx4_ib/
HDmlx4_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()
/freebsd-14-stable/sys/dev/mlx4/mlx4_core/
HDmlx4_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()
/freebsd-14-stable/contrib/llvm-project/compiler-rt/lib/rtsan/tests/
HDrtsan_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()
/freebsd-14-stable/sys/dev/mlx5/mlx5_core/
HDmlx5_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()
HDmlx5_mpfs.c39 #define MPFS_LOCK(dev) spin_lock(&(dev)->mpfs.spinlock)
/freebsd-14-stable/sys/dev/mlx4/mlx4_en/
HDmlx4_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()
/freebsd-14-stable/sys/contrib/openzfs/include/os/linux/kernel/linux/
HDdcache_compat.h96 spin_lock(&inode->i_lock); in zpl_d_drop_aliases()
HDvfs_compat.h82 spin_lock(&filp->f_lock); in lseek_execute()
/freebsd-14-stable/sys/contrib/dev/mediatek/mt76/mt7603/
HDbeacon.c85 spin_lock(&q->lock); in mt7603_pre_tbtt_tasklet()
120 spin_lock(&q->lock); in mt7603_pre_tbtt_tasklet()
/freebsd-14-stable/sys/contrib/vchiq/interface/compat/
HDvchi_bsd.h141 #define spin_lock(lock) mtx_lock(lock) macro
143 #define spin_lock_bh(lock) spin_lock(lock)
/freebsd-14-stable/sys/contrib/vchiq/interface/vchiq_arm/
HDvchiq_kern_lib.c419 spin_lock(&bulk_waiter_spinlock); in vchiq_blocking_bulk_transfer()
444 spin_lock(&bulk_waiter_spinlock); in vchiq_blocking_bulk_transfer()
HDvchiq_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()
662 spin_lock(&quota_spinlock); in process_free_queue()
693 spin_lock(&quota_spinlock); in process_free_queue()
748 spin_lock(&quota_spinlock); in process_free_queue()
[all …]
/freebsd-14-stable/sys/contrib/openzfs/include/os/linux/spl/sys/
HDmutex.h181 spin_lock(&(mp)->m_lock); \
/freebsd-14-stable/sys/contrib/dev/mediatek/mt76/
HDutil.c98 spin_lock(&dev->rx_lock); in mt76_get_min_avg_rssi()
/freebsd-14-stable/sys/dev/mthca/
HDmthca_srq.c430 spin_lock(&dev->srq_table.lock); in mthca_srq_event()
450 spin_lock(&dev->srq_table.lock); in mthca_srq_event()
466 spin_lock(&srq->lock); in mthca_free_srq_wqe()
/freebsd-14-stable/sys/ofed/drivers/infiniband/ulp/ipoib/
HDipoib_ib.c395 spin_lock(&priv->drain_lock); in ipoib_poll()
431 spin_lock(&priv->lock); in drain_tx_cq()
745 spin_lock(&priv->drain_lock); in ipoib_drain_cq()
768 spin_lock(&priv->lock); in ipoib_drain_cq()

1234