Lines Matching full: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) in aa_getprocattr() argument
47 *string = kmalloc(len + 2, GFP_KERNEL); in aa_getprocattr()
48 if (!*string) { in aa_getprocattr()
53 len = aa_label_snxprint(*string, len + 2, current_ns, label, in aa_getprocattr()
62 (*string)[len++] = '\n'; in aa_getprocattr()
63 (*string)[len] = 0; in aa_getprocattr()
70 * split_token_from_name - separate a string of form <token>^<name>
72 * @args: string to parse (NOT NULL)