Lines Matching refs:info
219 struct mem_dqinfo *info = sb_dqinfo(sb, type); in ocfs2_quota_write() local
220 struct ocfs2_mem_dqinfo *oinfo = info->dqi_priv; in ocfs2_quota_write()
343 struct mem_dqinfo *info = sb_dqinfo(sb, type); in ocfs2_global_read_info() local
344 struct ocfs2_mem_dqinfo *oinfo = info->dqi_priv; in ocfs2_global_read_info()
393 info->dqi_bgrace = le32_to_cpu(dinfo.dqi_bgrace); in ocfs2_global_read_info()
394 info->dqi_igrace = le32_to_cpu(dinfo.dqi_igrace); in ocfs2_global_read_info()
419 struct mem_dqinfo *info = sb_dqinfo(sb, type); in __ocfs2_global_write_info() local
420 struct ocfs2_mem_dqinfo *oinfo = info->dqi_priv; in __ocfs2_global_write_info()
425 info->dqi_flags &= ~DQF_INFO_DIRTY; in __ocfs2_global_write_info()
426 dinfo.dqi_bgrace = cpu_to_le32(info->dqi_bgrace); in __ocfs2_global_write_info()
427 dinfo.dqi_igrace = cpu_to_le32(info->dqi_igrace); in __ocfs2_global_write_info()
449 struct ocfs2_mem_dqinfo *info = dqopt->info[type].dqi_priv; in ocfs2_global_write_info() local
452 err = ocfs2_qinfo_lock(info, 1); in ocfs2_global_write_info()
456 ocfs2_qinfo_unlock(info, 1); in ocfs2_global_write_info()
489 struct ocfs2_mem_dqinfo *info = sb_dqinfo(sb, type)->dqi_priv; in __ocfs2_sync_dquot() local
566 err = ocfs2_qinfo_lock(info, freeing); in __ocfs2_sync_dquot()
575 err = qtree_write_dquot(&info->dqi_gi, dquot); in __ocfs2_sync_dquot()
579 err = qtree_release_dquot(&info->dqi_gi, dquot); in __ocfs2_sync_dquot()
587 ocfs2_qinfo_unlock(info, freeing); in __ocfs2_sync_dquot()
799 struct ocfs2_mem_dqinfo *info = sb_dqinfo(sb, type)->dqi_priv; in ocfs2_acquire_dquot() local
800 struct inode *gqinode = info->dqi_gqinode; in ocfs2_acquire_dquot()
811 status = ocfs2_lock_global_qf(info, 1); in ocfs2_acquire_dquot()
814 status = ocfs2_qinfo_lock(info, 0); in ocfs2_acquire_dquot()
821 status = qtree_read_dquot(&info->dqi_gi, dquot); in ocfs2_acquire_dquot()
822 ocfs2_qinfo_unlock(info, 0); in ocfs2_acquire_dquot()
849 status = ocfs2_qinfo_lock(info, ex); in ocfs2_acquire_dquot()
852 status = qtree_write_dquot(&info->dqi_gi, dquot); in ocfs2_acquire_dquot()
858 ocfs2_qinfo_unlock(info, ex); in ocfs2_acquire_dquot()
862 ocfs2_unlock_global_qf(info, 1); in ocfs2_acquire_dquot()
880 struct ocfs2_mem_dqinfo *info = sb_dqinfo(sb, type)->dqi_priv; in ocfs2_get_next_id() local
888 status = ocfs2_lock_global_qf(info, 0); in ocfs2_get_next_id()
891 status = ocfs2_qinfo_lock(info, 0); in ocfs2_get_next_id()
894 status = qtree_get_next_id(&info->dqi_gi, qid); in ocfs2_get_next_id()
895 ocfs2_qinfo_unlock(info, 0); in ocfs2_get_next_id()
897 ocfs2_unlock_global_qf(info, 0); in ocfs2_get_next_id()