Home
last modified time | relevance | path

Searched refs:magic (Results 1 – 3 of 3) sorted by relevance

/security/
Dcommoncap.c384 u32 nsmagic, magic; in cap_inode_getsecurity() local
440 magic = le32_to_cpu(cap->magic_etc); in cap_inode_getsecurity()
441 if (magic & VFS_CAP_FLAGS_EFFECTIVE) in cap_inode_getsecurity()
470 magic = VFS_CAP_REVISION_2; in cap_inode_getsecurity()
473 magic |= VFS_CAP_FLAGS_EFFECTIVE; in cap_inode_getsecurity()
475 cap->magic_etc = cpu_to_le32(magic); in cap_inode_getsecurity()
548 __u32 magic, nsmagic; in cap_convert_nscap() local
580 magic = le32_to_cpu(cap->magic_etc); in cap_convert_nscap()
581 if (magic & VFS_CAP_FLAGS_EFFECTIVE) in cap_convert_nscap()
/security/keys/
Dinternal.h376 if (key && (IS_ERR(key) || key->magic != KEY_DEBUG_MAGIC)) in key_check()
Dkey.c42 key, key->magic, KEY_DEBUG_MAGIC); in __key_check()
311 key->magic = KEY_DEBUG_MAGIC; in key_alloc()