Home
last modified time | relevance | path

Searched refs:dq_flags (Results 1 – 7 of 7) sorted by relevance

/Linux-v6.6/fs/ocfs2/
Dquota_global.c77 if (!test_bit(DQ_LASTSET_B + QIF_ILIMITS_B, &dquot->dq_flags)) { in ocfs2_global_disk2memdqb()
81 if (!test_bit(DQ_LASTSET_B + QIF_INODES_B, &dquot->dq_flags)) in ocfs2_global_disk2memdqb()
83 if (!test_bit(DQ_LASTSET_B + QIF_BLIMITS_B, &dquot->dq_flags)) { in ocfs2_global_disk2memdqb()
87 if (!test_bit(DQ_LASTSET_B + QIF_SPACE_B, &dquot->dq_flags)) in ocfs2_global_disk2memdqb()
89 if (!test_bit(DQ_LASTSET_B + QIF_BTIME_B, &dquot->dq_flags)) in ocfs2_global_disk2memdqb()
91 if (!test_bit(DQ_LASTSET_B + QIF_ITIME_B, &dquot->dq_flags)) in ocfs2_global_disk2memdqb()
522 if (!test_bit(DQ_LASTSET_B + QIF_SPACE_B, &dquot->dq_flags)) in __ocfs2_sync_dquot()
524 if (!test_bit(DQ_LASTSET_B + QIF_INODES_B, &dquot->dq_flags)) in __ocfs2_sync_dquot()
529 if (!test_bit(DQ_LASTSET_B + QIF_BTIME_B, &dquot->dq_flags) && in __ocfs2_sync_dquot()
539 clear_bit(DQ_BLKS_B, &dquot->dq_flags); in __ocfs2_sync_dquot()
[all …]
/Linux-v6.6/fs/quota/
Ddquot.c323 set_bit(DQ_RELEASING_B, &dquot->dq_flags); in put_releasing_dquots()
331 if (!test_bit(DQ_RELEASING_B, &dquot->dq_flags)) in remove_free_dquot()
334 clear_bit(DQ_RELEASING_B, &dquot->dq_flags); in remove_free_dquot()
362 return test_bit(DQ_ACTIVE_B, &dquot->dq_flags); in dquot_active()
367 return test_bit(DQ_MOD_B, &dquot->dq_flags); in dquot_dirty()
384 return test_and_set_bit(DQ_MOD_B, &dquot->dq_flags); in dquot_mark_dquot_dirty()
391 if (!test_and_set_bit(DQ_MOD_B, &dquot->dq_flags)) { in dquot_mark_dquot_dirty()
428 return test_and_clear_bit(DQ_MOD_B, &dquot->dq_flags); in clear_dquot_dirty()
431 if (!test_and_clear_bit(DQ_MOD_B, &dquot->dq_flags)) { in clear_dquot_dirty()
460 if (!test_bit(DQ_READ_B, &dquot->dq_flags)) { in dquot_acquire()
[all …]
Dquota_tree.c680 set_bit(DQ_FAKE_B, &dquot->dq_flags); in qtree_read_dquot()
697 set_bit(DQ_FAKE_B, &dquot->dq_flags); in qtree_read_dquot()
708 set_bit(DQ_FAKE_B, &dquot->dq_flags); in qtree_read_dquot()
721 if (test_bit(DQ_FAKE_B, &dquot->dq_flags) && in qtree_release_dquot()
Dquota_v1.c76 set_bit(DQ_FAKE_B, &dquot->dq_flags); in v1_read_dqblk()
/Linux-v6.6/mm/
Dshmem_quota.c224 set_bit(DQ_FAKE_B, &dquot->dq_flags); in shmem_acquire_dquot()
229 set_bit(DQ_ACTIVE_B, &dquot->dq_flags); in shmem_acquire_dquot()
250 if (test_bit(DQ_FAKE_B, &dquot->dq_flags) || in shmem_is_empty_dquot()
310 clear_bit(DQ_ACTIVE_B, &dquot->dq_flags); in shmem_release_dquot()
/Linux-v6.6/include/linux/
Dquotaops.h51 WARN_ON_ONCE(!test_bit(DQ_ACTIVE_B, &dquot->dq_flags)); in dqgrab()
58 if (test_bit(DQ_MOD_B, &dquot->dq_flags)) in dquot_is_busy()
Dquota.h307 unsigned long dq_flags; /* See DQ_* */ member