Searched refs:as_ctx (Results 1 - 7 of 7) sorted by relevance
/linux-master/fs/ceph/ |
H A D | acl.c | 170 struct ceph_acl_sec_ctx *as_ctx) 245 as_ctx->acl = acl; 246 as_ctx->default_acl = default_acl; 247 as_ctx->pagelist = pagelist; 259 void ceph_init_inode_acls(struct inode *inode, struct ceph_acl_sec_ctx *as_ctx) argument 263 ceph_set_cached_acl(inode, ACL_TYPE_ACCESS, as_ctx->acl); 264 ceph_set_cached_acl(inode, ACL_TYPE_DEFAULT, as_ctx->default_acl); 169 ceph_pre_init_acls(struct inode *dir, umode_t *mode, struct ceph_acl_sec_ctx *as_ctx) argument
|
H A D | xattr.c | 1378 struct ceph_acl_sec_ctx *as_ctx) 1380 struct ceph_pagelist *pagelist = as_ctx->pagelist; 1386 &name, &as_ctx->sec_ctx, 1387 &as_ctx->sec_ctxlen); 1412 4 * 2 + name_len + as_ctx->sec_ctxlen); 1416 if (as_ctx->pagelist) { 1429 as_ctx->pagelist = pagelist; 1435 ceph_pagelist_encode_32(pagelist, as_ctx->sec_ctxlen); 1436 ceph_pagelist_append(pagelist, as_ctx->sec_ctx, as_ctx 1377 ceph_security_init_secctx(struct dentry *dentry, umode_t mode, struct ceph_acl_sec_ctx *as_ctx) argument 1447 ceph_release_acl_sec_ctx(struct ceph_acl_sec_ctx *as_ctx) argument [all...] |
H A D | dir.c | 918 struct ceph_acl_sec_ctx as_ctx = {}; local 941 req->r_new_inode = ceph_new_inode(dir, dentry, &mode, &as_ctx); 963 ceph_as_ctx_to_req(req, &as_ctx); 972 ceph_init_inode_acls(d_inode(dentry), &as_ctx); local 975 ceph_release_acl_sec_ctx(&as_ctx); 1028 struct ceph_acl_sec_ctx as_ctx = {}; local 1052 req->r_new_inode = ceph_new_inode(dir, dentry, &mode, &as_ctx); 1082 ceph_as_ctx_to_req(req, &as_ctx); 1092 ceph_release_acl_sec_ctx(&as_ctx); 1102 struct ceph_acl_sec_ctx as_ctx local 1173 ceph_init_inode_acls(d_inode(dentry), &as_ctx); local [all...] |
H A D | super.h | 1034 umode_t *mode, struct ceph_acl_sec_ctx *as_ctx); 1036 struct ceph_acl_sec_ctx *as_ctx); 1178 void ceph_release_acl_sec_ctx(struct ceph_acl_sec_ctx *as_ctx); 1187 struct ceph_acl_sec_ctx *as_ctx); 1189 struct ceph_acl_sec_ctx *as_ctx); 1202 struct ceph_acl_sec_ctx *as_ctx) 1207 struct ceph_acl_sec_ctx *as_ctx) 1201 ceph_pre_init_acls(struct inode *dir, umode_t *mode, struct ceph_acl_sec_ctx *as_ctx) argument 1206 ceph_init_inode_acls(struct inode *inode, struct ceph_acl_sec_ctx *as_ctx) argument
|
H A D | crypto.h | 193 struct ceph_acl_sec_ctx *as_ctx) 192 ceph_fscrypt_as_ctx_to_req(struct ceph_mds_request *req, struct ceph_acl_sec_ctx *as_ctx) argument
|
H A D | file.c | 629 struct ceph_acl_sec_ctx *as_ctx, 715 ceph_init_inode_acls(inode, as_ctx); 758 struct ceph_acl_sec_ctx as_ctx = {}; local 784 new_inode = ceph_new_inode(dir, dentry, &mode, &as_ctx); 790 if (as_ctx.pagelist && 791 !list_is_singular(&as_ctx.pagelist->head)) 828 ceph_as_ctx_to_req(req, &as_ctx); 859 &as_ctx, &lo); 865 ceph_release_acl_sec_ctx(&as_ctx); 866 memset(&as_ctx, 625 ceph_finish_async_create(struct inode *dir, struct inode *inode, struct dentry *dentry, struct file *file, umode_t mode, struct ceph_mds_request *req, struct ceph_acl_sec_ctx *as_ctx, struct ceph_file_layout *lo) argument [all...] |
H A D | inode.c | 63 * @as_ctx: pointer to inherited security context 72 umode_t *mode, struct ceph_acl_sec_ctx *as_ctx) 84 err = ceph_pre_init_acls(dir, mode, as_ctx); 92 err = ceph_security_init_secctx(dentry, *mode, as_ctx); 101 err = ceph_fscrypt_prepare_context(dir, inode, as_ctx); 113 struct ceph_acl_sec_ctx *as_ctx) 115 if (as_ctx->pagelist) { 116 req->r_pagelist = as_ctx->pagelist; 117 as_ctx->pagelist = NULL; 119 ceph_fscrypt_as_ctx_to_req(req, as_ctx); 71 ceph_new_inode(struct inode *dir, struct dentry *dentry, umode_t *mode, struct ceph_acl_sec_ctx *as_ctx) argument 112 ceph_as_ctx_to_req(struct ceph_mds_request *req, struct ceph_acl_sec_ctx *as_ctx) argument [all...] |
Completed in 207 milliseconds