Home
last modified time | relevance | path

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

/linux/drivers/md/
A Ddm-thin-metadata.c414 __acquires(pmd->root_lock) in pmd_write_lock_in_core()
427 __releases(pmd->root_lock) in pmd_write_unlock()
429 up_write(&pmd->root_lock); in pmd_write_unlock()
975 up_read(&pmd->root_lock); in dm_pool_metadata_close()
1294 up_read(&pmd->root_lock); in dm_pool_get_metadata_transaction_id()
1457 up_read(&pmd->root_lock); in dm_pool_get_metadata_snap()
1548 up_read(&pmd->root_lock); in dm_thin_find_block()
1627 up_read(&pmd->root_lock); in dm_thin_find_mapped_range()
1777 up_read(&pmd->root_lock); in dm_pool_block_is_shared()
1827 up_read(&pmd->root_lock); in dm_pool_changed_this_transaction()
[all …]
A Ddm-cache-metadata.c117 struct rw_semaphore root_lock; member
763 init_rwsem(&cmd->root_lock); in metadata_open()
998 down_write(&cmd->root_lock); in cmd_write_lock()
1000 up_write(&cmd->root_lock); in cmd_write_lock()
1019 up_write(&(cmd)->root_lock)
1023 down_read(&cmd->root_lock); in cmd_read_lock()
1025 up_read(&cmd->root_lock); in cmd_read_lock()
1044 up_read(&(cmd)->root_lock)
/linux/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()
1064 spinlock_t *root_lock; in dev_graft_qdisc() local
1067 spin_lock_bh(root_lock); in dev_graft_qdisc()
[all …]
A Dsch_teql.c150 spinlock_t *root_lock; in teql_destroy() local
155 root_lock = qdisc_root_sleeping_lock(rtnl_dereference(txq->qdisc)); in teql_destroy()
156 spin_lock_bh(root_lock); in teql_destroy()
158 spin_unlock_bh(root_lock); in teql_destroy()
A 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()
A 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()
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/include/net/
A Dpkt_sched.h125 spinlock_t *root_lock, bool validate);
/linux/net/core/
A Ddev.c3795 spinlock_t *root_lock = qdisc_lock(q); in __dev_xmit_skb() local
3844 spin_lock(root_lock); in __dev_xmit_skb()
3858 if (sch_direct_xmit(skb, q, dev, txq, root_lock, true)) { in __dev_xmit_skb()
3879 spin_unlock(root_lock); in __dev_xmit_skb()
5039 spinlock_t *root_lock = NULL; in net_tx_action() local
5049 root_lock = qdisc_lock(q); in net_tx_action()
5050 spin_lock(root_lock); in net_tx_action()
5067 if (root_lock) in net_tx_action()
5068 spin_unlock(root_lock); in net_tx_action()
/linux/fs/btrfs/
A Dctree.c1573 int root_lock; in btrfs_search_slot_get_root() local
1577 root_lock = BTRFS_READ_LOCK; in btrfs_search_slot_get_root()
1636 root_lock = BTRFS_WRITE_LOCK; in btrfs_search_slot_get_root()
1644 p->locks[level] = root_lock; in btrfs_search_slot_get_root()

Completed in 49 milliseconds