Lines Matching refs:buffer
150 const struct path *path, int flags, char *buffer, in path_name() argument
157 error = aa_path_name(path, flags, buffer, name, &info, in path_name()
244 const struct path *path, char *buffer, u32 request, in profile_path_perm() argument
255 flags | profile->path_flags, buffer, &name, cond, in profile_path_perm()
282 char *buffer = NULL; in aa_path_perm() local
287 buffer = aa_get_buffer(false); in aa_path_perm()
288 if (!buffer) in aa_path_perm()
291 profile_path_perm(op, subj_cred, profile, path, buffer, in aa_path_perm()
294 aa_put_buffer(buffer); in aa_path_perm()
321 const struct path *link, char *buffer, in profile_path_link() argument
335 buffer, &lname, cond, AA_MAY_LINK); in profile_path_link()
437 char *buffer = NULL, *buffer2 = NULL; in aa_path_link() local
442 buffer = aa_get_buffer(false); in aa_path_link()
445 if (!buffer || !buffer2) in aa_path_link()
449 profile_path_link(subj_cred, profile, &link, buffer, in aa_path_link()
452 aa_put_buffer(buffer); in aa_path_link()
491 char *buffer; in __file_path_perm() local
500 buffer = aa_get_buffer(in_atomic); in __file_path_perm()
501 if (!buffer) in __file_path_perm()
507 &file->f_path, buffer, in __file_path_perm()
522 buffer, request, &cond, flags, in __file_path_perm()
528 buffer, request, &cond, flags, in __file_path_perm()
534 aa_put_buffer(buffer); in __file_path_perm()