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 | POSIXFSAL_get_quota (fsal_path_t *pfsal_path, int quota_type, fsal_uid_t fsal_uid, fsal_quota_t *pquota) |
fsal_status_t | POSIXFSAL_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 POSIXFSAL_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_POSIX/fsal_quota.c.
fsal_status_t POSIXFSAL_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_POSIX/fsal_quota.c.