Home
last modified time | relevance | path

Searched refs:dquot (Results 1 – 11 of 11) sorted by relevance

/linux-2.4.37.9/fs/
Ddquot.c155 static void dqput(struct dquot *);
156 static struct dquot *dqduplicate(struct dquot *);
158 static inline void get_dquot_ref(struct dquot *dquot) in get_dquot_ref() argument
160 dquot->dq_count++; in get_dquot_ref()
163 static inline void put_dquot_ref(struct dquot *dquot) in put_dquot_ref() argument
165 dquot->dq_count--; in put_dquot_ref()
168 static inline void get_dquot_dup_ref(struct dquot *dquot) in get_dquot_dup_ref() argument
170 dquot->dq_dup_ref++; in get_dquot_dup_ref()
173 static inline void put_dquot_dup_ref(struct dquot *dquot) in put_dquot_dup_ref() argument
175 dquot->dq_dup_ref--; in put_dquot_dup_ref()
[all …]
Dquota_v2.c286 static uint find_free_dqentry(struct dquot *dquot, int *err) in find_free_dqentry() argument
288 struct file *filp = sb_dqopt(dquot->dq_sb)->files[dquot->dq_type]; in find_free_dqentry()
289 struct mem_dqinfo *info = sb_dqopt(dquot->dq_sb)->info+dquot->dq_type; in find_free_dqentry()
338dquot->dq_off = (blk<<V2_DQBLKSIZE_BITS)+sizeof(struct v2_disk_dqdbheader)+i*sizeof(struct v2_disk… in find_free_dqentry()
347 static int do_insert_tree(struct dquot *dquot, uint *treeblk, int depth) in do_insert_tree() argument
349 struct file *filp = sb_dqopt(dquot->dq_sb)->files[dquot->dq_type]; in do_insert_tree()
350 struct mem_dqinfo *info = sb_dqopt(dquot->dq_sb)->info + dquot->dq_type; in do_insert_tree()
373 newblk = le32_to_cpu(ref[GETIDINDEX(dquot->dq_id, depth)]); in do_insert_tree()
379 …printk(KERN_ERR "VFS: Inserting already present quota entry (block %u).\n", ref[GETIDINDEX(dquot->… in do_insert_tree()
384 newblk = find_free_dqentry(dquot, &ret); in do_insert_tree()
[all …]
Dquota_v1.c37 static int v1_read_dqblk(struct dquot *dquot) in v1_read_dqblk() argument
39 int type = dquot->dq_type; in v1_read_dqblk()
45 filp = sb_dqopt(dquot->dq_sb)->files[type]; in v1_read_dqblk()
51 offset = v1_dqoff(dquot->dq_id); in v1_read_dqblk()
57 v1_disk2mem_dqblk(&dquot->dq_dqb, &dqblk); in v1_read_dqblk()
58 if (dquot->dq_dqb.dqb_bhardlimit == 0 && dquot->dq_dqb.dqb_bsoftlimit == 0 && in v1_read_dqblk()
59 dquot->dq_dqb.dqb_ihardlimit == 0 && dquot->dq_dqb.dqb_isoftlimit == 0) in v1_read_dqblk()
60 dquot->dq_flags |= DQ_FAKE; in v1_read_dqblk()
65 static int v1_commit_dqblk(struct dquot *dquot) in v1_commit_dqblk() argument
67 short type = dquot->dq_type; in v1_commit_dqblk()
[all …]
DMakefile10 export-objs := filesystems.o open.o dcache.o buffer.o dquot.o
19 obj-$(CONFIG_QUOTA) += dquot.o quota_v1.o
Ddcache.c1293 sizeof(struct dquot), sizeof(unsigned long) * 4, in vfs_caches_init()
/linux-2.4.37.9/include/linux/
Dquota.h209 struct dquot { struct
228 #define NODQUOT (struct dquot *)NULL argument
239 int (*read_dqblk)(struct dquot *dquot); /* Read structure for one user */
240 int (*commit_dqblk)(struct dquot *dquot); /* Write (or delete) structure for one user */
252 int (*write_dquot) (struct dquot *);
290 #define mark_dquot_dirty(dquot) do {\ argument
291 dquot->dq_flags |= DQ_MOD;\
292 sb_dqopt(dquot->dq_sb)->info[dquot->dq_type].dqi_flags |= DQF_ANY_DQUOT_DIRTY;\
295 #define dquot_dirty(dquot) ((dquot)->dq_flags & DQ_MOD) argument
Dfs.h475 struct dquot *i_dquot[MAXQUOTAS];
/linux-2.4.37.9/Documentation/sysctl/
Dfs.txt19 - dquot-max
20 - dquot-nr
60 dquot-max & dquot-nr:
62 The file dquot-max shows the maximum number of cached disk
65 The file dquot-nr shows the number of allocated disk quota
Dvm.txt375 unused-inode, dentry and dquot caches will be freed during a
/linux-2.4.37.9/fs/ext3/
Dsuper.c1800 static int (*old_write_dquot)(struct dquot *dquot);
1807 static int ext3_write_dquot(struct dquot *dquot) in ext3_write_dquot() argument
1811 struct quota_info *dqops = sb_dqopt(dquot->dq_sb); in ext3_write_dquot()
1814 switch (dqops->info[dquot->dq_type].dqi_format->qf_fmt_id) { in ext3_write_dquot()
1825 qinode = dqops->files[dquot->dq_type]->f_dentry->d_inode; in ext3_write_dquot()
1832 ret = old_write_dquot(dquot); in ext3_write_dquot()
/linux-2.4.37.9/Documentation/filesystems/
Dproc.txt673 dquot-nr and dquot-max
676 The file dquot-max shows the maximum number of cached disk quota entries.
678 The file dquot-nr shows the number of allocated disk quota entries and the