Searched refs:i_security (Results 1 – 11 of 11) sorted by relevance
35 if (unlikely(!inode->i_security)) in bpf_inode()38 return inode->i_security + bpf_lsm_blob_sizes.lbs_inode; in bpf_inode()
595 void *i_security; member
164 if (unlikely(!inode->i_security)) in selinux_inode()166 return inode->i_security + selinux_blob_sizes.lbs_inode; in selinux_inode()
56 return inode->i_security + landlock_blob_sizes.lbs_inode; in landlock_inode()
55 #define SOCK_ctx(X) SOCK_INODE(X)->i_security
347 return inode->i_security + smack_blob_sizes.lbs_inode; in smack_inode()
770 if (inode->i_security == NULL) { in smack_set_mnt_opts()
590 inode->i_security = NULL; in lsm_inode_alloc()594 inode->i_security = kmem_cache_zalloc(lsm_inode_cache, GFP_NOFS); in lsm_inode_alloc()595 if (inode->i_security == NULL) in lsm_inode_alloc()1055 if (inode->i_security) in security_inode_free()1056 call_rcu((struct rcu_head *)inode->i_security, in security_inode_free()
1303 return in->i_security != NULL; in ceph_security_xattr_wanted()1310 if (!in->i_security) in ceph_security_xattr_deadlock()
363 if ((fattr->valid & NFS_ATTR_FATTR_V4_SECURITY_LABEL) && inode->i_security) { in nfs_setsecurity()
6270 if (dir->i_security) in btrfs_new_inode_prepare()