Searched refs:vfs_id (Results 1 – 2 of 2) sorted by relevance
/hal_espressif-2.7.6/components/vfs/ |
D | vfs.c | 165 esp_err_t esp_vfs_register_with_id(const esp_vfs_t *vfs, void *ctx, esp_vfs_id_t *vfs_id) in esp_vfs_register_with_id() argument 167 if (vfs_id == NULL) { in esp_vfs_register_with_id() 171 *vfs_id = -1; in esp_vfs_register_with_id() 172 return esp_vfs_register_common("", LEN_PATH_PREFIX_IGNORED, vfs, ctx, vfs_id); in esp_vfs_register_with_id() 203 esp_err_t esp_vfs_register_fd(esp_vfs_id_t vfs_id, int *fd) in esp_vfs_register_fd() argument 205 if (vfs_id < 0 || vfs_id >= s_vfs_count || fd == NULL) { in esp_vfs_register_fd() 206 ESP_LOGD(TAG, "Invalid arguments for esp_vfs_register_fd(%d, 0x%x)", vfs_id, (int) fd); in esp_vfs_register_fd() 215 s_fd_table[i].vfs_index = vfs_id; in esp_vfs_register_fd() 224 …ESP_LOGD(TAG, "esp_vfs_register_fd(%d, 0x%x) finished with %s", vfs_id, (int) fd, esp_err_to_name(… in esp_vfs_register_fd() 229 esp_err_t esp_vfs_unregister_fd(esp_vfs_id_t vfs_id, int fd) in esp_vfs_unregister_fd() argument [all …]
|
/hal_espressif-2.7.6/components/vfs/include/ |
D | esp_vfs.h | 317 esp_err_t esp_vfs_register_with_id(const esp_vfs_t *vfs, void *ctx, esp_vfs_id_t *vfs_id); 339 esp_err_t esp_vfs_register_fd(esp_vfs_id_t vfs_id, int *fd); 351 esp_err_t esp_vfs_unregister_fd(esp_vfs_id_t vfs_id, int fd);
|