Lines Matching refs:as_ctx
828 struct ceph_acl_sec_ctx as_ctx = {}; in ceph_mknod() local
839 err = ceph_pre_init_acls(dir, &mode, &as_ctx); in ceph_mknod()
842 err = ceph_security_init_secctx(dentry, mode, &as_ctx); in ceph_mknod()
861 if (as_ctx.pagelist) { in ceph_mknod()
862 req->r_pagelist = as_ctx.pagelist; in ceph_mknod()
863 as_ctx.pagelist = NULL; in ceph_mknod()
871 ceph_init_inode_acls(d_inode(dentry), &as_ctx); in ceph_mknod()
874 ceph_release_acl_sec_ctx(&as_ctx); in ceph_mknod()
890 struct ceph_acl_sec_ctx as_ctx = {}; in ceph_symlink() local
901 err = ceph_security_init_secctx(dentry, S_IFLNK | 0777, &as_ctx); in ceph_symlink()
930 ceph_release_acl_sec_ctx(&as_ctx); in ceph_symlink()
939 struct ceph_acl_sec_ctx as_ctx = {}; in ceph_mkdir() local
962 err = ceph_pre_init_acls(dir, &mode, &as_ctx); in ceph_mkdir()
965 err = ceph_security_init_secctx(dentry, mode, &as_ctx); in ceph_mkdir()
982 if (as_ctx.pagelist) { in ceph_mkdir()
983 req->r_pagelist = as_ctx.pagelist; in ceph_mkdir()
984 as_ctx.pagelist = NULL; in ceph_mkdir()
994 ceph_init_inode_acls(d_inode(dentry), &as_ctx); in ceph_mkdir()
997 ceph_release_acl_sec_ctx(&as_ctx); in ceph_mkdir()