Searched refs:new_quota (Results 1 – 1 of 1) sorted by relevance
| /linux-6.15/fs/bcachefs/ |
| H A D | quota.c | 820 struct bkey_i_quota *new_quota, in bch2_set_quota_trans() argument 827 k = bch2_bkey_get_iter(trans, &iter, BTREE_ID_quotas, new_quota->k.p, in bch2_set_quota_trans() 834 new_quota->v = *bkey_s_c_to_quota(k).v; in bch2_set_quota_trans() 842 new_quota->v.c[Q_INO].softlimit = cpu_to_le64(qdq->d_ino_softlimit); in bch2_set_quota_trans() 844 new_quota->v.c[Q_INO].hardlimit = cpu_to_le64(qdq->d_ino_hardlimit); in bch2_set_quota_trans() 846 ret = bch2_trans_update(trans, &iter, &new_quota->k_i, 0); in bch2_set_quota_trans() 855 struct bkey_i_quota new_quota; in bch2_set_quota() local 869 bkey_quota_init(&new_quota.k_i); in bch2_set_quota() 870 new_quota.k.p = POS(qid.type, from_kqid(&init_user_ns, qid)); in bch2_set_quota() 873 bch2_set_quota_trans(trans, &new_quota, qdq)) ?: in bch2_set_quota() [all …]
|