Lines Matching refs:as_ctx
1202 struct ceph_acl_sec_ctx *as_ctx) in ceph_security_init_secctx() argument
1204 struct ceph_pagelist *pagelist = as_ctx->pagelist; in ceph_security_init_secctx()
1210 &as_ctx->sec_ctx, in ceph_security_init_secctx()
1211 &as_ctx->sec_ctxlen); in ceph_security_init_secctx()
1237 4 * 2 + name_len + as_ctx->sec_ctxlen); in ceph_security_init_secctx()
1241 if (as_ctx->pagelist) { in ceph_security_init_secctx()
1254 as_ctx->pagelist = pagelist; in ceph_security_init_secctx()
1260 ceph_pagelist_encode_32(pagelist, as_ctx->sec_ctxlen); in ceph_security_init_secctx()
1261 ceph_pagelist_append(pagelist, as_ctx->sec_ctx, as_ctx->sec_ctxlen); in ceph_security_init_secctx()
1265 if (pagelist && !as_ctx->pagelist) in ceph_security_init_secctx()
1272 void ceph_release_acl_sec_ctx(struct ceph_acl_sec_ctx *as_ctx) in ceph_release_acl_sec_ctx() argument
1275 posix_acl_release(as_ctx->acl); in ceph_release_acl_sec_ctx()
1276 posix_acl_release(as_ctx->default_acl); in ceph_release_acl_sec_ctx()
1279 security_release_secctx(as_ctx->sec_ctx, as_ctx->sec_ctxlen); in ceph_release_acl_sec_ctx()
1281 if (as_ctx->pagelist) in ceph_release_acl_sec_ctx()
1282 ceph_pagelist_release(as_ctx->pagelist); in ceph_release_acl_sec_ctx()