7#ifndef ZEPHYR_INCLUDE_DRIVERS_LOOPBACK_DISK_ACCESS_H_
8#define ZEPHYR_INCLUDE_DRIVERS_LOOPBACK_DISK_ACCESS_H_
42 const char *disk_access_name);
int loopback_disk_access_register(struct loopback_disk_access *ctx, const char *file_path, const char *disk_access_name)
Register a loopback disk device.
int loopback_disk_access_unregister(struct loopback_disk_access *ctx)
Unregister a previously registered loopback disk device.
Disk info.
Definition: disk.h:89
File object representing an open file.
Definition: fs_interface.h:76
Context object for an active loopback disk device.
Definition: loopback_disk.h:16
size_t num_sectors
Definition: loopback_disk.h:20
struct disk_info info
Definition: loopback_disk.h:17
struct fs_file_t file
Definition: loopback_disk.h:19
const char * file_path
Definition: loopback_disk.h:18