Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/notify/inotify/
Dinotify_user.c310 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/
Dqcom_glink_native.c115 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/
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 …]
/kernel/linux/linux-5.10/fs/hmdfs/comm/
Dconnection.h166 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()
Dconnection.c924 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 …]
Dsocket_adapter.c79 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/
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()
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/
Ddbring.c36 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()
Ddp_rx.c326 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 …]
Ddbring.h45 spinlock_t idr_lock; member
Ddp.c875 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()
Ddp.h72 spinlock_t idr_lock; member
Dspectral.c979 spin_lock_init(&sp->rx_ring.idr_lock); in ath11k_spectral_init()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/misc/habanalabs/common/
Dmemory.c125 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 …]
Ddebugfs.c272 spin_lock(&vm->idr_lock); in vm_show()
291 spin_unlock(&vm->idr_lock); in vm_show()
Dhabanalabs.h1145 spinlock_t idr_lock; member
/kernel/linux/linux-5.10/include/linux/
Didr.h101 #define idr_lock(idr) xa_lock(&(idr)->idr_rt) macro
Dfsnotify_backend.h230 spinlock_t idr_lock; member
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/inline_crypto/chtls/
Dchtls.h224 spinlock_t idr_lock ____cacheline_aligned_in_smp;
Dchtls_main.c275 spin_lock_init(&cdev->idr_lock); in chtls_uld_add()
/kernel/linux/linux-5.10/fs/hmdfs/
Dhmdfs_client.c1027 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/
Dcls_api.c829 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()