Lines Matching refs:compat
1813 int jbd2_journal_check_used_features (journal_t *journal, unsigned long compat, in jbd2_journal_check_used_features() argument
1818 if (!compat && !ro && !incompat) in jbd2_journal_check_used_features()
1829 if (((be32_to_cpu(sb->s_feature_compat) & compat) == compat) && in jbd2_journal_check_used_features()
1848 int jbd2_journal_check_available_features (journal_t *journal, unsigned long compat, in jbd2_journal_check_available_features() argument
1851 if (!compat && !ro && !incompat) in jbd2_journal_check_available_features()
1861 if ((compat & JBD2_KNOWN_COMPAT_FEATURES) == compat && in jbd2_journal_check_available_features()
1881 int jbd2_journal_set_features (journal_t *journal, unsigned long compat, in jbd2_journal_set_features() argument
1887 ((compat & (f)) && !(sb->s_feature_compat & cpu_to_be32(f))) in jbd2_journal_set_features()
1890 if (jbd2_journal_check_used_features(journal, compat, ro, incompat)) in jbd2_journal_set_features()
1893 if (!jbd2_journal_check_available_features(journal, compat, ro, incompat)) in jbd2_journal_set_features()
1904 compat & JBD2_FEATURE_COMPAT_CHECKSUM) in jbd2_journal_set_features()
1905 compat &= ~JBD2_FEATURE_COMPAT_CHECKSUM; in jbd2_journal_set_features()
1908 compat, ro, incompat); in jbd2_journal_set_features()
1941 sb->s_feature_compat |= cpu_to_be32(compat); in jbd2_journal_set_features()
1962 void jbd2_journal_clear_features(journal_t *journal, unsigned long compat, in jbd2_journal_clear_features() argument
1968 compat, ro, incompat); in jbd2_journal_clear_features()
1972 sb->s_feature_compat &= ~cpu_to_be32(compat); in jbd2_journal_clear_features()