/linux-6.6.21/fs/notify/inotify/ |
D | inotify_user.c | 346 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/ |
D | qcom_glink_native.c | 108 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/ |
D | topsrv.c | 69 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/ |
D | tpm-chip.c | 29 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/ |
D | dbring.c | 38 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()
|
D | dbring.h | 46 spinlock_t idr_lock; member
|
D | dp_mon.c | 811 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 …]
|
D | dp_rx.c | 334 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/ |
D | dbring.c | 67 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()
|
D | dp_rx.c | 391 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 …]
|
D | dbring.h | 45 spinlock_t idr_lock; member
|
D | dp.c | 899 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()
|
D | dp.h | 75 spinlock_t idr_lock; member
|
/linux-6.6.21/drivers/tty/ |
D | rpmsg_tty.c | 25 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/ |
D | rio_cm.c | 230 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/ |
D | memory.c | 173 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/ |
D | msm_gem_submit.c | 83 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()
|
D | msm_submitqueue.c | 203 spin_lock_init(&queue->idr_lock); in msm_submitqueue_create()
|
D | msm_gpu.h | 513 struct spinlock idr_lock; member
|
D | msm_drv.c | 936 spin_lock(&queue->idr_lock); in wait_fence() 940 spin_unlock(&queue->idr_lock); in wait_fence()
|
/linux-6.6.21/include/linux/ |
D | idr.h | 101 #define idr_lock(idr) xa_lock(&(idr)->idr_rt) macro
|
D | fsnotify_backend.h | 239 spinlock_t idr_lock; member
|
/linux-6.6.21/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
D | chtls.h | 226 spinlock_t idr_lock ____cacheline_aligned_in_smp;
|
D | chtls_main.c | 275 spin_lock_init(&cdev->idr_lock); in chtls_uld_add()
|
/linux-6.6.21/net/sched/ |
D | cls_api.c | 953 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()
|