Home
last modified time | relevance | path

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

12

/linux-6.6.21/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.6.21/drivers/rpmsg/
Dqcom_glink_native.c108 spinlock_t idr_lock; member
427 spin_lock_irqsave(&glink->idr_lock, flags); in qcom_glink_handle_intent_req_ack()
429 spin_unlock_irqrestore(&glink->idr_lock, flags); in qcom_glink_handle_intent_req_ack()
469 spin_lock_irqsave(&glink->idr_lock, flags); in qcom_glink_send_open_req()
473 spin_unlock_irqrestore(&glink->idr_lock, flags); in qcom_glink_send_open_req()
491 spin_lock_irqsave(&glink->idr_lock, flags); in qcom_glink_send_open_req()
494 spin_unlock_irqrestore(&glink->idr_lock, flags); in qcom_glink_send_open_req()
748 spin_lock_irqsave(&glink->idr_lock, flags); in qcom_glink_handle_rx_done()
750 spin_unlock_irqrestore(&glink->idr_lock, flags); in qcom_glink_handle_rx_done()
796 spin_lock_irqsave(&glink->idr_lock, flags); in qcom_glink_handle_intent_req()
[all …]
/linux-6.6.21/net/tipc/
Dtopsrv.c69 spinlock_t idr_lock; /* for idr list */ member
130 spin_lock_bh(&s->idr_lock); in tipc_conn_kref_release()
133 spin_unlock_bh(&s->idr_lock); in tipc_conn_kref_release()
197 spin_lock_bh(&s->idr_lock); in tipc_conn_alloc()
201 spin_unlock_bh(&s->idr_lock); in tipc_conn_alloc()
211 spin_unlock_bh(&s->idr_lock); in tipc_conn_alloc()
220 spin_lock_bh(&s->idr_lock); in tipc_conn_lookup()
224 spin_unlock_bh(&s->idr_lock); in tipc_conn_lookup()
463 spin_lock_bh(&srv->idr_lock); in tipc_topsrv_accept()
465 spin_unlock_bh(&srv->idr_lock); in tipc_topsrv_accept()
[all …]
/linux-6.6.21/drivers/char/tpm/
Dtpm-chip.c29 static DEFINE_MUTEX(idr_lock);
207 mutex_lock(&idr_lock); in tpm_default_chip()
219 mutex_unlock(&idr_lock); in tpm_default_chip()
271 mutex_lock(&idr_lock); in tpm_dev_release()
273 mutex_unlock(&idr_lock); in tpm_dev_release()
332 mutex_lock(&idr_lock); in tpm_chip_alloc()
334 mutex_unlock(&idr_lock); in tpm_chip_alloc()
433 mutex_lock(&idr_lock); in tpm_add_char_device()
435 mutex_unlock(&idr_lock); in tpm_add_char_device()
449 mutex_lock(&idr_lock); in tpm_del_char_device()
[all …]
/linux-6.6.21/drivers/net/wireless/ath/ath12k/
Ddbring.c38 spin_lock_bh(&ring->idr_lock); in ath12k_dbring_bufs_replenish()
40 spin_unlock_bh(&ring->idr_lock); in ath12k_dbring_bufs_replenish()
64 spin_lock_bh(&ring->idr_lock); in ath12k_dbring_bufs_replenish()
66 spin_unlock_bh(&ring->idr_lock); in ath12k_dbring_bufs_replenish()
304 spin_lock_bh(&ring->idr_lock); in ath12k_dbring_buffer_release_event()
307 spin_unlock_bh(&ring->idr_lock); in ath12k_dbring_buffer_release_event()
311 spin_unlock_bh(&ring->idr_lock); in ath12k_dbring_buffer_release_event()
347 spin_lock_bh(&ring->idr_lock); in ath12k_dbring_buf_cleanup()
356 spin_unlock_bh(&ring->idr_lock); in ath12k_dbring_buf_cleanup()
Ddbring.h46 spinlock_t idr_lock; member
Ddp_mon.c811 spin_lock_bh(&buf_ring->idr_lock); in ath12k_dp_mon_rx_parse_status_tlv()
813 spin_unlock_bh(&buf_ring->idr_lock); in ath12k_dp_mon_rx_parse_status_tlv()
1296 spin_lock_bh(&buf_ring->idr_lock); in ath12k_dp_mon_buf_replenish()
1299 spin_unlock_bh(&buf_ring->idr_lock); in ath12k_dp_mon_buf_replenish()
1324 spin_lock_bh(&buf_ring->idr_lock); in ath12k_dp_mon_buf_replenish()
1326 spin_unlock_bh(&buf_ring->idr_lock); in ath12k_dp_mon_buf_replenish()
1916 spin_lock_bh(&buf_ring->idr_lock); in ath12k_dp_mon_tx_parse_status_tlv()
1918 spin_unlock_bh(&buf_ring->idr_lock); in ath12k_dp_mon_tx_parse_status_tlv()
2109 spin_lock_bh(&buf_ring->idr_lock); in ath12k_dp_mon_srng_process()
2111 spin_unlock_bh(&buf_ring->idr_lock); in ath12k_dp_mon_srng_process()
[all …]
Ddp_rx.c334 spin_lock_bh(&rx_ring->idr_lock); in ath12k_dp_rx_bufs_replenish()
337 spin_unlock_bh(&rx_ring->idr_lock); in ath12k_dp_rx_bufs_replenish()
371 spin_lock_bh(&rx_ring->idr_lock); in ath12k_dp_rx_bufs_replenish()
373 spin_unlock_bh(&rx_ring->idr_lock); in ath12k_dp_rx_bufs_replenish()
394 spin_lock_bh(&rx_ring->idr_lock); in ath12k_dp_rxdma_buf_ring_free()
406 spin_unlock_bh(&rx_ring->idr_lock); in ath12k_dp_rxdma_buf_ring_free()
4104 spin_lock_init(&dp->rx_refill_buf_ring.idr_lock); in ath12k_dp_rx_alloc()
4107 spin_lock_init(&dp->rxdma_mon_buf_ring.idr_lock); in ath12k_dp_rx_alloc()
4110 spin_lock_init(&dp->tx_mon_buf_ring.idr_lock); in ath12k_dp_rx_alloc()
/linux-6.6.21/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()
441 spin_lock_bh(&rx_ring->idr_lock); in ath11k_dp_rxdma_buf_ring_free()
453 spin_unlock_bh(&rx_ring->idr_lock); in ath11k_dp_rxdma_buf_ring_free()
2679 spin_lock_bh(&rx_ring->idr_lock); in ath11k_dp_process_rx()
2684 spin_unlock_bh(&rx_ring->idr_lock); in ath11k_dp_process_rx()
2689 spin_unlock_bh(&rx_ring->idr_lock); in ath11k_dp_process_rx()
2874 spin_lock_bh(&rx_ring->idr_lock); in ath11k_dp_rx_alloc_mon_status_buf()
[all …]
Ddbring.h45 spinlock_t idr_lock; member
Ddp.c899 spin_lock_init(&dp->rx_refill_buf_ring.idr_lock); in ath11k_dp_pdev_pre_alloc()
904 spin_lock_init(&dp->rx_mon_status_refill_ring[j].idr_lock); in ath11k_dp_pdev_pre_alloc()
907 spin_lock_init(&dp->rxdma_mon_buf_ring.idr_lock); in ath11k_dp_pdev_pre_alloc()
Ddp.h75 spinlock_t idr_lock; member
/linux-6.6.21/drivers/tty/
Drpmsg_tty.c25 static DEFINE_MUTEX(idr_lock); /* protects tty_idr */
141 mutex_lock(&idr_lock); in rpmsg_tty_alloc_cport()
143 mutex_unlock(&idr_lock); in rpmsg_tty_alloc_cport()
159 mutex_lock(&idr_lock); in rpmsg_tty_destruct_port()
161 mutex_unlock(&idr_lock); in rpmsg_tty_destruct_port()
/linux-6.6.21/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.6.21/drivers/accel/habanalabs/common/
Dmemory.c173 spin_lock(&vm->idr_lock); in alloc_device_memory()
176 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()
378 spin_unlock(&vm->idr_lock); in free_device_memory()
1119 spin_lock(&vm->idr_lock); in map_device_va()
1122 spin_unlock(&vm->idr_lock); in map_device_va()
1131 spin_unlock(&vm->idr_lock); in map_device_va()
1973 spin_lock(&vm->idr_lock); in get_phys_pg_pack_from_hash_node()
[all …]
/linux-6.6.21/drivers/gpu/drm/msm/
Dmsm_gem_submit.c83 spin_lock(&submit->queue->idr_lock); in __msm_gem_submit_destroy()
85 spin_unlock(&submit->queue->idr_lock); in __msm_gem_submit_destroy()
914 spin_lock(&queue->idr_lock); in msm_ioctl_gem_submit()
924 spin_unlock(&queue->idr_lock); in msm_ioctl_gem_submit()
959 spin_unlock(&queue->idr_lock); in msm_ioctl_gem_submit()
Dmsm_submitqueue.c203 spin_lock_init(&queue->idr_lock); in msm_submitqueue_create()
Dmsm_gpu.h513 struct spinlock idr_lock; member
Dmsm_drv.c936 spin_lock(&queue->idr_lock); in wait_fence()
940 spin_unlock(&queue->idr_lock); in wait_fence()
/linux-6.6.21/include/linux/
Didr.h101 #define idr_lock(idr) xa_lock(&(idr)->idr_rt) macro
Dfsnotify_backend.h239 spinlock_t idr_lock; member
/linux-6.6.21/drivers/net/ethernet/chelsio/inline_crypto/chtls/
Dchtls.h226 spinlock_t idr_lock ____cacheline_aligned_in_smp;
Dchtls_main.c275 spin_lock_init(&cdev->idr_lock); in chtls_uld_add()
/linux-6.6.21/net/sched/
Dcls_api.c953 spinlock_t idr_lock; /* Protects idr */ member
966 spin_lock(&tn->idr_lock); in tcf_block_insert()
969 spin_unlock(&tn->idr_lock); in tcf_block_insert()
979 spin_lock(&tn->idr_lock); in tcf_block_remove()
981 spin_unlock(&tn->idr_lock); in tcf_block_remove()
3949 spin_lock_init(&tn->idr_lock); in tcf_net_init()

12