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