Home
last modified time | relevance | path

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

12

/linux/fs/quota/
A Ddquot.c291 struct dquot *dquot; in find_dquot() local
537 struct dquot *dquot, *tmp; in invalidate_dquots() local
625 struct dquot *dquot; in dquot_writeback_dquots() local
718 struct dquot *dquot; in dqcache_shrink_scan() local
818 struct dquot *dquot; in get_empty_dquot() local
1041 struct dquot *dquot; in put_dquot_list() local
1446 struct dquot *dquot; in __dquot_initialize() local
2076 struct dquot *dquot; in dquot_transfer() local
2611 struct dquot *dquot; in dquot_get_dqblk() local
2626 struct dquot *dquot; in dquot_get_next_dqblk() local
[all …]
A Dquota_tree.c217 struct dquot *dquot, int *err) in find_free_dqentry() argument
246 mark_info_dirty(dquot->dq_sb, dquot->dq_id.type); in find_free_dqentry()
347 struct dquot *dquot) in dq_insert_tree() argument
364 int qtree_write_dquot(struct qtree_mem_dqinfo *info, struct dquot *dquot) in qtree_write_dquot() argument
375 if (!dquot->dq_off) { in qtree_write_dquot()
533 struct dquot *dquot, uint blk) in find_block_dqentry() argument
571 struct dquot *dquot, uint blk, int depth) in find_tree_dqentry() argument
607 struct dquot *dquot) in find_dqentry() argument
612 int qtree_read_dquot(struct qtree_mem_dqinfo *info, struct dquot *dquot) in qtree_read_dquot() argument
636 dquot->dq_off = 0; in qtree_read_dquot()
[all …]
A Dquota_v2.c25 static void v2r0_mem2diskdqb(void *dp, struct dquot *dquot);
26 static void v2r0_disk2memdqb(struct dquot *dquot, void *dp);
27 static int v2r0_is_id(void *dp, struct dquot *dquot);
28 static void v2r1_mem2diskdqb(void *dp, struct dquot *dquot);
29 static void v2r1_disk2memdqb(struct dquot *dquot, void *dp);
30 static int v2r1_is_id(void *dp, struct dquot *dquot);
327 static int v2_read_dquot(struct dquot *dquot) in v2_read_dquot() argument
335 dquot); in v2_read_dquot()
340 static int v2_write_dquot(struct dquot *dquot) in v2_write_dquot() argument
368 static int v2_release_dquot(struct dquot *dquot) in v2_release_dquot() argument
[all …]
A Dquota_v1.c56 static int v1_read_dqblk(struct dquot *dquot) in v1_read_dqblk() argument
58 int type = dquot->dq_id.type; in v1_read_dqblk()
67 dquot->dq_sb->s_op->quota_read(dquot->dq_sb, type, (char *)&dqblk, in v1_read_dqblk()
72 if (dquot->dq_dqb.dqb_bhardlimit == 0 && in v1_read_dqblk()
73 dquot->dq_dqb.dqb_bsoftlimit == 0 && in v1_read_dqblk()
74 dquot->dq_dqb.dqb_ihardlimit == 0 && in v1_read_dqblk()
75 dquot->dq_dqb.dqb_isoftlimit == 0) in v1_read_dqblk()
76 set_bit(DQ_FAKE_B, &dquot->dq_flags); in v1_read_dqblk()
82 static int v1_commit_dqblk(struct dquot *dquot) in v1_commit_dqblk() argument
84 short type = dquot->dq_id.type; in v1_commit_dqblk()
[all …]
A Dbuilt-in.a3 dquot.o/
A DMakefile2 obj-$(CONFIG_QUOTA) += dquot.o
A D.built-in.a.cmd1 …ains/aarch64/bin/aarch64-linux-gnu-ar cDPrST fs/quota/built-in.a fs/quota/dquot.o fs/quota/quota.o…
A D.dquot.o.cmd1dquot.o := /usr/bin/ccache /home/test/workspace/code/optee_3.16/build/../toolchains/aarch64/bin/aa…
3 source_fs/quota/dquot.o := fs/quota/dquot.c
5 deps_fs/quota/dquot.o := \
1178 fs/quota/dquot.o: $(deps_fs/quota/dquot.o)
1180 $(deps_fs/quota/dquot.o):
/linux/fs/ocfs2/
A Dquota_global.c71 static void ocfs2_global_disk2memdqb(struct dquot *dquot, void *dp) in ocfs2_global_disk2memdqb() argument
114 static int ocfs2_global_is_id(void *dp, struct dquot *dquot) in ocfs2_global_is_id() argument
118 sb_dqinfo(dquot->dq_sb, dquot->dq_id.type)->dqi_priv; in ocfs2_global_is_id()
483 int __ocfs2_sync_dquot(struct dquot *dquot, int freeing) in __ocfs2_sync_dquot() argument
659 static int ocfs2_write_dquot(struct dquot *dquot) in ocfs2_write_dquot() argument
717 static int ocfs2_release_dquot(struct dquot *dquot) in ocfs2_release_dquot() argument
721 sb_dqinfo(dquot->dq_sb, dquot->dq_id.type)->dqi_priv; in ocfs2_release_dquot()
791 static int ocfs2_acquire_dquot(struct dquot *dquot) in ocfs2_acquire_dquot() argument
907 static int ocfs2_mark_dquot_dirty(struct dquot *dquot) in ocfs2_mark_dquot_dirty() argument
997 if (!dquot) in ocfs2_alloc_dquot()
[all …]
A Dquota.h28 struct dquot dq_dquot; /* Generic VFS dquot */
72 static inline struct ocfs2_dquot *OCFS2_DQUOT(struct dquot *dquot) in OCFS2_DQUOT() argument
100 int ocfs2_global_read_dquot(struct dquot *dquot);
101 int __ocfs2_sync_dquot(struct dquot *dquot, int freeing);
102 static inline int ocfs2_sync_dquot(struct dquot *dquot) in ocfs2_sync_dquot() argument
104 return __ocfs2_sync_dquot(dquot, 0); in ocfs2_sync_dquot()
106 static inline int ocfs2_global_release_dquot(struct dquot *dquot) in ocfs2_global_release_dquot() argument
108 return __ocfs2_sync_dquot(dquot, 1); in ocfs2_global_release_dquot()
116 int ocfs2_create_local_dquot(struct dquot *dquot);
117 int ocfs2_local_release_dquot(handle_t *handle, struct dquot *dquot);
[all …]
A Dquota_local.c466 struct dquot *dquot; in ocfs2_recover_local_quota_file() local
498 dquot = dqget(sb, in ocfs2_recover_local_quota_file()
501 if (IS_ERR(dquot)) { in ocfs2_recover_local_quota_file()
502 status = PTR_ERR(dquot); in ocfs2_recover_local_quota_file()
524 spin_lock(&dquot->dq_dqb_lock); in ocfs2_recover_local_quota_file()
561 dqput(dquot); in ocfs2_recover_local_quota_file()
895 int ocfs2_local_write_dquot(struct dquot *dquot) in ocfs2_local_write_dquot() argument
1218 int ocfs2_create_local_dquot(struct dquot *dquot) in ocfs2_create_local_dquot() argument
1221 int type = dquot->dq_id.type; in ocfs2_create_local_dquot()
1272 int ocfs2_local_release_dquot(handle_t *handle, struct dquot *dquot) in ocfs2_local_release_dquot() argument
[all …]
A Dinode.h68 struct dquot *i_dquot[MAXQUOTAS];
/linux/include/linux/
A Ddqblk_qtree.h18 struct dquot;
23 …void (*mem2disk_dqblk)(void *disk, struct dquot *dquot); /* Convert given entry from in memory for…
24 …void (*disk2mem_dqblk)(struct dquot *dquot, void *disk); /* Convert given entry from disk format t…
25 int (*is_id)(void *disk, struct dquot *dquot); /* Is this structure for given id? */
42 int qtree_write_dquot(struct qtree_mem_dqinfo *info, struct dquot *dquot);
43 int qtree_read_dquot(struct qtree_mem_dqinfo *info, struct dquot *dquot);
44 int qtree_delete_dquot(struct qtree_mem_dqinfo *info, struct dquot *dquot);
45 int qtree_release_dquot(struct qtree_mem_dqinfo *info, struct dquot *dquot);
A Dquotaops.h46 static inline struct dquot *dqgrab(struct dquot *dquot) in dqgrab() argument
51 atomic_inc(&dquot->dq_count); in dqgrab()
52 return dquot; in dqgrab()
55 static inline bool dquot_is_busy(struct dquot *dquot) in dquot_is_busy() argument
64 void dqput(struct dquot *dquot);
66 int (*fn)(struct dquot *dquot, unsigned long priv),
69 void dquot_destroy(struct dquot *dquot);
88 int dquot_commit(struct dquot *dquot);
89 int dquot_acquire(struct dquot *dquot);
90 int dquot_release(struct dquot *dquot);
[all …]
A Dquota.h294 struct dquot { struct
315 int (*read_dqblk)(struct dquot *dquot); /* Read structure for one user */ argument
316 int (*commit_dqblk)(struct dquot *dquot); /* Write structure for one user */
317 …int (*release_dqblk)(struct dquot *dquot); /* Called when last reference to dquot is being dropped…
323 int (*write_dquot) (struct dquot *); /* Ordinary dquot write */
324 struct dquot *(*alloc_dquot)(struct super_block *, int); /* Allocate memory for new dquot */
325 void (*destroy_dquot)(struct dquot *); /* Free memory for dquot */
326 int (*acquire_dquot) (struct dquot *); /* Quota is going to be created on disk */
327 int (*release_dquot) (struct dquot *); /* Quota is going to be deleted from disk */
328 int (*mark_dirty) (struct dquot *); /* Dquot is marked dirty */
/linux/fs/reiserfs/
A Dsuper.c2268 static int reiserfs_write_dquot(struct dquot *dquot) in reiserfs_write_dquot() argument
2274 reiserfs_write_lock(dquot->dq_sb); in reiserfs_write_dquot()
2281 ret = dquot_commit(dquot); in reiserfs_write_dquot()
2291 static int reiserfs_acquire_dquot(struct dquot *dquot) in reiserfs_acquire_dquot() argument
2297 reiserfs_write_lock(dquot->dq_sb); in reiserfs_acquire_dquot()
2304 ret = dquot_acquire(dquot); in reiserfs_acquire_dquot()
2314 static int reiserfs_release_dquot(struct dquot *dquot) in reiserfs_release_dquot() argument
2326 dquot_release(dquot); in reiserfs_release_dquot()
2329 ret = dquot_release(dquot); in reiserfs_release_dquot()
2339 static int reiserfs_mark_dquot_dirty(struct dquot *dquot) in reiserfs_mark_dquot_dirty() argument
[all …]
/linux/fs/ext4/
A Dsuper.c1592 static int ext4_write_dquot(struct dquot *dquot);
1593 static int ext4_acquire_dquot(struct dquot *dquot);
1594 static int ext4_release_dquot(struct dquot *dquot);
1595 static int ext4_mark_dquot_dirty(struct dquot *dquot);
6043 struct dquot *dquot; in ext4_statfs_project() local
6076 dqput(dquot); in ext4_statfs_project()
6126 return sb_dqopt(dquot->dq_sb)->files[dquot->dq_id.type]; in dquot_to_inode()
6129 static int ext4_write_dquot(struct dquot *dquot) in ext4_write_dquot() argument
6147 static int ext4_acquire_dquot(struct dquot *dquot) in ext4_acquire_dquot() argument
6163 static int ext4_release_dquot(struct dquot *dquot) in ext4_release_dquot() argument
[all …]
A Dioctl.c473 struct dquot *transfer_to[MAXQUOTAS] = { }; in ext4_ioctl_setproject()
/linux/fs/f2fs/
A Dsuper.c1644 struct dquot *dquot; in f2fs_statfs_project() local
1649 dquot = dqget(sb, qid); in f2fs_statfs_project()
1650 if (IS_ERR(dquot)) in f2fs_statfs_project()
1651 return PTR_ERR(dquot); in f2fs_statfs_project()
1679 dqput(dquot); in f2fs_statfs_project()
2808 static int f2fs_dquot_commit(struct dquot *dquot) in f2fs_dquot_commit() argument
2814 ret = dquot_commit(dquot); in f2fs_dquot_commit()
2821 static int f2fs_dquot_acquire(struct dquot *dquot) in f2fs_dquot_acquire() argument
2827 ret = dquot_acquire(dquot); in f2fs_dquot_acquire()
2834 static int f2fs_dquot_release(struct dquot *dquot) in f2fs_dquot_release() argument
[all …]
/linux/Documentation/admin-guide/sysctl/
A Dfs.rst32 - dquot-max
33 - dquot-nr
94 dquot-max & dquot-nr
97 The file dquot-max shows the maximum number of cached disk
100 The file dquot-nr shows the number of allocated disk quota
/linux/fs/jfs/
A Djfs_incore.h95 struct dquot *i_dquot[MAXQUOTAS];
A Dsuper.c833 static struct dquot **jfs_get_dquots(struct inode *inode) in jfs_get_dquots()
/linux/Documentation/filesystems/
A Dlocking.rst603 int (*write_dquot) (struct dquot *);
604 int (*acquire_dquot) (struct dquot *);
605 int (*release_dquot) (struct dquot *);
606 int (*mark_dirty) (struct dquot *);
627 More details about quota locking can be found in fs/dquot.c.
/linux/fs/
A Dbuilt-in.a84 quota/dquot.o/
/linux/fs/ext2/
A Dext2.h681 struct dquot *i_dquot[MAXQUOTAS];

Completed in 60 milliseconds

12