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