dqopt 1986 fs/f2fs/super.c struct quota_info *dqopt = sb_dqopt(sb); dqopt 2018 fs/f2fs/super.c mapping = dqopt->files[cnt]->i_mapping; dqopt 2032 fs/f2fs/super.c inode_lock(dqopt->files[cnt]); dqopt 2033 fs/f2fs/super.c truncate_inode_pages(&dqopt->files[cnt]->i_data, 0); dqopt 2034 fs/f2fs/super.c inode_unlock(dqopt->files[cnt]); dqopt 2143 fs/f2fs/super.c struct quota_info *dqopt = sb_dqopt(sb); dqopt 2147 fs/f2fs/super.c if (!dqopt->files[type]) dqopt 2149 fs/f2fs/super.c f2fs_inode_synced(dqopt->files[type]); dqopt 448 fs/ocfs2/quota_global.c struct quota_info *dqopt = sb_dqopt(sb); dqopt 449 fs/ocfs2/quota_global.c struct ocfs2_mem_dqinfo *info = dqopt->info[type].dqi_priv; dqopt 451 fs/ocfs2/quota_global.c down_write(&dqopt->dqio_sem); dqopt 458 fs/ocfs2/quota_global.c up_write(&dqopt->dqio_sem); dqopt 429 fs/quota/dquot.c struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); dqopt 433 fs/quota/dquot.c ret = dqopt->ops[dquot->dq_id.type]->read_dqblk(dquot); dqopt 442 fs/quota/dquot.c ret = dqopt->ops[dquot->dq_id.type]->commit_dqblk(dquot); dqopt 444 fs/quota/dquot.c if (info_dirty(&dqopt->info[dquot->dq_id.type])) { dqopt 445 fs/quota/dquot.c ret2 = dqopt->ops[dquot->dq_id.type]->write_file_info( dqopt 473 fs/quota/dquot.c struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); dqopt 481 fs/quota/dquot.c ret = dqopt->ops[dquot->dq_id.type]->commit_dqblk(dquot); dqopt 496 fs/quota/dquot.c struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); dqopt 502 fs/quota/dquot.c if (dqopt->ops[dquot->dq_id.type]->release_dqblk) { dqopt 503 fs/quota/dquot.c ret = dqopt->ops[dquot->dq_id.type]->release_dqblk(dquot); dqopt 505 fs/quota/dquot.c if (info_dirty(&dqopt->info[dquot->dq_id.type])) { dqopt 506 fs/quota/dquot.c ret2 = dqopt->ops[dquot->dq_id.type]->write_file_info( dqopt 628 fs/quota/dquot.c struct quota_info *dqopt = sb_dqopt(sb); dqopt 641 fs/quota/dquot.c list_replace_init(&dqopt->info[cnt].dqi_dirty_list, &dirty); dqopt 672 fs/quota/dquot.c && info_dirty(&dqopt->info[cnt])) dqopt 683 fs/quota/dquot.c struct quota_info *dqopt = sb_dqopt(sb); dqopt 690 fs/quota/dquot.c if (dqopt->flags & DQUOT_QUOTA_SYS_FILE) dqopt 709 fs/quota/dquot.c inode_lock(dqopt->files[cnt]); dqopt 710 fs/quota/dquot.c truncate_inode_pages(&dqopt->files[cnt]->i_data, 0); dqopt 711 fs/quota/dquot.c inode_unlock(dqopt->files[cnt]); dqopt 2120 fs/quota/dquot.c struct quota_info *dqopt = sb_dqopt(sb); dqopt 2122 fs/quota/dquot.c return dqopt->ops[type]->write_file_info(sb, type); dqopt 2128 fs/quota/dquot.c struct quota_info *dqopt = sb_dqopt(sb); dqopt 2132 fs/quota/dquot.c if (!dqopt->ops[qid->type]->get_next_id) dqopt 2134 fs/quota/dquot.c return dqopt->ops[qid->type]->get_next_id(sb, qid); dqopt 2173 fs/quota/dquot.c struct quota_info *dqopt = sb_dqopt(sb); dqopt 2204 fs/quota/dquot.c dqopt->flags |= dqopt 2209 fs/quota/dquot.c dqopt->flags &= ~dquot_state_flag(flags, cnt); dqopt 2213 fs/quota/dquot.c dqopt->flags &= ~dquot_state_flag( dqopt 2216 fs/quota/dquot.c iput(dqopt->files[cnt]); dqopt 2217 fs/quota/dquot.c dqopt->files[cnt] = NULL; dqopt 2234 fs/quota/dquot.c if (info_dirty(&dqopt->info[cnt])) dqopt 2236 fs/quota/dquot.c if (dqopt->ops[cnt]->free_file_info) dqopt 2237 fs/quota/dquot.c dqopt->ops[cnt]->free_file_info(sb, cnt); dqopt 2238 fs/quota/dquot.c put_quota_format(dqopt->info[cnt].dqi_format); dqopt 2240 fs/quota/dquot.c toputinode[cnt] = dqopt->files[cnt]; dqopt 2242 fs/quota/dquot.c dqopt->files[cnt] = NULL; dqopt 2243 fs/quota/dquot.c dqopt->info[cnt].dqi_flags = 0; dqopt 2244 fs/quota/dquot.c dqopt->info[cnt].dqi_igrace = 0; dqopt 2245 fs/quota/dquot.c dqopt->info[cnt].dqi_bgrace = 0; dqopt 2246 fs/quota/dquot.c dqopt->ops[cnt] = NULL; dqopt 2250 fs/quota/dquot.c if (dqopt->flags & DQUOT_QUOTA_SYS_FILE) dqopt 2313 fs/quota/dquot.c struct quota_info *dqopt = sb_dqopt(sb); dqopt 2346 fs/quota/dquot.c if (!(dqopt->flags & DQUOT_QUOTA_SYS_FILE)) { dqopt 2357 fs/quota/dquot.c if (!(dqopt->flags & DQUOT_QUOTA_SYS_FILE)) { dqopt 2372 fs/quota/dquot.c dqopt->files[type] = igrab(inode); dqopt 2373 fs/quota/dquot.c if (!dqopt->files[type]) dqopt 2379 fs/quota/dquot.c dqopt->ops[type] = fmt->qf_ops; dqopt 2380 fs/quota/dquot.c dqopt->info[type].dqi_format = fmt; dqopt 2381 fs/quota/dquot.c dqopt->info[type].dqi_fmt_id = format_id; dqopt 2382 fs/quota/dquot.c INIT_LIST_HEAD(&dqopt->info[type].dqi_dirty_list); dqopt 2383 fs/quota/dquot.c error = dqopt->ops[type]->read_file_info(sb, type); dqopt 2386 fs/quota/dquot.c if (dqopt->flags & DQUOT_QUOTA_SYS_FILE) { dqopt 2388 fs/quota/dquot.c dqopt->info[type].dqi_flags |= DQF_SYS_FILE; dqopt 2392 fs/quota/dquot.c dqopt->flags |= dquot_state_flag(flags, type); dqopt 2401 fs/quota/dquot.c dqopt->files[type] = NULL; dqopt 2416 fs/quota/dquot.c struct quota_info *dqopt = sb_dqopt(sb); dqopt 2431 fs/quota/dquot.c inode = dqopt->files[cnt]; dqopt 2432 fs/quota/dquot.c dqopt->files[cnt] = NULL; dqopt 2434 fs/quota/dquot.c flags = dqopt->flags & dquot_state_flag(DQUOT_USAGE_ENABLED | dqopt 2437 fs/quota/dquot.c dqopt->flags &= ~dquot_state_flag(DQUOT_STATE_FLAGS, cnt); dqopt 2442 fs/quota/dquot.c dqopt->info[cnt].dqi_fmt_id, flags); dqopt 2536 fs/quota/dquot.c struct quota_info *dqopt = sb_dqopt(sb); dqopt 2538 fs/quota/dquot.c if (!(dqopt->flags & DQUOT_QUOTA_SYS_FILE)) dqopt 2550 fs/quota/dquot.c ret = dquot_enable(dqopt->files[type], type, dqopt 2551 fs/quota/dquot.c dqopt->info[type].dqi_fmt_id, dqopt 2573 fs/quota/dquot.c struct quota_info *dqopt = sb_dqopt(sb); dqopt 2575 fs/quota/dquot.c if (!(dqopt->flags & DQUOT_QUOTA_SYS_FILE)) dqopt 2605 fs/quota/dquot.c dquot_enable(dqopt->files[type], type, dqopt 2606 fs/quota/dquot.c dqopt->info[type].dqi_fmt_id, dqopt 2786 fs/quota/dquot.c struct quota_info *dqopt = sb_dqopt(sb); dqopt 2805 fs/quota/dquot.c tstate->ino = dqopt->files[type]->i_ino; dqopt 2806 fs/quota/dquot.c tstate->blocks = dqopt->files[type]->i_blocks; dqopt 60 fs/quota/quota_v1.c struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); dqopt 62 fs/quota/quota_v1.c if (!dqopt->files[type]) dqopt 161 fs/quota/quota_v1.c struct quota_info *dqopt = sb_dqopt(sb); dqopt 165 fs/quota/quota_v1.c down_read(&dqopt->dqio_sem); dqopt 175 fs/quota/quota_v1.c dqopt->info[type].dqi_max_spc_limit = 0xffffffffULL << QUOTABLOCK_BITS; dqopt 176 fs/quota/quota_v1.c dqopt->info[type].dqi_max_ino_limit = 0xffffffff; dqopt 177 fs/quota/quota_v1.c dqopt->info[type].dqi_igrace = dqopt 179 fs/quota/quota_v1.c dqopt->info[type].dqi_bgrace = dqopt 182 fs/quota/quota_v1.c up_read(&dqopt->dqio_sem); dqopt 188 fs/quota/quota_v1.c struct quota_info *dqopt = sb_dqopt(sb); dqopt 192 fs/quota/quota_v1.c down_write(&dqopt->dqio_sem); dqopt 201 fs/quota/quota_v1.c dqopt->info[type].dqi_flags &= ~DQF_INFO_DIRTY; dqopt 202 fs/quota/quota_v1.c dqblk.dqb_itime = dqopt->info[type].dqi_igrace; dqopt 203 fs/quota/quota_v1.c dqblk.dqb_btime = dqopt->info[type].dqi_bgrace; dqopt 212 fs/quota/quota_v1.c up_write(&dqopt->dqio_sem); dqopt 96 fs/quota/quota_v2.c struct quota_info *dqopt = sb_dqopt(sb); dqopt 97 fs/quota/quota_v2.c struct mem_dqinfo *info = &dqopt->info[type]; dqopt 103 fs/quota/quota_v2.c down_read(&dqopt->dqio_sem); dqopt 164 fs/quota/quota_v2.c up_read(&dqopt->dqio_sem); dqopt 172 fs/quota/quota_v2.c struct quota_info *dqopt = sb_dqopt(sb); dqopt 173 fs/quota/quota_v2.c struct mem_dqinfo *info = &dqopt->info[type]; dqopt 177 fs/quota/quota_v2.c down_write(&dqopt->dqio_sem); dqopt 190 fs/quota/quota_v2.c up_write(&dqopt->dqio_sem); dqopt 306 fs/quota/quota_v2.c struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); dqopt 309 fs/quota/quota_v2.c down_read(&dqopt->dqio_sem); dqopt 313 fs/quota/quota_v2.c up_read(&dqopt->dqio_sem); dqopt 319 fs/quota/quota_v2.c struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); dqopt 331 fs/quota/quota_v2.c down_write(&dqopt->dqio_sem); dqopt 333 fs/quota/quota_v2.c down_read(&dqopt->dqio_sem); dqopt 339 fs/quota/quota_v2.c up_write(&dqopt->dqio_sem); dqopt 341 fs/quota/quota_v2.c up_read(&dqopt->dqio_sem); dqopt 347 fs/quota/quota_v2.c struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); dqopt 350 fs/quota/quota_v2.c down_write(&dqopt->dqio_sem); dqopt 352 fs/quota/quota_v2.c up_write(&dqopt->dqio_sem); dqopt 365 fs/quota/quota_v2.c struct quota_info *dqopt = sb_dqopt(sb); dqopt 368 fs/quota/quota_v2.c down_read(&dqopt->dqio_sem); dqopt 370 fs/quota/quota_v2.c up_read(&dqopt->dqio_sem);