|
|
@ -146,7 +146,7 @@ int ext4_mount(const char *dev_name, |
|
|
|
|
|
|
|
/**@brief Umount operation.
|
|
|
|
* |
|
|
|
* @param mount_pount Mount point. |
|
|
|
* @param mount_point Mount point. |
|
|
|
* |
|
|
|
* @return Standard error code */ |
|
|
|
int ext4_umount(const char *mount_point); |
|
|
@ -161,7 +161,7 @@ int ext4_umount(const char *mount_point); |
|
|
|
* |
|
|
|
* ext4_journal_stop("/"); |
|
|
|
* ext4_umount("/"); |
|
|
|
* @param mount_pount Mount point. |
|
|
|
* @param mount_point Mount point. |
|
|
|
* |
|
|
|
* @return Standard error code. */ |
|
|
|
int ext4_journal_start(const char *mount_point); |
|
|
@ -169,7 +169,7 @@ int ext4_journal_start(const char *mount_point); |
|
|
|
/**@brief Stops journaling. Journaling start/stop functions are transparent
|
|
|
|
* and might be used on filesystems without journaling support. |
|
|
|
* |
|
|
|
* @param mount_pount Mount point name. |
|
|
|
* @param mount_point Mount point name. |
|
|
|
* |
|
|
|
* @return Standard error code. */ |
|
|
|
int ext4_journal_stop(const char *mount_point); |
|
|
@ -177,7 +177,7 @@ int ext4_journal_stop(const char *mount_point); |
|
|
|
/**@brief Journal recovery.
|
|
|
|
* @warning Must be called after @ref ext4_mount. |
|
|
|
* |
|
|
|
* @param mount_pount Mount point. |
|
|
|
* @param mount_point Mount point. |
|
|
|
* |
|
|
|
* @return Standard error code. */ |
|
|
|
int ext4_recover(const char *mount_point); |
|
|
@ -199,7 +199,7 @@ struct ext4_mount_stats { |
|
|
|
|
|
|
|
/**@brief Get file mount point stats.
|
|
|
|
* |
|
|
|
* @param mount_pount Mount point. |
|
|
|
* @param mount_point Mount point. |
|
|
|
* @param stats Filesystem stats. |
|
|
|
* |
|
|
|
* @return Standard error code. */ |
|
|
@ -208,7 +208,7 @@ int ext4_mount_point_stats(const char *mount_point, |
|
|
|
|
|
|
|
/**@brief Setup OS lock routines.
|
|
|
|
* |
|
|
|
* @param mount_pount Mount point. |
|
|
|
* @param mount_point Mount point. |
|
|
|
* @param locks Lock and unlock functions |
|
|
|
* |
|
|
|
* @return Standard error code. */ |
|
|
@ -217,7 +217,7 @@ int ext4_mount_setup_locks(const char *mount_point, |
|
|
|
|
|
|
|
/**@brief Acquire the filesystem superblock pointer of a mp.
|
|
|
|
* |
|
|
|
* @param mount_pount Mount point. |
|
|
|
* @param mount_point Mount point. |
|
|
|
* @param sb Superblock handle |
|
|
|
* |
|
|
|
* @return Standard error code. */ |
|
|
@ -254,7 +254,7 @@ int ext4_get_sblock(const char *mount_point, struct ext4_sblock **sb); |
|
|
|
* Write back mode is useful when you want to create a lot of empty |
|
|
|
* files/directories. |
|
|
|
* |
|
|
|
* @param mount_pount Mount point. |
|
|
|
* @param path Mount point. |
|
|
|
* @param on Enable/disable cache writeback mode. |
|
|
|
* |
|
|
|
* @return Standard error code. */ |
|
|
@ -263,7 +263,7 @@ int ext4_cache_write_back(const char *path, bool on); |
|
|
|
|
|
|
|
/**@brief Force cache flush.
|
|
|
|
* |
|
|
|
* @param mount_pount Mount point. |
|
|
|
* @param path Mount point. |
|
|
|
* |
|
|
|
* @return Standard error code. */ |
|
|
|
int ext4_cache_flush(const char *path); |
|
|
@ -538,8 +538,8 @@ int ext4_setxattr(const char *path, const char *name, size_t name_len, |
|
|
|
* @param path Path to file/directory. |
|
|
|
* @param name Name of the entry to get. |
|
|
|
* @param name_len Length of @name in bytes. |
|
|
|
* @param data Data of the entry to get. |
|
|
|
* @param data_size Size of data to get. |
|
|
|
* @param buf Data of the entry to get. |
|
|
|
* @param buf_size Size of data to get. |
|
|
|
* |
|
|
|
* @return Standard error code.*/ |
|
|
|
int ext4_getxattr(const char *path, const char *name, size_t name_len, |
|
|
|