Home
last modified time | relevance | path

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

123

/freebsd-13.1/sys/contrib/openzfs/module/os/linux/spl/
H A Dspl-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 …]
H A Dspl-kmem-cache.c349 spin_lock(&skc->skc_lock); in spl_slab_reclaim()
436 spin_lock(&skc->skc_lock); in spl_emergency_alloc()
452 spin_lock(&skc->skc_lock); in spl_emergency_alloc()
482 spin_lock(&skc->skc_lock); in spl_emergency_free()
507 spin_lock(&skc->skc_lock); in spl_cache_flush()
869 spin_lock(&skc->skc_lock); in spl_kmem_cache_destroy()
890 spin_lock(&skc->skc_lock); in spl_kmem_cache_destroy()
965 spin_lock(&skc->skc_lock); in __spl_cache_grow()
1083 spin_lock(&skc->skc_lock); in spl_cache_grow()
1115 spin_lock(&skc->skc_lock); in spl_cache_refill()
[all …]
H A Dspl-proc.c388 spin_lock(&skc->skc_lock); in slab_seq_show()
406 spin_lock(&skc->skc_lock); in slab_seq_show()
/freebsd-13.1/sys/compat/linuxkpi/common/include/linux/
H A Dspinlock.h61 #define spin_lock(_l) do { \ macro
69 spin_lock(_l); \
74 spin_lock(_l); \
122 spin_lock(_l); \
H A Dwait.h216 spin_lock(&(wqh).lock); \
246 spin_lock(&wqh->lock); in add_wait_queue()
273 spin_lock(&wqh->lock); in remove_wait_queue()
H A Dkref.h87 spin_lock(lock); in kref_put_lock()
/freebsd-13.1/sys/compat/linuxkpi/common/src/
H A Dlinux_devres.c108 spin_lock(&dev->devres_lock); in lkpi_devres_add()
143 spin_lock(&dev->devres_lock); in lkpi_devres_find()
172 spin_lock(&dev->devres_lock); in lkpi_devres_unlink()
202 spin_lock(&dev->devres_lock); in lkpi_devres_destroy()
H A Dlinux_schedule.c207 spin_lock(&wqh->lock); in linux_wake_up()
225 spin_lock(&wqh->lock); in linux_prepare_to_wait()
236 spin_lock(&wqh->lock); in linux_finish_wait()
250 spin_lock(&wqh->lock); in linux_waitqueue_active()
H A Dlinux_pci.c250 spin_lock(&pci_lock); in linux_pci_find()
442 spin_lock(&pci_lock); in linux_pci_attach_device()
457 spin_lock(&pci_lock); in linux_pci_attach_device()
492 spin_lock(&pci_lock); in linux_pci_detach_device()
696 spin_lock(&pci_lock); in _linux_pci_register_driver()
873 spin_lock(&pci_lock); in linux_pci_unregister_driver()
889 spin_lock(&pci_lock); in linux_pci_unregister_drm_driver()
H A Dlinux_idr.c112 spin_lock(&lic->lock); in idr_preload_uninit()
136 spin_lock(&lic->lock); in idr_preload()
140 spin_lock(&lic->lock); in idr_preload()
/freebsd-13.1/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()
H A Dmlx4_ib_mad.c548 spin_lock(&tun_qp->tx_lock); in mlx4_ib_send_to_slave()
630 spin_lock(&tun_qp->tx_lock); in mlx4_ib_send_to_slave()
1371 spin_lock(&sqp->tx_lock); in mlx4_ib_send_to_wire()
1423 spin_lock(&sqp->tx_lock); in mlx4_ib_send_to_wire()
1723 spin_lock(&tun_qp->tx_lock); in mlx4_ib_tunnel_comp_worker()
1740 spin_lock(&tun_qp->tx_lock); in mlx4_ib_tunnel_comp_worker()
1879 spin_lock(&sqp->tx_lock); in mlx4_ib_sqp_comp_worker()
1909 spin_lock(&sqp->tx_lock); in mlx4_ib_sqp_comp_worker()
/freebsd-13.1/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()
/freebsd-13.1/sys/dev/mlx5/mlx5_core/
H A Dmlx5_cq.c48 spin_lock(&table->writerlock); in mlx5_cq_table_write_lock()
75 spin_lock(&table->writerlock); in mlx5_cq_completion()
107 spin_lock(&table->writerlock); in mlx5_cq_event()
H A Dmlx5_mpfs.c41 #define MPFS_LOCK(dev) spin_lock(&(dev)->mpfs.spinlock)
H A Dmlx5_srq.c44 spin_lock(&table->lock); in mlx5_srq_event()
120 spin_lock(&table->lock); in mlx5_core_get_srq()
/freebsd-13.1/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()
399 spin_lock(&priv->stats_lock); in mlx4_en_DUMP_ETH_STATS()
444 spin_lock(&priv->stats_lock); in mlx4_en_get_vport_stats()
482 spin_lock(&priv->stats_lock); in mlx4_en_get_vport_stats()
/freebsd-13.1/sys/contrib/openzfs/include/os/linux/kernel/linux/
H A Dvfs_compat.h164 spin_lock(&filp->f_lock); in lseek_execute()
216 spin_lock(&ip->i_lock); in zpl_set_cached_acl()
/freebsd-13.1/sys/contrib/vchiq/interface/vchiq_arm/
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()
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()
748 spin_lock(&quota_spinlock); in process_free_queue()
803 spin_lock(&quota_spinlock); in queue_message()
823 spin_lock(&quota_spinlock); in queue_message()
[all …]
H A Dvchiq_arm.c305 spin_lock(&msg_queue_spinlock); in service_callback()
344 spin_lock(&msg_queue_spinlock); in service_callback()
765 spin_lock(&bulk_waiter_spinlock); in vchiq_ioctl()
980 spin_lock(&msg_queue_spinlock); in vchiq_ioctl()
999 spin_lock(&msg_queue_spinlock); in vchiq_ioctl()
1288 spin_lock(&msg_queue_spinlock); in vchiq_close()
1302 spin_lock(&msg_queue_spinlock); in vchiq_close()
/freebsd-13.1/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)
/freebsd-13.1/sys/contrib/openzfs/include/os/linux/spl/sys/
H A Dmutex.h176 spin_lock(&(mp)->m_lock); \
/freebsd-13.1/sys/dev/mthca/
H A Dmthca_srq.c422 spin_lock(&dev->srq_table.lock); in mthca_srq_event()
442 spin_lock(&dev->srq_table.lock); in mthca_srq_event()
458 spin_lock(&srq->lock); in mthca_free_srq_wqe()
/freebsd-13.1/sys/ofed/drivers/infiniband/ulp/ipoib/
H A Dipoib_ib.c397 spin_lock(&priv->drain_lock); in ipoib_poll()
433 spin_lock(&priv->lock); in drain_tx_cq()
747 spin_lock(&priv->drain_lock); in ipoib_drain_cq()
770 spin_lock(&priv->lock); in ipoib_drain_cq()

123