Searched refs:as_ctx (Results 1 – 7 of 7) sorted by relevance
/openbmc/linux/fs/ceph/ |
H A D | acl.c | 168 struct ceph_acl_sec_ctx *as_ctx) in ceph_pre_init_acls() argument 243 as_ctx->acl = acl; in ceph_pre_init_acls() 244 as_ctx->default_acl = default_acl; in ceph_pre_init_acls() 245 as_ctx->pagelist = pagelist; in ceph_pre_init_acls() 257 void ceph_init_inode_acls(struct inode *inode, struct ceph_acl_sec_ctx *as_ctx) in ceph_init_inode_acls() argument 261 ceph_set_cached_acl(inode, ACL_TYPE_ACCESS, as_ctx->acl); in ceph_init_inode_acls() 262 ceph_set_cached_acl(inode, ACL_TYPE_DEFAULT, as_ctx->default_acl); in ceph_init_inode_acls()
|
H A D | xattr.c | 1360 struct ceph_acl_sec_ctx *as_ctx) in ceph_security_init_secctx() argument 1362 struct ceph_pagelist *pagelist = as_ctx->pagelist; in ceph_security_init_secctx() 1368 &name, &as_ctx->sec_ctx, in ceph_security_init_secctx() 1369 &as_ctx->sec_ctxlen); in ceph_security_init_secctx() 1394 4 * 2 + name_len + as_ctx->sec_ctxlen); in ceph_security_init_secctx() 1398 if (as_ctx->pagelist) { in ceph_security_init_secctx() 1411 as_ctx->pagelist = pagelist; in ceph_security_init_secctx() 1417 ceph_pagelist_encode_32(pagelist, as_ctx->sec_ctxlen); in ceph_security_init_secctx() 1418 ceph_pagelist_append(pagelist, as_ctx->sec_ctx, as_ctx->sec_ctxlen); in ceph_security_init_secctx() 1422 if (pagelist && !as_ctx->pagelist) in ceph_security_init_secctx() [all …]
|
H A D | dir.c | 889 struct ceph_acl_sec_ctx as_ctx = {}; in ceph_mknod() local 912 req->r_new_inode = ceph_new_inode(dir, dentry, &mode, &as_ctx); in ceph_mknod() 933 ceph_as_ctx_to_req(req, &as_ctx); in ceph_mknod() 942 ceph_init_inode_acls(d_inode(dentry), &as_ctx); in ceph_mknod() 945 ceph_release_acl_sec_ctx(&as_ctx); in ceph_mknod() 997 struct ceph_acl_sec_ctx as_ctx = {}; in ceph_symlink() local 1020 req->r_new_inode = ceph_new_inode(dir, dentry, &mode, &as_ctx); in ceph_symlink() 1049 ceph_as_ctx_to_req(req, &as_ctx); in ceph_symlink() 1059 ceph_release_acl_sec_ctx(&as_ctx); in ceph_symlink() 1068 struct ceph_acl_sec_ctx as_ctx = {}; in ceph_mkdir() local [all …]
|
H A D | super.h | 1028 umode_t *mode, struct ceph_acl_sec_ctx *as_ctx); 1030 struct ceph_acl_sec_ctx *as_ctx); 1172 void ceph_release_acl_sec_ctx(struct ceph_acl_sec_ctx *as_ctx); 1181 struct ceph_acl_sec_ctx *as_ctx); 1183 struct ceph_acl_sec_ctx *as_ctx); 1196 struct ceph_acl_sec_ctx *as_ctx) in ceph_pre_init_acls() argument 1201 struct ceph_acl_sec_ctx *as_ctx) in ceph_init_inode_acls() argument
|
H A D | file.c | 616 struct ceph_acl_sec_ctx *as_ctx, in ceph_finish_async_create() argument 697 ceph_init_inode_acls(inode, as_ctx); in ceph_finish_async_create() 738 struct ceph_acl_sec_ctx as_ctx = {}; in ceph_atomic_open() local 764 new_inode = ceph_new_inode(dir, dentry, &mode, &as_ctx); in ceph_atomic_open() 770 if (as_ctx.pagelist && in ceph_atomic_open() 771 !list_is_singular(&as_ctx.pagelist->head)) in ceph_atomic_open() 806 ceph_as_ctx_to_req(req, &as_ctx); in ceph_atomic_open() 837 &as_ctx, &lo); in ceph_atomic_open() 843 ceph_release_acl_sec_ctx(&as_ctx); in ceph_atomic_open() 844 memset(&as_ctx, 0, sizeof(as_ctx)); in ceph_atomic_open() [all …]
|
H A D | crypto.h | 193 struct ceph_acl_sec_ctx *as_ctx) in ceph_fscrypt_as_ctx_to_req() argument
|
H A D | inode.c | 72 umode_t *mode, struct ceph_acl_sec_ctx *as_ctx) in ceph_new_inode() argument 82 err = ceph_pre_init_acls(dir, mode, as_ctx); in ceph_new_inode() 90 err = ceph_security_init_secctx(dentry, *mode, as_ctx); in ceph_new_inode() 99 err = ceph_fscrypt_prepare_context(dir, inode, as_ctx); in ceph_new_inode() 111 struct ceph_acl_sec_ctx *as_ctx) in ceph_as_ctx_to_req() argument 113 if (as_ctx->pagelist) { in ceph_as_ctx_to_req() 114 req->r_pagelist = as_ctx->pagelist; in ceph_as_ctx_to_req() 115 as_ctx->pagelist = NULL; in ceph_as_ctx_to_req() 117 ceph_fscrypt_as_ctx_to_req(req, as_ctx); in ceph_as_ctx_to_req()
|