|
nfs-ganesha 1.4
|
#include "fsal.h"#include "fsal_internal.h"#include "fsal_convert.h"#include <sys/quota.h>#include <sys/types.h>#include <string.h>Go to the source code of this file.
Functions | |
| fsal_status_t | XFSFSAL_get_quota (fsal_path_t *pfsal_path, int quota_type, fsal_uid_t fsal_uid, fsal_quota_t *pquota) |
| fsal_status_t | XFSFSAL_set_quota (fsal_path_t *pfsal_path, int quota_type, fsal_uid_t fsal_uid, fsal_quota_t *pquota, fsal_quota_t *presquota) |
| fsal_status_t | XFSFSAL_check_quota (char *fs_spec, fsal_quota_type_t quota_type, fsal_uid_t fsal_uid) |
| fsal_status_t XFSFSAL_check_quota | ( | char * | fs_spec, |
| fsal_quota_type_t | quota_type, | ||
| fsal_uid_t | fsal_uid | ||
| ) |
FSAL_check_quota : checks if quotas allow a user to do an operation
| fs_spec | path to the filesystem whose quota are requested |
| quota_type | type of quota to be checked (inodes or blocks |
| fsal_uid | uid for the user whose quota are requested |
Definition at line 194 of file FSAL_XFS/fsal_quota.c.
| fsal_status_t XFSFSAL_get_quota | ( | fsal_path_t * | pfsal_path, |
| int | quota_type, | ||
| fsal_uid_t | fsal_uid, | ||
| fsal_quota_t * | pquota | ||
| ) |
FSAL_get_quota : Gets the quota for a given path.
| pfsal_path | path to the filesystem whose quota are requested |
| quota_type | the kind of requested quota (user or group) |
| fsal_uid | uid for the user whose quota are requested |
| pquota | (input): Parameter to the structure containing the requested quotas |
Definition at line 60 of file FSAL_XFS/fsal_quota.c.
| fsal_status_t XFSFSAL_set_quota | ( | fsal_path_t * | pfsal_path, |
| int | quota_type, | ||
| fsal_uid_t | fsal_uid, | ||
| fsal_quota_t * | pquota, | ||
| fsal_quota_t * | presquota | ||
| ) |
FSAL_get_quota : Gets the quota for a given path.
| pfsal_path | path to the filesystem whose quota are requested |
| quota_type | the kind of requested quota (user or group) |
| fsal_uid | uid for the user whose quota are requested |
| pquota | (input): pointer to the structure containing the wanted quotas |
| presquot | (output) pointer to the structure containing the resulting quotas |
Definition at line 113 of file FSAL_XFS/fsal_quota.c.
1.7.3