Lines Matching refs:string
22 * @string: Returns - string containing the label info (NOT NULL)
25 * Requires: label != NULL && string != NULL
27 * Creates a string containing the label information for @label.
29 * Returns: size of string placed in @string else error code on failure
31 int aa_getprocattr(struct aa_label *label, char **string, bool newline)
47 *string = kmalloc(len + 2, GFP_KERNEL);
48 if (!*string) {
53 len = aa_label_snxprint(*string, len + 2, current_ns, label,
57 kfree(*string);
58 *string = NULL;
64 (*string)[len++] = '\n';
65 (*string)[len] = 0;
72 * split_token_from_name - separate a string of form <token>^<name>
74 * @args: string to parse (NOT NULL)