Home
last modified time | relevance | path

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

/Linux-v5.10/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-v5.10/fs/quota/
Ddquot.c342 return test_bit(DQ_MOD_B, &dquot->dq_flags); in dquot_dirty()
355 if (!test_bit(DQ_ACTIVE_B, &dquot->dq_flags)) in dquot_mark_dquot_dirty()
359 return test_and_set_bit(DQ_MOD_B, &dquot->dq_flags); in dquot_mark_dquot_dirty()
362 if (test_bit(DQ_MOD_B, &dquot->dq_flags)) in dquot_mark_dquot_dirty()
366 if (!test_and_set_bit(DQ_MOD_B, &dquot->dq_flags)) { in dquot_mark_dquot_dirty()
403 return test_and_clear_bit(DQ_MOD_B, &dquot->dq_flags); in clear_dquot_dirty()
406 if (!test_and_clear_bit(DQ_MOD_B, &dquot->dq_flags)) { in clear_dquot_dirty()
433 if (!test_bit(DQ_READ_B, &dquot->dq_flags)) { in dquot_acquire()
440 set_bit(DQ_READ_B, &dquot->dq_flags); in dquot_acquire()
442 if (!test_bit(DQ_ACTIVE_B, &dquot->dq_flags) && !dquot->dq_off) { in dquot_acquire()
[all …]
Dquota_tree.c631 set_bit(DQ_FAKE_B, &dquot->dq_flags); in qtree_read_dquot()
648 set_bit(DQ_FAKE_B, &dquot->dq_flags); in qtree_read_dquot()
659 set_bit(DQ_FAKE_B, &dquot->dq_flags); in qtree_read_dquot()
672 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-v5.10/include/linux/
Dquotaops.h50 WARN_ON_ONCE(!test_bit(DQ_ACTIVE_B, &dquot->dq_flags)); in dqgrab()
57 if (test_bit(DQ_MOD_B, &dquot->dq_flags)) in dquot_is_busy()
Dquota.h305 unsigned long dq_flags; /* See DQ_* */ member