Lines Matching refs:as_ctx
1327 struct ceph_acl_sec_ctx *as_ctx) in ceph_security_init_secctx() argument
1329 struct ceph_pagelist *pagelist = as_ctx->pagelist; in ceph_security_init_secctx()
1335 &name, &as_ctx->sec_ctx, in ceph_security_init_secctx()
1336 &as_ctx->sec_ctxlen); in ceph_security_init_secctx()
1361 4 * 2 + name_len + as_ctx->sec_ctxlen); in ceph_security_init_secctx()
1365 if (as_ctx->pagelist) { in ceph_security_init_secctx()
1378 as_ctx->pagelist = pagelist; in ceph_security_init_secctx()
1384 ceph_pagelist_encode_32(pagelist, as_ctx->sec_ctxlen); in ceph_security_init_secctx()
1385 ceph_pagelist_append(pagelist, as_ctx->sec_ctx, as_ctx->sec_ctxlen); in ceph_security_init_secctx()
1389 if (pagelist && !as_ctx->pagelist) in ceph_security_init_secctx()
1396 void ceph_release_acl_sec_ctx(struct ceph_acl_sec_ctx *as_ctx) in ceph_release_acl_sec_ctx() argument
1399 posix_acl_release(as_ctx->acl); in ceph_release_acl_sec_ctx()
1400 posix_acl_release(as_ctx->default_acl); in ceph_release_acl_sec_ctx()
1403 security_release_secctx(as_ctx->sec_ctx, as_ctx->sec_ctxlen); in ceph_release_acl_sec_ctx()
1405 if (as_ctx->pagelist) in ceph_release_acl_sec_ctx()
1406 ceph_pagelist_release(as_ctx->pagelist); in ceph_release_acl_sec_ctx()