Lines Matching refs:as_ctx
853 struct ceph_acl_sec_ctx as_ctx = {}; in ceph_mknod() local
868 err = ceph_pre_init_acls(dir, &mode, &as_ctx); in ceph_mknod()
871 err = ceph_security_init_secctx(dentry, mode, &as_ctx); in ceph_mknod()
891 if (as_ctx.pagelist) { in ceph_mknod()
892 req->r_pagelist = as_ctx.pagelist; in ceph_mknod()
893 as_ctx.pagelist = NULL; in ceph_mknod()
901 ceph_init_inode_acls(d_inode(dentry), &as_ctx); in ceph_mknod()
904 ceph_release_acl_sec_ctx(&as_ctx); in ceph_mknod()
919 struct ceph_acl_sec_ctx as_ctx = {}; in ceph_symlink() local
934 err = ceph_security_init_secctx(dentry, S_IFLNK | 0777, &as_ctx); in ceph_symlink()
958 if (as_ctx.pagelist) { in ceph_symlink()
959 req->r_pagelist = as_ctx.pagelist; in ceph_symlink()
960 as_ctx.pagelist = NULL; in ceph_symlink()
969 ceph_release_acl_sec_ctx(&as_ctx); in ceph_symlink()
978 struct ceph_acl_sec_ctx as_ctx = {}; in ceph_mkdir() local
1006 err = ceph_pre_init_acls(dir, &mode, &as_ctx); in ceph_mkdir()
1009 err = ceph_security_init_secctx(dentry, mode, &as_ctx); in ceph_mkdir()
1027 if (as_ctx.pagelist) { in ceph_mkdir()
1028 req->r_pagelist = as_ctx.pagelist; in ceph_mkdir()
1029 as_ctx.pagelist = NULL; in ceph_mkdir()
1039 ceph_init_inode_acls(d_inode(dentry), &as_ctx); in ceph_mkdir()
1042 ceph_release_acl_sec_ctx(&as_ctx); in ceph_mkdir()