Lines Matching refs:as_ctx
840 struct ceph_acl_sec_ctx as_ctx = {}; in ceph_mknod() local
851 err = ceph_pre_init_acls(dir, &mode, &as_ctx); in ceph_mknod()
854 err = ceph_security_init_secctx(dentry, mode, &as_ctx); in ceph_mknod()
873 if (as_ctx.pagelist) { in ceph_mknod()
874 req->r_pagelist = as_ctx.pagelist; in ceph_mknod()
875 as_ctx.pagelist = NULL; in ceph_mknod()
883 ceph_init_inode_acls(d_inode(dentry), &as_ctx); in ceph_mknod()
886 ceph_release_acl_sec_ctx(&as_ctx); in ceph_mknod()
901 struct ceph_acl_sec_ctx as_ctx = {}; in ceph_symlink() local
912 err = ceph_security_init_secctx(dentry, S_IFLNK | 0777, &as_ctx); in ceph_symlink()
934 if (as_ctx.pagelist) { in ceph_symlink()
935 req->r_pagelist = as_ctx.pagelist; in ceph_symlink()
936 as_ctx.pagelist = NULL; in ceph_symlink()
945 ceph_release_acl_sec_ctx(&as_ctx); in ceph_symlink()
953 struct ceph_acl_sec_ctx as_ctx = {}; in ceph_mkdir() local
976 err = ceph_pre_init_acls(dir, &mode, &as_ctx); in ceph_mkdir()
979 err = ceph_security_init_secctx(dentry, mode, &as_ctx); in ceph_mkdir()
996 if (as_ctx.pagelist) { in ceph_mkdir()
997 req->r_pagelist = as_ctx.pagelist; in ceph_mkdir()
998 as_ctx.pagelist = NULL; in ceph_mkdir()
1008 ceph_init_inode_acls(d_inode(dentry), &as_ctx); in ceph_mkdir()
1011 ceph_release_acl_sec_ctx(&as_ctx); in ceph_mkdir()