• Home
  • Raw
  • Download

Lines Matching refs:lock

79 	lockdep_assert_held_write(&labels_set(orig)->lock);  in __aa_proxy_redirect()
82 &labels_ns(orig)->lock); in __aa_proxy_redirect()
569 lockdep_assert_held_write(&ls->lock); in __label_remove()
606 lockdep_assert_held_write(&ls->lock); in __label_replace()
643 lockdep_assert_held_write(&ls->lock); in __label_insert()
750 write_lock_irqsave(&ls->lock, flags); in aa_label_remove()
752 write_unlock_irqrestore(&ls->lock, flags); in aa_label_remove()
771 write_lock_irqsave(&labels_set(old)->lock, flags); in aa_label_replace()
777 write_unlock_irqrestore(&labels_set(old)->lock, flags); in aa_label_replace()
782 write_lock_irqsave(&ls->lock, flags); in aa_label_replace()
785 write_unlock_irqrestore(&ls->lock, flags); in aa_label_replace()
787 write_lock_irqsave(&ls->lock, flags); in aa_label_replace()
791 write_unlock_irqrestore(&ls->lock, flags); in aa_label_replace()
817 read_lock_irqsave(&ls->lock, flags); in vec_find()
819 read_unlock_irqrestore(&ls->lock, flags); in vec_find()
851 write_lock_irqsave(&ls->lock, flags); in vec_create_and_insert_label()
853 write_unlock_irqrestore(&ls->lock, flags); in vec_create_and_insert_label()
908 read_lock_irqsave(&ls->lock, flags); in aa_label_insert()
910 read_unlock_irqrestore(&ls->lock, flags); in aa_label_insert()
915 write_lock_irqsave(&ls->lock, flags); in aa_label_insert()
917 write_unlock_irqrestore(&ls->lock, flags); in aa_label_insert()
1076 write_lock_irqsave(&ls->lock, flags); in label_merge_insert()
1078 write_unlock_irqrestore(&ls->lock, flags); in label_merge_insert()
1167 read_lock_irqsave(&ls->lock, flags); in aa_label_find_merge()
1169 read_unlock_irqrestore(&ls->lock, flags); in aa_label_find_merge()
1433 write_lock_irqsave(&ls->lock, flags); in aa_update_label_name()
1439 write_unlock_irqrestore(&ls->lock, flags); in aa_update_label_name()
1959 write_lock_irqsave(&ls->lock, flags); in aa_labelset_destroy()
1969 write_unlock_irqrestore(&ls->lock, flags); in aa_labelset_destroy()
1979 rwlock_init(&ls->lock); in aa_labelset_init()
1991 read_lock_irqsave(&ls->lock, flags); in labelset_next_stale()
2004 read_unlock_irqrestore(&ls->lock, flags); in labelset_next_stale()
2029 AA_BUG(!mutex_is_locked(&labels_ns(label)->lock)); in __label_update()
2040 write_lock_irqsave(&ls->lock, flags); in __label_update()
2062 write_unlock_irqrestore(&ls->lock, flags); in __label_update()
2064 write_lock_irqsave(&ls->lock, flags); in __label_update()
2074 write_unlock_irqrestore(&ls->lock, flags); in __label_update()
2098 AA_BUG(!mutex_is_locked(&ns->lock)); in __labelset_update()
2124 AA_BUG(!mutex_is_locked(&ns->lock)); in __aa_labelset_update_subtree()
2129 mutex_lock_nested(&child->lock, child->level); in __aa_labelset_update_subtree()
2131 mutex_unlock(&child->lock); in __aa_labelset_update_subtree()