Lines Matching defs:buffer
25 static int prepend(char **buffer, int buflen, const char *str, int namelen)
30 *buffer -= namelen;
31 memcpy(*buffer, str, namelen);
77 * @buf: buffer to store path to (NOT NULL)
178 * aa_path_name - get the pathname to a buffer ensure dir / is appended
181 * @buffer: buffer to put name in (NOT NULL)
187 * from the beginning of the buffer), or NULL. If there is an error @name
197 int aa_path_name(const struct path *path, int flags, char *buffer,
201 int error = d_namespace_path(path, buffer, &str, flags, disconnected);