Lines Matching refs:quotas
136 _q = &(_c)->quotas[_i], \
228 struct bch_memquota_type *q = &c->quotas[qtype]; in bch2_quota_check_limit()
395 q = &c->quotas[k.k->p.inode]; in __bch2_quota_set()
428 for (i = 0; i < ARRAY_SIZE(c->quotas); i++) in bch2_fs_quota_exit()
429 genradix_free(&c->quotas[i].table); in bch2_fs_quota_exit()
436 for (i = 0; i < ARRAY_SIZE(c->quotas); i++) in bch2_fs_quota_init()
437 mutex_init(&c->quotas[i].lock); in bch2_fs_quota_init()
470 struct bch_memquota_type *q = &c->quotas[i]; in bch2_sb_quota_read()
685 state->s_state[i].spc_timelimit = c->quotas[i].limits[Q_SPC].timelimit; in bch2_quota_get_state()
686 state->s_state[i].spc_warnlimit = c->quotas[i].limits[Q_SPC].warnlimit; in bch2_quota_get_state()
688 state->s_state[i].ino_timelimit = c->quotas[i].limits[Q_INO].timelimit; in bch2_quota_get_state()
689 state->s_state[i].ino_warnlimit = c->quotas[i].limits[Q_INO].warnlimit; in bch2_quota_get_state()
779 struct bch_memquota_type *q = &c->quotas[kqid.type]; in bch2_get_quota()
798 struct bch_memquota_type *q = &c->quotas[kqid->type]; in bch2_get_next_quota()