Searched refs:ctxlen (Results 1 - 7 of 7) sorted by relevance

/linux-master/fs/ceph/
H A Dcrypto.c75 u32 ctxlen; local
85 ctxlen = le32_to_cpu(cfa->cfa_blob_len);
86 if (len < ctxlen)
89 memcpy(ctx, cfa->cfa_blob, ctxlen);
90 return ctxlen;
/linux-master/include/linux/
H A Dsecurity.h332 u32 *ctxlen);
506 int security_inode_notifysecctx(struct inode *inode, void *ctx, u32 ctxlen);
507 int security_inode_setsecctx(struct dentry *dentry, void *ctx, u32 ctxlen);
508 int security_inode_getsecctx(struct inode *inode, void **ctx, u32 *ctxlen);
785 u32 *ctxlen)
1464 static inline int security_inode_notifysecctx(struct inode *inode, void *ctx, u32 ctxlen) argument
1468 static inline int security_inode_setsecctx(struct dentry *dentry, void *ctx, u32 ctxlen) argument
1472 static inline int security_inode_getsecctx(struct inode *inode, void **ctx, u32 *ctxlen) argument
780 security_dentry_init_security(struct dentry *dentry, int mode, const struct qstr *name, const char **xattr_name, void **ctx, u32 *ctxlen) argument
H A Dlsm_hook_defs.h86 void **ctx, u32 *ctxlen)
295 LSM_HOOK(int, 0, inode_notifysecctx, struct inode *inode, void *ctx, u32 ctxlen)
296 LSM_HOOK(int, 0, inode_setsecctx, struct dentry *dentry, void *ctx, u32 ctxlen)
298 u32 *ctxlen)
/linux-master/security/
H A Dsecurity.c1635 * @ctxlen: length of @ctx
1646 u32 *ctxlen)
1649 xattr_name, ctx, ctxlen);
4215 * @ctxlen: length of secctx
4226 int security_inode_notifysecctx(struct inode *inode, void *ctx, u32 ctxlen) argument
4228 return call_int_hook(inode_notifysecctx, inode, ctx, ctxlen);
4236 * @ctxlen: length of secctx
4248 int security_inode_setsecctx(struct dentry *dentry, void *ctx, u32 ctxlen) argument
4250 return call_int_hook(inode_setsecctx, dentry, ctx, ctxlen);
4258 * @ctxlen
1643 security_dentry_init_security(struct dentry *dentry, int mode, const struct qstr *name, const char **xattr_name, void **ctx, u32 *ctxlen) argument
4265 security_inode_getsecctx(struct inode *inode, void **ctx, u32 *ctxlen) argument
[all...]
/linux-master/fs/fuse/
H A Ddir.c470 u32 ctxlen, total_len = sizeof(*header); local
476 &name, &ctx, &ctxlen);
481 ctxlen = 0;
485 if (ctxlen) {
489 if (WARN_ON(namelen > XATTR_NAME_MAX + 1 || ctxlen > S32_MAX))
491 total_len += FUSE_REC_ALIGN(sizeof(*fctx) + namelen + ctxlen);
504 fctx->size = ctxlen;
510 memcpy(ptr, ctx, ctxlen);
/linux-master/security/smack/
H A Dsmack_lsm.c4841 static int smack_inode_notifysecctx(struct inode *inode, void *ctx, u32 ctxlen) argument
4844 ctxlen, 0);
4847 static int smack_inode_setsecctx(struct dentry *dentry, void *ctx, u32 ctxlen) argument
4850 ctx, ctxlen, 0);
4853 static int smack_inode_getsecctx(struct inode *inode, void **ctx, u32 *ctxlen) argument
4858 *ctxlen = strlen(skp->smk_known);
/linux-master/security/selinux/
H A Dhooks.c2875 u32 *ctxlen)
2891 ctxlen);
6645 static int selinux_inode_notifysecctx(struct inode *inode, void *ctx, u32 ctxlen) argument
6648 ctx, ctxlen, 0);
6656 static int selinux_inode_setsecctx(struct dentry *dentry, void *ctx, u32 ctxlen) argument
6659 ctx, ctxlen, 0);
6662 static int selinux_inode_getsecctx(struct inode *inode, void **ctx, u32 *ctxlen) argument
6669 *ctxlen = len;
2872 selinux_dentry_init_security(struct dentry *dentry, int mode, const struct qstr *name, const char **xattr_name, void **ctx, u32 *ctxlen) argument

Completed in 230 milliseconds