Searched refs:as_ctx (Results 1 – 5 of 5) sorted by relevance
/linux/fs/ceph/ |
H A D | acl.c | 170 struct ceph_acl_sec_ctx *as_ctx) in ceph_pre_init_acls() argument 245 as_ctx->acl = acl; in ceph_pre_init_acls() 246 as_ctx->default_acl = default_acl; in ceph_pre_init_acls() 247 as_ctx->pagelist = pagelist; in ceph_pre_init_acls() 259 void ceph_init_inode_acls(struct inode *inode, struct ceph_acl_sec_ctx *as_ctx) in ceph_init_inode_acls() argument 263 ceph_set_cached_acl(inode, ACL_TYPE_ACCESS, as_ctx->acl); in ceph_init_inode_acls() 264 ceph_set_cached_acl(inode, ACL_TYPE_DEFAULT, as_ctx->default_acl); in ceph_init_inode_acls()
|
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() 1027 struct ceph_acl_sec_ctx as_ctx = {}; in ceph_symlink() local 1051 req->r_new_inode = ceph_new_inode(dir, dentry, &mode, &as_ctx); in ceph_symlink() 1081 ceph_as_ctx_to_req(req, &as_ctx); in ceph_symlink() 1091 ceph_release_acl_sec_ctx(&as_ctx); in ceph_symlink() 1101 struct ceph_acl_sec_ctx as_ctx = {}; in ceph_mkdir() local [all …]
|
H A D | file.c | 660 struct ceph_acl_sec_ctx *as_ctx, in ceph_finish_async_create() argument 746 ceph_init_inode_acls(inode, as_ctx); in ceph_finish_async_create() 789 struct ceph_acl_sec_ctx as_ctx = {}; in ceph_atomic_open() local 846 new_inode = ceph_new_inode(dir, dentry, &mode, &as_ctx); in ceph_atomic_open() 852 if (as_ctx.pagelist && in ceph_atomic_open() 853 !list_is_singular(&as_ctx.pagelist->head)) in ceph_atomic_open() 890 ceph_as_ctx_to_req(req, &as_ctx); in ceph_atomic_open() 921 &as_ctx, &lo); in ceph_atomic_open() 927 ceph_release_acl_sec_ctx(&as_ctx); in ceph_atomic_open() 928 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 84 err = ceph_pre_init_acls(dir, mode, as_ctx); in ceph_new_inode() 92 err = ceph_security_init_secctx(dentry, *mode, as_ctx); in ceph_new_inode() 101 err = ceph_fscrypt_prepare_context(dir, inode, as_ctx); in ceph_new_inode() 113 struct ceph_acl_sec_ctx *as_ctx) in ceph_as_ctx_to_req() argument 115 if (as_ctx->pagelist) { in ceph_as_ctx_to_req() 116 req->r_pagelist = as_ctx->pagelist; in ceph_as_ctx_to_req() 117 as_ctx->pagelist = NULL; in ceph_as_ctx_to_req() 119 ceph_fscrypt_as_ctx_to_req(req, as_ctx); in ceph_as_ctx_to_req()
|