Linux Kernel
3.7.1
|
#include <linux/fs.h>
#include <linux/quota.h>
#include <linux/export.h>
Go to the source code of this file.
Functions | |
bool | qid_eq (struct kqid left, struct kqid right) |
EXPORT_SYMBOL (qid_eq) | |
bool | qid_lt (struct kqid left, struct kqid right) |
EXPORT_SYMBOL (qid_lt) | |
qid_t | from_kqid (struct user_namespace *targ, struct kqid kqid) |
EXPORT_SYMBOL (from_kqid) | |
qid_t | from_kqid_munged (struct user_namespace *targ, struct kqid kqid) |
EXPORT_SYMBOL (from_kqid_munged) | |
bool | qid_valid (struct kqid qid) |
EXPORT_SYMBOL (qid_valid) | |
EXPORT_SYMBOL | ( | qid_eq | ) |
EXPORT_SYMBOL | ( | qid_lt | ) |
EXPORT_SYMBOL | ( | from_kqid | ) |
EXPORT_SYMBOL | ( | from_kqid_munged | ) |
EXPORT_SYMBOL | ( | qid_valid | ) |
from_kqid - Create a qid from a kqid user-namespace pair. : The user namespace we want a qid in. : The kernel internal quota identifier to start with.
Map into the user-namespace specified by and return the resulting qid.
There is always a mapping into the initial user_namespace.
If has no mapping in (qid_t)-1 is returned.
from_kqid_munged - Create a qid from a kqid user-namespace pair. : The user namespace we want a qid in. : The kernel internal quota identifier to start with.
Map into the user-namespace specified by and return the resulting qid.
There is always a mapping into the initial user_namespace.
Unlike from_kqid from_kqid_munged never fails and always returns a valid projid. This makes from_kqid_munged appropriate for use in places where failing to provide a qid_t is not a good option.
If has no mapping in the kqid.type specific overflow identifier is returned.