Lines Matching refs:buf
48 static int disconnect(const struct path *path, char *buf, char **name, in disconnect() argument
65 error = prepend(name, *name - buf, "/", 1); in disconnect()
67 error = prepend(name, *name - buf, disconnected, in disconnect()
88 static int d_namespace_path(const struct path *path, char *buf, char **name, in d_namespace_path() argument
99 res = dentry_path(path->dentry, buf, buflen); in d_namespace_path()
102 *name = buf; in d_namespace_path()
110 error = prepend(name, *name - buf, "/proc", 5); in d_namespace_path()
113 error = disconnect(path, buf, name, flags, in d_namespace_path()
122 res = __d_path(path, &root, buf, buflen); in d_namespace_path()
125 res = d_absolute_path(path, buf, buflen); in d_namespace_path()
136 *name = buf; in d_namespace_path()
140 res = dentry_path_raw(path->dentry, buf, buflen); in d_namespace_path()
143 *name = buf; in d_namespace_path()
152 error = disconnect(path, buf, name, flags, disconnected); in d_namespace_path()
172 strcpy(&buf[aa_g_path_max - 2], "/"); in d_namespace_path()