Lines Matching refs:as_ctx
1213 struct ceph_acl_sec_ctx *as_ctx) in ceph_security_init_secctx() argument
1215 struct ceph_pagelist *pagelist = as_ctx->pagelist; in ceph_security_init_secctx()
1221 &as_ctx->sec_ctx, in ceph_security_init_secctx()
1222 &as_ctx->sec_ctxlen); in ceph_security_init_secctx()
1248 4 * 2 + name_len + as_ctx->sec_ctxlen); in ceph_security_init_secctx()
1252 if (as_ctx->pagelist) { in ceph_security_init_secctx()
1265 as_ctx->pagelist = pagelist; in ceph_security_init_secctx()
1271 ceph_pagelist_encode_32(pagelist, as_ctx->sec_ctxlen); in ceph_security_init_secctx()
1272 ceph_pagelist_append(pagelist, as_ctx->sec_ctx, as_ctx->sec_ctxlen); in ceph_security_init_secctx()
1276 if (pagelist && !as_ctx->pagelist) in ceph_security_init_secctx()
1283 void ceph_release_acl_sec_ctx(struct ceph_acl_sec_ctx *as_ctx) in ceph_release_acl_sec_ctx() argument
1286 posix_acl_release(as_ctx->acl); in ceph_release_acl_sec_ctx()
1287 posix_acl_release(as_ctx->default_acl); in ceph_release_acl_sec_ctx()
1290 security_release_secctx(as_ctx->sec_ctx, as_ctx->sec_ctxlen); in ceph_release_acl_sec_ctx()
1292 if (as_ctx->pagelist) in ceph_release_acl_sec_ctx()
1293 ceph_pagelist_release(as_ctx->pagelist); in ceph_release_acl_sec_ctx()