Lines Matching refs:prepend
11 static int prepend(char **buffer, int *buflen, const char *str, int namelen) in prepend() function
187 prepend(&res, &buflen, "\0", 1); in __d_path()
204 prepend(&res, &buflen, "\0", 1); in d_absolute_path()
221 prepend(buf, buflen, "\0", 1); in path_with_deleted()
223 int error = prepend(buf, buflen, " (deleted)", 10); in path_with_deleted()
233 return prepend(buffer, buflen, "(unreachable)", 13); in prepend_unreachable()
319 if (prepend(&end, &buflen, " (deleted)", 11) || in simple_dname()
320 prepend(&end, &buflen, dentry->d_name.name, dentry->d_name.len) || in simple_dname()
321 prepend(&end, &buflen, "/", 1)) in simple_dname()
344 prepend(&end, &len, "\0", 1); in __dentry_path()
387 if (prepend(&p, &buflen, "//deleted", 10) != 0) in dentry_path()
447 prepend(&cwd, &buflen, "\0", 1); in SYSCALL_DEFINE2()