libstoragemgmt_fs.h File Reference

#include "libstoragemgmt_common.h"
Include dependency graph for libstoragemgmt_fs.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int LSM_DLL_EXPORT lsm_fs_record_free (lsm_fs *fs)
lsm_fs LSM_DLL_EXPORT * lsm_fs_record_copy (lsm_fs *source)
int LSM_DLL_EXPORT lsm_fs_record_array_free (lsm_fs *fs[], uint32_t size)
const char LSM_DLL_EXPORT * lsm_fs_id_get (lsm_fs *fs)
const char LSM_DLL_EXPORT * lsm_fs_name_get (lsm_fs *fs)
const char LSM_DLL_EXPORT * lsm_fs_system_id_get (lsm_fs *fs)
const char LSM_DLL_EXPORT * lsm_fs_pool_id_get (lsm_fs *fs)
uint64_t LSM_DLL_EXPORT lsm_fs_total_space_get (lsm_fs *fs)
uint64_t LSM_DLL_EXPORT lsm_fs_free_space_get (lsm_fs *fs)

Function Documentation

uint64_t LSM_DLL_EXPORT lsm_fs_free_space_get ( lsm_fs fs  ) 

Returns the space available on the file system

Parameters:
fs File system record pointer
Returns:
Total number of bytes that are free.
const char LSM_DLL_EXPORT* lsm_fs_id_get ( lsm_fs fs  ) 

Returns the id of the file system.

Parameters:
fs File system record pointer
Returns:
Pointer to file system id
const char LSM_DLL_EXPORT* lsm_fs_name_get ( lsm_fs fs  ) 

Returns the name associated with the file system.

Parameters:
fs File system record pointer
Returns:
Pointer to file system name
const char LSM_DLL_EXPORT* lsm_fs_pool_id_get ( lsm_fs fs  ) 

Returns the pool id associated with the file system

Parameters:
fs File system record pointer
Returns:
Pointer to pool id
int LSM_DLL_EXPORT lsm_fs_record_array_free ( lsm_fs fs[],
uint32_t  size 
)

Frees an array of file system records

Parameters:
fs Array of file system record pointers
size Number in array to free
Returns:
LSM_ERR_OK on success, else error reason.

Here is the caller graph for this function:

lsm_fs LSM_DLL_EXPORT* lsm_fs_record_copy ( lsm_fs source  ) 

Copies a file system record.

Parameters:
source File system record to copy.
Returns:
Pointer to copy of file system record

Here is the caller graph for this function:

int LSM_DLL_EXPORT lsm_fs_record_free ( lsm_fs fs  ) 

Frees a File system record

Parameters:
fs File system to free.
Returns:
LSM_ERR_OK on success, else error reason.

Here is the caller graph for this function:

const char LSM_DLL_EXPORT* lsm_fs_system_id_get ( lsm_fs fs  ) 

Returns the file system system id.

Parameters:
fs File system record pointer
Returns:
Pointer to the system id.
uint64_t LSM_DLL_EXPORT lsm_fs_total_space_get ( lsm_fs fs  ) 

Returns total space of file system.

Parameters:
fs File system record pointer
Returns:
Total size of file system in bytes

Generated on 9 Jul 2015 for libStorageMgmt by  doxygen 1.6.1