Lines Matching refs:buf
178 char *buf, int buflen) in __d_path() argument
180 char *res = buf + buflen; in __d_path()
194 char *buf, int buflen) in d_absolute_path() argument
197 char *res = buf + buflen; in d_absolute_path()
215 char **buf, int *buflen) in path_with_deleted() argument
217 prepend(buf, buflen, "\0", 1); in path_with_deleted()
219 int error = prepend(buf, buflen, " (deleted)", 10); in path_with_deleted()
224 return prepend_path(path, root, buf, buflen); in path_with_deleted()
258 char *d_path(const struct path *path, char *buf, int buflen) in d_path() argument
260 char *res = buf + buflen; in d_path()
277 return path->dentry->d_op->d_dname(path->dentry, buf, buflen); in d_path()
325 static char *__dentry_path(struct dentry *d, char *buf, int buflen) in __dentry_path() argument
338 end = buf + buflen; in __dentry_path()
370 char *dentry_path_raw(struct dentry *dentry, char *buf, int buflen) in dentry_path_raw() argument
372 return __dentry_path(dentry, buf, buflen); in dentry_path_raw()
376 char *dentry_path(struct dentry *dentry, char *buf, int buflen) in dentry_path() argument
382 p = buf + buflen; in dentry_path()
387 retval = __dentry_path(dentry, buf, buflen); in dentry_path()
425 SYSCALL_DEFINE2(getcwd, char __user *, buf, unsigned long, size) in SYSCALL_DEFINE2() argument
461 if (copy_to_user(buf, cwd, len)) in SYSCALL_DEFINE2()