Searched refs:esp_spiffs_t (Results 1 – 4 of 4) sorted by relevance
96 static esp_spiffs_t * _efs[CONFIG_SPIFFS_MAX_PARTITIONS];98 static void esp_spiffs_free(esp_spiffs_t ** efs) in esp_spiffs_free()100 esp_spiffs_t * e = *efs; in esp_spiffs_free()119 esp_spiffs_t * p; in esp_spiffs_by_label()182 esp_spiffs_t * efs = malloc(sizeof(esp_spiffs_t)); in esp_spiffs_init()187 memset(efs, 0, sizeof(esp_spiffs_t)); in esp_spiffs_init()477 esp_spiffs_t * efs = (esp_spiffs_t *)ctx; in vfs_spiffs_open()493 esp_spiffs_t * efs = (esp_spiffs_t *)ctx; in vfs_spiffs_write()505 esp_spiffs_t * efs = (esp_spiffs_t *)ctx; in vfs_spiffs_read()517 esp_spiffs_t * efs = (esp_spiffs_t *)ctx; in vfs_spiffs_close()[all …]
26 (void) xSemaphoreTake(((esp_spiffs_t *)(fs->user_data))->lock, portMAX_DELAY); in spiffs_api_lock()31 xSemaphoreGive(((esp_spiffs_t *)(fs->user_data))->lock); in spiffs_api_unlock()36 esp_err_t err = esp_partition_read(((esp_spiffs_t *)(fs->user_data))->partition, in spiffs_api_read()47 esp_err_t err = esp_partition_write(((esp_spiffs_t *)(fs->user_data))->partition, in spiffs_api_write()58 esp_err_t err = esp_partition_erase_range(((esp_spiffs_t *)(fs->user_data))->partition, in spiffs_api_erase()
45 } esp_spiffs_t; typedef
30 esp_spiffs_t *user_data = (esp_spiffs_t*) calloc(1, sizeof(*user_data)); in init_spiffs()