Home
last modified time | relevance | path

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

/Linux-v6.1/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.1/fs/quota/
Ddquot.c341 return test_bit(DQ_MOD_B, &dquot->dq_flags); in dquot_dirty()
354 if (!test_bit(DQ_ACTIVE_B, &dquot->dq_flags)) in dquot_mark_dquot_dirty()
358 return test_and_set_bit(DQ_MOD_B, &dquot->dq_flags); in dquot_mark_dquot_dirty()
361 if (test_bit(DQ_MOD_B, &dquot->dq_flags)) in dquot_mark_dquot_dirty()
365 if (!test_and_set_bit(DQ_MOD_B, &dquot->dq_flags)) { in dquot_mark_dquot_dirty()
402 return test_and_clear_bit(DQ_MOD_B, &dquot->dq_flags); in clear_dquot_dirty()
405 if (!test_and_clear_bit(DQ_MOD_B, &dquot->dq_flags)) { in clear_dquot_dirty()
434 if (!test_bit(DQ_READ_B, &dquot->dq_flags)) { in dquot_acquire()
441 set_bit(DQ_READ_B, &dquot->dq_flags); in dquot_acquire()
443 if (!test_bit(DQ_ACTIVE_B, &dquot->dq_flags) && !dquot->dq_off) { 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.1/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.h305 unsigned long dq_flags; /* See DQ_* */ member