Home
last modified time | relevance | path

Searched refs:path_prefix_len (Results 1 – 2 of 2) sorted by relevance

/hal_espressif-3.6.0/components/vfs/
Dvfs.c100 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()
[all …]
/hal_espressif-3.6.0/components/vfs/private_include/
Desp_vfs_private.h17 size_t path_prefix_len; // micro-optimization to avoid doing extra strlen member