/kernel/linux/linux-5.10/fs/notify/inotify/ |
D | inotify_user.c | 310 spin_lock(&data->idr_lock); in inotify_ioctl() 312 spin_unlock(&data->idr_lock); in inotify_ioctl() 359 static int inotify_add_to_idr(struct idr *idr, spinlock_t *idr_lock, in inotify_add_to_idr() argument 365 spin_lock(idr_lock); in inotify_add_to_idr() 374 spin_unlock(idr_lock); in inotify_add_to_idr() 383 spinlock_t *idr_lock = &group->inotify_data.idr_lock; in inotify_idr_find_locked() local 386 assert_spin_locked(idr_lock); in inotify_idr_find_locked() 404 spinlock_t *idr_lock = &group->inotify_data.idr_lock; in inotify_idr_find() local 406 spin_lock(idr_lock); in inotify_idr_find() 408 spin_unlock(idr_lock); in inotify_idr_find() [all …]
|
/kernel/linux/linux-5.10/drivers/rpmsg/ |
D | qcom_glink_native.c | 115 spinlock_t idr_lock; member 383 spin_lock_irqsave(&glink->idr_lock, flags); in qcom_glink_handle_intent_req_ack() 385 spin_unlock_irqrestore(&glink->idr_lock, flags); in qcom_glink_handle_intent_req_ack() 419 spin_lock_irqsave(&glink->idr_lock, flags); in qcom_glink_send_open_req() 423 spin_unlock_irqrestore(&glink->idr_lock, flags); in qcom_glink_send_open_req() 441 spin_lock_irqsave(&glink->idr_lock, flags); in qcom_glink_send_open_req() 444 spin_unlock_irqrestore(&glink->idr_lock, flags); in qcom_glink_send_open_req() 698 spin_lock_irqsave(&glink->idr_lock, flags); in qcom_glink_handle_rx_done() 700 spin_unlock_irqrestore(&glink->idr_lock, flags); in qcom_glink_handle_rx_done() 741 spin_lock_irqsave(&glink->idr_lock, flags); in qcom_glink_handle_intent_req() [all …]
|
/kernel/linux/linux-5.10/drivers/char/tpm/ |
D | tpm-chip.c | 29 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 …]
|
/kernel/linux/linux-5.10/fs/hmdfs/comm/ |
D | connection.h | 166 spinlock_t idr_lock; member 340 spin_lock(&peer->idr_lock); in hmdfs_start_process_offline() 342 spin_unlock(&peer->idr_lock); in hmdfs_start_process_offline() 347 spin_lock(&peer->idr_lock); in hmdfs_stop_process_offline() 349 spin_unlock(&peer->idr_lock); in hmdfs_stop_process_offline() 354 spin_lock(&peer->idr_lock); in hmdfs_dec_msg_idr_process() 356 spin_unlock(&peer->idr_lock); in hmdfs_dec_msg_idr_process()
|
D | connection.c | 924 spin_lock(&node->idr_lock); in hmdfs_disconnect_node() 926 spin_unlock(&node->idr_lock); in hmdfs_disconnect_node() 929 spin_lock(&node->idr_lock); in hmdfs_disconnect_node() 931 spin_unlock(&node->idr_lock); in hmdfs_disconnect_node() 1146 spin_lock_init(&node->idr_lock); in alloc_peer() 1265 spin_unlock(&con->idr_lock); in head_release() 1272 kref_put_lock(&head->ref, head_release, &head->peer->idr_lock); in head_put() 1279 spin_lock(&peer->idr_lock); in hmdfs_find_msg_head() 1283 spin_unlock(&peer->idr_lock); in hmdfs_find_msg_head() 1296 spin_lock(&peer->idr_lock); in hmdfs_alloc_msg_idr() [all …]
|
D | socket_adapter.c | 79 spin_unlock(&con->idr_lock); in msg_release() 91 &msg_wq->head.peer->idr_lock); in msg_put() 245 spin_unlock(&peer->idr_lock); in mp_release() 254 kref_put_lock(&mp->head.ref, mp_release, &mp->head.peer->idr_lock); in mp_put() 612 spin_unlock(&peer->idr_lock); in asw_release() 618 kref_put_lock(&asw->head.ref, asw_release, &asw->head.peer->idr_lock); in asw_put()
|
/kernel/linux/linux-5.10/net/tipc/ |
D | topsrv.c | 68 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() 205 spin_unlock_bh(&s->idr_lock); in tipc_conn_alloc() 217 spin_lock_bh(&s->idr_lock); in tipc_conn_lookup() 221 spin_unlock_bh(&s->idr_lock); in tipc_conn_lookup() 661 spin_lock_init(&srv->idr_lock); in tipc_topsrv_start() 689 spin_lock_bh(&srv->idr_lock); in tipc_topsrv_stop() [all …]
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/ |
D | dbring.c | 36 spin_lock_bh(&ring->idr_lock); in ath11k_dbring_bufs_replenish() 38 spin_unlock_bh(&ring->idr_lock); in ath11k_dbring_bufs_replenish() 62 spin_lock_bh(&ring->idr_lock); in ath11k_dbring_bufs_replenish() 64 spin_unlock_bh(&ring->idr_lock); in ath11k_dbring_bufs_replenish() 301 spin_lock_bh(&ring->idr_lock); in ath11k_dbring_buffer_release_event() 304 spin_unlock_bh(&ring->idr_lock); in ath11k_dbring_buffer_release_event() 308 spin_unlock_bh(&ring->idr_lock); in ath11k_dbring_buffer_release_event() 344 spin_lock_bh(&ring->idr_lock); in ath11k_dbring_buf_cleanup() 353 spin_unlock_bh(&ring->idr_lock); in ath11k_dbring_buf_cleanup()
|
D | dp_rx.c | 326 spin_lock_bh(&rx_ring->idr_lock); in ath11k_dp_rxbufs_replenish() 329 spin_unlock_bh(&rx_ring->idr_lock); in ath11k_dp_rxbufs_replenish() 354 spin_lock_bh(&rx_ring->idr_lock); in ath11k_dp_rxbufs_replenish() 356 spin_unlock_bh(&rx_ring->idr_lock); in ath11k_dp_rxbufs_replenish() 377 spin_lock_bh(&rx_ring->idr_lock); in ath11k_dp_rxdma_buf_ring_free() 389 spin_unlock_bh(&rx_ring->idr_lock); in ath11k_dp_rxdma_buf_ring_free() 399 spin_lock_bh(&rx_ring->idr_lock); in ath11k_dp_rxdma_buf_ring_free() 411 spin_unlock_bh(&rx_ring->idr_lock); in ath11k_dp_rxdma_buf_ring_free() 2569 spin_lock_bh(&rx_ring->idr_lock); in ath11k_dp_process_rx() 2574 spin_unlock_bh(&rx_ring->idr_lock); in ath11k_dp_process_rx() [all …]
|
D | dbring.h | 45 spinlock_t idr_lock; member
|
D | dp.c | 875 spin_lock_init(&dp->rx_refill_buf_ring.idr_lock); in ath11k_dp_pdev_pre_alloc() 880 spin_lock_init(&dp->rx_mon_status_refill_ring[j].idr_lock); in ath11k_dp_pdev_pre_alloc() 883 spin_lock_init(&dp->rxdma_mon_buf_ring.idr_lock); in ath11k_dp_pdev_pre_alloc()
|
D | dp.h | 72 spinlock_t idr_lock; member
|
D | spectral.c | 979 spin_lock_init(&sp->rx_ring.idr_lock); in ath11k_spectral_init()
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/drivers/misc/habanalabs/common/ |
D | memory.c | 125 spin_lock(&vm->idr_lock); in alloc_device_memory() 128 spin_unlock(&vm->idr_lock); in alloc_device_memory() 311 spin_lock(&vm->idr_lock); in free_device_memory() 317 spin_unlock(&vm->idr_lock); in free_device_memory() 327 spin_unlock(&vm->idr_lock); in free_device_memory() 334 spin_unlock(&vm->idr_lock); in free_device_memory() 817 spin_lock(&vm->idr_lock); in get_paddr_from_handle() 820 spin_unlock(&vm->idr_lock); in get_paddr_from_handle() 827 spin_unlock(&vm->idr_lock); in get_paddr_from_handle() 912 spin_lock(&vm->idr_lock); in map_device_va() [all …]
|
D | debugfs.c | 272 spin_lock(&vm->idr_lock); in vm_show() 291 spin_unlock(&vm->idr_lock); in vm_show()
|
D | habanalabs.h | 1145 spinlock_t idr_lock; member
|
/kernel/linux/linux-5.10/include/linux/ |
D | idr.h | 101 #define idr_lock(idr) xa_lock(&(idr)->idr_rt) macro
|
D | fsnotify_backend.h | 230 spinlock_t idr_lock; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
D | chtls.h | 224 spinlock_t idr_lock ____cacheline_aligned_in_smp;
|
D | chtls_main.c | 275 spin_lock_init(&cdev->idr_lock); in chtls_uld_add()
|
/kernel/linux/linux-5.10/fs/hmdfs/ |
D | hmdfs_client.c | 1027 spin_lock(&peer->idr_lock); in hmdfs_get_msg_next() 1032 spin_unlock(&peer->idr_lock); in hmdfs_get_msg_next()
|
/kernel/linux/linux-5.10/net/sched/ |
D | cls_api.c | 829 spinlock_t idr_lock; /* Protects idr */ member 842 spin_lock(&tn->idr_lock); in tcf_block_insert() 845 spin_unlock(&tn->idr_lock); in tcf_block_insert() 855 spin_lock(&tn->idr_lock); in tcf_block_remove() 857 spin_unlock(&tn->idr_lock); in tcf_block_remove() 3883 spin_lock_init(&tn->idr_lock); in tcf_net_init()
|