Lines Matching refs:str
29 * aa_free_str_table - free entries str table
87 * skipn_spaces - Removes leading whitespace from @str.
88 * @str: The string to be stripped.
89 * @n: length of str to parse, will stop at \0 if encountered before n
91 * Returns a pointer to the first non-whitespace character in @str.
95 const char *skipn_spaces(const char *str, size_t n)
97 for (; n && isspace(*str); --n)
98 ++str;
100 return (char *)str;
143 * @str: message to log
145 void aa_info_message(const char *str)
150 ad.info = str;
153 printk(KERN_INFO "AppArmor: %s\n", str);
158 struct counted_str *str;
160 str = kmalloc(struct_size(str, name, size), gfp);
161 if (!str)
164 kref_init(&str->count);
165 return str->name;
219 * @str: character buffer to store string in (at least 10 characters)
220 * @str_size: size of the @str buffer
224 void aa_perm_mask_to_str(char *str, size_t str_size, const char *chrs, u32 mask)
235 *str++ = chrs[i];
239 *str = '\0';
263 char str[33];
267 aa_perm_mask_to_str(str, sizeof(str), chrs, mask & chrsmask);
269 audit_log_format(ab, "%s", str);