Lines Matching refs:state
250 if (chkSuper(sb) || (sbi->state != FM_CLEAN)) in jfs_mount_rw()
371 sbi->state = le32_to_cpu(j_sb->s_state); in chkSuper()
409 int updateSuper(struct super_block *sb, uint state) in updateSuper() argument
417 if (state == FM_DIRTY) { in updateSuper()
418 sbi->p_state = state; in updateSuper()
420 } else if (state == FM_MOUNT) { in updateSuper()
421 sbi->p_state = sbi->state; in updateSuper()
422 state = FM_DIRTY; in updateSuper()
423 } else if (state == FM_CLEAN) { in updateSuper()
424 state = sbi->p_state; in updateSuper()
427 } else if (sbi->state == FM_DIRTY) in updateSuper()
435 j_sb->s_state = cpu_to_le32(state); in updateSuper()
436 sbi->state = state; in updateSuper()
438 if (state == FM_MOUNT) { in updateSuper()
442 } else if (state == FM_CLEAN) { in updateSuper()