Searched refs:devtree_lock (Results 1 - 6 of 6) sorted by relevance

/linux-4.1.27/arch/sparc/kernel/
H A Dprom_common.c68 raw_spin_lock_irqsave(&devtree_lock, flags); of_set_property()
95 raw_spin_unlock_irqrestore(&devtree_lock, flags); of_set_property()
/linux-4.1.27/drivers/of/
H A Dbase.c55 DEFINE_RAW_SPINLOCK(devtree_lock); variable
239 raw_spin_lock_irqsave(&devtree_lock, flags); of_find_property()
241 raw_spin_unlock_irqrestore(&devtree_lock, flags); of_find_property()
277 raw_spin_lock_irqsave(&devtree_lock, flags); of_find_all_nodes()
281 raw_spin_unlock_irqrestore(&devtree_lock, flags); of_find_all_nodes()
491 raw_spin_lock_irqsave(&devtree_lock, flags); of_device_is_compatible()
493 raw_spin_unlock_irqrestore(&devtree_lock, flags); of_device_is_compatible()
560 raw_spin_lock_irqsave(&devtree_lock, flags); of_device_is_available()
562 raw_spin_unlock_irqrestore(&devtree_lock, flags); of_device_is_available()
606 raw_spin_lock_irqsave(&devtree_lock, flags); of_get_parent()
608 raw_spin_unlock_irqrestore(&devtree_lock, flags); of_get_parent()
632 raw_spin_lock_irqsave(&devtree_lock, flags); of_get_next_parent()
635 raw_spin_unlock_irqrestore(&devtree_lock, flags); of_get_next_parent()
674 raw_spin_lock_irqsave(&devtree_lock, flags); of_get_next_child()
676 raw_spin_unlock_irqrestore(&devtree_lock, flags); of_get_next_child()
698 raw_spin_lock_irqsave(&devtree_lock, flags); of_get_next_available_child()
707 raw_spin_unlock_irqrestore(&devtree_lock, flags); of_get_next_available_child()
812 raw_spin_lock_irqsave(&devtree_lock, flags);
822 raw_spin_unlock_irqrestore(&devtree_lock, flags);
844 raw_spin_lock_irqsave(&devtree_lock, flags); of_find_node_by_name()
850 raw_spin_unlock_irqrestore(&devtree_lock, flags); of_find_node_by_name()
873 raw_spin_lock_irqsave(&devtree_lock, flags); of_find_node_by_type()
879 raw_spin_unlock_irqrestore(&devtree_lock, flags); of_find_node_by_type()
904 raw_spin_lock_irqsave(&devtree_lock, flags); of_find_compatible_node()
910 raw_spin_unlock_irqrestore(&devtree_lock, flags); of_find_compatible_node()
934 raw_spin_lock_irqsave(&devtree_lock, flags); for_each_of_allnodes_from()
945 raw_spin_unlock_irqrestore(&devtree_lock, flags);
985 raw_spin_lock_irqsave(&devtree_lock, flags); of_match_node()
987 raw_spin_unlock_irqrestore(&devtree_lock, flags); of_match_node()
1016 raw_spin_lock_irqsave(&devtree_lock, flags); for_each_of_allnodes_from()
1026 raw_spin_unlock_irqrestore(&devtree_lock, flags);
1073 raw_spin_lock_irqsave(&devtree_lock, flags); of_find_node_by_phandle()
1078 raw_spin_unlock_irqrestore(&devtree_lock, flags); of_find_node_by_phandle()
1725 raw_spin_lock_irqsave(&devtree_lock, flags); of_add_property()
1727 raw_spin_unlock_irqrestore(&devtree_lock, flags); of_add_property()
1784 raw_spin_lock_irqsave(&devtree_lock, flags); of_remove_property()
1786 raw_spin_unlock_irqrestore(&devtree_lock, flags); of_remove_property()
1860 raw_spin_lock_irqsave(&devtree_lock, flags); of_update_property()
1862 raw_spin_unlock_irqrestore(&devtree_lock, flags); of_update_property()
H A Ddynamic.c250 raw_spin_lock_irqsave(&devtree_lock, flags); of_attach_node()
252 raw_spin_unlock_irqrestore(&devtree_lock, flags); of_attach_node()
303 raw_spin_lock_irqsave(&devtree_lock, flags); of_detach_node()
305 raw_spin_unlock_irqrestore(&devtree_lock, flags); of_detach_node()
545 raw_spin_lock_irqsave(&devtree_lock, flags); __of_changeset_entry_apply()
602 raw_spin_unlock_irqrestore(&devtree_lock, flags); __of_changeset_entry_apply()
H A Dresolver.c60 raw_spin_lock_irqsave(&devtree_lock, flags); of_get_tree_max_phandle()
67 raw_spin_unlock_irqrestore(&devtree_lock, flags);
H A Dunittest.c861 raw_spin_lock_irqsave(&devtree_lock, flags); attach_node_and_children()
865 raw_spin_unlock_irqrestore(&devtree_lock, flags); attach_node_and_children()
/linux-4.1.27/include/linux/
H A Dof.h121 extern raw_spinlock_t devtree_lock; of_node_put()

Completed in 157 milliseconds