Release 4.7 include/linux/quotaops.h
/*
* Definitions for diskquota-operations. When diskquota is configured these
* macros expand to the right source-code.
*
* Author: Marco van Wieringen <mvw@planets.elm.net>
*/
#ifndef _LINUX_QUOTAOPS_
#define _LINUX_QUOTAOPS_
#include <linux/fs.h>
#define DQUOT_SPACE_WARN 0x1
#define DQUOT_SPACE_RESERVE 0x2
#define DQUOT_SPACE_NOFAIL 0x4
static inline struct quota_info *sb_dqopt(struct super_block *sb)
{
return &sb->s_dquot;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
jan kara | jan kara | 20 | 100.00% | 2 | 100.00% |
| Total | 20 | 100.00% | 2 | 100.00% |
/* i_mutex must being held */
static inline bool is_quota_modification(struct inode *inode, struct iattr *ia)
{
return (ia->ia_valid & ATTR_SIZE && ia->ia_size != inode->i_size) ||
(ia->ia_valid & ATTR_UID && !uid_eq(ia->ia_uid, inode->i_uid)) ||
(ia->ia_valid & ATTR_GID && !gid_eq(ia->ia_gid, inode->i_gid));
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
dmitriy monakhov | dmitriy monakhov | 64 | 86.49% | 1 | 50.00% |
eric w. biederman | eric w. biederman | 10 | 13.51% | 1 | 50.00% |
| Total | 74 | 100.00% | 2 | 100.00% |
#if defined(CONFIG_QUOTA)
#define quota_error(sb, fmt, args...) \
__quota_error((sb), __func__, fmt , ## args)
extern __printf(3, 4)
void __quota_error(struct super_block *sb, const char *func,
const char *fmt, ...);
/*
* declaration of quota_function calls in kernel.
*/
void inode_add_rsv_space(struct inode *inode, qsize_t number);
void inode_claim_rsv_space(struct inode *inode, qsize_t number);
void inode_sub_rsv_space(struct inode *inode, qsize_t number);
void inode_reclaim_rsv_space(struct inode *inode, qsize_t number);
int dquot_initialize(struct inode *inode);
void dquot_drop(struct inode *inode);
struct dquot *dqget(struct super_block *sb, struct kqid qid);
static inline struct dquot *dqgrab(struct dquot *dquot)
{
/* Make sure someone else has active reference to dquot */
WARN_ON_ONCE(!atomic_read(&dquot->dq_count));
WARN_ON_ONCE(!test_bit(DQ_ACTIVE_B, &dquot->dq_flags));
atomic_inc(&dquot->dq_count);
return dquot;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
jan kara | jan kara | 52 | 100.00% | 1 | 100.00% |
| Total | 52 | 100.00% | 1 | 100.00% |
void dqput(struct dquot *dquot);
int dquot_scan_active(struct super_block *sb,
int (*fn)(struct dquot *dquot, unsigned long priv),
unsigned long priv);
struct dquot *dquot_alloc(struct super_block *sb, int type);
void dquot_destroy(struct dquot *dquot);
int __dquot_alloc_space(struct inode *inode, qsize_t number, int flags);
void __dquot_free_space(struct inode *inode, qsize_t number, int flags);
int dquot_alloc_inode(struct inode *inode);
int dquot_claim_space_nodirty(struct inode *inode, qsize_t number);
void dquot_free_inode(struct inode *inode);
void dquot_reclaim_space_nodirty(struct inode *inode, qsize_t number);
int dquot_disable(struct super_block *sb, int type, unsigned int flags);
/* Suspend quotas on remount RO */
static inline int dquot_suspend(struct super_block *sb, int type)
{
return dquot_disable(sb, type, DQUOT_SUSPENDED);
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
christoph hellwig | christoph hellwig | 25 | 100.00% | 1 | 100.00% |
| Total | 25 | 100.00% | 1 | 100.00% |
int dquot_resume(struct super_block *sb, int type);
int dquot_commit(struct dquot *dquot);
int dquot_acquire(struct dquot *dquot);
int dquot_release(struct dquot *dquot);
int dquot_commit_info(struct super_block *sb, int type);
int dquot_get_next_id(struct super_block *sb, struct kqid *qid);
int dquot_mark_dquot_dirty(struct dquot *dquot);
int dquot_file_open(struct inode *inode, struct file *file);
int dquot_enable(struct inode *inode, int type, int format_id,
unsigned int flags);
int dquot_quota_on(struct super_block *sb, int type, int format_id,
struct path *path);
int dquot_quota_on_mount(struct super_block *sb, char *qf_name,
int format_id, int type);
int dquot_quota_off(struct super_block *sb, int type);
int dquot_writeback_dquots(struct super_block *sb, int type);
int dquot_quota_sync(struct super_block *sb, int type);
int dquot_get_state(struct super_block *sb, struct qc_state *state);
int dquot_set_dqinfo(struct super_block *sb, int type, struct qc_info *ii);
int dquot_get_dqblk(struct super_block *sb, struct kqid id,
struct qc_dqblk *di);
int dquot_get_next_dqblk(struct super_block *sb, struct kqid *id,
struct qc_dqblk *di);
int dquot_set_dqblk(struct super_block *sb, struct kqid id,
struct qc_dqblk *di);
int __dquot_transfer(struct inode *inode, struct dquot **transfer_to);
int dquot_transfer(struct inode *inode, struct iattr *iattr);
static inline struct mem_dqinfo *sb_dqinfo(struct super_block *sb, int type)
{
return sb_dqopt(sb)->info + type;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
jan kara | jan kara | 27 | 100.00% | 2 | 100.00% |
| Total | 27 | 100.00% | 2 | 100.00% |
/*
* Functions for checking status of quota
*/
static inline bool sb_has_quota_usage_enabled(struct super_block *sb, int type)
{
return sb_dqopt(sb)->flags &
dquot_state_flag(DQUOT_USAGE_ENABLED, type);
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
jan kara | jan kara | 29 | 96.67% | 4 | 80.00% |
dmitriy monakhov | dmitriy monakhov | 1 | 3.33% | 1 | 20.00% |
| Total | 30 | 100.00% | 5 | 100.00% |
static inline bool sb_has_quota_limits_enabled(struct super_block *sb, int type)
{
return sb_dqopt(sb)->flags &
dquot_state_flag(DQUOT_LIMITS_ENABLED, type);
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
jan kara | jan kara | 29 | 96.67% | 2 | 66.67% |
dmitriy monakhov | dmitriy monakhov | 1 | 3.33% | 1 | 33.33% |
| Total | 30 | 100.00% | 3 | 100.00% |
static inline bool sb_has_quota_suspended(struct super_block *sb, int type)
{
return sb_dqopt(sb)->flags &
dquot_state_flag(DQUOT_SUSPENDED, type);
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
jan kara | jan kara | 29 | 96.67% | 3 | 75.00% |
dmitriy monakhov | dmitriy monakhov | 1 | 3.33% | 1 | 25.00% |
| Total | 30 | 100.00% | 4 | 100.00% |
static inline unsigned sb_any_quota_suspended(struct super_block *sb)
{
return dquot_state_types(sb_dqopt(sb)->flags, DQUOT_SUSPENDED);
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
jan kara | jan kara | 16 | 64.00% | 3 | 60.00% |
konstantin khlebnikov | konstantin khlebnikov | 8 | 32.00% | 1 | 20.00% |
dmitriy monakhov | dmitriy monakhov | 1 | 4.00% | 1 | 20.00% |
| Total | 25 | 100.00% | 5 | 100.00% |
/* Does kernel know about any quota information for given sb + type? */
static inline bool sb_has_quota_loaded(struct super_block *sb, int type)
{
/* Currently if anything is on, then quota usage is on as well */
return sb_has_quota_usage_enabled(sb, type);
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
jan kara | jan kara | 23 | 95.83% | 3 | 75.00% |
dmitriy monakhov | dmitriy monakhov | 1 | 4.17% | 1 | 25.00% |
| Total | 24 | 100.00% | 4 | 100.00% |
static inline unsigned sb_any_quota_loaded(struct super_block *sb)
{
return dquot_state_types(sb_dqopt(sb)->flags, DQUOT_USAGE_ENABLED);
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
jan kara | jan kara | 16 | 64.00% | 2 | 50.00% |
konstantin khlebnikov | konstantin khlebnikov | 8 | 32.00% | 1 | 25.00% |
dmitriy monakhov | dmitriy monakhov | 1 | 4.00% | 1 | 25.00% |
| Total | 25 | 100.00% | 4 | 100.00% |
static inline bool sb_has_quota_active(struct super_block *sb, int type)
{
return sb_has_quota_loaded(sb, type) &&
!sb_has_quota_suspended(sb, type);
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
jan kara | jan kara | 30 | 96.77% | 3 | 75.00% |
dmitriy monakhov | dmitriy monakhov | 1 | 3.23% | 1 | 25.00% |
| Total | 31 | 100.00% | 4 | 100.00% |
/*
* Operations supported for diskquotas.
*/
extern const struct dquot_operations dquot_operations;
extern const struct quotactl_ops dquot_quotactl_ops;
extern const struct quotactl_ops dquot_quotactl_sysfile_ops;
#else
static inline int sb_has_quota_usage_enabled(struct super_block *sb, int type)
{
return 0;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
christoph hellwig | christoph hellwig | 6 | 33.33% | 1 | 16.67% |
linus torvalds | linus torvalds | 6 | 33.33% | 2 | 33.33% |
pre-git | pre-git | 5 | 27.78% | 2 | 33.33% |
jan kara | jan kara | 1 | 5.56% | 1 | 16.67% |
| Total | 18 | 100.00% | 6 | 100.00% |
static inline int sb_has_quota_limits_enabled(struct super_block *sb, int type)
{
return 0;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
mingming cao | mingming cao | 12 | 66.67% | 1 | 50.00% |
christoph hellwig | christoph hellwig | 6 | 33.33% | 1 | 50.00% |
| Total | 18 | 100.00% | 2 | 100.00% |
static inline int sb_has_quota_suspended(struct super_block *sb, int type)
{
return 0;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
christoph hellwig | christoph hellwig | 14 | 77.78% | 1 | 50.00% |
mingming cao | mingming cao | 4 | 22.22% | 1 | 50.00% |
| Total | 18 | 100.00% | 2 | 100.00% |
static inline int sb_any_quota_suspended(struct super_block *sb)
{
return 0;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
jan kara | jan kara | 9 | 60.00% | 3 | 50.00% |
linus torvalds | linus torvalds | 3 | 20.00% | 1 | 16.67% |
christoph hellwig | christoph hellwig | 2 | 13.33% | 1 | 16.67% |
pre-git | pre-git | 1 | 6.67% | 1 | 16.67% |
| Total | 15 | 100.00% | 6 | 100.00% |
/* Does kernel know about any quota information for given sb + type? */
static inline int sb_has_quota_loaded(struct super_block *sb, int type)
{
return 0;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
jan kara | jan kara | 18 | 100.00% | 1 | 100.00% |
| Total | 18 | 100.00% | 1 | 100.00% |
static inline int sb_any_quota_loaded(struct super_block *sb)
{
return 0;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
jan kara | jan kara | 15 | 100.00% | 1 | 100.00% |
| Total | 15 | 100.00% | 1 | 100.00% |
static inline int sb_has_quota_active(struct super_block *sb, int type)
{
return 0;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
jan kara | jan kara | 18 | 100.00% | 1 | 100.00% |
| Total | 18 | 100.00% | 1 | 100.00% |
static inline int dquot_initialize(struct inode *inode)
{
return 0;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
jan kara | jan kara | 6 | 40.00% | 1 | 25.00% |
andrew morton | andrew morton | 5 | 33.33% | 1 | 25.00% |
pre-git | pre-git | 3 | 20.00% | 1 | 25.00% |
christoph hellwig | christoph hellwig | 1 | 6.67% | 1 | 25.00% |
| Total | 15 | 100.00% | 4 | 100.00% |
static inline void dquot_drop(struct inode *inode)
{
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
andrew morton | andrew morton | 7 | 63.64% | 1 | 33.33% |
pre-git | pre-git | 3 | 27.27% | 1 | 33.33% |
christoph hellwig | christoph hellwig | 1 | 9.09% | 1 | 33.33% |
| Total | 11 | 100.00% | 3 | 100.00% |
static inline int dquot_alloc_inode(struct inode *inode)
{
return 0;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
andrew morton | andrew morton | 11 | 73.33% | 1 | 33.33% |
pre-git | pre-git | 3 | 20.00% | 1 | 33.33% |
christoph hellwig | christoph hellwig | 1 | 6.67% | 1 | 33.33% |
| Total | 15 | 100.00% | 3 | 100.00% |
static inline void dquot_free_inode(struct inode *inode)
{
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
andrew morton | andrew morton | 7 | 63.64% | 1 | 33.33% |
pre-git | pre-git | 3 | 27.27% | 1 | 33.33% |
christoph hellwig | christoph hellwig | 1 | 9.09% | 1 | 33.33% |
| Total | 11 | 100.00% | 3 | 100.00% |
static inline int dquot_transfer(struct inode *inode, struct iattr *iattr)
{
return 0;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
andrew morton | andrew morton | 14 | 70.00% | 1 | 25.00% |
pre-git | pre-git | 4 | 20.00% | 1 | 25.00% |
christoph hellwig | christoph hellwig | 1 | 5.00% | 1 | 25.00% |
linus torvalds | linus torvalds | 1 | 5.00% | 1 | 25.00% |
| Total | 20 | 100.00% | 4 | 100.00% |
static inline int __dquot_alloc_space(struct inode *inode, qsize_t number,
int flags)
{
if (!(flags & DQUOT_SPACE_RESERVE))
inode_add_bytes(inode, number);
return 0;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
linus torvalds | linus torvalds | 15 | 40.54% | 1 | 16.67% |
christoph hellwig | christoph hellwig | 9 | 24.32% | 1 | 16.67% |
eric sandeen | eric sandeen | 6 | 16.22% | 1 | 16.67% |
jan kara | jan kara | 5 | 13.51% | 2 | 33.33% |
adrian bunk | adrian bunk | 2 | 5.41% | 1 | 16.67% |
| Total | 37 | 100.00% | 6 | 100.00% |
static inline void __dquot_free_space(struct inode *inode, qsize_t number,
int flags)
{
if (!(flags & DQUOT_SPACE_RESERVE))
inode_sub_bytes(inode, number);
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
linus torvalds | linus torvalds | 14 | 41.18% | 1 | 20.00% |
christoph hellwig | christoph hellwig | 11 | 32.35% | 1 | 20.00% |
eric sandeen | eric sandeen | 6 | 17.65% | 1 | 20.00% |
adrian bunk | adrian bunk | 2 | 5.88% | 1 | 20.00% |
jan kara | jan kara | 1 | 2.94% | 1 | 20.00% |
| Total | 34 | 100.00% | 5 | 100.00% |
static inline int dquot_claim_space_nodirty(struct inode *inode, qsize_t number)
{
inode_add_bytes(inode, number);
return 0;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
linus torvalds | linus torvalds | 15 | 60.00% | 1 | 20.00% |
jan kara | jan kara | 5 | 20.00% | 2 | 40.00% |
christoph hellwig | christoph hellwig | 3 | 12.00% | 1 | 20.00% |
adrian bunk | adrian bunk | 2 | 8.00% | 1 | 20.00% |
| Total | 25 | 100.00% | 5 | 100.00% |
static inline int dquot_reclaim_space_nodirty(struct inode *inode,
qsize_t number)
{
inode_sub_bytes(inode, number);
return 0;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
jan kara | jan kara | 25 | 100.00% | 1 | 100.00% |
| Total | 25 | 100.00% | 1 | 100.00% |
static inline int dquot_disable(struct super_block *sb, int type,
unsigned int flags)
{
return 0;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
christoph hellwig | christoph hellwig | 22 | 100.00% | 1 | 100.00% |
| Total | 22 | 100.00% | 1 | 100.00% |
static inline int dquot_suspend(struct super_block *sb, int type)
{
return 0;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
christoph hellwig | christoph hellwig | 18 | 100.00% | 1 | 100.00% |
| Total | 18 | 100.00% | 1 | 100.00% |
static inline int dquot_resume(struct super_block *sb, int type)
{
return 0;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
christoph hellwig | christoph hellwig | 18 | 100.00% | 1 | 100.00% |
| Total | 18 | 100.00% | 1 | 100.00% |
#define dquot_file_open generic_file_open
static inline int dquot_writeback_dquots(struct super_block *sb, int type)
{
return 0;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
jan kara | jan kara | 18 | 100.00% | 1 | 100.00% |
| Total | 18 | 100.00% | 1 | 100.00% |
#endif /* CONFIG_QUOTA */
static inline int dquot_alloc_space_nodirty(struct inode *inode, qsize_t nr)
{
return __dquot_alloc_space(inode, nr, DQUOT_SPACE_WARN);
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
linus torvalds | linus torvalds | 16 | 64.00% | 1 | 20.00% |
christoph hellwig | christoph hellwig | 5 | 20.00% | 1 | 20.00% |
adrian bunk | adrian bunk | 2 | 8.00% | 1 | 20.00% |
jan kara | jan kara | 1 | 4.00% | 1 | 20.00% |
eric sandeen | eric sandeen | 1 | 4.00% | 1 | 20.00% |
| Total | 25 | 100.00% | 5 | 100.00% |
static inline void dquot_alloc_space_nofail(struct inode *inode, qsize_t nr)
{
__dquot_alloc_space(inode, nr, DQUOT_SPACE_WARN|DQUOT_SPACE_NOFAIL);
mark_inode_dirty_sync(inode);
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
eric sandeen | eric sandeen | 30 | 96.77% | 1 | 50.00% |
jan kara | jan kara | 1 | 3.23% | 1 | 50.00% |
| Total | 31 | 100.00% | 2 | 100.00% |
static inline int dquot_alloc_space(struct inode *inode, qsize_t nr)
{
int ret;
ret = dquot_alloc_space_nodirty(inode, nr);
if (!ret) {
/*
* Mark inode fully dirty. Since we are allocating blocks, inode
* would become fully dirty soon anyway and it reportedly
* reduces lock contention.
*/
mark_inode_dirty(inode);
}
return ret;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
mingming cao | mingming cao | 23 | 53.49% | 2 | 40.00% |
christoph hellwig | christoph hellwig | 16 | 37.21% | 1 | 20.00% |
li shaohua | li shaohua | 3 | 6.98% | 1 | 20.00% |
dave chinner | dave chinner | 1 | 2.33% | 1 | 20.00% |
| Total | 43 | 100.00% | 5 | 100.00% |
static inline int dquot_alloc_block_nodirty(struct inode *inode, qsize_t nr)
{
return dquot_alloc_space_nodirty(inode, nr << inode->i_blkbits);
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
linus torvalds | linus torvalds | 12 | 44.44% | 1 | 20.00% |
christoph hellwig | christoph hellwig | 9 | 33.33% | 1 | 20.00% |
jan kara | jan kara | 4 | 14.81% | 2 | 40.00% |
adrian bunk | adrian bunk | 2 | 7.41% | 1 | 20.00% |
| Total | 27 | 100.00% | 5 | 100.00% |
static inline void dquot_alloc_block_nofail(struct inode *inode, qsize_t nr)
{
dquot_alloc_space_nofail(inode, nr << inode->i_blkbits);
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
eric sandeen | eric sandeen | 26 | 100.00% | 1 | 100.00% |
| Total | 26 | 100.00% | 1 | 100.00% |
static inline int dquot_alloc_block(struct inode *inode, qsize_t nr)
{
return dquot_alloc_space(inode, nr << inode->i_blkbits);
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
linus torvalds | linus torvalds | 16 | 59.26% | 1 | 25.00% |
christoph hellwig | christoph hellwig | 8 | 29.63% | 1 | 25.00% |
adrian bunk | adrian bunk | 2 | 7.41% | 1 | 25.00% |
jan kara | jan kara | 1 | 3.70% | 1 | 25.00% |
| Total | 27 | 100.00% | 4 | 100.00% |
static inline int dquot_prealloc_block_nodirty(struct inode *inode, qsize_t nr)
{
return __dquot_alloc_space(inode, nr << inode->i_blkbits, 0);
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
jan kara | jan kara | 24 | 82.76% | 2 | 50.00% |
christoph hellwig | christoph hellwig | 4 | 13.79% | 1 | 25.00% |
mingming cao | mingming cao | 1 | 3.45% | 1 | 25.00% |
| Total | 29 | 100.00% | 4 | 100.00% |
static inline int dquot_prealloc_block(struct inode *inode, qsize_t nr)
{
int ret;
ret = dquot_prealloc_block_nodirty(inode, nr);
if (!ret)
mark_inode_dirty_sync(inode);
return ret;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
jan kara | jan kara | 22 | 55.00% | 3 | 75.00% |
christoph hellwig | christoph hellwig | 18 | 45.00% | 1 | 25.00% |
| Total | 40 | 100.00% | 4 | 100.00% |
static inline int dquot_reserve_block(struct inode *inode, qsize_t nr)
{
return __dquot_alloc_space(inode, nr << inode->i_blkbits,
DQUOT_SPACE_WARN|DQUOT_SPACE_RESERVE);
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
jan kara | jan kara | 24 | 77.42% | 2 | 40.00% |
christoph hellwig | christoph hellwig | 3 | 9.68% | 1 | 20.00% |
eric sandeen | eric sandeen | 3 | 9.68% | 1 | 20.00% |
mingming cao | mingming cao | 1 | 3.23% | 1 | 20.00% |
| Total | 31 | 100.00% | 5 | 100.00% |
static inline int dquot_claim_block(struct inode *inode, qsize_t nr)
{
int ret;
ret = dquot_claim_space_nodirty(inode, nr << inode->i_blkbits);
if (!ret)
mark_inode_dirty_sync(inode);
return ret;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
jan kara | jan kara | 24 | 54.55% | 3 | 60.00% |
christoph hellwig | christoph hellwig | 19 | 43.18% | 1 | 20.00% |
mingming cao | mingming cao | 1 | 2.27% | 1 | 20.00% |
| Total | 44 | 100.00% | 5 | 100.00% |
static inline void dquot_reclaim_block(struct inode *inode, qsize_t nr)
{
dquot_reclaim_space_nodirty(inode, nr << inode->i_blkbits);
mark_inode_dirty_sync(inode);
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
jan kara | jan kara | 31 | 100.00% | 1 | 100.00% |
| Total | 31 | 100.00% | 1 | 100.00% |
static inline void dquot_free_space_nodirty(struct inode *inode, qsize_t nr)
{
__dquot_free_space(inode, nr, 0);
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
mingming cao | mingming cao | 18 | 75.00% | 1 | 50.00% |
christoph hellwig | christoph hellwig | 6 | 25.00% | 1 | 50.00% |
| Total | 24 | 100.00% | 2 | 100.00% |
static inline void dquot_free_space(struct inode *inode, qsize_t nr)
{
dquot_free_space_nodirty(inode, nr);
mark_inode_dirty_sync(inode);
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
mingming cao | mingming cao | 19 | 70.37% | 1 | 33.33% |
christoph hellwig | christoph hellwig | 7 | 25.93% | 1 | 33.33% |
jan kara | jan kara | 1 | 3.70% | 1 | 33.33% |
| Total | 27 | 100.00% | 3 | 100.00% |
static inline void dquot_free_block_nodirty(struct inode *inode, qsize_t nr)
{
dquot_free_space_nodirty(inode, nr << inode->i_blkbits);
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
mingming cao | mingming cao | 24 | 92.31% | 1 | 50.00% |
christoph hellwig | christoph hellwig | 2 | 7.69% | 1 | 50.00% |
| Total | 26 | 100.00% | 2 | 100.00% |
static inline void dquot_free_block(struct inode *inode, qsize_t nr)
{
dquot_free_space(inode, nr << inode->i_blkbits);
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
jan kara | jan kara | 23 | 88.46% | 2 | 50.00% |
christoph hellwig | christoph hellwig | 2 | 7.69% | 1 | 25.00% |
mingming cao | mingming cao | 1 | 3.85% | 1 | 25.00% |
| Total | 26 | 100.00% | 4 | 100.00% |
static inline void dquot_release_reservation_block(struct inode *inode,
qsize_t nr)
{
__dquot_free_space(inode, nr << inode->i_blkbits, DQUOT_SPACE_RESERVE);
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
jan kara | jan kara | 23 | 82.14% | 2 | 40.00% |
christoph hellwig | christoph hellwig | 3 | 10.71% | 1 | 20.00% |
mingming cao | mingming cao | 1 | 3.57% | 1 | 20.00% |
eric sandeen | eric sandeen | 1 | 3.57% | 1 | 20.00% |
| Total | 28 | 100.00% | 5 | 100.00% |
unsigned int qtype_enforce_flag(int type);
#endif /* _LINUX_QUOTAOPS_ */
Overall Contributors
| Person | Tokens | Prop | Commits | CommitProp |
jan kara | jan kara | 800 | 41.99% | 26 | 39.39% |
christoph hellwig | christoph hellwig | 321 | 16.85% | 10 | 15.15% |
andrew morton | andrew morton | 175 | 9.19% | 2 | 3.03% |
mingming cao | mingming cao | 126 | 6.61% | 3 | 4.55% |
dmitriy monakhov | dmitriy monakhov | 107 | 5.62% | 3 | 4.55% |
linus torvalds | linus torvalds | 100 | 5.25% | 3 | 4.55% |
eric sandeen | eric sandeen | 87 | 4.57% | 2 | 3.03% |
pre-git | pre-git | 79 | 4.15% | 2 | 3.03% |
jiaying zhang | jiaying zhang | 34 | 1.78% | 1 | 1.52% |
al viro | al viro | 19 | 1.00% | 1 | 1.52% |
eric w. biederman | eric w. biederman | 17 | 0.89% | 3 | 4.55% |
konstantin khlebnikov | konstantin khlebnikov | 16 | 0.84% | 1 | 1.52% |
adrian bunk | adrian bunk | 13 | 0.68% | 2 | 3.03% |
joe perches | joe perches | 4 | 0.21% | 2 | 3.03% |
li shaohua | li shaohua | 3 | 0.16% | 1 | 1.52% |
alexey dobriyan | alexey dobriyan | 2 | 0.10% | 2 | 3.03% |
dave jones | dave jones | 1 | 0.05% | 1 | 1.52% |
dave chinner | dave chinner | 1 | 0.05% | 1 | 1.52% |
| Total | 1905 | 100.00% | 66 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.