Home
last modified time | relevance | path

Searched refs:root_lock (Results 1 – 12 of 12) sorted by relevance

/linux-6.3-rc2/drivers/md/
A Ddm-thin-metadata.c420 __acquires(pmd->root_lock) in pmd_write_lock_in_core()
433 __releases(pmd->root_lock) in pmd_write_unlock()
435 up_write(&pmd->root_lock); in pmd_write_unlock()
992 up_read(&pmd->root_lock); in dm_pool_metadata_close()
1311 up_read(&pmd->root_lock); in dm_pool_get_metadata_transaction_id()
1474 up_read(&pmd->root_lock); in dm_pool_get_metadata_snap()
1565 up_read(&pmd->root_lock); in dm_thin_find_block()
1644 up_read(&pmd->root_lock); in dm_thin_find_mapped_range()
1766 up_read(&pmd->root_lock); in dm_pool_block_is_shared()
1816 up_read(&pmd->root_lock); in dm_pool_changed_this_transaction()
[all …]
A Ddm-cache-metadata.c118 struct rw_semaphore root_lock; member
771 init_rwsem(&cmd->root_lock); in metadata_open()
1006 down_write(&cmd->root_lock); in cmd_write_lock()
1008 up_write(&cmd->root_lock); in cmd_write_lock()
1027 up_write(&(cmd)->root_lock)
1031 down_read(&cmd->root_lock); in cmd_read_lock()
1033 up_read(&cmd->root_lock); in cmd_read_lock()
1052 up_read(&(cmd)->root_lock)
/linux-6.3-rc2/net/sched/
A Dsch_generic.c322 if (root_lock) in sch_direct_xmit()
323 spin_unlock(root_lock); in sch_direct_xmit()
331 if (root_lock) in sch_direct_xmit()
332 spin_lock(root_lock); in sch_direct_xmit()
348 if (root_lock) in sch_direct_xmit()
349 spin_lock(root_lock); in sch_direct_xmit()
353 if (root_lock) in sch_direct_xmit()
354 spin_lock(root_lock); in sch_direct_xmit()
1107 spinlock_t *root_lock; in dev_graft_qdisc() local
1110 spin_lock_bh(root_lock); in dev_graft_qdisc()
[all …]
A Dsch_teql.c149 spinlock_t *root_lock; in teql_destroy() local
154 root_lock = qdisc_root_sleeping_lock(rtnl_dereference(txq->qdisc)); in teql_destroy()
155 spin_lock_bh(root_lock); in teql_destroy()
157 spin_unlock_bh(root_lock); in teql_destroy()
A Dsch_fq_pie.c373 spinlock_t *root_lock; /* to lock qdisc for probability calculations */ in fq_pie_timer() local
376 root_lock = qdisc_lock(qdisc_root_sleeping(sch)); in fq_pie_timer()
377 spin_lock(root_lock); in fq_pie_timer()
387 spin_unlock(root_lock); in fq_pie_timer()
A Dsch_pie.c424 spinlock_t *root_lock = qdisc_lock(qdisc_root_sleeping(sch)); in pie_timer() local
426 spin_lock(root_lock); in pie_timer()
432 spin_unlock(root_lock); in pie_timer()
A Dsch_red.c324 spinlock_t *root_lock = qdisc_lock(qdisc_root_sleeping(sch)); in red_adaptative_timer() local
326 spin_lock(root_lock); in red_adaptative_timer()
329 spin_unlock(root_lock); in red_adaptative_timer()
A Dsch_netem.c781 spinlock_t *root_lock; in get_dist_table() local
796 root_lock = qdisc_root_sleeping_lock(sch); in get_dist_table()
798 spin_lock_bh(root_lock); in get_dist_table()
800 spin_unlock_bh(root_lock); in get_dist_table()
A Dsch_sfq.c609 spinlock_t *root_lock = qdisc_lock(qdisc_root_sleeping(sch)); in sfq_perturbation() local
613 spin_lock(root_lock); in sfq_perturbation()
617 spin_unlock(root_lock); in sfq_perturbation()
/linux-6.3-rc2/include/net/
A Dpkt_sched.h119 spinlock_t *root_lock, bool validate);
/linux-6.3-rc2/fs/btrfs/
A Dctree.c1735 int root_lock = 0; in btrfs_search_slot_get_root() local
1758 root_lock = BTRFS_READ_LOCK; in btrfs_search_slot_get_root()
1786 root_lock = BTRFS_WRITE_LOCK; in btrfs_search_slot_get_root()
1797 if (root_lock) in btrfs_search_slot_get_root()
1798 btrfs_tree_unlock_rw(b, root_lock); in btrfs_search_slot_get_root()
1805 p->locks[level] = root_lock; in btrfs_search_slot_get_root()
/linux-6.3-rc2/net/core/
A Ddev.c3785 spinlock_t *root_lock = qdisc_lock(q); in __dev_xmit_skb() local
3839 spin_lock(root_lock); in __dev_xmit_skb()
3853 if (sch_direct_xmit(skb, q, dev, txq, root_lock, true)) { in __dev_xmit_skb()
3874 spin_unlock(root_lock); in __dev_xmit_skb()
5049 spinlock_t *root_lock = NULL; in net_tx_action() local
5059 root_lock = qdisc_lock(q); in net_tx_action()
5060 spin_lock(root_lock); in net_tx_action()
5077 if (root_lock) in net_tx_action()
5078 spin_unlock(root_lock); in net_tx_action()

Completed in 54 milliseconds