Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/md/
Ddm-thin-metadata.c182 struct rw_semaphore root_lock; member
391 __acquires(pmd->root_lock) in pmd_write_lock_in_core()
393 down_write(&pmd->root_lock); in pmd_write_lock_in_core()
404 __releases(pmd->root_lock) in pmd_write_unlock()
406 up_write(&pmd->root_lock); in pmd_write_unlock()
848 BUG_ON(!rwsem_is_locked(&pmd->root_lock)); in __commit_transaction()
920 init_rwsem(&pmd->root_lock); in dm_pool_metadata_open()
954 down_read(&pmd->root_lock); in dm_pool_metadata_close()
963 up_read(&pmd->root_lock); in dm_pool_metadata_close()
1277 down_read(&pmd->root_lock); in dm_pool_get_metadata_transaction_id()
[all …]
Ddm-cache-metadata.c117 struct rw_semaphore root_lock; member
765 init_rwsem(&cmd->root_lock); in metadata_open()
1000 down_write(&cmd->root_lock); in cmd_write_lock()
1002 up_write(&cmd->root_lock); in cmd_write_lock()
1021 up_write(&(cmd)->root_lock)
1025 down_read(&cmd->root_lock); in cmd_read_lock()
1027 up_read(&cmd->root_lock); in cmd_read_lock()
1046 up_read(&(cmd)->root_lock)
/kernel/linux/linux-5.10/net/sched/
Dsch_generic.c310 spinlock_t *root_lock, bool validate) in sch_direct_xmit() argument
316 if (root_lock) in sch_direct_xmit()
317 spin_unlock(root_lock); in sch_direct_xmit()
325 if (root_lock) in sch_direct_xmit()
326 spin_lock(root_lock); in sch_direct_xmit()
342 if (root_lock) in sch_direct_xmit()
343 spin_lock(root_lock); in sch_direct_xmit()
347 if (root_lock) in sch_direct_xmit()
348 spin_lock(root_lock); in sch_direct_xmit()
384 spinlock_t *root_lock = NULL; in qdisc_restart() local
[all …]
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()
Dsch_fq_pie.c376 spinlock_t *root_lock; /* to lock qdisc for probability calculations */ in fq_pie_timer() local
379 root_lock = qdisc_lock(qdisc_root_sleeping(sch)); in fq_pie_timer()
380 spin_lock(root_lock); in fq_pie_timer()
390 spin_unlock(root_lock); in fq_pie_timer()
Dsch_pie.c427 spinlock_t *root_lock = qdisc_lock(qdisc_root_sleeping(sch)); in pie_timer() local
429 spin_lock(root_lock); in pie_timer()
435 spin_unlock(root_lock); in pie_timer()
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()
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()
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()
/kernel/linux/linux-5.10/include/net/
Dpkt_sched.h120 spinlock_t *root_lock, bool validate);
/kernel/linux/linux-5.10/fs/btrfs/
Dctree.c2592 int root_lock = 0; in btrfs_search_slot_get_root() local
2633 root_lock = BTRFS_READ_LOCK; in btrfs_search_slot_get_root()
2655 root_lock = BTRFS_WRITE_LOCK; in btrfs_search_slot_get_root()
2666 if (root_lock) in btrfs_search_slot_get_root()
2667 btrfs_tree_unlock_rw(b, root_lock); in btrfs_search_slot_get_root()
2674 p->locks[level] = root_lock; in btrfs_search_slot_get_root()
/kernel/linux/linux-5.10/net/core/
Ddev.c3770 spinlock_t *root_lock = qdisc_lock(q); in __dev_xmit_skb() local
3797 spin_lock(root_lock); in __dev_xmit_skb()
3811 if (sch_direct_xmit(skb, q, dev, txq, root_lock, true)) { in __dev_xmit_skb()
3832 spin_unlock(root_lock); in __dev_xmit_skb()
4935 spinlock_t *root_lock = NULL; in net_tx_action() local
4945 root_lock = qdisc_lock(q); in net_tx_action()
4946 spin_lock(root_lock); in net_tx_action()
4963 if (root_lock) in net_tx_action()
4964 spin_unlock(root_lock); in net_tx_action()