Home
last modified time | relevance | path

Searched refs:as_ctx (Results 1 - 12 of 12) sorted by relevance

/kernel/linux/linux-5.10/fs/ceph/
H A Dacl.c162 struct ceph_acl_sec_ctx *as_ctx) in ceph_pre_init_acls()
237 as_ctx->acl = acl; in ceph_pre_init_acls()
238 as_ctx->default_acl = default_acl; in ceph_pre_init_acls()
239 as_ctx->pagelist = pagelist; in ceph_pre_init_acls()
251 void ceph_init_inode_acls(struct inode *inode, struct ceph_acl_sec_ctx *as_ctx) in ceph_init_inode_acls() argument
255 ceph_set_cached_acl(inode, ACL_TYPE_ACCESS, as_ctx->acl); in ceph_init_inode_acls()
256 ceph_set_cached_acl(inode, ACL_TYPE_DEFAULT, as_ctx->default_acl); in ceph_init_inode_acls()
161 ceph_pre_init_acls(struct inode *dir, umode_t *mode, struct ceph_acl_sec_ctx *as_ctx) ceph_pre_init_acls() argument
H A Dxattr.c1212 struct ceph_acl_sec_ctx *as_ctx) in ceph_security_init_secctx()
1214 struct ceph_pagelist *pagelist = as_ctx->pagelist; in ceph_security_init_secctx()
1220 &as_ctx->sec_ctx, in ceph_security_init_secctx()
1221 &as_ctx->sec_ctxlen); in ceph_security_init_secctx()
1247 4 * 2 + name_len + as_ctx->sec_ctxlen); in ceph_security_init_secctx()
1251 if (as_ctx->pagelist) { in ceph_security_init_secctx()
1264 as_ctx->pagelist = pagelist; in ceph_security_init_secctx()
1270 ceph_pagelist_encode_32(pagelist, as_ctx->sec_ctxlen); in ceph_security_init_secctx()
1271 ceph_pagelist_append(pagelist, as_ctx->sec_ctx, as_ctx in ceph_security_init_secctx()
1211 ceph_security_init_secctx(struct dentry *dentry, umode_t mode, struct ceph_acl_sec_ctx *as_ctx) ceph_security_init_secctx() argument
1282 ceph_release_acl_sec_ctx(struct ceph_acl_sec_ctx *as_ctx) ceph_release_acl_sec_ctx() argument
[all...]
H A Ddir.c840 struct ceph_acl_sec_ctx as_ctx = {}; in ceph_mknod() local
851 err = ceph_pre_init_acls(dir, &mode, &as_ctx); in ceph_mknod()
854 err = ceph_security_init_secctx(dentry, mode, &as_ctx); in ceph_mknod()
873 if (as_ctx.pagelist) { in ceph_mknod()
874 req->r_pagelist = as_ctx.pagelist; in ceph_mknod()
875 as_ctx.pagelist = NULL; in ceph_mknod()
883 ceph_init_inode_acls(d_inode(dentry), &as_ctx); in ceph_mknod() local
886 ceph_release_acl_sec_ctx(&as_ctx); in ceph_mknod()
901 struct ceph_acl_sec_ctx as_ctx = {}; in ceph_symlink() local
912 err = ceph_security_init_secctx(dentry, S_IFLNK | 0777, &as_ctx); in ceph_symlink()
953 struct ceph_acl_sec_ctx as_ctx = {}; ceph_mkdir() local
1008 ceph_init_inode_acls(d_inode(dentry), &as_ctx); ceph_mkdir() local
[all...]
H A Dsuper.h1055 void ceph_release_acl_sec_ctx(struct ceph_acl_sec_ctx *as_ctx);
1063 struct ceph_acl_sec_ctx *as_ctx);
1065 struct ceph_acl_sec_ctx *as_ctx);
1078 struct ceph_acl_sec_ctx *as_ctx) in ceph_pre_init_acls()
1083 struct ceph_acl_sec_ctx *as_ctx) in ceph_init_inode_acls()
1077 ceph_pre_init_acls(struct inode *dir, umode_t *mode, struct ceph_acl_sec_ctx *as_ctx) ceph_pre_init_acls() argument
1082 ceph_init_inode_acls(struct inode *inode, struct ceph_acl_sec_ctx *as_ctx) ceph_init_inode_acls() argument
H A Dfile.c570 struct ceph_acl_sec_ctx *as_ctx, in ceph_finish_async_create()
660 ceph_init_inode_acls(inode, as_ctx); in ceph_finish_async_create()
694 struct ceph_acl_sec_ctx as_ctx = {}; in ceph_atomic_open() local
715 err = ceph_pre_init_acls(dir, &mode, &as_ctx); in ceph_atomic_open()
718 err = ceph_security_init_secctx(dentry, mode, &as_ctx); in ceph_atomic_open()
722 if (as_ctx.pagelist && in ceph_atomic_open()
723 !list_is_singular(&as_ctx.pagelist->head)) in ceph_atomic_open()
749 if (as_ctx.pagelist) { in ceph_atomic_open()
750 req->r_pagelist = as_ctx.pagelist; in ceph_atomic_open()
751 as_ctx in ceph_atomic_open()
567 ceph_finish_async_create(struct inode *dir, 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) ceph_finish_async_create() argument
[all...]
/kernel/linux/linux-6.6/fs/ceph/
H A Dacl.c168 struct ceph_acl_sec_ctx *as_ctx) in ceph_pre_init_acls()
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()
167 ceph_pre_init_acls(struct inode *dir, umode_t *mode, struct ceph_acl_sec_ctx *as_ctx) ceph_pre_init_acls() argument
H A Dxattr.c1360 struct ceph_acl_sec_ctx *as_ctx) in ceph_security_init_secctx()
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 in ceph_security_init_secctx()
1359 ceph_security_init_secctx(struct dentry *dentry, umode_t mode, struct ceph_acl_sec_ctx *as_ctx) ceph_security_init_secctx() argument
1429 ceph_release_acl_sec_ctx(struct ceph_acl_sec_ctx *as_ctx) ceph_release_acl_sec_ctx() argument
[all...]
H A Ddir.c889 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() local
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
1136 ceph_init_inode_acls(d_inode(dentry), &as_ctx); ceph_mkdir() local
[all...]
H A Dsuper.h1027 umode_t *mode, struct ceph_acl_sec_ctx *as_ctx);
1029 struct ceph_acl_sec_ctx *as_ctx);
1171 void ceph_release_acl_sec_ctx(struct ceph_acl_sec_ctx *as_ctx);
1180 struct ceph_acl_sec_ctx *as_ctx);
1182 struct ceph_acl_sec_ctx *as_ctx);
1195 struct ceph_acl_sec_ctx *as_ctx) in ceph_pre_init_acls()
1200 struct ceph_acl_sec_ctx *as_ctx) in ceph_init_inode_acls()
1194 ceph_pre_init_acls(struct inode *dir, umode_t *mode, struct ceph_acl_sec_ctx *as_ctx) ceph_pre_init_acls() argument
1199 ceph_init_inode_acls(struct inode *inode, struct ceph_acl_sec_ctx *as_ctx) ceph_init_inode_acls() argument
H A Dfile.c616 struct ceph_acl_sec_ctx *as_ctx, in ceph_finish_async_create()
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, in ceph_atomic_open()
612 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) ceph_finish_async_create() argument
[all...]
H A Dcrypto.h193 struct ceph_acl_sec_ctx *as_ctx) in ceph_fscrypt_as_ctx_to_req()
192 ceph_fscrypt_as_ctx_to_req(struct ceph_mds_request *req, struct ceph_acl_sec_ctx *as_ctx) ceph_fscrypt_as_ctx_to_req() argument
H A Dinode.c63 * @as_ctx: pointer to inherited security context
72 umode_t *mode, struct ceph_acl_sec_ctx *as_ctx) in ceph_new_inode()
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()
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()
71 ceph_new_inode(struct inode *dir, struct dentry *dentry, umode_t *mode, struct ceph_acl_sec_ctx *as_ctx) ceph_new_inode() argument
110 ceph_as_ctx_to_req(struct ceph_mds_request *req, struct ceph_acl_sec_ctx *as_ctx) ceph_as_ctx_to_req() argument
[all...]

Completed in 19 milliseconds