Lines Matching full:pathlen
218 ssize_t pathlen = 0;
220 pathlen = get_node_path_locked(node->parent, buf, bufsize - namelen - 2);
221 if (pathlen < 0) {
224 buf[pathlen++] = '/';
228 memcpy(buf + pathlen, name, namelen + 1); /* include trailing \0 */
229 return pathlen + namelen;
243 size_t pathlen = strlen(path);
245 size_t childlen = pathlen + namelen + 1;
252 memcpy(buf, path, pathlen);
253 buf[pathlen] = '/';
254 actual = buf + pathlen + 1;