Home
last modified time | relevance | path

Searched refs:idr_lock (Results 1 – 24 of 24) sorted by relevance

/linux-6.1.9/fs/notify/inotify/
Dinotify_user.c346 spin_lock(&data->idr_lock); in inotify_ioctl()
348 spin_unlock(&data->idr_lock); in inotify_ioctl()
395 static int inotify_add_to_idr(struct idr *idr, spinlock_t *idr_lock, in inotify_add_to_idr() argument
401 spin_lock(idr_lock); in inotify_add_to_idr()
410 spin_unlock(idr_lock); in inotify_add_to_idr()
419 spinlock_t *idr_lock = &group->inotify_data.idr_lock; in inotify_idr_find_locked() local
422 assert_spin_locked(idr_lock); in inotify_idr_find_locked()
440 spinlock_t *idr_lock = &group->inotify_data.idr_lock; in inotify_idr_find() local
442 spin_lock(idr_lock); in inotify_idr_find()
444 spin_unlock(idr_lock); in inotify_idr_find()
[all …]
/linux-6.1.9/net/tipc/
Dtopsrv.c68 spinlock_t idr_lock; /* for idr list */ member
129 spin_lock_bh(&s->idr_lock); in tipc_conn_kref_release()
132 spin_unlock_bh(&s->idr_lock); in tipc_conn_kref_release()
196 spin_lock_bh(&s->idr_lock); in tipc_conn_alloc()
200 spin_unlock_bh(&s->idr_lock); in tipc_conn_alloc()
210 spin_unlock_bh(&s->idr_lock); in tipc_conn_alloc()
219 spin_lock_bh(&s->idr_lock); in tipc_conn_lookup()
223 spin_unlock_bh(&s->idr_lock); in tipc_conn_lookup()
460 spin_lock_bh(&srv->idr_lock); in tipc_topsrv_accept()
462 spin_unlock_bh(&srv->idr_lock); in tipc_topsrv_accept()
[all …]
/linux-6.1.9/drivers/rpmsg/
Dqcom_glink_native.c115 spinlock_t idr_lock; member
408 spin_lock_irqsave(&glink->idr_lock, flags); in qcom_glink_handle_intent_req_ack()
410 spin_unlock_irqrestore(&glink->idr_lock, flags); in qcom_glink_handle_intent_req_ack()
444 spin_lock_irqsave(&glink->idr_lock, flags); in qcom_glink_send_open_req()
448 spin_unlock_irqrestore(&glink->idr_lock, flags); in qcom_glink_send_open_req()
466 spin_lock_irqsave(&glink->idr_lock, flags); in qcom_glink_send_open_req()
469 spin_unlock_irqrestore(&glink->idr_lock, flags); in qcom_glink_send_open_req()
723 spin_lock_irqsave(&glink->idr_lock, flags); in qcom_glink_handle_rx_done()
725 spin_unlock_irqrestore(&glink->idr_lock, flags); in qcom_glink_handle_rx_done()
766 spin_lock_irqsave(&glink->idr_lock, flags); in qcom_glink_handle_intent_req()
[all …]
/linux-6.1.9/drivers/char/tpm/
Dtpm-chip.c29 static DEFINE_MUTEX(idr_lock);
202 mutex_lock(&idr_lock); in tpm_default_chip()
214 mutex_unlock(&idr_lock); in tpm_default_chip()
266 mutex_lock(&idr_lock); in tpm_dev_release()
268 mutex_unlock(&idr_lock); in tpm_dev_release()
328 mutex_lock(&idr_lock); in tpm_chip_alloc()
330 mutex_unlock(&idr_lock); in tpm_chip_alloc()
425 mutex_lock(&idr_lock); in tpm_add_char_device()
427 mutex_unlock(&idr_lock); in tpm_add_char_device()
441 mutex_lock(&idr_lock); in tpm_del_char_device()
[all …]
/linux-6.1.9/drivers/net/wireless/ath/ath11k/
Ddbring.c67 spin_lock_bh(&ring->idr_lock); in ath11k_dbring_bufs_replenish()
69 spin_unlock_bh(&ring->idr_lock); in ath11k_dbring_bufs_replenish()
94 spin_lock_bh(&ring->idr_lock); in ath11k_dbring_bufs_replenish()
96 spin_unlock_bh(&ring->idr_lock); in ath11k_dbring_bufs_replenish()
341 spin_lock_bh(&ring->idr_lock); in ath11k_dbring_buffer_release_event()
344 spin_unlock_bh(&ring->idr_lock); in ath11k_dbring_buffer_release_event()
348 spin_unlock_bh(&ring->idr_lock); in ath11k_dbring_buffer_release_event()
388 spin_lock_bh(&ring->idr_lock); in ath11k_dbring_buf_cleanup()
398 spin_unlock_bh(&ring->idr_lock); in ath11k_dbring_buf_cleanup()
Ddp_rx.c391 spin_lock_bh(&rx_ring->idr_lock); in ath11k_dp_rxbufs_replenish()
394 spin_unlock_bh(&rx_ring->idr_lock); in ath11k_dp_rxbufs_replenish()
419 spin_lock_bh(&rx_ring->idr_lock); in ath11k_dp_rxbufs_replenish()
421 spin_unlock_bh(&rx_ring->idr_lock); in ath11k_dp_rxbufs_replenish()
442 spin_lock_bh(&rx_ring->idr_lock); in ath11k_dp_rxdma_buf_ring_free()
454 spin_unlock_bh(&rx_ring->idr_lock); in ath11k_dp_rxdma_buf_ring_free()
464 spin_lock_bh(&rx_ring->idr_lock); in ath11k_dp_rxdma_buf_ring_free()
476 spin_unlock_bh(&rx_ring->idr_lock); in ath11k_dp_rxdma_buf_ring_free()
2670 spin_lock_bh(&rx_ring->idr_lock); in ath11k_dp_process_rx()
2675 spin_unlock_bh(&rx_ring->idr_lock); in ath11k_dp_process_rx()
[all …]
Ddbring.h45 spinlock_t idr_lock; member
Ddp.c897 spin_lock_init(&dp->rx_refill_buf_ring.idr_lock); in ath11k_dp_pdev_pre_alloc()
902 spin_lock_init(&dp->rx_mon_status_refill_ring[j].idr_lock); in ath11k_dp_pdev_pre_alloc()
905 spin_lock_init(&dp->rxdma_mon_buf_ring.idr_lock); in ath11k_dp_pdev_pre_alloc()
Ddp.h75 spinlock_t idr_lock; member
Dspectral.c1016 spin_lock_init(&sp->rx_ring.idr_lock); in ath11k_spectral_init()
/linux-6.1.9/drivers/tty/
Drpmsg_tty.c25 static DEFINE_MUTEX(idr_lock); /* protects tty_idr */
140 mutex_lock(&idr_lock); in rpmsg_tty_alloc_cport()
142 mutex_unlock(&idr_lock); in rpmsg_tty_alloc_cport()
158 mutex_lock(&idr_lock); in rpmsg_tty_destruct_port()
160 mutex_unlock(&idr_lock); in rpmsg_tty_destruct_port()
/linux-6.1.9/drivers/rapidio/
Drio_cm.c230 static DEFINE_SPINLOCK(idr_lock);
287 spin_lock_bh(&idr_lock); in riocm_get_channel()
291 spin_unlock_bh(&idr_lock); in riocm_get_channel()
463 spin_lock_bh(&idr_lock); in riocm_close_handler()
466 spin_unlock_bh(&idr_lock); in riocm_close_handler()
470 spin_unlock_bh(&idr_lock); in riocm_close_handler()
1181 spin_lock_bh(&idr_lock); in riocm_ch_accept()
1183 spin_unlock_bh(&idr_lock); in riocm_ch_accept()
1302 spin_lock_bh(&idr_lock); in riocm_ch_alloc()
1304 spin_unlock_bh(&idr_lock); in riocm_ch_alloc()
[all …]
/linux-6.1.9/drivers/misc/habanalabs/common/
Dmemory.c171 spin_lock(&vm->idr_lock); in alloc_device_memory()
174 spin_unlock(&vm->idr_lock); in alloc_device_memory()
360 spin_lock(&vm->idr_lock); in free_device_memory()
363 spin_unlock(&vm->idr_lock); in free_device_memory()
369 spin_unlock(&vm->idr_lock); in free_device_memory()
375 spin_unlock(&vm->idr_lock); in free_device_memory()
384 spin_unlock(&vm->idr_lock); in free_device_memory()
1047 spin_lock(&vm->idr_lock); in get_paddr_from_handle()
1050 spin_unlock(&vm->idr_lock); in get_paddr_from_handle()
1057 spin_unlock(&vm->idr_lock); in get_paddr_from_handle()
[all …]
Ddebugfs.c309 spin_lock(&vm->idr_lock); in vm_show()
328 spin_unlock(&vm->idr_lock); in vm_show()
Dhabanalabs.h2158 spinlock_t idr_lock; member
/linux-6.1.9/drivers/gpu/drm/msm/
Dmsm_gem_submit.c75 mutex_lock(&submit->queue->idr_lock); in __msm_gem_submit_destroy()
77 mutex_unlock(&submit->queue->idr_lock); in __msm_gem_submit_destroy()
864 mutex_lock(&queue->idr_lock); in msm_ioctl_gem_submit()
874 mutex_unlock(&queue->idr_lock); in msm_ioctl_gem_submit()
908 mutex_unlock(&queue->idr_lock); in msm_ioctl_gem_submit()
Dmsm_submitqueue.c203 mutex_init(&queue->idr_lock); in msm_submitqueue_create()
Dmsm_gpu.h493 struct mutex idr_lock; member
Dmsm_drv.c908 ret = mutex_lock_interruptible(&queue->idr_lock); in wait_fence()
914 mutex_unlock(&queue->idr_lock); in wait_fence()
/linux-6.1.9/include/linux/
Didr.h101 #define idr_lock(idr) xa_lock(&(idr)->idr_rt) macro
Dfsnotify_backend.h239 spinlock_t idr_lock; member
/linux-6.1.9/net/sched/
Dcls_api.c847 spinlock_t idr_lock; /* Protects idr */ member
860 spin_lock(&tn->idr_lock); in tcf_block_insert()
863 spin_unlock(&tn->idr_lock); in tcf_block_insert()
873 spin_lock(&tn->idr_lock); in tcf_block_remove()
875 spin_unlock(&tn->idr_lock); in tcf_block_remove()
3718 spin_lock_init(&tn->idr_lock); in tcf_net_init()
/linux-6.1.9/drivers/net/ethernet/chelsio/inline_crypto/chtls/
Dchtls.h225 spinlock_t idr_lock ____cacheline_aligned_in_smp;
Dchtls_main.c275 spin_lock_init(&cdev->idr_lock); in chtls_uld_add()