Searched defs:lock (Results 1 - 6 of 6) sorted by relevance

/security/selinux/ss/
H A Dsidtab.h31 spinlock_t lock; member in struct:sidtab
/security/keys/
H A Dinternal.h52 struct mutex cons_lock; /* construction initiation lock */
53 spinlock_t lock; member in struct:key_user
H A Dtrusted.c738 unsigned long lock; local
785 res = kstrtoul(args[0].from, 10, &lock);
788 opt->pcrlock = lock;
/security/selinux/include/
H A Dobjsec.h50 struct mutex lock; member in struct:inode_security_struct
67 struct mutex lock; member in struct:superblock_security_struct
/security/apparmor/include/
H A Dpolicy.h108 * @lock: lock for modifying the object
133 struct mutex lock; member in struct:aa_namespace
161 * @base - base components of the profile (name, refcount, lists, lock ...)
189 * The @replacedby struct is write protected by the profile lock.
263 mutex_is_locked(&p->ns->lock));
359 /* requires profile list write lock held */
365 mutex_is_locked(&orig->ns->lock));
/security/selinux/
H A Davc.c63 spinlock_t slots_lock[AVC_CACHE_SLOTS]; /* lock for writes */
530 spinlock_t *lock; local
535 lock = &avc_cache.slots_lock[hvalue];
537 if (!spin_trylock_irqsave(lock, flags))
547 spin_unlock_irqrestore(lock, flags);
552 spin_unlock_irqrestore(lock, flags);
684 spinlock_t *lock; local
695 lock = &avc_cache.slots_lock[hvalue];
697 spin_lock_irqsave(lock, flag);
708 spin_unlock_irqrestore(lock, fla
843 spinlock_t *lock; local
929 spinlock_t *lock; local
[all...]

Completed in 406 milliseconds