Lines Matching refs:as_ctx
831 struct ceph_acl_sec_ctx as_ctx = {}; in ceph_mknod() local
842 err = ceph_pre_init_acls(dir, &mode, &as_ctx); in ceph_mknod()
845 err = ceph_security_init_secctx(dentry, mode, &as_ctx); in ceph_mknod()
864 if (as_ctx.pagelist) { in ceph_mknod()
865 req->r_pagelist = as_ctx.pagelist; in ceph_mknod()
866 as_ctx.pagelist = NULL; in ceph_mknod()
874 ceph_init_inode_acls(d_inode(dentry), &as_ctx); in ceph_mknod()
877 ceph_release_acl_sec_ctx(&as_ctx); in ceph_mknod()
892 struct ceph_acl_sec_ctx as_ctx = {}; in ceph_symlink() local
903 err = ceph_security_init_secctx(dentry, S_IFLNK | 0777, &as_ctx); in ceph_symlink()
925 if (as_ctx.pagelist) { in ceph_symlink()
926 req->r_pagelist = as_ctx.pagelist; in ceph_symlink()
927 as_ctx.pagelist = NULL; in ceph_symlink()
936 ceph_release_acl_sec_ctx(&as_ctx); in ceph_symlink()
944 struct ceph_acl_sec_ctx as_ctx = {}; in ceph_mkdir() local
967 err = ceph_pre_init_acls(dir, &mode, &as_ctx); in ceph_mkdir()
970 err = ceph_security_init_secctx(dentry, mode, &as_ctx); in ceph_mkdir()
987 if (as_ctx.pagelist) { in ceph_mkdir()
988 req->r_pagelist = as_ctx.pagelist; in ceph_mkdir()
989 as_ctx.pagelist = NULL; in ceph_mkdir()
999 ceph_init_inode_acls(d_inode(dentry), &as_ctx); in ceph_mkdir()
1002 ceph_release_acl_sec_ctx(&as_ctx); in ceph_mkdir()