Searched refs:as_ctx (Results 1 – 6 of 6) sorted by relevance
| /linux/fs/ceph/ |
| H A D | xattr.c | 1376 struct ceph_acl_sec_ctx *as_ctx) in ceph_security_init_secctx() argument 1378 struct ceph_pagelist *pagelist = as_ctx->pagelist; in ceph_security_init_secctx() 1384 &name, &as_ctx->lsmctx); in ceph_security_init_secctx() 1409 4 * 2 + name_len + as_ctx->lsmctx.len); in ceph_security_init_secctx() 1413 if (as_ctx->pagelist) { in ceph_security_init_secctx() 1426 as_ctx->pagelist = pagelist; in ceph_security_init_secctx() 1432 ceph_pagelist_encode_32(pagelist, as_ctx->lsmctx.len); in ceph_security_init_secctx() 1433 ceph_pagelist_append(pagelist, as_ctx->lsmctx.context, in ceph_security_init_secctx() 1434 as_ctx->lsmctx.len); in ceph_security_init_secctx() 1438 if (pagelist && !as_ctx->pagelist) in ceph_security_init_secctx() [all …]
|
| H A D | dir.c | 917 struct ceph_acl_sec_ctx as_ctx = {}; in ceph_mknod() local 940 req->r_new_inode = ceph_new_inode(dir, dentry, &mode, &as_ctx); in ceph_mknod() 962 ceph_as_ctx_to_req(req, &as_ctx); in ceph_mknod() 971 ceph_init_inode_acls(d_inode(dentry), &as_ctx); in ceph_mknod() 974 ceph_release_acl_sec_ctx(&as_ctx); in ceph_mknod() 1028 struct ceph_acl_sec_ctx as_ctx = {}; in ceph_symlink() local 1052 req->r_new_inode = ceph_new_inode(dir, dentry, &mode, &as_ctx); in ceph_symlink() 1082 ceph_as_ctx_to_req(req, &as_ctx); in ceph_symlink() 1092 ceph_release_acl_sec_ctx(&as_ctx); in ceph_symlink() 1102 struct ceph_acl_sec_ctx as_ctx = {}; in ceph_mkdir() local [all …]
|
| H A D | super.h | 1062 umode_t *mode, struct ceph_acl_sec_ctx *as_ctx); 1064 struct ceph_acl_sec_ctx *as_ctx); 1203 void ceph_release_acl_sec_ctx(struct ceph_acl_sec_ctx *as_ctx); 1212 struct ceph_acl_sec_ctx *as_ctx); 1214 struct ceph_acl_sec_ctx *as_ctx); 1227 struct ceph_acl_sec_ctx *as_ctx) in ceph_pre_init_acls() argument 1232 struct ceph_acl_sec_ctx *as_ctx) in ceph_init_inode_acls() argument
|
| H A D | file.c | 656 struct ceph_acl_sec_ctx *as_ctx, in ceph_finish_async_create() argument 742 ceph_init_inode_acls(inode, as_ctx); in ceph_finish_async_create() 784 struct ceph_acl_sec_ctx as_ctx = {}; in ceph_atomic_open() local 840 new_inode = ceph_new_inode(dir, dentry, &mode, &as_ctx); in ceph_atomic_open() 846 if (as_ctx.pagelist && in ceph_atomic_open() 847 !list_is_singular(&as_ctx.pagelist->head)) in ceph_atomic_open() 884 ceph_as_ctx_to_req(req, &as_ctx); in ceph_atomic_open() 915 &as_ctx, &lo); in ceph_atomic_open() 921 ceph_release_acl_sec_ctx(&as_ctx); in ceph_atomic_open() 922 memset(&as_ctx, 0, sizeof(as_ctx)); in ceph_atomic_open() [all …]
|
| H A D | crypto.h | 185 struct ceph_acl_sec_ctx *as_ctx) in ceph_fscrypt_as_ctx_to_req() argument
|
| H A D | inode.c | 118 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()
|