Searched refs:as_ctx (Results 1 – 5 of 5) sorted by relevance
/linux/fs/ceph/ |
A D | acl.c | 167 struct ceph_acl_sec_ctx *as_ctx) in ceph_pre_init_acls() argument 242 as_ctx->acl = acl; in ceph_pre_init_acls() 243 as_ctx->default_acl = default_acl; in ceph_pre_init_acls() 244 as_ctx->pagelist = pagelist; in ceph_pre_init_acls() 256 void ceph_init_inode_acls(struct inode *inode, struct ceph_acl_sec_ctx *as_ctx) in ceph_init_inode_acls() argument 260 ceph_set_cached_acl(inode, ACL_TYPE_ACCESS, as_ctx->acl); in ceph_init_inode_acls() 261 ceph_set_cached_acl(inode, ACL_TYPE_DEFAULT, as_ctx->default_acl); in ceph_init_inode_acls()
|
A D | xattr.c | 1306 struct ceph_acl_sec_ctx *as_ctx) in ceph_security_init_secctx() argument 1314 &name, &as_ctx->sec_ctx, in ceph_security_init_secctx() 1315 &as_ctx->sec_ctxlen); in ceph_security_init_secctx() 1344 if (as_ctx->pagelist) { in ceph_security_init_secctx() 1357 as_ctx->pagelist = pagelist; in ceph_security_init_secctx() 1364 ceph_pagelist_append(pagelist, as_ctx->sec_ctx, as_ctx->sec_ctxlen); in ceph_security_init_secctx() 1368 if (pagelist && !as_ctx->pagelist) in ceph_security_init_secctx() 1378 posix_acl_release(as_ctx->acl); in ceph_release_acl_sec_ctx() 1379 posix_acl_release(as_ctx->default_acl); in ceph_release_acl_sec_ctx() 1382 security_release_secctx(as_ctx->sec_ctx, as_ctx->sec_ctxlen); in ceph_release_acl_sec_ctx() [all …]
|
A D | dir.c | 878 if (as_ctx.pagelist) { in ceph_mknod() 879 req->r_pagelist = as_ctx.pagelist; in ceph_mknod() 880 as_ctx.pagelist = NULL; in ceph_mknod() 891 ceph_release_acl_sec_ctx(&as_ctx); in ceph_mknod() 941 if (as_ctx.pagelist) { in ceph_symlink() 942 req->r_pagelist = as_ctx.pagelist; in ceph_symlink() 943 as_ctx.pagelist = NULL; in ceph_symlink() 952 ceph_release_acl_sec_ctx(&as_ctx); in ceph_symlink() 1005 if (as_ctx.pagelist) { in ceph_mkdir() 1007 as_ctx.pagelist = NULL; in ceph_mkdir() [all …]
|
A D | super.h | 1096 void ceph_release_acl_sec_ctx(struct ceph_acl_sec_ctx *as_ctx); 1105 struct ceph_acl_sec_ctx *as_ctx); 1107 struct ceph_acl_sec_ctx *as_ctx); 1120 struct ceph_acl_sec_ctx *as_ctx) in ceph_pre_init_acls() argument 1125 struct ceph_acl_sec_ctx *as_ctx) in ceph_init_inode_acls() argument
|
A D | file.c | 572 struct ceph_acl_sec_ctx *as_ctx, in ceph_finish_async_create() argument 649 ceph_init_inode_acls(inode, as_ctx); in ceph_finish_async_create() 683 struct ceph_acl_sec_ctx as_ctx = {}; in ceph_atomic_open() local 698 err = ceph_pre_init_acls(dir, &mode, &as_ctx); in ceph_atomic_open() 701 err = ceph_security_init_secctx(dentry, mode, &as_ctx); in ceph_atomic_open() 729 if (as_ctx.pagelist) { in ceph_atomic_open() 730 req->r_pagelist = as_ctx.pagelist; in ceph_atomic_open() 731 as_ctx.pagelist = NULL; in ceph_atomic_open() 744 &as_ctx, &lo); in ceph_atomic_open() 791 ceph_init_inode_acls(newino, &as_ctx); in ceph_atomic_open() [all …]
|
Completed in 19 milliseconds