Lines Matching refs:ctx_str
92 ctx = kmalloc(struct_size(ctx, ctx_str, str_len + 1), gfp);
99 memcpy(ctx->ctx_str, &uctx[1], str_len);
100 ctx->ctx_str[str_len] = '\0';
101 rc = security_context_to_sid(ctx->ctx_str, str_len,
346 char *ctx_str = NULL;
355 rc = security_sid_to_context(secid, &ctx_str,
360 ctx = kmalloc(struct_size(ctx, ctx_str, str_len), GFP_ATOMIC);
370 memcpy(ctx->ctx_str, ctx_str, str_len);
375 kfree(ctx_str);