Lines Matching refs:as_ctx
844 struct ceph_acl_sec_ctx as_ctx = {}; in ceph_mknod() local
855 err = ceph_pre_init_acls(dir, &mode, &as_ctx); in ceph_mknod()
858 err = ceph_security_init_secctx(dentry, mode, &as_ctx); in ceph_mknod()
878 if (as_ctx.pagelist) { in ceph_mknod()
879 req->r_pagelist = as_ctx.pagelist; in ceph_mknod()
880 as_ctx.pagelist = NULL; in ceph_mknod()
888 ceph_init_inode_acls(d_inode(dentry), &as_ctx); in ceph_mknod()
891 ceph_release_acl_sec_ctx(&as_ctx); in ceph_mknod()
906 struct ceph_acl_sec_ctx as_ctx = {}; in ceph_symlink() local
917 err = ceph_security_init_secctx(dentry, S_IFLNK | 0777, &as_ctx); in ceph_symlink()
941 if (as_ctx.pagelist) { in ceph_symlink()
942 req->r_pagelist = as_ctx.pagelist; in ceph_symlink()
943 as_ctx.pagelist = NULL; in ceph_symlink()
952 ceph_release_acl_sec_ctx(&as_ctx); in ceph_symlink()
961 struct ceph_acl_sec_ctx as_ctx = {}; in ceph_mkdir() local
984 err = ceph_pre_init_acls(dir, &mode, &as_ctx); in ceph_mkdir()
987 err = ceph_security_init_secctx(dentry, mode, &as_ctx); in ceph_mkdir()
1005 if (as_ctx.pagelist) { in ceph_mkdir()
1006 req->r_pagelist = as_ctx.pagelist; in ceph_mkdir()
1007 as_ctx.pagelist = NULL; in ceph_mkdir()
1017 ceph_init_inode_acls(d_inode(dentry), &as_ctx); in ceph_mkdir()
1020 ceph_release_acl_sec_ctx(&as_ctx); in ceph_mkdir()