Lines Matching refs:path_prefix_len
100 entry->path_prefix_len = len; in esp_vfs_register_common()
192 if (base_path_len == vfs->path_prefix_len && in esp_vfs_unregister()
193 memcmp(base_path, vfs->path_prefix, vfs->path_prefix_len) == 0) { in esp_vfs_unregister()
296 assert(strncmp(src_path, vfs->path_prefix, vfs->path_prefix_len) == 0); in translate_path()
297 if (strlen(src_path) == vfs->path_prefix_len) { in translate_path()
301 return src_path + vfs->path_prefix_len; in translate_path()
311 if (!vfs || vfs->path_prefix_len == LEN_PATH_PREFIX_IGNORED) { in get_vfs_for_path()
315 if (len < vfs->path_prefix_len || in get_vfs_for_path()
316 memcmp(path, vfs->path_prefix, vfs->path_prefix_len) != 0) { in get_vfs_for_path()
320 if (vfs->path_prefix_len == 0 && !best_match) { in get_vfs_for_path()
326 if (len > vfs->path_prefix_len && in get_vfs_for_path()
327 path[vfs->path_prefix_len] != '/') { in get_vfs_for_path()
336 if (best_match_prefix_len < (ssize_t) vfs->path_prefix_len) { in get_vfs_for_path()
337 best_match_prefix_len = (ssize_t) vfs->path_prefix_len; in get_vfs_for_path()