Home
last modified time | relevance | path

Searched refs:as_ctx (Results 1 – 6 of 6) sorted by relevance

/linux/fs/ceph/
H A Dxattr.c1393 struct ceph_acl_sec_ctx *as_ctx) in ceph_security_init_secctx() argument
1395 struct ceph_pagelist *pagelist = as_ctx->pagelist; in ceph_security_init_secctx()
1401 &name, &as_ctx->lsmctx); in ceph_security_init_secctx()
1426 4 * 2 + name_len + as_ctx->lsmctx.len); in ceph_security_init_secctx()
1430 if (as_ctx->pagelist) { in ceph_security_init_secctx()
1443 as_ctx->pagelist = pagelist; in ceph_security_init_secctx()
1449 ceph_pagelist_encode_32(pagelist, as_ctx->lsmctx.len); in ceph_security_init_secctx()
1450 ceph_pagelist_append(pagelist, as_ctx->lsmctx.context, in ceph_security_init_secctx()
1451 as_ctx->lsmctx.len); in ceph_security_init_secctx()
1455 if (pagelist && !as_ctx->pagelist) in ceph_security_init_secctx()
[all …]
H A Ddir.c919 struct ceph_acl_sec_ctx as_ctx = {}; in ceph_mknod() local
942 req->r_new_inode = ceph_new_inode(dir, dentry, &mode, &as_ctx); in ceph_mknod()
964 ceph_as_ctx_to_req(req, &as_ctx); in ceph_mknod()
973 ceph_init_inode_acls(d_inode(dentry), &as_ctx); in ceph_mknod()
976 ceph_release_acl_sec_ctx(&as_ctx); in ceph_mknod()
1030 struct ceph_acl_sec_ctx as_ctx = {}; in ceph_symlink() local
1054 req->r_new_inode = ceph_new_inode(dir, dentry, &mode, &as_ctx); in ceph_symlink()
1084 ceph_as_ctx_to_req(req, &as_ctx); in ceph_symlink()
1094 ceph_release_acl_sec_ctx(&as_ctx); in ceph_symlink()
1104 struct ceph_acl_sec_ctx as_ctx = {}; in ceph_mkdir() local
[all …]
H A Dsuper.h1072 umode_t *mode, struct ceph_acl_sec_ctx *as_ctx);
1074 struct ceph_acl_sec_ctx *as_ctx);
1214 void ceph_release_acl_sec_ctx(struct ceph_acl_sec_ctx *as_ctx);
1223 struct ceph_acl_sec_ctx *as_ctx);
1225 struct ceph_acl_sec_ctx *as_ctx);
1238 struct ceph_acl_sec_ctx *as_ctx) in ceph_pre_init_acls() argument
1243 struct ceph_acl_sec_ctx *as_ctx) in ceph_init_inode_acls() argument
H A Dfile.c675 struct ceph_acl_sec_ctx *as_ctx, in ceph_finish_async_create() argument
761 ceph_init_inode_acls(inode, as_ctx); in ceph_finish_async_create()
803 struct ceph_acl_sec_ctx as_ctx = {}; in ceph_atomic_open() local
859 new_inode = ceph_new_inode(dir, dentry, &mode, &as_ctx); in ceph_atomic_open()
865 if (as_ctx.pagelist && in ceph_atomic_open()
866 !list_is_singular(&as_ctx.pagelist->head)) in ceph_atomic_open()
903 ceph_as_ctx_to_req(req, &as_ctx); in ceph_atomic_open()
934 &as_ctx, &lo); in ceph_atomic_open()
940 ceph_release_acl_sec_ctx(&as_ctx); in ceph_atomic_open()
941 memset(&as_ctx, 0, sizeof(as_ctx)); in ceph_atomic_open()
[all …]
H A Dcrypto.h185 struct ceph_acl_sec_ctx *as_ctx) in ceph_fscrypt_as_ctx_to_req() argument
H A Dinode.c118 umode_t *mode, struct ceph_acl_sec_ctx *as_ctx) in ceph_new_inode() argument
130 err = ceph_pre_init_acls(dir, mode, as_ctx); in ceph_new_inode()
138 err = ceph_security_init_secctx(dentry, *mode, as_ctx); in ceph_new_inode()
147 err = ceph_fscrypt_prepare_context(dir, inode, as_ctx); in ceph_new_inode()
159 struct ceph_acl_sec_ctx *as_ctx) in ceph_as_ctx_to_req() argument
161 if (as_ctx->pagelist) { in ceph_as_ctx_to_req()
162 req->r_pagelist = as_ctx->pagelist; in ceph_as_ctx_to_req()
163 as_ctx->pagelist = NULL; in ceph_as_ctx_to_req()
165 ceph_fscrypt_as_ctx_to_req(req, as_ctx); in ceph_as_ctx_to_req()