• Home
  • Raw
  • Download

Lines Matching refs:qid

253 hashfn(const struct super_block *sb, struct kqid qid)  in hashfn()  argument
255 unsigned int id = from_kqid(&init_user_ns, qid); in hashfn()
256 int type = qid.type; in hashfn()
279 struct kqid qid) in find_dquot() argument
286 if (dquot->dq_sb == sb && qid_eq(dquot->dq_id, qid)) in find_dquot()
839 struct dquot *dqget(struct super_block *sb, struct kqid qid) in dqget() argument
841 unsigned int hashent = hashfn(sb, qid); in dqget()
844 if (!qid_has_mapping(sb->s_user_ns, qid)) in dqget()
847 if (!sb_has_quota_active(sb, qid.type)) in dqget()
852 if (!sb_has_quota_active(sb, qid.type)) { in dqget()
860 dquot = find_dquot(hashent, sb, qid); in dqget()
864 empty = get_empty_dquot(sb, qid.type); in dqget()
871 dquot->dq_id = qid; in dqget()
1428 struct kqid qid; in __dquot_initialize() local
1450 qid = make_kqid_uid(inode->i_uid); in __dquot_initialize()
1453 qid = make_kqid_gid(inode->i_gid); in __dquot_initialize()
1459 qid = make_kqid_projid(projid); in __dquot_initialize()
1462 dquot = dqget(sb, qid); in __dquot_initialize()
2048 int dquot_get_next_id(struct super_block *sb, struct kqid *qid) in dquot_get_next_id() argument
2054 if (!sb_has_quota_active(sb, qid->type)) { in dquot_get_next_id()
2058 if (!dqopt->ops[qid->type]->get_next_id) { in dquot_get_next_id()
2063 err = dqopt->ops[qid->type]->get_next_id(sb, qid); in dquot_get_next_id()
2595 int dquot_get_dqblk(struct super_block *sb, struct kqid qid, in dquot_get_dqblk() argument
2600 dquot = dqget(sb, qid); in dquot_get_dqblk()
2610 int dquot_get_next_dqblk(struct super_block *sb, struct kqid *qid, in dquot_get_next_dqblk() argument
2618 err = sb->dq_op->get_next_id(sb, qid); in dquot_get_next_dqblk()
2621 dquot = dqget(sb, *qid); in dquot_get_next_dqblk()
2728 int dquot_set_dqblk(struct super_block *sb, struct kqid qid, in dquot_set_dqblk() argument
2734 dquot = dqget(sb, qid); in dquot_set_dqblk()