Lines Matching defs: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,
62 (*string)[len++] = '\n';
63 (*string)[len] = 0;
70 * split_token_from_name - separate a string of form <token>^<name>
72 * @args: string to parse (NOT NULL)